acc1330d4a
Now that RISC-V 32-bit (RV32) support has been merged into mainline glibc, we can use the Linux 5.4 kernel. Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 lines
413 B
Plaintext
6 lines
413 B
Plaintext
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,id=hd0 -device virtio-blk-device,drive=hd0 -netdev user,id=net0 -device virtio-net-device,netdev=net0 -nographic # qemu_riscv32_virt_defconfig
|
|
|
|
The login prompt will appear in the terminal that started Qemu.
|