TL;DR
This approach requires you to be on a non-RISC-V Arch Linux (x86_64 or aarch64, etc.) machine, because we use pacstrap
and pacman
.
1 |
# pacman -Syu then reboot is recommended before this |
If, in the last step, you find yourself stuck at [ OK ] Reached target Graphical Interface
for over 5 minutes, just press Ctrl-C and re-run startqemu.sh
.
After booting the machine, you may need to install necessary packages:
1 |
sudo pacman -S git vim gcc |
Detailed Explanation
TBD after my final examination ends (!)
Source: https://blog.jiejiss.com/
This article is transferred from https://blog.jiejiss.com/Boot-an-Arch-Linux-RISC-V-using-qemu-system/
This site is only for collection, and the copyright belongs to the original author.