Template:ARM/installation allwinner: Difference between revisions

From NixOS Wiki
imported>Samueldr
m WIP
imported>KREYREN
Use DEVICE as it's more understandable
 
(5 intermediate revisions by one other user not shown)
Line 4: Line 4:


<syntaxhighlight>
<syntaxhighlight>
{{ARM/allwinner install|variant=EXAMPLE|u-boot=EXAMPLE-u-boot-sunxi-with-spl.bin}}
{{ARM/installation allwinner|variant=EXAMPLE|u-boot=EXAMPLE-u-boot-sunxi-with-spl.bin}}
</syntaxhighlight>
</syntaxhighlight>


== Preview ==
== Preview ==


{{ARM/allwinner install|variant=EXAMPLE|u-boot=EXAMPLE-u-boot-sunxi-with-spl.bin}}
{{ARM/installation allwinner|variant=EXAMPLE|u-boot=EXAMPLE-u-boot-sunxi-with-spl.bin}}


</noinclude><includeonly><!--
</noinclude><includeonly><!--


-->{{ARM/generic install|variant=EXAMPLE}}
-->{{ARM/installation generic|variant={{{variant}}}}}


This board requires the installation of u-boot at a specific location on the storage where NixOS was written to.
This board requires the installation of u-boot at a specific location on the storage where NixOS was written to.


{{#tag:syntaxhighlight|sudo dd if={{{u-boot}}} of=/dev/sdX bs=1024 seek=8|lang="bash"}}<!--
{{#tag:syntaxhighlight|sudo dd if={{{u-boot|u-boot-sunxi-with-spl.bin}}} of=/dev/DEVICE bs=1024 seek=8|lang="bash"}}<!--


--></includeonly>
--></includeonly>

Latest revision as of 19:07, 1 July 2023


This template provides generic installation instructions for NixOS on ARM sub-pages. Look at the other installation instruction templates, there may be one more appropriate for the lineage of your board!

{{ARM/installation allwinner|variant=EXAMPLE|u-boot=EXAMPLE-u-boot-sunxi-with-spl.bin}}

Preview

To use the generic installation image for your board, you will need to copy it verbatim to an SD card.

sudo dd if=sd-image-EXAMPLE-linux.img of=/dev/DEVICE conv=sync status=progress

This board requires the installation of u-boot at a specific location on the storage where NixOS was written to.

sudo dd if=EXAMPLE-u-boot-sunxi-with-spl.bin of=/dev/DEVICE bs=1024 seek=8