|
|
(23 intermediate revisions by 3 users not shown) |
Line 1: |
Line 1: |
− | {{ARM/breadcrumb}}
| + | This page has been moved to the official NixOS Wiki: |
− | <div class="infobox">
| |
− | {|class="table"
| |
− | !colspan="2" class="title"|PINE A64-LTS
| |
− | |-
| |
− | |colspan="2"|[[File:Pine-a64-lts.jpg|frameless|256px|A PINE A64-LTS with eMMC.]]
| |
− | |-
| |
− | !Manufacturer
| |
− | |PINE64 (Pine Microsystems Inc.)
| |
− | |-
| |
− | !Architecture
| |
− | |AArch64
| |
− | |-
| |
− | !Bootloader
| |
− | |Upstream u-boot<ref>https://github.com/NixOS/nixpkgs/pull/32553#issuecomment-373915787</ref>
| |
− | |-
| |
− | !Maintainer
| |
− | |[[User:samueldr|samueldr]]
| |
− | |}
| |
− | </div>
| |
− | {{note|While made by the same manufacturer and using an Allwinner SOC, the <em>[[NixOS on ARM/PINE A64|PINE A64]]</em> (non LTS) does not use the same bootloader.}}
| |
| | | |
− | The PINE A64-LTS is an affordable "Long Time Supply" single board computer built around the Allwinner R18 SOC.
| + | ⇒ '''[https://wiki.nixos.org/wiki/NixOS_on_ARM/PINE_A64-LTS NixOS_on_ARM/PINE_A64-LTS]''' |
| | | |
− | It can boot from SD or from an eMMC.
| + | ''— samueldr, Lead of NixOS on ARM.'' |
− | | |
− | The [https://www.pine64.org/?page_id=1491 SOPINE board] from the same manufacturer, using the Baseboard "Model A" should be 100% compatible with the A64-LTS; the A64-LTS support is built using the device tree of the Baseboard "Model A". Though untested, this should mean that the Baseboard "Model A" will work with NixOS<sup>[testing needed]</sup>.
| |
− | | |
− | == Status ==
| |
− | | |
− | Upstream NixOS AArch64 image will boot on the PINE A64-LTS, using the proper upstream u-boot.
| |
− | | |
− | U-boot support [https://github.com/NixOS/nixpkgs/pull/32553#issuecomment-373915787 has been added 2018-03-18]. The bootloader with SPL can be downloaded from this location:
| |
− | | |
− | {{note|The location will be updated once it has been built through the usual automation by Dezgeg.}}
| |
− | | |
− | * [http://cs.helsinki.fi/u/tmtynkky/sopine-u-boot-sunxi-with-spl.bin <code>sopine-u-boot-sunxi-with-spl.bin</code> built by Dezgeg.]
| |
− | | |
− | == Board-specific installation notes ==
| |
− | | |
− | First follow the [[NixOS_on_ARM#Installation|generic installation steps]] to get the installer image on an SD card or the eMMC. A compatible eMMC to SD may be required to flash the eMMC. If you do not have one available, it is possible to boot another operating system on the A64-LTS and from there <code>dd</code> to the eMMC.
| |
− | | |
− | U-Boot needs to be copied to specific sectors on the microSD card with <code>dd</code>. Download u-boot for the board (<code>sopine-u-boot-sunxi-with-spl.bin</code>), 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=sopine-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]].
| |
− | | |
− | == Serial console==
| |
− | | |
− | {{expansion|This needs to be documented and tested.}}
| |
− | | |
− | == Compatibility notes ==
| |
− | | |
− | * Using the upstream kernel at 4.15, neither ethernet seems to have troubles. The interface is detected but seems to not work right.
| |
− | * HDMI support is untested.
| |
− | | |
− | == Resources ==
| |
− | | |
− | * [https://www.pine64.org/?page_id=46823 Official product page]
| |
− | * [https://linux-sunxi.org/Xunlong_Orange_Pi_PC linux-sunxi wiki page]
| |