qemu-e2k/hw/loongarch
Song Gao 46b21de238 hw/loongarch: Fix loongarch fdt addr confict
Fix LoongArch check-tcg error:
   TEST    hello on loongarch64
qemu-system-loongarch64: Some ROM regions are overlapping
These ROM regions might have been loaded by direct user request or by default.
They could be BIOS/firmware images, a guest kernel, initrd or some other file loaded into guest memory.
Check whether you intended to load all this guest code, and whether it has been built to load to the correct addresses.

The following two regions overlap (in the memory address space):
   hello ELF program header segment 0 (addresses 0x0000000000200000 - 0x0000000000242000)
   fdt (addresses 0x0000000000200000 - 0x0000000000300000)
make[1]: *** [Makefile:177: run-hello] Error 1

Fixes: 021836936e ("hw/loongarch: Load FDT table into dram memory space")
Reported-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221109020449.978064-1-gaosong@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2022-11-12 11:05:52 +10:00
..
acpi-build.c hw/loongarch: Add TPM device for LoongArch virt machine 2022-11-04 17:09:39 +08:00
fw_cfg.c hw/loongarch: Support fw_cfg dma function 2022-09-19 20:01:40 +08:00
fw_cfg.h hw/loongarch: Add fw_cfg table support 2022-07-19 22:55:10 +05:30
Kconfig hw/loongarch: Support memory hotplug 2022-09-20 15:44:25 +08:00
meson.build hw/loongarch: Rename file 'loongson3.XXX' to 'virt.XXX' 2022-07-29 15:07:55 -07:00
virt.c hw/loongarch: Fix loongarch fdt addr confict 2022-11-12 11:05:52 +10:00