NixOS on ARM/Orange Pi 5: Difference between revisions

imported>Fb87
No edit summary
Pigs (talk | contribs)
m Add category
 
(3 intermediate revisions by 3 users not shown)
Line 33: Line 33:


A minimal flake that makes NixOS running on Orange Pi 5: https://github.com/ryan4yin/nixos-rk3588
A minimal flake that makes NixOS running on Orange Pi 5: https://github.com/ryan4yin/nixos-rk3588
The basic idea is to boot from the armbian's uboot, flash it to the SPI flash first.
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 =
= Orange PI 5B =
Line 44: Line 40:
Flake: https://github.com/fb87/nixos-orangepi-5x/blob/v5.10.x/flake.nix
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.
This flake which is extended version of [[User:ryan4yin|ryan4yin]] by adding bootloader by default to create the bootable SDImage( The prebuilt https://github.com/fb87/nixos-orangepi-5x/releases/download/v0.1.0/nixos-sd-image-23.05.20230613.c702c94-aarch64-linux.img.zst can already be used).
 
Note: bootloader requires `python2` which is no longer receiving updates since 2020.  The `NIXPKGS_ALLOW_INSECURE=1` has to be passed in order to build.


Note: bootloader requires `python2` which is kinda outdate, the `NIXPKGS_ALLOW_INSECURE=1` has to be passed in order to build.
[[Category:NixOS on ARM]]