Difference between revisions of "PinePhone Software Releases"

Jump to navigation Jump to search
m
→‎Installing other ARM64 distributions: add link to the README of megi's kernel, adjust content
m (→‎Factory-loaded OS builds: Fix style="white-space: nowrap")
m (→‎Installing other ARM64 distributions: add link to the README of megi's kernel, adjust content)
Line 713: Line 713:
= Installing other ARM64 distributions =
= Installing other ARM64 distributions =


{{Warning|Distributions not on this page may not even boot after you follow this section.
{{Warning|Distributions not on this page may not even boot after you follow this section. In the best case, they will be barely usable.
In the best case, they will be barely usable.
This is more for fun, or if you would like to port a new distribution to the PinePhone.}}
This is more for fun, or if you would like to port a new distribution to the PinePhone.}}


{{Hint|'''Note:''' This section uses megi's kernel releases, and not the official ones from Pine64.
{{Hint|'''Note:''' This section uses megi's kernel releases, and not the official ones from Pine64. While it is possible to use the official (and in the future, mainline) kernel, megi provides binary releases, which makes it very easy.}}
While it is possible to use the official (and in the future, mainline) kernel, megi provides binary releases, which makes it very easy.}}


If you would like to see specific commands for how to complete these steps, see:
General steps:
* https://github.com/nikhiljha/pp-fedora-sdsetup (an example for Fedora) or
* https://xnux.eu/howtos/install-arch-linux-arm.html (an example for Arch Linux).
 
General step:


# Create a boot partition (from 4 MB to about 252 MB) and a root partition (from the end of boot to the end of the card) filesystem on the SD card.
# Create a boot partition (from 4 MB to about 252 MB) and a root partition (from the end of boot to the end of the card) filesystem on the SD card.
# Format the boot partition with vfat, and the root partition with a supported filesystem like ext4 or f2fs.
# Format the boot partition with vfat, and the root partition with a supported filesystem like ext4 or f2fs.
# Extract the root filesystem from your distribution's ARM image into the root filesystem on the SD card. Do not copy the partition, copy the files (in archive mode: like <code>rsync -ar</code>).
# Extract the root filesystem from your distribution's ARM image into the root filesystem on the SD card. Do not copy the partition, copy the files instead (in archive mode, like <code>rsync -ar</code>).
# Edit <code>/etc/fstab</code> to match your partitions.
# Edit <code>/etc/fstab</code> to match your partitions.
# Grab megi's kernel from https://xff.cz/kernels/
# Grab megi's kernel from https://xff.cz/kernels/, Follow the instructions in the [https://xff.cz/kernels/README README], which involves copying the kernel modules into the SD card rootfs, and writing u-boot and the bootloader.
# Follow the README instructions, which involves copying the kernel modules into the SD card rootfs, and writing u-boot and the bootloader.
 
If you would like to see examples or specific commands for how to complete these steps, see:
* [https://github.com/nikhiljha/pp-fedora-sdsetup    an example for Fedora], current unofficial [#Fedora] release
* [https://xnux.eu/howtos/install-arch-linux-arm.html an example for Arch Linux] by megi


= Other Resources =
= Other Resources =
130

edits

Navigation menu