aboutsummaryrefslogtreecommitdiff
path: root/board/qemu
diff options
context:
space:
mode:
authorGravatar Romain Naour <romain.naour@gmail.com>2020-10-02 18:01:22 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2020-10-03 09:00:59 +0200
commitba4786cd2627687501a3ba90b33cc08ea0eb9e67 (patch)
treef5569da78299d5d2893fcb8f5bf5feaa37969cb1 /board/qemu
parentcb62a8e0a2b88b6c1b3ffe74e9eb370bf686fa62 (diff)
downloadbuildroot-ba4786cd2627687501a3ba90b33cc08ea0eb9e67.tar.gz
buildroot-ba4786cd2627687501a3ba90b33cc08ea0eb9e67.tar.bz2
board/qemu/riscv64-virt: update qemu cmdline for Qemu >= 5.1
Since 52f188140cd28e90103edf67db6c2cabb979f5d6 (qemu version bump to 5.1), the image generated by qemu_riscv64_virt_defconfig doesn't boot anyore with the following error: rom: requested regions overlap (rom phdr #0: [...]/images//fw_jump.elf. free=0x000000008000e240, addr=0x0000000080000000) qemu-system-riscv64: rom check and register reset failed Update the qemu command line as described in the Qemu wiki for riscv64 [1] Fixes: https://gitlab.com/jugurthaB/buildroot/-/jobs/686104707 [1] https://wiki.qemu.org/Documentation/Platforms/RISCV#Booting_64-bit_OpenEmbedded_Images Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Jugurtha BELKALEM <jugurtha.belkalem@smile.fr> Cc: Alistair Francis <alistair.francis@wdc.com> Cc: Mark Corbin <mark@dibsco.co.uk> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'board/qemu')
-rw-r--r--board/qemu/riscv64-virt/readme.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/qemu/riscv64-virt/readme.txt b/board/qemu/riscv64-virt/readme.txt
index 81b5246e66..747a9ea674 100644
--- a/board/qemu/riscv64-virt/readme.txt
+++ b/board/qemu/riscv64-virt/readme.txt
@@ -1,5 +1,5 @@
Run Linux in emulation with:
- qemu-system-riscv64 -M virt -kernel output/images/fw_jump.elf -device loader,file=output/images/Image,addr=0x80200000 -append "rootwait 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 -nographic # qemu_riscv64_virt_defconfig
+ qemu-system-riscv64 -M virt -bios output/images/fw_jump.elf -kernel output/images/Image -append "rootwait 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 -nographic # qemu_riscv64_virt_defconfig
The login prompt will appear in the terminal that started Qemu.