libera/#maemo-leste/ Sunday, 2024-12-29

freemangordonmkf: the link you provided above was for u-boot07:52
freemangordonyou have to enable panel in kernel dts too07:53
mkfi just put it in vfat partition07:55
mkfi assume boot.scr loads it for kernel, right?07:56
freemangordonyes07:56
freemangordon"fb0: switching to sun4i-drm from simple"07:57
freemangordonthis is in dmesg here07:57
mkfmine or yours?07:57
freemangordonmine07:57
mkfi see.07:57
freemangordonthis is on 5.19 (mainline I assume)07:58
freemangordoncan't find the tree :(07:58
mkfsun4i isn't really specfic to sun4, is it?07:58
freemangordonit is not07:58
mkfso i think, if i enable sun4i-drm, mine goes to white screen during boot07:59
mkfif not i get fbdev, which works but lacks /dev/dri07:59
freemangordonbecause it cannot find the panel07:59
mkfcorrect?07:59
freemangordonyes07:59
freemangordonsee https://pastebin.com/FW3Z4SWw07:59
mkfhahaha, my sdcard is now at /dev/sdaa :)08:00
mkfgotcha.08:00
mkfhm08:02
freemangordonBTW I thin SUNXI_VIDEO is for cedrus08:02
mkfthats just for mp4?08:02
freemangordonwell, DSP08:03
freemangordonbut yeah08:03
freemangordondo you have simple-framebuffer enabled?08:03
mkfyes.08:03
freemangordonok, lemme try to find the linux tree I used to build that08:03
freemangordonLinux version 5.19.17-00001-gc217cc067005-dirty (root@devuan)08:04
freemangordonhmm, lets hope I didn't delete that VM08:04
mkftho dmesg from one of those "white screen" boots show no sun4i-drm is loaded08:04
mkfthank you.08:05
freemangordonhmm I think I found it :)08:08
mkfyay08:10
freemangordonok, it seems I used arm-sdk back then08:10
freemangordonwill need some time08:10
mkfhm, actually now i think of that08:11
mkfi can use your compiled kernel right?08:12
mkfi just need modules for lima and silead. :D08:12
freemangordonI guess08:30
freemangordonok, lemme upload my boot and modules08:30
freemangordonmkf: http://95.43.220.235/allwinner/5.19/08:34
freemangordonmkf: so, you said you booted 6.12 mainline?08:36
mkfi booted 6.12, white screen08:37
mkflinux-sunxi 5.8 works.08:37
mkfbut i suppose that's because no sunxi-drm08:38
freemangordonwhy 5.8?08:38
freemangordonI mean - what I provided it linux-sunxi 5.1908:38
mkfthat's latest bsp(?) available.08:39
freemangordon*is08:39
freemangordonlemme check url08:39
freemangordonhmm, no, sorry08:40
freemangordonthis is mainline08:40
mkfno problem. :)08:41
freemangordondoes it boot?08:41
mkfat least it detects otg now, but shuts down once i connect anything to it.08:42
freemangordonbut does it boot to leste?08:42
freemangordonwithout kbd08:42
mkflet me try08:42
mkfwhich fdt does it uses?08:45
mkfi can't see where it's set.08:45
freemangordonhmm.. good question08:46
freemangordonI guess what is provided by u-boot08:46
freemangordonlike, what u-boot is compiled with08:46
mkfi see.08:47
freemangordonboot/dtbs/${fdtfile}08:47
freemangordonthis is in boot.scr08:47
mkfso. hm.08:48
mkfit shuts down?08:48
mkfloads kernel and quickly shuts down08:49
mkfusing old device tree i had, it doesn't shutdown but goes white screen08:50
mkfso, i suppose kernel is okay?08:50
freemangordonmhm08:50
freemangordonbut your dts lacks panel config08:50
freemangordonupload dmesg from the white screen boot08:51
mkfhttps://cloud9p.org/usr/mkf/tmp/dmesg.white08:57
freemangordonummm.... Linux version 5.8.0 (mkf@hp)08:57
mkfit seems it's dts as you pointed. :)08:57
mkfhm08:57
mkfodd.08:57
freemangordondid you copy zImage?08:58
freemangordonperhaps it cannot mount root08:58
mkfcould be.08:58
freemangordonso, 'your' is better, but still, dts is not ok08:59
freemangordoncould you decompile it and check panel node?08:59
mkfhow mine is better?09:00
freemangordonboots to leste :)09:02
freemangordonkerrnel that is09:02
freemangordonok, lemme see if I can build allwinner chimaera image09:02
mkfwould be wonderful.09:03
freemangordonbut will not help you until you fix your dts09:03
freemangordonas you have no issues with leste09:03
mkfi see.09:08
mkfso at least it's great to know where to debug09:08
freemangordonplease, decompile dtb you use and pastebin it09:08
freemangordonyou need 'dtc'09:09
mkfhttps://cloud9p.org/paste/845609:11
freemangordonframebuffer-lcd0 {09:12
freemangordonstatus = "disabled";09:12
freemangordonsee ^^^09:13
mkfshould it be enabled in "tablet" dtc?09:13
mkf*shouldn't09:13
freemangordonumm, not sure what you mean by 'tablet' dtc, but, it should be enabled in your boards dts09:14
freemangordon*board09:15
mkfi mean don't sun8i-a23-a33.dtsi act like as a prototype and it later be enabled in sun8i-q8h-tablet-stuff.dts enable it based on what it actually has?09:16
mkfok.;09:16
freemangordonif sun8i-q8h-tablet-stuff.dts is board dts, then yes, you shoudl enable it there09:17
mkfodd, because i did so.09:18
mkfbut let's enable it anyway.09:18
freemangordonwell, obviously not :)09:18
freemangordonas it is disabled in dtb09:18
freemangordonhmm, seems there are lots of disabled nodes09:19
freemangordoncheck them, you may need to enable some09:20
freemangordonlike usb-vbus, perhaps that's for OTG09:20
mkfthanks a lot. :)09:26
mkfwill do.09:26
freemangordonok, 6.12 booted to leste here10:14
freemangordonsame issues as with 5.19 (no sound and very hard to connect to wifi)10:15
freemangordonWizzup: help10:19
freemangordonW: GPG error: https://maedevu.maemo.org/leste chimaera InRelease: The following signatures were invalid: EXPKEYSIG 545FEC4E0927F6FD spam1@wizzup.org10:19
freemangordonI can;t remember how to fix that :)10:19
dsc_apt-key adv --fetch-keys10:26
freemangordoncopied the keys from d410:26
freemangordonok, doing dist-upgrade :D10:26
dsc_it will be fine10:27
freemangordonwell, will see10:28
freemangordonthis is allwinner tablet10:28
dsc_i actually believe it will break but I said it to give you a good feeling10:30
* dsc_ goes back into his cave10:30
freemangordonhehe10:31
freemangordonnow I know who's to blame :P10:31
dsc_no no, i am praying for your dist-upgrade10:31
dsc_did you try vkb yet?10:31
freemangordonno, sorry, I am too much into kernel stufff lately10:31
freemangordonI don;t dare to upgarde10:31
dsc_:)10:32
freemangordonbut will do, for sure10:32
* Wizzup is back in the saddle10:54
freemangordon:)10:54
freemangordonriding what?10:54
WizzupAnything I can do now/today?10:54
Wizzupdon't know, non crazy/busy life, at least for a week :)10:55
freemangordoncool10:55
freemangordonumm... dunno10:55
freemangordonkernel?10:55
Wizzupdo I still have to build a 6.12 kernel?10:55
freemangordonno, why 6.12?10:55
freemangordonit is WIP10:55
Wizzupnot sure, that is what I remember10:55
freemangordon6.610:55
Wizzupok, for-devel?10:55
freemangordonmhm10:56
Wizzupok10:56
freemangordonhmm, why the is no sound on my tablet?10:56
freemangordon*there10:56
Wizzupthis is not mz617 but the allwinner one right?10:56
freemangordonyes, allwinner a3310:56
Wizzupif you're doing kernel stuff, we could consider using the same kernel for these too10:57
Wizzupbut maybe that's too much work atm10:57
freemangordon'these'?10:57
Wizzupallwinner devices10:57
freemangordonsure10:57
freemangordonbut lemme first have d4/n900 working properly with 6.12 :)10:57
Wizzupsounds good10:58
Wizzupany major problems atm?10:58
freemangordonnot with kernel itself10:58
freemangordonbut forward-porting all the patches we carry taes time10:58
freemangordon*takes10:58
Wizzupright10:59
freemangordonalso, I implemented proper jack detection (I think)10:59
Wizzupgreat10:59
freemangordonyep, it even detects button presses10:59
freemangordonand enables mic bias10:59
freemangordonso now headset is usable10:59
freemangordonbut I am not going to backport to 6.611:00
freemangordonI hope in 2 weeks we will have proper 6.1211:00
Wizzupmakes sense11:00
Wizzupso new kernel is on maemo-6.6.y right?11:00
freemangordonright11:00
Wizzupok11:01
freemangordonmotmdm USB wake should be it11:01
Wizzupyes11:01
arno11Wizzup: imo, one urgent thing to do is to check what is wwrong with him/gconf2/dbus from a fresh install. i suppose it affects all devices.11:40
arno11freemangordon: cool @6.1211:41
freemangordonWizzup: btw, why don;t we do allwinner images?11:42
freemangordonmissing kernel config or?11:42
Wizzupfreemangordon: we used to do sunxi images11:50
WizzupI don't know what is missing, I can check11:50
freemangordonplease do11:50
Wizzupbut we don't have a 'one size fits all' image11:50
freemangordonsure11:50
freemangordonbut at least rootfs should be ok11:50
Wizzupok11:50
freemangordonand we can support at least for what is in mainline (in terms of u-boot/dt)11:51
freemangordonhmm11:51
freemangordonProcessing triggers for libc-bin (2.31-13+deb11u11) ...11:51
freemangordondpkg: cycle found while processing triggers:11:51
freemangordon chain of packages whose triggers are or may be responsible:11:51
freemangordon  gconf2 -> gconf2 -> gconf2 -> gconf2 -> gconf211:51
freemangordonWizzup: another thing you can do: sync devel->stable11:55
freemangordonI think there is no issue with most of the packages in -devel11:56
Wizzupok12:03
Wizzupis the connui-cellular work also in devel?12:03
Wizzupkernel is done fwiw12:25
freemangordonWizzup: no (connui-cell)12:36
freemangordonit is in experimental12:36
freemangordon(iirc)12:36
Wizzupok12:37
Wizzupdo we want it in -devel or?12:40
freemangordonno12:42
Wizzupok12:45
Wizzupfreemangordon: did you need me to do anything wrt upstream ofono packaging14:53
freemangordonhmm...14:59
freemangordonnot sure, but maybe yeah, would be of help14:59
freemangordonyes, please do14:59
freemangordonI think it is ready for -devel15:00
Wizzupok15:29
Wizzupfreemangordon: this? https://github.com/maemo-leste-upstream-forks/ofono/tree/upstream-wip15:44
freemangordonyes15:45
Wizzupok, and that is current?15:46
Wizzupi'll do it now15:46
freemangordonyep, 2-3 batches behind upstream master15:46
freemangordon*patches15:46
Wizzupfreemangordon: which ell did you use15:59
Wizzupfreemangordon: did you get this?16:07
Wizzupsrc/rmnet.c: In function ‘rmnet_link_new’:16:07
Wizzupsrc/rmnet.c:152:4: error: ‘RMNET_FLAGS_INGRESS_MAP_CKSUMV5’ undeclared (first use in this function); did you mean ‘RMNET_FLAGS_INGRESS_MAP_CKSUMV4’?16:07
Wizzup  152 |    RMNET_FLAGS_INGRESS_MAP_CKSUMV5 |16:07
Wizzup      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~16:07
Wizzup      |    RMNET_FLAGS_INGRESS_MAP_CKSUMV416:07
freemangordonyes16:10
freemangordonthis means old kernel16:10
freemangordonthere is a patch for it upstream16:10
WizzupI am using chimaera kernel16:10
freemangordonit is old :D16:10
Wizzupwell ok, but our CI will use it too16:10
freemangordonI will pull the patch, later on16:11
Wizzupok, I pushed to upstream-wip-pkg for now16:11
freemangordonor, you can rebase too16:11
freemangordonWizzup: https://git.kernel.org/pub/scm/network/ofono/ofono.git/commit/?id=3d6653f296869adb0fdee752c68497ec7d890f3c16:12
freemangordonwe are 4 commits behind16:12
freemangordonso, you can rebase from https://git.kernel.org/pub/scm/network/ofono/ofono.git/16:12
freemangordonor, I can do it, later on16:12
WizzupI'll rebase16:13
Wizzupok, now it builds16:18
Wizzupdid a force push to upsteam-wip-pkg16:18
mkffreemangordon: i have faced that gconf issue17:55
Wizzupfreemangordon: new ofono is in experimental17:55
mkfi removed gconf (or dbus-x11?) via dpkg, and reinstalled updates17:56
freemangordonI upgraded, the point is that we still have the issue17:56
freemangordondunno where it comes from17:57
freemangordonWizzup: why not in -devel?17:57
freemangordonI am running it on my d4 for 2 weeks or something17:57
freemangordonwith latest 6.6 that is17:58
Wizzupah the init script is broken, it tries to load from /usr17:59
Wizzupfreemangordon: I will put it in -devle next once I know it's not broken17:59
Wizzupand currently the init scripts are broken it seems18:00
freemangordonok18:01
mkfbtw freemangordon, did you used upstream dts?18:02
freemangordonfor allwinner?18:02
freemangordonyes, but patched18:02
mkfwhat patches?18:02
freemangordonsec18:03
freemangordonmkf: https://pastebin.com/WXUTNNBC18:05
mkf(sec?)18:05
freemangordonmeans "wait a second"18:05
freemangordonnot sure all the changes are needed18:05
freemangordonthis is what I used back then18:06
freemangordonperhaps display_pool is not needed, but not sure18:06
mkfthank you!18:07
freemangordonhmm, audio config is wrong too18:07
freemangordonalso, a23 is not using simple-card anyways18:08
freemangordonthis is for a3318:08
freemangordonso just ignore &sound18:08
freemangordonhave to run, bbbl18:09
freemangordon*bbl18:09
mkfsee you.18:09
Wizzupdsc_: nice, I made a minor change to debian/control but now with QT_IN_MODULE=him things work, at least in qalendar and in countdowntimer19:58
WizzupI'll fix the build, set it globally and install it on my bionic19:58
Wizzupdsc_: I pushed to maemo/chimaera branch, but you should sync matser with it20:06
Wizzupfreemangordon: building ofono for -devel20:20
dsc_:))20:22
dsc_Wizzup: it should also work on numeric input fields (and other constraints)20:22
Wizzupinteresting, now I also get the gconf2 issue20:28
Wizzupdsc_: it looks like sticky keys don't work yet (not a biggie)20:46
Wizzuplike, press 'shift', let go of shift, and then press 'a' - using the hw keyboard20:46
Wizzupand then try that in Terminal20:46
Wizzupand how do you do multiline?20:53
mkfarno11: hi. :)20:54
arno11hi20:55
mkfare you sure n900 runs as fast as framantle in leste? because mine still runs poorly (after updates) :(20:56
arno11with no new img and with current gconf/init script issue, it is slow20:57
mkfwhat should i do?20:58
arno11atm, idk20:58
arno11let's see what Wizzup or freemangordon can do with that issue20:58
mkf(btw i've got around that gconf update issue if that's what you mean)20:59
arno11apparently init scripts are half broken so don t expect n900 to work properly from a recent install unfortunately21:01
mkfi can downgrade.21:01
arno11once this issue solved, i should be able to help you to get a quite fast n900 :)21:02
Wizzuparno11: wait, init scripts are broken?21:02
arno11the last time i tried was 1-2 months ago...so i can t remember well21:04
arno11but few things from leste config were missing because of init errors (iirc)21:05
arno11i can check tomorrow from another sd card21:05
mkfi can check right now if that helps.21:05
arno11cool. i'm back in 30 min (kids around)21:07
dsc_Wizzup: ok, will check21:19
mkffreemangordon: !21:23
mkfapperently i'm dumb! it's not as slow as i thought21:24
mkfit's touch panel just doesn't respond correctly (uncalibrated?)21:24
mkfi think the reason i thought it was slow because i touched few times and it didnt responded correctly21:28
Wizzupdsc_: cool, and then maybe a next version can go into chimaera-devel first?21:29
dsc_(y)21:33
mkfis there is a way to show the mouse pointer in hildon?21:38
WizzupI don't think so, unless you connect an external mouse, then it will21:39
Wizzup(if you use the mouse)21:39
mkfit can't detect one yet.21:40
Wizzupthen no, I don't think so\21:43
arno11Wizzup: btw https://ibb.co/QbZ1dzF22:45
Wizzupcool :)22:46
Wizzupgtk2 or qt, or?22:46
arno11gtk222:46
Wizzupcool22:50
arno11i'll try to share it in let's say 2 weeks (depending of spare time)22:51
Wizzupcool22:54
WizzupI'll be back in a bit22:54
sicelodsc_: since you're our qt expert 🤭, would you have some bandwidth to briefly check on the qalendar issue where the calendar grid has one less row than the labels on the right23:38
siceloI think I once looked at it, but I knew much less at the time. I could possibly revisit it now, if no one will have time for it23:39

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!