Install a minimal Arch-Linux on Rockchip devices from scratch. Now I started only for RK-3288 and RK-3588 devices.

  1. git clone https://github.com/ericwoud/buildRKarch.git
  2. cd buildRKarch
alexlai@orangepi5plus:~/build/buildRKarch$ ./build.sh -F
Current dir: /opt/xfs/home/alexlai/build/buildRKarch
Compatible: rockchip,rk3588-orangepi-5-plusrockchip,rk3588
Host Arch: aarch64
rootdev=/dev/mmcblk0p2 , do not use.
pkroot=mmcblk0 , do not use.
1) rk3288 SOC
2) rk3588 SOC
3) Quit
Choose target SOC to format image for: 2
1) rock-5b
2) Quit
Choose rockchip device to format image for: 1
1) sdmmc SD Card
2) nvme  NVME solid state drive
3) Quit
Choose atfdevice to format image for: 1
1) /dev/sda 28.3G
2) /dev/mtdblock0 16M
3) /dev/zram0 7.7G
4) /dev/zram1 200M
5) Quit
Choose device to format: 1
Device=/dev/sda
Target=rk3588
Choose device to format: 1
Device=/dev/sda
Target=rk3588
RK-device=rock-5b
ATF-device=sdmmc

Create root filesystem

Enter ip address for local network (emtpy for default): 
IP = 192.168.1.7
Enter ip address of gateway (emtpy for default): 
Default Gateway = 192.168.1.1
Enter ip address of dns (emtpy for same as gateway): 
DNS = 192.168.1.1