Difference between revisions of "NixOS on ARM/Radxa ROCK5 Model B"
From NixOS Wiki
(Fixed flake link, added more skeleton of the installation steps) |
m (Fix code blocks) |
||
Line 3: | Line 3: | ||
Repo for building Platform Firmware: https://github.com/samueldr/Tow-Boot/tree/wip/rock5-vendor | Repo for building Platform Firmware: https://github.com/samueldr/Tow-Boot/tree/wip/rock5-vendor | ||
− | To build: | + | To build: |
+ | |||
+ | <code>nix-build -A radxa-rock5b</code> | ||
Flash result to installation media (sd or mmc) | Flash result to installation media (sd or mmc) | ||
Line 9: | Line 11: | ||
Nix flake for building OS image: https://github.com/aciceri/rock5b-nixos | Nix flake for building OS image: https://github.com/aciceri/rock5b-nixos | ||
− | To build: | + | To build: |
+ | |||
+ | <code>nix-build</code> | ||
Flash result to a new second legacy bootable ext4 partition on the installation media | Flash result to a new second legacy bootable ext4 partition on the installation media | ||
Line 15: | Line 19: | ||
Boot into system | Boot into system | ||
+ | <code> | ||
sudo nixos-rebuild switch --flake github:jonahbron/config/aciceri-rebooted-into-this#rock5b | sudo nixos-rebuild switch --flake github:jonahbron/config/aciceri-rebooted-into-this#rock5b | ||
+ | </code> |
Revision as of 17:33, 15 March 2023
WIP
Repo for building Platform Firmware: https://github.com/samueldr/Tow-Boot/tree/wip/rock5-vendor
To build:
nix-build -A radxa-rock5b
Flash result to installation media (sd or mmc)
Nix flake for building OS image: https://github.com/aciceri/rock5b-nixos
To build:
nix-build
Flash result to a new second legacy bootable ext4 partition on the installation media
Boot into system
sudo nixos-rebuild switch --flake github:jonahbron/config/aciceri-rebooted-into-this#rock5b