2019-03-21 00:05:21 +01:00
|
|
|
Run Linux in emulation with:
|
2018-09-12 12:22:56 +02:00
|
|
|
|
2020-10-02 18:01:22 +02:00
|
|
|
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
|
2018-09-12 12:22:56 +02:00
|
|
|
|
2022-05-30 05:38:29 +02:00
|
|
|
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 -device virtio-blk-device,drive=hd0 -nographic -cpu rv64,mmu=off # qemu_riscv64_nommu_virt_defconfig
|
|
|
|
|
2018-09-12 12:22:56 +02:00
|
|
|
The login prompt will appear in the terminal that started Qemu.
|