qemu/docs/system
Peter Maydell f1dfab0d9b hw/arm/mps2-tz: Implement AN524 memory remapping via machine property
The AN524 FPGA image supports two memory maps, which differ in where
the QSPI and BRAM are.  In the default map, the BRAM is at
0x0000_0000, and the QSPI at 0x2800_0000.  In the second map, they
are the other way around.

In hardware, the initial mapping can be selected by the user by
writing either "REMAP: BRAM" (the default) or "REMAP: QSPI" in the
board configuration file.  The board config file is acted on by the
"Motherboard Configuration Controller", which is an entirely separate
microcontroller on the dev board but outside the FPGA.

The guest can also dynamically change the mapping via the SCC
CFG_REG0 register.

Implement this functionality for QEMU, using a machine property
"remap" with valid values "BRAM" and "QSPI" to allow the user to set
the initial mapping, in the same way they can on the FPGA, and
wiring up the bit from the SCC register to also switch the mapping.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20210504120912.23094-4-peter.maydell@linaro.org
2021-05-10 17:21:54 +01:00
..
_templates
arm hw/arm/mps2-tz: Implement AN524 memory remapping via machine property 2021-05-10 17:21:54 +01:00
i386
ppc docs/system: ppc: Add documentation for ppce500 machine 2021-05-04 11:41:25 +10:00
riscv docs/system: riscv: Add documentation for 'microchip-icicle-kit' machine 2021-03-22 21:54:40 -04:00
s390x
build-platforms.rst
cpu-hotplug.rst
cpu-models-mips.rst.inc
cpu-models-x86.rst.inc
deprecated.rst aspeed: Deprecate the swift-bmc machine 2021-05-01 10:03:52 +02:00
device-url-syntax.rst.inc
gdb.rst docs/system/gdb.rst: Document how to debug multicore machines 2021-04-06 15:04:49 +01:00
generic-loader.rst docs: move generic-loader documentation into the main manual 2021-03-10 15:34:11 +00:00
guest-loader.rst docs: add some documentation for the guest-loader 2021-03-10 15:34:11 +00:00
images.rst
index.rst docs: add nvme emulation documentation 2021-04-12 07:05:31 +02:00
invocation.rst
ivshmem.rst
keys.rst
keys.rst.inc
license.rst
linuxboot.rst
managed-startup.rst
monitor.rst
multi-process.rst
mux-chardev.rst
mux-chardev.rst.inc
net.rst
nvme.rst docs: add nvme emulation documentation 2021-04-12 07:05:31 +02:00
pr-manager.rst
qemu-block-drivers.rst
qemu-block-drivers.rst.inc
qemu-cpu-models.rst
qemu-manpage.rst
quickstart.rst docs/system: add a gentle prompt for the complexity to come 2021-03-10 12:13:59 +00:00
removed-features.rst docs/system: Document the removal of "compat" property for POWER CPUs 2021-05-03 10:07:41 +02:00
security.rst
target-arm.rst
target-avr.rst
target-i386-desc.rst.inc
target-i386.rst
target-m68k.rst
target-mips.rst
target-ppc.rst docs/system: ppc: Add documentation for ppce500 machine 2021-05-04 11:41:25 +10:00
target-riscv.rst docs/system: riscv: Add documentation for 'microchip-icicle-kit' machine 2021-03-22 21:54:40 -04:00
target-rx.rst
target-s390x.rst
target-sparc64.rst
target-sparc.rst
target-xtensa.rst
targets.rst docs/system: add a gentle prompt for the complexity to come 2021-03-10 12:13:59 +00:00
tls.rst
usb.rst
virtio-net-failover.rst
virtio-pmem.rst
vnc-security.rst