**** BEGIN LOGGING AT Wed Dec 15 02:59:57 2021 Dec 15 07:09:05 Morning Dec 15 07:09:30 Seems cable works (checked with normal PinePhone): https://bpa.st/AOPA Dec 15 07:16:29 Getting this now on PPP, so seems I need some more tweaking: https://bpa.st/GYFQ Dec 15 07:31:23 It should have a pmOS image on it but well Dec 15 08:42:55 Seems they've reworking uBoot a bit for PPP on Manjaro, I'll cherry pick that, looks more similar to regular PP with boot.txt and all: https://gitlab.manjaro.org/manjaro-arm/packages/core/uboot-pinephonepro/-/merge_requests/1 Dec 15 09:35:45 morning Dec 15 09:47:40 Morning Dec 15 09:47:50 Herrie: ah, very good progress Dec 15 09:51:27 I'm just a bit confused: you say "It should have a pmOS image on it", but I see in the paste that pmOS is booting... so... isn't it all well ? Dec 15 10:52:00 Tofe: Well that was my test with regular PP with pmOS pre-installed Dec 15 10:52:10 My PPP has pmOS on the sdCard but doesn't boot Dec 15 10:52:23 Now doing new LuneOS image with boot.txt and will test that one Dec 15 11:35:01 Herrie: on the PPP, with your cable, you should at least see the U-boot init Dec 15 11:35:14 with minicom or so Dec 15 12:05:27 Tofe: Seems not so far Dec 15 12:05:32 No response at all Dec 15 12:05:37 Could be I have some uBoot bits wrong Dec 15 12:05:46 I'm trying now with differnet console bits Dec 15 12:06:24 I might have put the wrong console based upon: https://gitlab.com/postmarketOS/pmaports/-/blob/master/device/testing/device-pine64-pinephonepro/deviceinfo#L19 Dec 15 12:06:33 Seems it might need to be 0 anyway Dec 15 13:07:52 beware, ttyS2 might very well be the modem Dec 15 13:23:44 Tofe: OK Dec 15 13:23:59 WEll I get very little output in general... Could be pmOS one is just garbage image Dec 15 13:24:05 I might try Manjaro or something else Dec 15 13:24:15 In our image I get no output either Dec 15 13:24:18 So not very good Dec 15 15:08:51 OK well when writing SD with Etcher on Windows it boots Arch at least and serial also work Dec 15 15:09:01 So I suspect bmap somehow to be the culprit Dec 15 15:18:08 Hello! Dec 15 15:18:36 How can I try LuneOS on Halium 9? Dec 15 15:19:53 Which device you have? Dec 15 15:22:19 Herrie: Google Pixel 3a Dec 15 15:25:33 It's sargo/bonito right? Dec 15 15:25:54 Yep Dec 15 15:26:36 I do also have volla-yggdrasil but I am developing Manjaro on it rn... Dec 15 15:28:04 OK for volla we had something working a bit Dec 15 15:28:16 I.e. you can build an image for it. Some things worked, some not Dec 15 15:28:31 I helped Luca with a port, but I don't have the device myself, and remote debugging was hard Dec 15 15:28:49 But I know it boots, UI etc, most other things needed fixing still Dec 15 15:29:18 For the 3A we would need do a target from scratch (seeing Halium bits already there, shouldn't be rocket science, but still) Dec 15 15:29:58 I would still like to use sargo... How to you build your rootfs? Dec 15 15:53:44 OK, well in that case you need to setup the build environment, with the instructions at https://webos-ports.org/wiki/Build_for_Tenderloin#Setup_the_build_environment Dec 15 15:55:39 Then make your changes to meta-smartphone and meta-webos-ports layer, similar to https://github.com/shr-distribution/meta-smartphone/commit/29b9fd97bbf0bd85039870313625ebc9caa6431a and https://github.com/webOS-ports/meta-webos-ports/commit/65ab5dd115ce5a6b710fd3e73ec2200bcf39bc7a Dec 15 15:55:49 Happy to give a helping hand when needed Dec 15 15:58:31 Herrie: How about ANDROID_BOARD_BOOTIMAGE_PARTITION when having two boot partitions? Dec 15 15:59:49 Or is it needed from the beginning? Dec 15 16:11:21 And how about boot image page size Dec 15 16:28:41 Well for now you choose either A or B ;) Dec 15 16:29:13 The sizes you can get from the boardconfig.mk normally from device tree Dec 15 16:29:26 Which kernel version is it on? Dec 15 16:29:57 4.9 right? Dec 15 16:37:08 "4.9 right?" <- Yeah, I filled everything else in already. Dec 15 16:37:20 I chose a... Dec 15 16:38:18 I am building now... Dec 15 17:03:39 eriki73[m]: In general our build is pretty straight forward. In terms of kernel config it's a bit easier compared to UBPorts Dec 15 17:03:54 If Mer's kernel checker is happy and lxc-checkconfig is happy, you should be good Dec 15 17:03:57 eriki73[m]: good choice, I don't think we ever tried booting with partition _b :) Dec 15 17:04:29 (Xiaomi A1 also has A/B partitions) Dec 15 17:07:15 Tofe: Seems that just something in my u-Boot bits is off, that's why it doesn't work. I'll try to debug a bit based on working distros Dec 15 17:08:41 Seems I have very little files in my boot partition compared to Arch for example Dec 15 17:12:10 Herrie: are your current changes already on github ? maybe I can look at the ATF, U-boot, wic build... not sure I would see something though Dec 15 17:12:27 And I got an error from configuring qtbase-native Dec 15 17:12:28 https://paste.ubuntu.com/p/M4wCPHx9rG/ Dec 15 17:14:21 Tofe: Let me push it now Dec 15 17:14:29 It's WIP so might be a bit messy here and there Dec 15 17:16:30 Herrie: well, branches are there for that Dec 15 17:16:47 eriki73[m]: weird Perl issue, could it be related to Fedora? Dec 15 17:17:58 Tofe: Maybe, or maybe I am missing some dependency from my host. Dec 15 17:18:17 eriki73[m]: you could try installing perl-English package Dec 15 17:18:41 Tofe: Yep. trying now... Dec 15 17:19:04 Tofe: https://github.com/webOS-ports/meta-pine64-luneos/commit/b89b8aa70daac461e484dd227023ad36dc0e5208 Dec 15 17:19:24 I might be better off taking boot.txt from Arch from here: https://github.com/dreemurrs-embedded/Pine64-Arch/blob/0fe68f8bdbfea4111632530a268e93d824a4fe47/PKGBUILDS/pine64/uboot-pinephonepro/boot.txt Dec 15 17:19:30 Seems more in line with our regular PP one Dec 15 17:21:53 Arch has the following contents: in boot partition: https://imgur.com/a/FWdPNBf Dec 15 17:22:38 Their PKGBUILD is at: https://github.com/dreemurrs-embedded/Pine64-Arch/blob/0fe68f8bdbfea4111632530a268e93d824a4fe47/PKGBUILDS/pine64/uboot-pinephonepro/PKGBUILD Dec 15 17:22:50 Tofe: At least, It seems to not fail there anymore. Dec 15 17:22:59 I didn't see those idbloader.img and u-boot.itb files before Dec 15 17:23:21 eriki73[m]: You might need a few patches to your kernel to keep GCC happy, but you'll see that soon enough Dec 15 17:23:29 THey're usually straight forward in 4.x kernels at least Dec 15 17:24:17 Some examples of things we have for Tissot on 4.9: https://github.com/shr-distribution/linux/commits/tissot/4.9/halium-9.0 Dec 15 17:26:04 eriki73[m]: What kind of specs you have on your builder? Dec 15 17:27:24 Herrie: Intel core i9-9900K + 32GB of DDR4 Dec 15 17:28:54 Ah OK, that's decent enough, build will take a while though ;) Dec 15 17:29:08 Herrie: https://paste.ubuntu.com/p/p3MdTWKgCs/ Dec 15 17:29:10 Herrie: I'd your issue is even before boot.txt Dec 15 17:29:15 The next error... Dec 15 17:29:17 +say Dec 15 17:30:12 eriki73[m]: that one makes sense, the file corresponding to that target is just missing Dec 15 17:30:47 Tofe: Yeah, but I didn't know I should have that file. Dec 15 17:30:56 How should I make one... Dec 15 17:31:08 s/.../?/ Dec 15 17:31:18 of course, I'm just looking at you'll have to duplicate an existing one Dec 15 17:31:29 Just copy an existing one ;) Dec 15 17:31:34 That's what I always do and later adjust Dec 15 17:31:49 Not critical to get things to boot in general Dec 15 17:31:52 Fixups there are easy Dec 15 17:32:14 https://github.com/webOS-ports/meta-webos-ports/tree/hardknott/meta-luneos/recipes-webos/nyx-modules/nyx-modules take tissot and copy as sargo Dec 15 17:38:01 Herrie: as I commented on your commit, I think the missing SPL and the missing DTB are good candidates to explain your issue Dec 15 17:39:11 iirc, SPL is very very low-level booting, so even a serial cable wouldn't see anything Dec 15 17:40:32 Well it seems SPL doesn't exist for PPP, seems Allwinner specific? Dec 15 17:41:28 ah, could be yes Dec 15 17:43:15 https://gitlab.com/postmarketOS/pmaports/-/blob/master/device/main/device-pine64-pinephone/deviceinfo Dec 15 17:43:36 for dtb, looks like it should be rk3399-pinephonepro.dtb Dec 15 17:43:44 Though there's also: https://gitlab.com/postmarketOS/pmaports/-/blob/master/device/testing/device-pine64-pinephonepro/deviceinfo#L27 Dec 15 17:43:59 you should get it as a kernel output already Dec 15 17:44:54 Herrie: that's probably u-boot itself Dec 15 17:46:49 https://paste.ubuntu.com/p/X7GfWMVzZj/ Dec 15 17:46:54 Now I got this Dec 15 17:48:05 gzip: stdin: not in gzip format Dec 15 17:51:08 eriki73[m]: that's new... what does /home/erikinkinen/webos-ports-env/webos-ports/downloads/git2_github.com.webOS-ports.nodejs-module-webos-dynaload.tar.gz contain ? Dec 15 17:53:01 Tofe: No such file... Dec 15 17:53:17 ah Dec 15 17:56:23 I'm surprised by "WARNING: Failed to fetch URL git://github.com/webOS-ports/nodejs-module-webos-dynaload;protocol=https;branch=webOS-ports/webOS-OSE, attempting MIRRORS if available" Dec 15 17:57:26 could it be a strange error that disappears if retried ? Can you try bb -c cleansstate nodejs-module-webos-dynaload && bb nodejs-module-webos-dynaload Dec 15 17:59:30 Tofe: Nope. still errors Dec 15 17:59:40 The same error Dec 15 18:00:38 damn Dec 15 18:02:10 Tofe: Well scr gets created by mkimage. I can generate and deploy it. Doing x-mas tree with kids now, will check later Dec 15 18:02:33 Herrie: ok ! the tree isn't even bought here :p Dec 15 18:02:55 Herrie: you'll see I left an idea to try for the wks image creation file Dec 15 18:03:28 pmOS seems to align on 32 bytes, not 8 bytes Dec 15 18:06:34 JaMa: do you see anything known in "WARNING: Failed to fetch URL git://github.com/webOS-ports/nodejs-module-webos-dynaload;protocol=https;branch=webOS-ports/webOS-OSE, attempting MIRRORS if available" ? a missing ".git" suffix ? Nota Bene, it's done on a Fedora https://paste.ubuntu.com/p/X7GfWMVzZj/ Dec 15 18:14:06 Tofe: Well ours got delivered today, they only had 100-125cm in the store. I prefer it to be a little bigger ;) Dec 15 18:18:16 eriki73[m]: You can also run the following (with -k) so it will continue on error and build other bits at least Dec 15 18:18:41 MACHINE=sargo bb -k luneos-dev-package Dec 15 20:41:01 Tofe: Seems there's quite some work in meta-rockchip that I might just want to have a look at... For example: https://git.yoctoproject.org/meta-rockchip/tree/wic/rockchip.wks **** BEGIN LOGGING AT Thu Dec 16 00:00:31 2021 **** ENDING LOGGING AT Thu Dec 16 02:59:56 2021