NixOS on ARM/Orange Pi 5: Difference between revisions

From NixOS Wiki
imported>Ryan4yin
Created page with "{{ARM/breadcrumb}} <div class="infobox"> {|class="table" !colspan="2" class="title"|Orange Pi 5 |- !Manufacturer |Orange Pi |- !Architecture |AArch64 |- !Platform firmware |Ve..."
 
Sedlund (talk | contribs)
m grammar and clarification
 
(6 intermediate revisions by 2 users not shown)
Line 10: Line 10:
|AArch64
|AArch64
|-
|-
!Platform firmware
!Bootloader
|Vendor BSP
| vendor's u-boot
|-
|-
!Startup order
!Startup order
Line 17: Line 17:
|-
|-
!Maintainer
!Maintainer
|
|[[User:ryan4yin|ryan4yin]]
|}
|}
</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 31: Line 32:
=== @ryan4yin's flake ===
=== @ryan4yin's flake ===


A minimal NixOS flake 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.
= Orange PI 5B =


Then build the NixOS's rootfs with armbian's customized kernel https://github.com/armbian/linux-rockchip/tree/rk-5.10-rkr4.
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( 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.

Latest revision as of 07:08, 8 September 2024

Orange Pi 5
Manufacturer Orange Pi
Architecture AArch64
Bootloader vendor's u-boot
Startup order SPI NOR Flash, SD, NVMe
Maintainer ryan4yin

Orange PI 5

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

System configuration

None of the basic components (Kernel, HW acceleration drivers) are available from upstream NixOS.

Building a working system requires additional configuration.

@ryan4yin's flake

A minimal flake that makes NixOS running on Orange Pi 5: https://github.com/ryan4yin/nixos-rk3588

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 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.