Template:ARM/installation generic: Difference between revisions

From NixOS Wiki
imported>Samueldr
m WIP
Sdht0 (talk | contribs)
Add proper sections
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>{{Template}}


== About ==
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!
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!


=== Parameters ===
* <tt>variant</tt> Pass one of <tt>aarch64, armv7l, armv6l</tt> as relevant.
* <tt>storage</tt> default: <tt>an SD card</tt> This will be used like <tt>... to a/an EXAMPLE STORAGE DEVICE</tt>. Example: <tt>storage=a USB drive</tt>.
== Usage ==
<syntaxhighlight>
<syntaxhighlight>
{{ARM/generic install|variant=EXAMPLE}}
{{ARM/installation generic|variant=EXAMPLE}}
</syntaxhighlight>
</syntaxhighlight>


== Preview ==
== Example ==


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


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


-->{{#tag:syntaxhighlight|sudo dd if={{{u-boot}}} of=/dev/sdX bs=1024 seek=8|lang="bash"}}<!--
-->To use the generic installation image for your board, you will need to copy it verbatim to {{{storage|an SD card}}}.
{{#tag:syntaxhighlight|sudo dd if=sd-image-{{{variant}}}-linux.img of=/dev/DEVICE conv=sync status=progress|lang="bash"}}<!--


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

Latest revision as of 21:30, 6 April 2024

This page is a template. It should be used as part of other articles. For more information, see Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to discuss this template in the talk page.

If you wanted to create a new page instead, use the search box to search for the title of the new page you want to create and follow the link Create the page "XYZ" on this wiki! in the results page. An alternative is to create a dangling link to the new page from an existing page. A final option is to directly visit the expected URL of the page.

About

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!

Parameters

  • variant Pass one of aarch64, armv7l, armv6l as relevant.
  • storage default: an SD card This will be used like ... to a/an EXAMPLE STORAGE DEVICE. Example: storage=a USB drive.

Usage

{{ARM/installation generic|variant=EXAMPLE}}

Example

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