NixOS on ARM: Difference between revisions

imported>Happysalada
m fix zstd -> zst
imported>Happysalada
m Fix sd card copy instructions
Line 277: Line 277:
The installation images come in two flavors: <code>sd-image-armv6l-linux.img</code> is built for the ARMv6 architecture and it comes with the Raspberry Pi kernel. sd-image-armv7l-linux.img is built for the ARMv7 architecture and comes with the mainline multiplatform ARMv7 kernel (multi_v7_defconfig). Make sure you download the correct image for your board!
The installation images come in two flavors: <code>sd-image-armv6l-linux.img</code> is built for the ARMv6 architecture and it comes with the Raspberry Pi kernel. sd-image-armv7l-linux.img is built for the ARMv7 architecture and comes with the mainline multiplatform ARMv7 kernel (multi_v7_defconfig). Make sure you download the correct image for your board!


The .img files can be directly written to a microSD/SD card (minimal recommended size: 4 GB) using dd.
The .img files can be directly written to a microSD/SD card (minimal recommended size: 4 GB) using dd. The SD card needs to be unmounted first. For more information, check [NixOs](https://www.raspberrypi.org/documentation/installation/installing-images/linux.md)  and for [mac](https://www.raspberrypi.org/documentation/installation/installing-images/mac.md)
 
<syntaxhighlight lang="bash">sudo cp sd-image-armv7l-linux.img /dev/sdX</syntaxhighlight>
Replace <code>/dev/sdX</code> with the path to your SD card device.


The base images are configured to boot up with a serial TTY ( RX/TX UART ) @ 115200 Baud. That way you not necessarily have to have a HDMI Display and keyboard.
The base images are configured to boot up with a serial TTY ( RX/TX UART ) @ 115200 Baud. That way you not necessarily have to have a HDMI Display and keyboard.