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

Max Filippov posted 9 patches 6 years, 3 months ago
Only 7 patches received!
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
[Qemu-devel] [PATCH 0/9] target/xtensa: add noMMU support to XTFPGA
Posted by Max Filippov 6 years, 3 months ago
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

-- 
2.1.4