| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
NixOS on the Anbernic RG552 (RK3399). Builds U-Boot, ARM Trusted Firmware, and a custom Linux 6.18.20 kernel with ROCKNIX hardware patches — all from source in Nix — and produces a flashable SD card image.
Heavily leaned on the ROCKNIX project for devicetrees, patches, and kernel drivers + pine project for docs
The RK3399 ROM loads a bootloader from a fixed offset, then U-Boot reads the firmware partition to boot Linux.
| Region | Sector | Offset | Contents |
|---|---|---|---|
| MBR/GPT | 0–63 | 0x0 | Partition table |
| idbloader (TPL+SPL) | 64+ | 32 KB | DRAM init + Secondary Program Loader |
| u-boot.itb | 16384+ | 8 MB | U-Boot + ATF BL31 (FIT image) |
| Firmware (FAT32) | 32768+ | 16 MB | Kernel Image, initrd, device tree, boot.scr |
| Root (ext4) | after firmware | — | NixOS root filesystem |
| Back | FazBrowse Home | New Git URL |