On 1/20/26 10:29, Jamin Lin via qemu development wrote:
This commit adds two MemoryRegion aliases to support PSP access to
SSP SDRAM through shared memory remapping, as defined by the default SCU
configuration.
The SSP exposes two DRAM aliases:
- remap1 maps PSP DRAM at 0x400000000 (32MB) to SSP SDRAM offset 0x2000000
- remap2 maps PSP DRAM at 0x42c000000 (32MB) to SSP SDRAM offset 0x0
These regions correspond to the default SCU register values, which control
the mapping between PSP and coprocessor memory windows.
Set SSP CPUID 4 and bumps the SCU VMState version to 3.
Signed-off-by: Jamin Lin <[email protected]>
---
include/hw/misc/aspeed_scu.h | 5 +++++
hw/arm/aspeed_ast27x0-fc.c | 2 ++
hw/arm/aspeed_ast27x0-ssp.c | 6 ++++++
hw/arm/aspeed_ast27x0.c | 4 ++++
hw/misc/aspeed_scu.c | 38 ++++++++++++++++++++++++++++++++++--
5 files changed, 53 insertions(+), 2 deletions(-)
make check fails with :
Unexpected error in aspeed_scu_realize() at ../hw/misc/aspeed_scu.c:609:
qemu-system-aarch64: aspeed.scu: 'dram' link not set
Thanks,
C.