aboutsummaryrefslogtreecommitdiff
path: root/board/qemu/riscv64-virt/readme.txt
blob: 81b5246e66dadff315da5e7545e78524447d5500 (plain)
1
2
3
4
5
Run Linux in emulation with:

  qemu-system-riscv64 -M virt -kernel output/images/fw_jump.elf -device loader,file=output/images/Image,addr=0x80200000 -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

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