parch-riscv/README.md

44 lines
827 B
Markdown

# Parch Linux RISC-V RootFS Builder
Useful scripts for building and running Parch Linux RISC-V Qcow image.
> This is only for Testing Parch Gnu/Linux on Risc-V.
This Script is forked from [Archriscv Scriptlet](https://github.com/CoelacanthusHex/archriscv-scriptlet)
## Prerequisite
* arch-install-scripts
* parted
* git
* qemu-img
* qemu-system-riscv
* riscv64-linux-gnu-gcc
* devtools-riscv64 ([AUR](https://aur.archlinux.org/packages/devtools-riscv64))
## Todo
- [ ] Add devtools-riscv64 to ppr
- [ ] Add Risc-v to ppr (the Arch)
- [ ] Write wiki page for Parch Risc-v
## 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]
```