Pine64 A64 LTS: Difference between revisions

From Alpine Linux
m (+ links)
Line 1: Line 1:
{{Draft|It doesn't boot yet}}
{{Draft|It doesn't boot yet}}


Since the 3.10.0 release, Alpine Linux includes u-boot support for the Pine64 A64LTS. The <code>linux-vanilla</code> kernel is still too old to boot it, however this page describes how to install the system for once the kernel is upgraded.
Since the 3.10.0 release, Alpine Linux includes [https://denx.de/ u-boot] support for the [https://pine64.org/ Pine64] A64LTS. The <code>linux-vanilla</code> kernel is still too old to boot it, however this page describes how to install the system for once the kernel is upgraded.


The generic ARM image should be used. Make sure your sdcard is empty before you install Alpine Linux, as all it's contents will be removed!
The generic ARM image should be used. Make sure your sdcard is empty before you install Alpine Linux, as all it's contents will be removed!


# download the generic ARM image and unpack it somewhere
# download the [https://alpinelinux.org/downloads/ generic ARM image] and unpack it somewhere
# write u-boot to the sdcard <code><unpacked folder>/u-boot/pine64-lts/dd if=u-boot-sunxi-with-spl.bin of=/path/to/sdcard bs=1024 seek=8</code>
# write u-boot to the sdcard <code><unpacked folder>/u-boot/pine64-lts/dd if=u-boot-sunxi-with-spl.bin of=/path/to/sdcard bs=1024 seek=8</code>
# create a new partition on the sdcard starting from sector 2048, set it as bootable
# create a new partition on the sdcard starting from sector 2048, set it as bootable

Revision as of 05:51, 26 October 2019

This material is work-in-progress ...

It doesn't boot yet
(Last edited by Innsill on 26 Oct 2019.)

Since the 3.10.0 release, Alpine Linux includes u-boot support for the Pine64 A64LTS. The linux-vanilla kernel is still too old to boot it, however this page describes how to install the system for once the kernel is upgraded.

The generic ARM image should be used. Make sure your sdcard is empty before you install Alpine Linux, as all it's contents will be removed!

  1. download the generic ARM image and unpack it somewhere
  2. write u-boot to the sdcard <unpacked folder>/u-boot/pine64-lts/dd if=u-boot-sunxi-with-spl.bin of=/path/to/sdcard bs=1024 seek=8
  3. create a new partition on the sdcard starting from sector 2048, set it as bootable
  4. format it to ext4 (or any other filesystem that u-boot supports booting from)
  5. copy over the apk, boot and extlinux folders from the extracted archive to the new partition

Alpine Linux should now boot on your device.