NixOS on ARM/Installation: Difference between revisions

m Add further plans
m Add on-the-fly zstd decompression example
Line 47: Line 47:


On the page click on the latest successful build to get a download link under build products.
On the page click on the latest successful build to get a download link under build products.
If the image has the extension <code>.zst</code>, it will need to be decompressed before writing to installation device. Use <code>nix-shell -p zstd --run "unzstd <img-name>.img.zst"</code> to decompress the image.


=== Installation steps ===
=== Installation steps ===
Line 63: Line 61:


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.
Note: If the image has the extension <code>.zst</code>, it will need to be decompressed before writing to installation device. Use
<code>nix-shell -p zstd --run "zstdcat image.img.zst | dd of=/dev/mmcblk0 status=progress"</code>
to decompress the image on-the-fly.


{{note| For some platforms, manually editing and adding kernel command-line arguments to <code>/boot/extlinux/extlinux.conf</code> may be needed for serial to work, and is "as" supported as would be editing the command-line manually during boot.}}
{{note| For some platforms, manually editing and adding kernel command-line arguments to <code>/boot/extlinux/extlinux.conf</code> may be needed for serial to work, and is "as" supported as would be editing the command-line manually during boot.}}


Continue with [[NixOS_on_ARM/Initial_Configuration]].
Continue with [[NixOS_on_ARM/Initial_Configuration]].