Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Any help with installing Gentoo to a Pinephone Pro?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
kebabslob
n00b
n00b


Joined: 24 Dec 2021
Posts: 7

PostPosted: Tue Apr 12, 2022 1:39 pm    Post subject: Any help with installing Gentoo to a Pinephone Pro? Reply with quote

Hello Gentoo,

I want to install to a Pinephone Pro that I got, but I am not sure exactly what the best place to start on that would be. I have seen https://wiki.gentoo.org/wiki/PinePhone, but it details processes different than what the Pro would need. For instance, I think the Pro requires a different boot loader. The Pro also has a different way of booting, such that I should need to hold a reset button inside of it, I believe.

I have also seen a post external to Gentoo's planet, here: https://stealthgun.tweakblogs.net/blog/19830/gentoo-on-a-pinephone-pro. I want to follow that guide, but it seems to be a bit outdated, and I also do not want to use Gnome, but rather maybe KDE.

Thanks,
Kebab
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54317
Location: 56N 3W

PostPosted: Tue Apr 12, 2022 2:19 pm    Post subject: Reply with quote

kebabslob,

Make it work first, make it better later.

The idea behind booting Gentoo from an SD card, not the eMMC, is that its safe.
The worst that can happen, is you need to rewrile the SD card.

When you change the boot loader on the eMMC and mess up, your phone may be bricked until you fix it using a serial port.
Make Gentoo boot to the command line, from the SD card, then think about next steps.
That much is common to whatever comes next anyway.

Look at cross compiling and installing binaries.
eMMC is just a soldered down SD card, so avoid building there if you can.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54317
Location: 56N 3W

PostPosted: Tue Apr 12, 2022 2:20 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Gentoo on ARM.

Its going to be an arm64 install.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
kebabslob
n00b
n00b


Joined: 24 Dec 2021
Posts: 7

PostPosted: Tue Apr 12, 2022 7:02 pm    Post subject: Reply with quote

NeddySeagoon wrote:
kebabslob,

Make it work first, make it better later.

The idea behind booting Gentoo from an SD card, not the eMMC, is that its safe.
The worst that can happen, is you need to rewrile the SD card.

When you change the boot loader on the eMMC and mess up, your phone may be bricked until you fix it using a serial port.
Make Gentoo boot to the command line, from the SD card, then think about next steps.
That much is common to whatever comes next anyway.

Look at cross compiling and installing binaries.
eMMC is just a soldered down SD card, so avoid building there if you can.


Thank you! Solid advice. However, I am worried I may have ruined my boot partition already, so that is unfortunate. I'll have to see if I didn't ruin the bootloader.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54317
Location: 56N 3W

PostPosted: Tue Apr 12, 2022 7:18 pm    Post subject: Reply with quote

kebabslob,

It's a Pinephone, as its open, you can recover it if you have to.
You will learn things you can learn no other way. :)
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3151

PostPosted: Tue Apr 12, 2022 9:18 pm    Post subject: Reply with quote

Baby steps:
Pinephones prioritize booting from SD card over eMMC, so you should not be able to brick it in software. Download any system image for your device and see if it boots to confirm your hardware is working.
Then you can inspect the device - preferably using SSH or any USB-C dock you have around and even repair or replace the builtin system.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum