UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Building images for the Pinephone

    Scheduled Pinned Locked Moved OS
    6 Posts 3 Posters 585 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • V Offline
        vlladdrakk
        last edited by

        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!

        ? 1 Reply Last reply Reply Quote 0
        • ? Offline
          A Former User @vlladdrakk
          last edited by

          @vlladdrakk Maybe this helps: https://gitlab.com/ubports/community-ports/pinephone

          1 Reply Last reply Reply Quote 0
          • V Offline
            vlladdrakk
            last edited by

            @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).

            ? 1 Reply Last reply Reply Quote 0
            • ? Offline
              A Former User @vlladdrakk
              last edited by

              @UniSuperBox Could you guide @vlladdrakk and show him where he could find some information, if you have time that is? Thanks!

              1 Reply Last reply Reply Quote 0
              • D Offline
                doniks
                last edited by

                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

                1 Reply Last reply Reply Quote 0
                • V Offline
                  vlladdrakk
                  last edited by

                  @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.

                  1 Reply Last reply Reply Quote 1
                  • First post
                    Last post