Difference between revisions of "Pine64 A64 LTS"
PureTryOut (talk | contribs) m |
|||
(5 intermediate revisions by 2 users not shown) | |||
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 | + | Since the 3.10.0 release, Alpine Linux includes [https://denx.de/ u-boot] support for the [https://pine64.org/ Pine64] A64LTS. Since the 3.11.0 release, Alpine Linux includes a kernel that is new enough to boot it. This page describes how to install the system. |
− | 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 (u-boot) 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 | + | # download the [https://alpinelinux.org/downloads/ "Generic ARM" aarch64 image] and unpack it somewhere |
− | # write u-boot to the sdcard <code><unpacked folder>/u-boot/pine64-lts | + | # write u-boot to the sdcard <code>cd <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 | ||
# format it to ext4 (or any other filesystem that u-boot supports booting from) | # format it to ext4 (or any other filesystem that u-boot supports booting from) | ||
− | # copy over the <code> | + | # decompress (<code>gunzip</code>)the kernel image (<code>boot/vmlinuz-lts</code>) as the device's u-boot can't boot from a compressed kernel |
+ | # copy over the <code>apks</code>, <code>boot</code> and <code>extlinux</code> folders from the extracted archive to the new partition | ||
Alpine Linux should now boot on your device. | Alpine Linux should now boot on your device. | ||
+ | |||
+ | [[category:ARM]] |
Latest revision as of 07:07, 7 May 2021
![]() It doesn't boot yet |
Since the 3.10.0 release, Alpine Linux includes u-boot support for the Pine64 A64LTS. Since the 3.11.0 release, Alpine Linux includes a kernel that is new enough to boot it. This page describes how to install the system.
The generic (u-boot) 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" aarch64 image and unpack it somewhere
- write u-boot to the sdcard
cd <unpacked folder>/u-boot/pine64-lts && dd if=u-boot-sunxi-with-spl.bin of=/path/to/sdcard bs=1024 seek=8
- create a new partition on the sdcard starting from sector 2048, set it as bootable
- format it to ext4 (or any other filesystem that u-boot supports booting from)
- decompress (
gunzip
)the kernel image (boot/vmlinuz-lts
) as the device's u-boot can't boot from a compressed kernel - copy over the
apks
,boot
andextlinux
folders from the extracted archive to the new partition
Alpine Linux should now boot on your device.