NixOS on ARM/NanoPC-T4: Difference between revisions

imported>Tmountain
mNo edit summary
Pigs (talk | contribs)
m Add category
 
(3 intermediate revisions by 3 users not shown)
Line 28: Line 28:
The board '''boots NixOS from eMMC''' and will also load NixOS via its integrated microSD reader.
The board '''boots NixOS from eMMC''' and will also load NixOS via its integrated microSD reader.


The official documentation, which is comprehensive, can be found on [https://wiki.friendlyarm.com/wiki/index.php/NanoPC-T4/ the FriendlyElec wiki].
The official documentation, which is comprehensive, can be found on [https://wiki.friendlyelec.com/wiki/index.php/NanoPC-T4 the FriendlyElec wiki].


U-Boot for this board is not entirely open, incorporating a binary blob for the tertiary program loader (TPL). Compilation instructions are featured in section 15.7 of [http://wiki.friendlyarm.com/wiki/index.php/NanoPC-T4 the FriendlyElec wiki], and a build target is also provided in upstream u-boot ('''nanopc-t4-rk3399_defconfig''').
U-Boot for this board is not entirely open, incorporating a binary blob for the tertiary program loader (TPL). Compilation instructions are featured in section 15.7 of [http://wiki.friendlyelec.com/wiki/index.php/NanoPC-T4 the FriendlyElec wiki], and a build target is also provided in upstream u-boot ('''nanopc-t4-rk3399_defconfig''').


Pre-built u-boot images are available [https://github.com/tmountain/arch-nanopct4/tree/main/images/ here].
Pre-built u-boot images are available [https://github.com/tmountain/arch-nanopct4/tree/main/images/ here].
Line 74: Line 74:
<syntaxHighlight lang=bash>
<syntaxHighlight lang=bash>
# get the latest link directly from hydra
# get the latest link directly from hydra
wget https://hydra.nixos.org/build/135139819/download/1/nixos-sd-image-20.09.2623.97a13fb97fc-aarch64-linux.img.zst -O sd.img.zst
# wget https://hydra.nixos.org/build/135139819/download/1/nixos-sd-image-20.09.2623.97a13fb97fc-aarch64-linux.img.zst -O sd.img.zst
# unzstd sd.img.zst
# unzstd sd.img.zst
# udisksctl loop-setup -f sd.img -r
# udisksctl loop-setup -f sd.img -r
Line 122: Line 122:
# reboot
# reboot
</syntaxhighlight>
</syntaxhighlight>
[[Category:NixOS on ARM]]