Image build guide?
#1
As my PinePhone should arrive in a few days I thought now would be a good time to compile my own UBPorts image.

However, I couldn't find any working build guide for compiling your own images. I mainly want to experiment with kernels so I'm not sure I'd need to compile everything, but having a general idea on the build process should help in case I'd need it.

I've tried following https://gitlab.com/ubports/core/rootfs-builder-debos but that didn't get me very far. All I get is this:

Code:
$ debos -m 5G pinephone.yaml
Running /debos --artifactdir /media/djhg/Nibbler/PinePhone/rootfs-builder-debos /media/djhg/Nibbler/PinePhone/rootfs-builder-debos/pinephone.yaml --internal-image /dev/disk/by-id/virtio-fakedisk-0
2020/06/08 17:20:45 ==== Pine64 common ====
2020/06/08 17:20:45 ==== Setup core rootfs ====
2020/06/08 17:20:45 ==== Download latest ubuntu touch rootfs from CI ====
2020/06/08 17:20:45 Download started: 'https://ci.ubports.com/job/xenial-mainline-edge-pine-rootfs-arm64/lastSuccessfulBuild/artifact/out/ubuntu-touch-xenial-edge-pine-arm64-rootfs.tar.gz' -> '/scratch/ut-rootfs.tar.gz'
2020/06/08 17:21:59 Action `Pine64 common` failed at stage Run, error: stream error: stream ID 1; INTERNAL_ERROR
Powering off.
$


I've tried various parameters to get more information about what exactly fails without any luck. More memory didn't help either nor did a few web searches for that error. If I use the "--show-boot" option I can see the virtual machine booting and using debos-docker makes no difference, so I don't think it's a dependency issue. I'm on Debian Sid.

Is that guide up to date or is there a newer method for building images?
#2
I managed to rebuild and boot kernel like this: https://ci.ubports.com/job/docs.ubports....phone.html
#3
(06-09-2020, 11:45 PM)doniks Wrote: I managed to rebuild and boot kernel like this: https://ci.ubports.com/job/docs.ubports....phone.html

Thanks, it produced what looks like a compiled kernel so I'll try to boot it when my PinePhone arrives. Smile
#4
(06-10-2020, 07:37 AM)Djhg2000 Wrote:
(06-09-2020, 11:45 PM)doniks Wrote: I managed to rebuild and boot kernel like this: https://ci.ubports.com/job/docs.ubports....phone.html

Thanks, it produced what looks like a compiled kernel so I'll try to boot it when my PinePhone arrives. Smile

I had to use https to clone
git clone -b pine64-kernel-ubports https://gitlab.com/pine64-org/linux.git


Possibly Related Threads…
Thread Author Replies Views Last Post
  Development build 805 is great mercrapper 3 3,656 01-17-2022, 03:32 PM
Last Post: ragreenburg
  UB Touch build with debos layton-dev 0 2,548 04-23-2021, 08:12 AM
Last Post: layton-dev
  OTA build 150 removed my installed apps. Cree 1 3,516 08-17-2020, 02:32 AM
Last Post: evilbunny
  Dangerous OTA behaviour between build 143 and 145 Cree 0 2,119 08-15-2020, 12:02 PM
Last Post: Cree
  Whats good and working: latest build. Cree 7 11,126 07-31-2020, 10:55 AM
Last Post: klick
  Latest OTA build unstoppable vibrating. Cree 1 3,232 07-27-2020, 09:34 PM
Last Post: Cree
  Image #58 Touchscreen Unresponsive BryWilson 3 6,213 06-27-2020, 02:38 AM
Last Post: Zweitaktmotor
  Battery issues with latest image ashley123 6 9,638 06-14-2020, 11:06 AM
Last Post: KeithMcN
  Bootloop (image 12.05.2020) pawlinski 0 1,995 05-13-2020, 09:29 AM
Last Post: pawlinski
  Not booting with latest ubports image mattpenn 10 14,179 04-24-2020, 02:39 PM
Last Post: bcnaz

Forum Jump:


Users browsing this thread: 1 Guest(s)