NixOS on ARM/Orange Pi Zero Plus2 H5: Difference between revisions
imported>Samueldr Adds Orange Pi Zero Plus2 (H5) page. |
Phanirithvij (talk | contribs) m update orangepi zero plus 2 link |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 13: | Line 13: | ||
|- | |- | ||
!Bootloader | !Bootloader | ||
|Upstream u-boot<ref>https://github.com/NixOS/nixpkgs/pull/47187</ref> | |[https://hydra.nixos.org/job/nixpkgs/trunk/ubootOrangePiZeroPlus2H5.aarch64-linux Upstream u-boot]<ref>https://github.com/NixOS/nixpkgs/pull/47187</ref> | ||
|- | |- | ||
!Maintainer | !Maintainer | ||
| | | | ||
|} | |} | ||
</div> | </div> | ||
Line 29: | Line 29: | ||
First follow the [[NixOS_on_ARM#Installation|generic installation steps]] to get the installer image on an SD card. | First follow the [[NixOS_on_ARM#Installation|generic installation steps]] to get the installer image on an SD card. | ||
U-Boot needs to be copied to specific sectors on the microSD card with <code>dd</code>. Download u-boot for the board | U-Boot needs to be copied to specific sectors on the microSD card with <code>dd</code>. Download u-boot for the board, 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">sudo dd if= | <syntaxhighlight lang="bash">sudo dd if=u-boot-sunxi-with-spl.bin of=/dev/sdX bs=1024 seek=8</syntaxhighlight> | ||
Then, install using the [[NixOS_on_ARM#NixOS_installation_.26_configuration|installation and configuration steps]]. | Then, install using the [[NixOS_on_ARM#NixOS_installation_.26_configuration|installation and configuration steps]]. | ||
Line 49: | Line 49: | ||
</nowiki>}} | </nowiki>}} | ||
--> | --> | ||
== Wireless == | |||
The wireless does not currently work using the upstream firmware from the firmware-linux-nonfree package. However there is a version of the firmware which does work in the Armbian [https://github.com/armbian/firmware firmware repository]. See [https://github.com/Thra11/nixpkgs/commit/f55c75458821de4af189d6e43ce497cb52694bb1 here] for an example of how the firmware from this repository can be added to nixpkgs, such that it overrides the upstream files. | |||
== Compatibility notes == | == Compatibility notes == | ||
Line 55: | Line 58: | ||
== Resources == | == Resources == | ||
* [http://www.orangepi.org/ | * [http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-Zero-Plus-2.html Official product page] | ||
* [http://linux-sunxi.org/Xunlong_Orange_Pi_Zero_Plus_2 linux-sunxi wiki page] | * [http://linux-sunxi.org/Xunlong_Orange_Pi_Zero_Plus_2 linux-sunxi wiki page] |