NixOS on ARM/Orange Pi 5: Difference between revisions

imported>Ryan4yin
No edit summary
imported>Fb87
No edit summary
Line 21: Line 21:
</div>
</div>


= Orange PI 5 =
The Orange Pi 5 is a Single-Board Computer with a Rockchip RK3588s SoC.
The Orange Pi 5 is a Single-Board Computer with a Rockchip RK3588s SoC.


Line 36: Line 37:


Then build the NixOS's rootfs with armbian's customized kernel https://github.com/armbian/linux-rockchip/tree/rk-5.10-rkr4.
Then build the NixOS's rootfs with armbian's customized kernel https://github.com/armbian/linux-rockchip/tree/rk-5.10-rkr4.
= Orange PI 5B =
The next version of OPI5 which added eMMC and WIFI/BT by default.
Flake: https://github.com/fb87/nixos-orangepi-5x/blob/v5.10.x/flake.nix
This flake which is extended version of [[User:ryan4yin|ryan4yin]] by adding bootloader by default to create the bootable SDImage.
Note: bootloader requires `python2` which is kinda outdate, the `NIXPKGS_ALLOW_INSECURE=1` has to be passed in order to build.