Skip to content

target/xtensa: add noMMU support to XTFPGA

Max Filippov qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 of 9 patches 0 repliesNew

7 of 9 patches are in this archive. The cover letter announces 9.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9hw/xtensa/xtfpga: rewrite mini bootloaderhw/xtensa/xtfpga.c+23 -50 replies
2/9hw/xtensa/xtfpga: clean up function/structure nameshw/xtensa/xtfpga.c+70 -700 replies
3/9target/xtensa: fix default sysrom/sysram addressestarget/xtensa/overlay_tool.h+4 -40 replies
4/9hw/xtensa: extract xtensa_create_memory_regionshw/xtensa/Makefile.objs hw/xtensa/sim.c hw/xtensa/xtensa_memory.c +2 more+148 -420 replies
5/9hw/xtensa/xtfpga: extract flash configurationhw/xtensa/xtfpga.c+43 -230 replies
7/9target/xtensa: add de212 coretarget/xtensa/Makefile.objs target/xtensa/core-de212.c target/xtensa/core-de212/core-isa.h +2 more+901 -00 replies
9/9target/xtensa: add sample_controller coretarget/xtensa/Makefile.objs target/xtensa/core-sample_controller.c target/xtensa/core-sample_controller/core-isa.h +2 more+866 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/9] target/xtensa: add noMMU support to XTFPGA

Hello,

this series cleans up XTFPGA xtensa boards: reworks built-in mini bootloader so that it supports warm reboots and makes function/structure naming consistent in the hw/xtensa/xtfpga.c.
It extracts common local memory instantiation function into a separate source file.
It adds noMMU variant for each XTFPGA board. noMMU XTFPGA variants have different physical memory layout: the RAM size is limited to 256M and it starts at physical address 0x60000000 and MMIO is visible through two ranges of physical addresses starting at 0x70000000 and 0x90000000. The series imports two noMMU cores: de212 (noMMU default core for xtensa linux) and sample_controller (default core for xtensa Zephyr OS).

Max Filippov (9):
hw/xtensa/xtfpga: rewrite mini bootloader hw/xtensa/xtfpga: clean up function/structure names target/xtensa: fix default sysrom/sysram addresses hw/xtensa: extract xtensa_create_memory_regions hw/xtensa/xtfpga: extract flash configuration hw/xtensa/xtfpga: support noMMU cores target/xtensa: add de212 core
target/xtensa: use different default CPU for MMU/noMMU target/xtensa: add sample_controller core

 hw/xtensa/Makefile.objs                            |     1 +
 hw/xtensa/sim.c                                    |    38 +-
 hw/xtensa/xtensa_memory.c                          |    55 +
 hw/xtensa/xtensa_memory.h                          |    40 +
 hw/xtensa/xtfpga.c                                 |   414 +-
 target/xtensa/Makefile.objs                        |     2 +
 target/xtensa/core-de212.c                         |    53 +
 target/xtensa/core-de212/core-isa.h                |   622 +
 target/xtensa/core-de212/gdb-config.c              |   198 +
 target/xtensa/core-de212/xtensa-modules.c          | 14566 +++++++++++++++++++
 target/xtensa/core-sample_controller.c             |    53 +
 target/xtensa/core-sample_controller/core-isa.h    |   644 +
 target/xtensa/core-sample_controller/gdb-config.c  |   141 +
 .../xtensa/core-sample_controller/xtensa-modules.c | 11377 +++++++++++++++
 target/xtensa/cpu.h                                |     7 +-
 target/xtensa/overlay_tool.h                       |     8 +-
 16 files changed, 28077 insertions(+), 142 deletions(-)
 create mode 100644 hw/xtensa/xtensa_memory.c
 create mode 100644 hw/xtensa/xtensa_memory.h
 create mode 100644 target/xtensa/core-de212.c
 create mode 100644 target/xtensa/core-de212/core-isa.h
 create mode 100644 target/xtensa/core-de212/gdb-config.c
 create mode 100644 target/xtensa/core-de212/xtensa-modules.c
 create mode 100644 target/xtensa/core-sample_controller.c
 create mode 100644 target/xtensa/core-sample_controller/core-isa.h
 create mode 100644 target/xtensa/core-sample_controller/gdb-config.c
 create mode 100644 target/xtensa/core-sample_controller/xtensa-modules.c
Signature · 1 line
2.1.4