NixOS on ARM/PINE64 Pinebook: Difference between revisions

imported>Samueldr
m Fixes a link
imported>Samueldr
mNo edit summary
Line 35: Line 35:
== Board-specific installation notes ==
== Board-specific installation notes ==


First follow the [[NixOS_on_ARM#Installation|generic installation steps]] to get the installer image on an SD card. Copying to the eMMC directly should work, but requires disassembly of the computer.
{{ARM/installation allwinner|variant=aarch64}}
 
U-Boot needs to be copied to specific sectors on the microSD card with <code>dd</code>. Download U-Boot for the board (<code>sopine-u-boot-sunxi-with-spl.bin</code>), and copy it to the correct location with (again, replace <code>/dev/sdX</code> with the correct path to the SD card device):
 
<syntaxhighlight lang="bash" style="clear:both">sudo dd if=sopine-u-boot-sunxi-with-spl.bin of=/dev/sdX bs=1024 seek=8</syntaxhighlight>


=== Partitioning ===
=== Partitioning ===


The internal storage needs to be partitioned in a way that that the bootloader will not interfere with nor be interfered by a partition.
The internal storage needs to be partitioned in a way that that the bootloader will not interfere with nor be interfered by a partition.
Then, continue installation using the [[NixOS_on_ARM#NixOS_installation_.26_configuration|installation and configuration steps]].


==== By copying the sd image internally ====
==== By copying the sd image internally ====