Jump to content

NixOS on ARM/PINE64 ROCK64: Difference between revisions

no edit summary
imported>Mic92
No edit summary
imported>Mic92
No edit summary
Line 33: Line 33:


This bootloader is not entirely open, incorporating a binary blob for the tertiary program loader (TPL).
This bootloader is not entirely open, incorporating a binary blob for the tertiary program loader (TPL).
If your have nix installed you can download the latest version with:
If your have nix installed you can download the latest version with (This command also works on different
architectures since it can be downloaded from the binary cache):


<syntaxHighlight lang=console>
<syntaxHighlight lang=console>
$ nix-store -r $(nix-instantiate --system 'aarch64-linux' --eval --expr 'with import <nixpkgs> {}; "${ubootRock64}"' | sed 's/"//g')
$ nix-build '<nixpkgs>' -A ubootRock64 --argstr system aarch64-linux
$ ls -la result
.r--r--r-- 107k root  1 Jan  1970  idbloader.img
.r--r--r-- 765k root  1 Jan  1970  u-boot.itb
</syntaxHighlight>
</syntaxHighlight>
The store path can be take from output nix-store.


== Board-specific installation notes ==
== Board-specific installation notes ==
Anonymous user