riscvarchive / risc-v-getting-started-guide

The official RISC-V getting started guide
https://risc-v-getting-started-guide.readthedocs.io/en/latest/
Creative Commons Attribution 4.0 International
198 stars 56 forks source link

Fix busybox path for running qemu #28

Open takahirox opened 4 years ago

takahirox commented 4 years ago
Running
Go back to your main working directory and run:

sudo qemu-system-riscv64 -nographic -machine virt \
     -kernel linux/arch/riscv/boot/Image -append "root=/dev/vda ro console=ttyS0" \
     -drive file=busybox,format=raw,id=hd0 \
     -device virtio-blk-device,drive=hd0

Assuming running the above command in main working directory so I think busybox file path should be busybox/busybox, not busybox.