**** BEGIN LOGGING AT Tue Jan 26 02:59:57 2021 Jan 26 06:32:02 Morning! Jan 26 06:32:11 Tofe: Indeed frustrating that it was all for nothing... Jan 26 06:36:45 Tofe: I don't see much suspicious there except for 09-20 10:16:17.072 118 118 E QSEECOMD: : Init dlopen(libspl.so, RLTD_NOW) is failed.... dlopen failed: library "libspl.so" not found Jan 26 06:36:49 I thought we fixed that one? Jan 26 06:37:19 Light, fingerprint, ignss and some drm bits Jan 26 06:37:27 But those shouldn't be critical I would expect Jan 26 06:38:51 And there are some missing camera libraries it seems: library "libmmcamera_ppeiscore.so" not found, library "libmmcamera_llvd.so" not found and library "libmmcamera_sw_tnr.so" not found Jan 26 07:15:26 morning Jan 26 07:21:19 Morning! Jan 26 07:48:45 Morning! Jan 26 08:07:28 for libspl.so I don't see it in our vendor, I guess it's not fatal Jan 26 08:09:34 for camera, most are just plugins I think Jan 26 08:09:41 there is "dlopen failed: library "android.hardware.camera.device@1.0.so" not found." which looks suspicious Jan 26 08:10:10 but I continue to think that my issues are related to firmware somehow, otherwise it wouldn't reboot violently Jan 26 08:10:25 maybe I have a ramoops, I'll check Jan 26 08:50:55 Tofe: Yeah libspl.so is weird Jan 26 08:51:08 It's in some other vendors for Xiaomi but not in ours Jan 26 08:59:46 "[ 58.696684] Fatal error on wcnss!" in ramoops Jan 26 09:33:53 Hmmz wcnss is usually firmware or something Jan 26 10:15:41 yes, bluetooth or wifi stuff Jan 26 11:53:31 Tofe: You have the latest stuff pushed somewhere? WIll try it as well then at my end Jan 26 12:12:59 Herrie: there's still a couple of details not pushed, let me check Jan 26 12:14:23 meta-smartphone, take 80515562 on my fork (should be the latest). You'll still need to tweak android-system-image-tissot and point it to system and vendor images Jan 26 12:16:40 Tofe: Why would I need to take android-system-image-tissot? What changed there? We fixed that previously already, didn't we? Jan 26 12:17:49 well, there's a vendor image now Jan 26 12:17:57 Ah ok Jan 26 12:18:09 Let me first build Halium then ;) Jan 26 12:18:18 Just out of curiosity: Why you added strace? Jan 26 12:18:23 for halium, currently I'm using https://github.com/webOS-ports/android/commit/f93971e2d71d94bc5551291998f250300b5bdb90 Jan 26 12:18:48 strace is very helpful to know which file was accessed and so on Jan 26 12:18:55 but it's just for debug Jan 26 12:19:25 let me check if I've made other changes in device tree Jan 26 12:20:47 I've just increased a bit vendor image's size: BOARD_VENDORIMAGE_PARTITION_SIZE := 304087040 Jan 26 12:20:58 When I add strace to the Tissot manifest, Halium tells me it's duplicate Jan 26 12:21:04 So not sure why you needed to add it at your end Jan 26 12:21:14 also, my "setup" modification to add missing proprietary blobs is still imperfect it seems Jan 26 12:21:31 Ah seems they added it :P Jan 26 12:21:31 https://github.com/Halium/android/commit/34646e2662b39124d00d196263377d5cbf2e4ba2 Jan 26 12:21:33 5 days ago Jan 26 12:21:36 That explains Jan 26 12:21:42 ah, ok :) Jan 26 12:21:53 So you can drop it from yours Jan 26 12:21:56 yes Jan 26 12:26:13 BOARD_VENDORIMAGE_PARTITION_SIZE := 304087040 you added to Tissot's BoardConfig.mk? Jan 26 12:26:46 I just changed the value, if should be there already... or did I forget to PR that one Jan 26 12:27:47 I don't see it anywhere Jan 26 12:27:57 ok, my mistake, one moment Jan 26 12:29:08 https://github.com/Herrie82/android_device_xiaomi_tissot-1/pull/1 that one Jan 26 12:30:27 I think that should be all; not very clean, still wip Jan 26 12:46:08 OK building Halium side of things Jan 26 12:46:16 I didn't play with any of the VNDK lite stuff yet Jan 26 12:56:08 oh I forgot: can you check if the binaries in vendor are actually executables? in not we would need to check the setup script for other mistakes Jan 26 13:07:14 Tofe: Ah it might help if I take your setup script :P Jan 26 13:29:09 OK Halium bits done Jan 26 13:45:12 Tofe: Seems I have issues with wlan module somehow... Jan 26 13:45:37 * opkg_prepare_url_for_install: Couldn't find anything to satisfy 'kernel-module-wlan'. Jan 26 13:54:26 Tofe: I know how to "work around" it, but wondering if it's intentional Jan 26 13:56:16 it's weird, I don't have that; you're using my meta-smartphone ? with tissot-defconfig ? Jan 26 13:56:41 that means there's an inconsistency between tissot.conf machine and CONFIG_WLAN=m (or y) Jan 26 13:57:10 Yes Jan 26 13:57:26 Well CONFIG_WLAN=y in your tissot_defconfig ;) Jan 26 13:57:31 Should be m probably Jan 26 13:58:07 probably, but I wonder why it bui--- oh wait, I never built the whole image :D Jan 26 13:58:28 ok, so yes, let's put it as a module Jan 26 14:05:35 Will you update defconfig? Jan 26 14:05:42 Since it's in your GH Jan 26 14:10:16 oh, ehm, one moment Jan 26 14:13:30 let me test the build itself, and I'll bump SRCREV Jan 26 14:17:44 Tofe: Halium bit are on Jenkins in general Jan 26 14:17:50 So you can update in meta-smartphone if you want Jan 26 14:17:54 If they're OK Jan 26 14:20:19 ok, virtual/kernel builds, at least; meta-smartphone pushed Jan 26 14:21:02 though I'm not sure wlan module was built as a module Jan 26 14:27:37 Well if your machine.conf has it then it should install it Jan 26 15:03:57 Herrie: well I have yet to build the tissot image ;) Jan 26 15:23:38 Tofe: Still not working by the way :S Jan 26 16:09:55 Herrie: for the moment I think you can just remove it from the list in tissot.conf Jan 26 16:12:44 Tofe: That's what I did ;) Jan 26 16:12:47 It boots here Jan 26 16:12:49 Get FirstUse Jan 26 16:13:17 oh ? well, that's nice Jan 26 16:15:22 Wifi doesn't work as expected :p Jan 26 16:15:25 Let me pull some ,ogs Jan 26 16:15:27 logs Jan 26 16:16:21 logcat: https://paste.ubuntu.com/p/wxHVn5X5rv/ Jan 26 16:17:09 And journal: https://paste.ubuntu.com/p/Yf2M7BvvZT/ Jan 26 16:18:50 Mounts: https://paste.ubuntu.com/p/P7RwkMvyMz/ Jan 26 16:23:31 ok, so you do have android/vendor/firmware_mnt mounted Jan 26 16:23:45 maybe I should just build the image too Jan 26 16:23:55 Seem so Jan 26 16:24:10 inside that I have a folder image with a lot of files Jan 26 16:25:21 This is ls -l inside android/vendor/firmware_mnt/image/ https://paste.ubuntu.com/p/ybptxMW838/ Jan 26 16:25:32 Tofe: Well I can also upload my image :P Jan 26 16:25:33 Your choice Jan 26 16:26:58 well, that would be nice, but I still need to build my own :p Jan 26 16:27:28 I'll start the build tomorrow, before "going to work" Jan 26 16:28:50 Hehe Jan 26 16:28:57 I will put the image on FTP Jan 26 16:29:44 luneos-dev-package-tissot-0-0-20210126.zip is there in a few seconds Jan 26 16:53:20 Tofe: I was helping someone in getting LuneOS running on Volla phone, but having some weird issue with defconfig.... Jan 26 16:54:22 It seems it pulls in something called conf/auto.conf with some values set to m which causes build issues on GCC Jan 26 16:55:39 From my build/include/config dir. i.e.: /home/herrie/LuneOS/volla/webos-ports/tmp-glibc/work/yggdrasil-webos-linux/linux-volla-yggdrasil/4.4.146+gitr9cfaad-r0/build/include/config/auto.conf Jan 26 16:56:24 Which seems to overwrite values from my kernel defconfig from the usual location somehow :S Jan 26 16:57:22 Tofe: is it a "yocto" kernel ? Jan 26 16:57:33 damn, now I'm talking to myself Jan 26 16:57:36 Herrie: ^^ Jan 26 16:58:10 because with the yocto recipe it's possible to have "fragments" of config Jan 26 16:58:37 I use that for pinephone; but I must say it doesn't look like what he's doing Jan 26 17:03:55 No... And the guy claims it works with gcc10 at his end Jan 26 17:04:00 I'll dig a bit more Jan 26 17:04:13 ok, yes, I get first boot , with sound Jan 26 17:04:38 and sensors are working Jan 26 17:04:44 hey that's pretty good Jan 26 17:06:43 Herrie: let me first finish this wlan issue Jan 26 17:08:10 Sound here not I think Jan 26 17:08:15 Need to test a bit more Jan 26 17:08:30 on my side I have both sound and rotation sensor Jan 26 17:08:40 Rotation OK here too Jan 26 17:17:58 Tofe: Sound here OK too Jan 26 17:18:00 It was on max Jan 26 17:20:48 And FirstUse started when I wasn't around Jan 26 17:57:44 Herrie: actually, I think the driver would be kernel-module-wil6210 Jan 26 17:57:50 and it's already a module Jan 26 17:58:14 Tofe: Yeah I had something similar on Mido in the past I guess Jan 26 17:58:17 but https://github.com/shr-distribution/meta-smartphone/commit/e0399143e4d23fefff270e68cf4b46047ea3b95f#diff-72128664c69345c41f42409d3bf93466673ad451edf3d94c15a72ceedd655671 tells me this driver might be problematic Jan 26 17:58:19 Rings a bell Jan 26 17:59:05 Well it's just naming mainly I think Jan 26 18:00:34 You can specify somewhere it should build this wil6210 as wlan somehow Jan 26 18:00:42 Don't remember where though Jan 26 18:01:18 change is pushed in meta-smartphone Jan 26 18:03:07 I think the wlan used wil6210 in reality too anyway Jan 26 18:03:17 At least that's what I recall Jan 26 18:03:43 ok Jan 26 18:15:23 it doesn't want to load the wil driver, but I don't know why Jan 26 18:36:57 Maybe we need CONFIG_PRONTO_WLAN=m ? Jan 26 18:37:01 That's what we have in 7.1 Jan 26 18:37:14 https://github.com/shr-distribution/linux/blob/tissot/3.18/halium-7.1/arch/arm64/configs/tissot_defconfig#L3609 Jan 26 18:42:22 there is no "PRONTO_WLAN" in the kernel source code Jan 26 18:43:15 also, even without wil6210, it's not *that* bad https://paste2.org/NymFWNXw Jan 26 18:46:24 Ok that looks pretty OK **** ENDING LOGGING AT Wed Jan 27 02:59:57 2021