PINE64
How boot Alpine Linux - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: General Discussion on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=127)
+--- Thread: How boot Alpine Linux (/showthread.php?tid=19416)



How boot Alpine Linux - realroot - 09-10-2024

I have tow-boot installed and Alpine with linux-lts package that has pinephone files:


Code:
/boot/dtbs-lts/allwinner/sun50i-a64-pinephone-1.0.dtb
/boot/dtbs-lts/allwinner/sun50i-a64-pinephone-1.1.dtb
/boot/dtbs-lts/allwinner/sun50i-a64-pinephone-1.2.dtb




When booting I have aqua led and no vibration and it is stuck there.



I think that pmOS uses grub + tow-boot for the PPP.


Can I use do that too in order to boot? Alpine (default) script installed grub.




Can I use p-boot? I have GPT partition table.


RE: How boot Alpine Linux - Pavlos1 - 09-12-2024

1. If you're going to be doing this kind of experimentation you should be monitoring the boot logs via the serial console. (Serial is outputted to the headphone jack. You can either purchase the official serial adapter from the pine store or make your own from any 3.3V UART adapter and a pair of old/broken wired headphones based on this pinout.)

2. You need the right kernel. On pmOS the package was linux-megi and later linux-postmarketos, i.e. kernels built specifically for the PinePhone. I don't think you can just grab the ARM version of linux-lts and have it work.


RE: How boot Alpine Linux - Kevin Kofler - 09-14-2024

Why would you want to use Alpine directly instead of postmarketOS, which is Alpine ported to the device? (If your issue is systemd: the postmarketOS sxmo edition does not use systemd, and you can also roll your own edition through pmbootstrap and opt out of systemd that way.)