this post was submitted on 22 Jun 2023
2 points (100.0% liked)

postmarketOS

959 readers
1 users here now

postmarketOS - a real Linux distribution for phones and other mobile devices ๐Ÿง ๐Ÿ“ฑ ๐Ÿ‘ฉโ€๐Ÿ’ป

Rules:

See also:

founded 3 years ago
MODERATORS
 

So I am trying to port postmarketos, I have gotten very far (everything has compiled) but there is an issue during pmbootstrap install

Before you ask I have asked Matrix/IRC

I noticed my SoC has mainline support so I'm mainlining it

Phone specs:

  • Samsung Galaxy A127F
  • Exynos 850 SoC
  • stock bootloader

Logs:

Files used:

What I think is happening:

  • mkbootimg is failing for some reason

What I think can fix it:

  • Disabling it. This wiki page says:

    " generate_bootimg | Set this to true for fastboot device, so the mkinitfs command will generate a boot.img file after creating the initfs. Add mkbootimg as dependency to your device's APKBUILD! "

    I don't know if a phone using samsungs download mode counts as a "fastboot device" I have tried disabling it but heimdall then stopped at 6% I followed the advice of the wiki but then heimdall got stuck at 27%

  • Adding more arguments. The error is error: not enough arguments '/tmp/mkinitfs1981624154/boot.img' so just add the arguments? The problem is I don't know which ones. According to the wiki I could use bootimg_custom_args to add custom arguments, but which custom arguments? And where are the files arguments like --kernel should point to?

Please remind me if I forgot to mention anything and I will happily edit my post :D

Edit: I would just like to say thanks to everyone who has helped me on previous issues and anyone who helps me on any other issue (including this one)

top 3 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 0 points 1 year ago (1 children)

Before you ask I have asked Matrix/IRC

But have you done so in the right channel? ๐Ÿ˜‰ There is #mainline:postmarketos.org for specifically mainlining, it would be better than any other channel you might have tried. I don't think the people that know how to answer your question are on Lemmy, so it's better to ask them in that channel.

[โ€“] [email protected] 0 points 1 year ago (1 children)

KDE has a lemmy instance? Lets goooo :D

[โ€“] [email protected] 2 points 1 year ago

Since yesterday I think haha. Very recently. Not officially hosted by KDE, it's not on their infrastructure, but by @[email protected] so official enough ๐Ÿ˜œ