Stuck somewhere while booting Linux on RISC-V QEMU on Manjaro, Need Help

150 views
Skip to first unread message

Sankalp Bhardwaj

unread,
Mar 29, 2021, 7:40:49 AM3/29/21
to RISC-V ISA Dev
Hello,
I'm a Computer Science Undergrad interested in RISC-V 
From the Introduction to RISC-V course @ edX, I really wanted to get my first assembly hello world program running. 
I'm using Manjaro(Arch based Distro) and was facing some issues while following the RISC V getting started guide (Running 64- and 32-bit RISC-V Linux on QEMU

On entering 
 ``` 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 ```

at the last phase(Running
``` qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documents for details.  ``` 

also in the tutorial i've noticed a "fw_jump.elf" file to be used for the  -bios options. How can i create that?? Can anyone help me here please??

Reply all
Reply to author
Forward
0 new messages