On 2023-01-10, Cheng Li wrote: > qemu-system-riscv64 \ > -nographic \ > -machine virt \ > -smp 8 -m 8G \ > -bios /usr/lib/riscv64-linux-gnu/opensbi/generic/fw_jump.elf \ > -kernel /usr/lib/u-boot/qemu-riscv64_smode/uboot.elf \ > -object rng-random,filename=/dev/urandom,id=rng0 \ > -device virtio-rng-device,rng=rng0 \ > -append "console=ttyS0 rw root=/dev/vda1" \ > -device virtio-blk-device,drive=hd0 -drive > file=rootfs.img,format=raw,id=hd0 \ > -device virtio-net-device,netdev=usernet -netdev > user,id=usernet,hostfwd=tcp::22 > > *" -kernel /usr/lib/u-boot/qemu-riscv64_smode/uboot.elf "* > > shiptux@Debian:~/riscv64/vm/riscv-deb$ dpkg-deb -c > u-boot-qemu_2023.01~rc4+dfsg-2_all.deb | grep uboot.elf > -rw-r--r-- root/root 357888 2023-01-06 11:38 > ./usr/lib/u-boot/malta64el/uboot.elf > -rw-r--r-- root/root 312692 2023-01-06 11:38 > ./usr/lib/u-boot/maltael/uboot.elf > -rw-r--r-- root/root 449032 2023-01-06 11:38 > ./usr/lib/u-boot/qemu-ppce500/uboot.elf > -rw-r--r-- root/root 652176 2023-01-06 11:38 > ./usr/lib/u-boot/qemu-riscv64/uboot.elf > *-rw-r--r-- root/root 653928 2023-01-06 11:38 > ./usr/lib/u-boot/qemu-riscv64_smode/uboot.elf* > > Enter choice: 1 > 1: Debian GNU/Linux bookworm/sid 6.0.0-5-riscv64 > Retrieving file: /boot/initrd.img-6.0.0-5-riscv64 > Retrieving file: /boot/vmlinux-6.0.0-5-riscv64 > append: rw noquiet root=/dev/vda1 > Moving Image from 0x84000000 to 0x80200000, end=815d8000 > ## Flattened Device Tree blob at ff733ef0 > Booting using the fdt blob at 0xff733ef0 > Working FDT set to ff733ef0 > Using Device Tree in place at 00000000ff733ef0, end 00000000ff738dd2 > Working FDT set to ff733ef0 > ERROR: fdt fixup event failed: -22 > - must RESET the board to recover. > > FDT creation failed! hanging...### ERROR ### Please RESET the board ###
I wonder if this is relevent? docs/firmware: Update FW_JUMP documentation https://github.com/riscv-software-src/opensbi/commit/7105c189f67028ef73720d7e9816c800ab53dda5 Basically changing the address offsets to avoid clobbering one another... live well, vagrant
signature.asc
Description: PGP signature