parch-riscv/README.md
Celeste Liu e5bbb17401
readme: add note about initrd chioce when first boot in QEMU
Signed-off-by: Celeste Liu <CoelacanthusHex@gmail.com>
2023-12-08 22:25:33 +08:00

516 B

Arch RISC-V Scriptlet

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

Prerequisite

  • arch-install-scripts
  • 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]