parch-riscv/README.md
Celeste Liu aea555968e
mkimg: use GNU Parted to improve readability
Signed-off-by: Celeste Liu <CoelacanthusHex@gmail.com>
2024-10-02 21:09:18 +08:00

525 B

Arch RISC-V Scriptlet

Useful scripts for building and running Arch RISC-V Qcow image.

Prerequisite

  • arch-install-scripts
  • parted
  • git
  • qemu-img
  • qemu-system-riscv
  • riscv64-linux-gnu-gcc
  • devtools-riscv64 (AUR)

Build Step

./mkrootfs
./mkimg

Start QEMU

Important

You must use fallback initrd first, and re-generate initramfs with mkinitcpio -P to use non-fallback version later.

./startqemu.sh [qcow image file]