Kilian Zinnecker f942a236e4 configs/qemu_riscv{32, 64}_virt: bump OpenSBI to v1.6 7 月之前
..
linux-nommu.config 29205bb267 configs/qemu_riscv64_nomu_virt: enable networking 1 年之前
readme.txt f942a236e4 configs/qemu_riscv{32, 64}_virt: bump OpenSBI to v1.6 7 月之前

readme.txt

Run Linux in emulation with:

qemu-system-riscv64 -M virt -bios output/images/fw_jump.bin -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_riscv64_virt_defconfig

qemu-system-riscv64 -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 rv64,mmu=off -netdev user,id=net0 -device virtio-net-device,netdev=net0 # qemu_riscv64_nommu_virt_defconfig

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