06-27-2020, 03:29 PM
hello guys !
I've been looking for a method to write a uboot compatible image of Ubuntu ,
trying (failing ) to follow this
installing other ARM64 distributions
Warning: Distributions not on this page may not even boot after you follow this section. 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.
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.
If you would like to see specific commands for how to complete these steps, see 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).
Create a boot (from 4 MB to about 252 MB) and root (from 252 MB to the end of the card) filesystem on the SD card.
Format the boot partition with vfat, and the root partition with 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 rsync -ar).
Edit /etc/fstab to match your partitions.
Grab megi's kernel from https://xff.cz/kernels/
(you probably want 5.6 or later).
Follow the README instructions, which involves copying the kernel modules into the SD card rootfs and writing u-boot and the bootloader.
(https://wiki.pine64.org/index.php/PinePhone_Software_Releases
with no luck , have you succeded trying to write other images than posted on
I've seen that Rpi 3 and 4 uses similar Uboot stuff but no clear how I can create a boot and appropriate IMG for the pinephone
as you can see I am very new to this , hope you can share some
)
I've been looking for a method to write a uboot compatible image of Ubuntu ,
trying (failing ) to follow this
installing other ARM64 distributions
Warning: Distributions not on this page may not even boot after you follow this section. 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.
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.
If you would like to see specific commands for how to complete these steps, see 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).
Create a boot (from 4 MB to about 252 MB) and root (from 252 MB to the end of the card) filesystem on the SD card.
Format the boot partition with vfat, and the root partition with 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 rsync -ar).
Edit /etc/fstab to match your partitions.
Grab megi's kernel from https://xff.cz/kernels/
(you probably want 5.6 or later).
Follow the README instructions, which involves copying the kernel modules into the SD card rootfs and writing u-boot and the bootloader.
(https://wiki.pine64.org/index.php/PinePhone_Software_Releases
with no luck , have you succeded trying to write other images than posted on
I've seen that Rpi 3 and 4 uses similar Uboot stuff but no clear how I can create a boot and appropriate IMG for the pinephone
as you can see I am very new to this , hope you can share some
)