Romain Naour e7cd3741b5 board/qemu/riscv{32, 64}-virt: nommu: needs virtio-blk device 9 kuukautta sitten
..
linux-nommu.config 7b6384bfd4 configs/qemu_riscv32_nommu_virt: new defconfig 1 vuosi sitten
readme.txt e7cd3741b5 board/qemu/riscv{32, 64}-virt: nommu: needs virtio-blk device 9 kuukautta sitten

readme.txt

Run Linux in emulation with:

qemu-system-riscv32 -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 -netdev user,id=net0 -device virtio-net-device,netdev=net0 -nographic # qemu_riscv32_virt_defconfig

qemu-system-riscv32 -M virt -bios none -kernel output/images/Image -append "rootwait root=/dev/vda ro" -drive file=output/images/rootfs.ext2,format=raw,id=hd0,if=none -device virtio-blk-device,drive=hd0 -nographic -cpu rv32,mmu=off -netdev user,id=eth0 -device virtio-net-device,netdev=eth0 # qemu_riscv32_nommu_virt_defconfig

The login prompt will appear in the terminal that started Qemu.