Attention is currently required from: Philipp Hug, ron minnich.
Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/68843 )
Change subject: mb/emulation/riscv: Limit DRAM size ......................................................................
mb/emulation/riscv: Limit DRAM size
Qemu only limits 16GiB of address space and gets confused when probing for addresses much higher. Therefore limit the amount of dram we wish to probe.
Change-Id: Ib8555de361d1129d3d1995f056518c576f055515 Signed-off-by: Arthur Heymans arthur@aheymans.xyz --- M src/mainboard/emulation/qemu-riscv/Kconfig 1 file changed, 17 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/43/68843/1
diff --git a/src/mainboard/emulation/qemu-riscv/Kconfig b/src/mainboard/emulation/qemu-riscv/Kconfig index 0af309a..5891595 100644 --- a/src/mainboard/emulation/qemu-riscv/Kconfig +++ b/src/mainboard/emulation/qemu-riscv/Kconfig @@ -44,9 +44,11 @@ int default 1
+# Qemu maps MMIO at ALIGN_UP(top_of_mem, 16 * GiB) +# To avoid confusing the dram probing algoritm, avoid large dram sizes (16G - 1m) config DRAM_SIZE_MB int - default 32768 + default 16383
config OPENSBI_PLATFORM string