RISC-V: crash in riscv_get_time()

Heinrich Schuchardt xypron.glpk at gmx.de
Thu Aug 6 12:44:43 CEST 2020


Hello Rick, hello Bin,

when I run qemu-riscv64_defconfig using

qemu-system-riscv64 -machine virt -m 1G -nographic \
        -bios u-boot \
        -device virtio-net-device,netdev=net0 \
        -netdev user,id=net0,tftp=tftp

a crash occurs in riscv_get_time() when executing readq().

$ qemu-system-riscv64 --version
QEMU emulator version 5.0.0 (Debian 1:5.0-13)

Looking at doc/board/emulation/qemu-riscv.rst this should work.

Is there something missing in the documentation?

Best regards

Heinrich


More information about the U-Boot mailing list