Building images for the Pinephone
-
Hello all! I want to start pitching in on development for the Pinephone, but I am a bit confused as to how I should get started. Does anyone have a script or maybe build instructions to create an image that I can flash to my sd card that will allow me to use different kernels and modified versions of system components (e.g. power-indicator)?
I have tried the instructions here but It doesn't seem to create an image that I can write to an SD card. It also doesn't tell me how I can make changes to the rootfs.
If someone could point me in the right direction, that would be super helpful! I've not done OS development before, but I call myself a software developer so I am hoping that I can get some low hanging fruit issues to contribute.Thanks!
-
@vlladdrakk Maybe this helps: https://gitlab.com/ubports/community-ports/pinephone
-
@C0n57an71n Thanks for the reply! I did find that before and ran the build.sh, but I ended up with a tarball that had partitions and system files, but it doesn't look like a rootfs (just some firmware files and modem scripts).
-
@UniSuperBox Could you guide @vlladdrakk and show him where he could find some information, if you have time that is? Thanks!
-
I don't know how to build a rootfs locally, but maybe you don't have to do that. From a developer perspective the rootfs is composed via deb packages, so you can use an existing rootfs from CI and then http://docs.ubports.com/en/latest/systemdev/index.html#system-software-guides should work also on pinephones. If you're interested in the kernel side have a look here: http://docs.ubports.com/en/latest/systemdev/kernel-pinephone.html
-
@doniks I think that was the missing link for me, thanks! I didn't consider that I could just build new debs for those projects and install them to test. Much appreciated! And as for the kernel stuff, thank you for that too! I will play around with installing a new kernel.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login