diff options
Diffstat (limited to 'gitlab/issues/target_riscv/host_missing/accel_missing/2957.toml')
| -rw-r--r-- | gitlab/issues/target_riscv/host_missing/accel_missing/2957.toml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gitlab/issues/target_riscv/host_missing/accel_missing/2957.toml b/gitlab/issues/target_riscv/host_missing/accel_missing/2957.toml new file mode 100644 index 000000000..a579cc8f4 --- /dev/null +++ b/gitlab/issues/target_riscv/host_missing/accel_missing/2957.toml @@ -0,0 +1,36 @@ +id = 2957 +title = "qemu-system-riscv32: Some ROM regions are overlapping" +state = "opened" +created_at = "2025-05-08T08:52:12.843Z" +closed_at = "n/a" +labels = ["target: riscv"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/2957" +host-os = "Ubuntu 24.04.2 LTS" +host-arch = "x86-64" +qemu-version = "8.2.2" +guest-os = "Buildroot" +guest-arch = "RV32" +description = """Booting the image produces: +``` +qemu-system-riscv32: 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): + output/images/fw_jump.elf ELF program header segment 1 (addresses 0x0000000000000000 - 0x00000000000278cc) + mrom.reset (addresses 0x0000000000001000 - 0x0000000000001028) +```""" +reproduce = """1. `make qemu_riscv32_virt_defconfig` +2. `make` +3. `qemu-system-riscv32 \\ +-M virt -nographic \\ +-bios output/images/fw_jump.elf \\ +-kernel output/images/Image \\ +-append "root=/dev/vda ro" \\ +-drive file=output/images/rootfs.ext2,format=raw,id=hd0 \\ +-device virtio-blk-device,drive=hd0 \\ +-netdev user,id=net0 -device virtio-net-device,netdev=net0`""" +additional = """Changing `-bios output/images/fw_jump.elf` to `-bios output/images/fw_jump.bin` or `-bios output/images/fw_dynamic.bin` resolves the issue. + +Similar issue observed elsewhere, e.g. here [https://github.com/riscv-software-src/opensbi/issues/372](https://github.com/riscv-software-src/opensbi/issues/372)""" |