Features
- All features of Manjaro
- Plenty of drivers enabled, including network cards, usb devices, even amd gpus
Building instruction
(probably only support manjaro)
-
Install manjaro arm tool
sudo pacman -S manjaro-arm-tools
-
Build the kernel (or grab a prebuilt one)
Kernel PKGBUILD repo: linux-vendor-RK3588-PKGBUILDgit clone https://github.com/happyme531/linux-vendor-RK3588-PKGBUILD mv linux-vendor-RK3588-PKGBUILD linux MAKEFLAGS="<your make flags>" sudo buildarmpkg -p linux
Note: On x86 machines the kernel build time is insane (~1.5hrs on high-end desktop cpu), please be patient. Building on an ARM machine is highly recommended if you have one.
-
Build image
sudo buildarmimg -d generic -e minimal -p btrfs -i <built-kernel-pkg>,<built-kernel-header-pkg>
the image will be built in /var/cache/manjaro-arm-tools/img/
-
Flash the image into an SD card using the tool you like (I recommend usbimager).
Prebuilt images
Coming soon
Current issues
- Desktop environment not working
- Serial console is hanging from time to time
- GPU not working (apperantly)
- Many features untested
Note
- You need an u-boot in spi flash in order to boot this image. You can follow this guide to install it.
- For some tf cards the u-boot is unable to boot automatically. This should be treated as a bug, but a current workaround to manually boot is executing these commands in the u-boot shell:
mmc list run bootcmd
- Don’t upgrade the “linux” package from the official manjaro arm repo!
To do that add this to /etc/pacman.conf as soon as possibleIgnorePkg = linux
- Sometimes the boot partition is not mounted correctly. Manually mount it if you want to install new kernel.