How boot Alpine Linux
#1
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.
  Reply
#2
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.
  Reply
#3
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.)
  Reply
#4
1. I see can I maybe write the log in a file so that I can check it later?

2. I thought about using pmOS kernel as in Artix I use Danctnix (Arch) kernel. Then I will need to use also some config.

pmOS uses different initram and they are going systemd.
Also they cannot use btrfs + FDE, right?
Admittedly Alpine initram does have an option to customize boot yet, e.g. adding unl0kr for FDE.

By switching to system they betrayed Alpine users https://www.alpinelinux.org/:
Quote:Small. Simple. Secure.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Tow boot MTXP 5 1,359 08-22-2024, 03:11 AM
Last Post: Pavlos1
  Pinephone won't boot. spha 13 5,465 05-15-2024, 10:31 PM
Last Post: Richy_T
  Pinephone boot. Richy_T 5 1,357 05-15-2024, 03:35 PM
Last Post: Richy_T
  PinePhone - boot from microSD laserpyramid 9 2,610 05-03-2024, 10:09 AM
Last Post: laserpyramid
  PinePhone Doesn't Boot LED Doesn't Show Any Signs When Charging dorkydev 1 964 04-02-2024, 11:50 AM
Last Post: Kevin Kofler
  Linux Kernel development Uturn 10 3,312 11-09-2023, 08:46 AM
Last Post: Kevin Kofler
  Boot screen stuck at 'K' because of firmware deleted. poundantisec 9 6,605 08-28-2023, 11:38 AM
Last Post: fxc
  New Pinephone is dead. eMMC, boot, hardware issues. Shane 4 2,188 05-10-2023, 03:31 AM
Last Post: fxc
  UPDATED (June 2021): 17-distro multi-boot image for Pinephone (incl. 3GiB variant) megous 182 270,902 03-05-2023, 11:04 AM
Last Post: Eugo
Sad New PinePhone won't boot 9/10 times - Screen is on but stays black :( dante404 8 6,503 02-03-2023, 01:27 AM
Last Post: dante404

Forum Jump:


Users browsing this thread: 1 Guest(s)