NixOS on ARM/NanoPC-T4: Difference between revisions

imported>Tmountain
No edit summary
imported>Tmountain
No edit summary
Line 68: Line 68:
</syntaxhighlight>
</syntaxhighlight>


==== boot and rootfs ====
==== Boot and RootFS ====
The latest linux kernel is working with this board. Instead of building the image yourself you can fetch the latest sd-image from hydra and dd the created images onto the separate partitions.
The latest linux kernel is working with this board. Instead of building the image yourself you can fetch the latest sd-image from hydra and dd the created images onto the separate partitions.
You can find all the successful builds in [https://hydra.nixos.org/job/nixos/release-18.09-aarch64/nixos.sd_image.aarch64-linux hydra @ nixos:release-18.09-aarch64:nixos.sd_image.aarch64-linux]
You can find all the successful builds in [https://hydra.nixos.org/job/nixos/release-18.09-aarch64/nixos.sd_image.aarch64-linux hydra @ nixos:release-18.09-aarch64:nixos.sd_image.aarch64-linux]
Line 87: Line 87:


After writing the filesystem, shutdown the system completely (power off state), remove the SD card, and if everything went well, it should boot into Nix via eMMC.
After writing the filesystem, shutdown the system completely (power off state), remove the SD card, and if everything went well, it should boot into Nix via eMMC.
==== Bypassing eMMC to boot SD ====
From a fully powered off state, hold the Boot button and then long-press the power button to power up the board. Continue holding the Boot button for ~5 seconds, and the board will be forced to enter the MASKROM mode which bypasses the eMMC MBR.


=== TODO ===
=== TODO ===


Add info on making integrated wifi work after booting into Nix.
Add info on making integrated wifi work after booting into Nix.