ArchLinux搭建riscv测试环境(失败)

  • 参考

Boot an Arch Linux RISC-V using qemu-system - JieJiSS' Blog

  •  安装ArchLinux
  • 安装所需包
sudo pacman -S arch-install-scripts git qemu-img qemu-system-riscv
sudo pacman -S riscv64-linux-gnu-gcc
  • 安装yay
git clone https://aur.archlinux.org/yay-bin
cd yay-bin
makepkg -si
  • 安装
yay -Syyu devtools-riscv64
  • 安装
git clone https://github.com/CoelacanthusHex/archriscv-scriptlet.git
cd archriscv-scriptlet
./mkrootfs
./mkimg
./startqemu.sh

你可能感兴趣的:(RISCV,RISCV)