NixOS on ARM/Radxa ROCK 4: Difference between revisions
Msgilligan (talk | contribs) Add NixOS on ROCK 4 page |
Msgilligan (talk | contribs) Update to reflect that PRs were merged into nixos-rockchip and minor related cleanup. |
||
| Line 33: | Line 33: | ||
* '''PCIe''': M.2 M Key M connector (4-lane PCIe 2.1) supports NVMe SSD | * '''PCIe''': M.2 M Key M connector (4-lane PCIe 2.1) supports NVMe SSD | ||
The | The [https://github.com/nabam/nixos-rockchip nixos-rockchip] SD-card images have been tested with both the ROCK 4B+ and ROCK 4 SE variants. | ||
== Status == | == Status == | ||
| Line 51: | Line 51: | ||
=== U-Boot Firmware === | === U-Boot Firmware === | ||
* | * `nixos-rockchip` uses the mainline U-Boot repository. | ||
* There is also support for ROCK 4 U-Boot in Nixpkgs, but testing and documentation for using this version of U-Boot is not available here yet. | * There is also support for ROCK 4 U-Boot in Nixpkgs, but testing and documentation for using this version of U-Boot is not available here yet. | ||
== System configuration == | == System configuration == | ||
Use the instructions in the [https://github.com/nabam/nixos-rockchip/blob/main/README.md README] | Use the instructions in the [https://github.com/nabam/nixos-rockchip/blob/main/README.md README]. | ||
Use the following command to build the image: | Use the following command to build the Rock 4B image: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
| Line 64: | Line 64: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=== | or for the Rock 4SE: | ||
<syntaxhighlight lang="bash"> | |||
nix build .#RadxaRock4SE | |||
</syntaxhighlight> | |||
=== @nabam's nixos-rockchip === | |||
Nix flake for building several Rockchip SBC images, see [https://github.com/nabam/nixos-rockchip GitHub nabam/nixos-rockchip] | Nix flake for building several Rockchip SBC images, see [https://github.com/nabam/nixos-rockchip GitHub nabam/nixos-rockchip] | ||