**** BEGIN LOGGING AT Sun Aug 21 02:59:57 2022 Aug 21 11:03:50 Tofe: Tp4G is back in business, replaced LCD and digitizer with spare I had Aug 21 13:04:42 Tofe: For PPP failing to boot on 5.19 kernel, according to Megi it's likely due to camera stuff :S Aug 21 13:06:38 " two issues, maybe missing camera modules in initramfs" and " or if danct made them builtin, then perhaps tow/u-boot without support for io voltage switching" and "> Pine64 Protocol Bot: Aug 21 13:06:38 [I] so camera will not probe and display will fail" Aug 21 13:14:39 I'm not really sure what megi1 means with "missing camera modules in initramfs". When we enable it in the kernel, it should be there, no? Aug 21 18:05:05 Herrie: well, some distros have also kernel modules in their initramfs Aug 21 18:06:11 so what megi says, I think, is that either the builtin code can't be initialized properly so soon, or if it's a module then maybe it's looking for it during initrd script boot Aug 21 18:07:14 Herrie: so the first thing to clarify: is it currently a module? could we change defconfig to have camera as a module? and of course include the module in the rootfs Aug 21 18:07:51 Tofe: megi said we might need to tweak something in uBoot Aug 21 18:08:11 Camera stuff should be in defconfig as y not as m from what I understood Aug 21 18:09:10 let me the backlog in that channel Aug 21 18:10:10 ah, I don't have it, maybe it was elsewhere Aug 21 18:10:48 Herrie: so the issue is common to many people? Aug 21 18:11:35 Tofe: Pinephone Telegram channel Aug 21 18:11:54 ah ok, I didn't follow there for a while Aug 21 18:12:38 Ah wait "pine64 dev" one acutally Aug 21 18:12:39 IIRC, 1 << GRF_IO_VSEL_BT565_SHIFT => 0x3 or find the proper macros Aug 21 18:13:02 https://github.com/Herrie82/u-boot/commit/88889fa2f17be49066e8c0c4cda3cbd0cdfa96db#diff-d34f33744571e61a2d3ba5f37fc6a3202070689fb1986d488a4358475014381bR28 Aug 21 18:28:33 but we do already have that commit, is there something to change here? Aug 21 18:32:50 To change that value megi said Aug 21 18:33:06 1 << GRF_IO_VSEL_BT565_SHIFT into 1 << GRF_IO_VSEL_BT565_SHIFT => 0x3 Aug 21 18:33:15 But I'm not sure how or what exactly Aug 21 18:33:20 Anyway 5.17.9 kernel boots for now Aug 21 18:33:23 Just newer not Aug 21 18:33:32 Logs are OK, just display doesn't turn on Aug 21 18:33:41 I think it's strange it's connected to camera but well Aug 21 18:34:16 I guess the new line should be "rk_setreg(&grf->io_vsel, 0x3);" Aug 21 18:34:47 megi said: set io voltage for gpio3d/4a to 1.8v Aug 21 18:34:58 And these were the instruction, I couldn't make much out of it Aug 21 18:36:41 well maybe looking at the dts would help, but I'm fine trying the new line blindly :) Aug 21 18:38:15 I'll see if I can find the gpio in the dts Aug 21 18:38:25 just to understand Aug 21 18:39:53 This is where cameras are added: https://github.com/megous/linux/commit/09b6631085dece35363afff3d60186a18c61be57 Aug 21 18:42:57 ok, well, I'm still not playing in the same league as megi :P Aug 21 18:53:58 Tofe: same here Aug 21 19:03:03 I asked megi to clarify Aug 21 19:06:28 I tried rebasing uBoot but got stuck again.. Need to check the logs, it's busy with do_configure forever and the log grows to GB's of size. I had this before, but forgot how to fix it Aug 21 19:06:31 WIll check some logs Aug 21 19:12:11 Ah OK found what it might be Aug 21 19:12:19 Seems need to add some defconfig values for uBoot Aug 21 19:22:32 1 fixed, another one testing now Aug 21 20:29:18 OK uBoot master now builds after a few tweaks... Question is of course if it boots ;) Aug 21 20:29:22 That I'll know soon Aug 21 20:43:00 Seems it doesn't boot and also no serial, so not much help :P Aug 21 22:28:20 Tofe: Seems megi meant this: https://github.com/Herrie82/u-boot/commit/0d2863a07d9b4e4842e9d7ef5aea04c31f04da34 Aug 21 22:28:25 Will test it in the morning Aug 21 22:28:53 ok, as I thought then **** ENDING LOGGING AT Mon Aug 22 02:59:56 2022