UPDATED (June 2021): 17-distro multi-boot image for Pinephone (incl. 3GiB variant)
#72
(09-27-2020, 10:22 AM)laaglu Wrote: Hi megous,

Many thanks for your work, it is great and truly appreciated. The time from press-power-on to pboot-main-screen is so incredibly fast.

Currently my most wanted feature would be as bujiraso suggested 'Boot to eMMC' (either as an option in the menu or as a key combination or both). I have tried power+volume-up but that did not seem to work. So currently I do a lot of micro-sd shuffling to switch between eMMC and pboot (too bad the micro-sd is not accessible without opening the phone on the current model, I hope Pine will consider an external slot in a future design). Is there a way to get boot to eMMc to work with present version, maybe by patching a file or something other tweak?

Lukas
Oh, right. It works if you also use p-boot for eMMC. It doesn't work as bypass to run U-Boot from eMMC. That would be quite a different matter.

p-boot would have to load U-Boot's SPL over itself and execute it. It would have to get out of the way too, first. Kinda complicated.

(09-26-2020, 11:03 AM)jmorris Wrote:
(09-26-2020, 09:38 AM)megous Wrote: For package managers that use signatures, you typically need to have time set up correctly on your phone, because certificates are issued for a certain time window.

Also apparently package managers don't like to hit files that I marked as unchangeable, and instead of ignoring them, they fail the whole update. Workaround is to remove immutable flag on those files, back them up before update, and copy my versions back after update. It's usually various modem scripts.

Better fix may be to use NoUpgrade NoExtract options of pacman and equivalent options for other package managers, next time.

Looks like pacman and dpkg have ways to ignore select files by specifying the ignored files in the configuration files. Alpine package manager doesn't even have a config file that I can find, and it doesn't look like it has this functionality, so not sure how to work around this issue on distros that use it. Maybe someone else has some suggestions?

PMOS-Plasma is hopeless, you can't set the timezone, changes just don't stick.  But the clock is right, correctly displayed in GMT.  PMOS-Phosh has the right time and timezone so that is where I started digging first.  Tracked it down.  /etc/apk/keys is empty.  You are defaulting to having device mapper claim /dev/mmcblk2, but I didn't bother encrypting my preload, so had to figure out a way around that.   Then it was easy enough to copy the keys from the preload install over and the error about untrusted repos went away. Now it has a dependency issue.

# apk upgrade
ERROR: unsatisfied constraints:
  cmd:kpartx (virtual)
  provided by: multipath-tools
  required by: postmarketos-mkinitfs-0.14.1-r1[cmd:kpartx]

Made any changes in any of that or is that just life on the edge and it will get fixed upstream in a few hours?
All changes that I made have original files backed up in /.xnux dir. I didn't make any changes related to package management. If keys file is empty it was empty in the original image too.

I also don't use device mapper, so not sure what that comment is about.
my website: https://xnux.eu
  Reply


Messages In This Thread
RE: UPDATED: 13-distro multi-boot image for Pinephone (incl. 3GiB variant) - by megous - 09-28-2020, 06:44 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  eSIM on PinePhone just_a_q 8 4,722 11-05-2024, 11:10 AM
Last Post: zetabeta
  How boot Alpine Linux realroot 4 680 11-02-2024, 01:00 PM
Last Post: linmob
  Want to buy second hand PinePhone 3G version rudi.timmermans 0 184 11-01-2024, 09:58 AM
Last Post: rudi.timmermans
  Can use PlayStation on Pinephone? willharper 6 5,692 10-30-2024, 08:07 AM
Last Post: biketool
  Ordered PinePhone till today have no info or confirmation about order hennadiyt 1 375 10-05-2024, 02:20 PM
Last Post: KC9UDX
  Tow boot MTXP 5 1,619 08-22-2024, 03:11 AM
Last Post: Pavlos1
  US Mobile, via T-Mobile, won't support Pinephone Pro - SOLVED, SIMPLY jovval 11 5,808 07-28-2024, 03:42 PM
Last Post: dchang0
  How can I record video on a Pinephone? kk22 18 7,243 07-22-2024, 05:18 PM
Last Post: baptx
  Pinephone not booting, always vibrating alexander12 8 6,902 07-19-2024, 07:50 PM
Last Post: Blackheart
  PinePhone Pro P. Siera 2 836 07-17-2024, 12:41 AM
Last Post: P. Siera

Forum Jump:


Users browsing this thread: 16 Guest(s)