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

29 lines
516 B
Markdown

# 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](https://aur.archlinux.org/packages/devtools-riscv64))
## Build Step
```bash
./mkrootfs
./mkimg
```
## Start QEMU
> [!IMPORTANT]
> You must use fallback initrd first, and re-generate initramfs with `mkinitcpio -P` to use non-fallback version later.
```bash
./startqemu.sh [qcow image file]
```