libera/#maemo-leste/ Saturday, 2024-12-21

mkfxhi hi!08:58
dsc__morn09:04
mkfxWizzup: I think I've found a A33 tablet clone, is it a good idea to buy it?09:05
freemangordonmkfx: I had to change the battery of my A33, and still have it booting with leste beowulf, was working quite nice09:31
freemangordonhowever, we need proper kernel09:31
mkfxdo we use bsp?09:32
freemangordonsorry, it was quite a while ago, bsp?09:32
freemangordonah, the kernel09:33
freemangordondon.t remember, really09:33
freemangordonI can try to dig what I have done back then09:33
Wizzupmkfx: depends, the nice thing is that we know we can make it work, the downside is that each a33 tablet can be a bit different, esp in display  timing09:33
Wizzupwe use mainline, not the bsp kernel, so you need to make your own dts09:33
freemangordonWizzup: but it is quite easy to get them from android09:33
Wizzupsure, if you want to help09:34
Wizzupjust trying to say that it won't be 'flash and it will work'09:34
freemangordonheh09:34
freemangordonhe got disconnected09:34
freemangordonWizzup: BTW, I see 6.12 in the repo09:35
freemangordonuvos did something, but it is not finished (and don;t compile either)09:35
freemangordonanyway, I am going to send patches for audio and motmdm serdev,  I wonder if it is a good idea to try to have 6.12-omap09:36
freemangordonbut based on letux kernel with whatever needed on top09:36
freemangordonunfortunately I don;t have a list of patches that are still needed, any idea?09:37
siceloi'm glad to see sre merged 2/4 of my bq patches. one more just needs rewriting the commit message, and the last one ... not sure, but i guess it's waiting on someone's ack09:38
freemangordonyeah, good job :)09:39
freemangordonI wonder why noone responded to both mails I sent09:39
freemangordonchristmas holidays perhaps09:39
dsc__Wizzup: could we have my vkb repo separate from qt-maemo-plugin repo? because this is much easier in terms of development/debugging to have a standalone thing, also the input module would be standalone anyway even if moved to qmake @ maemo-plugin09:46
dsc__im also not duplicating any functionality like enums/symbols because I include those from the hildon-input-method package09:47
Wizzupfreemangordon: not sure @ 6.12 and what uvos did or didn't do09:48
Wizzupdsc__: would prefer it in the same repo but no strong opinions either way09:48
Wizzupdo you mean the debug cycle is faster because of the build time, or?09:48
WizzupI think it would be a separate .so regardless, even if it is in qt-maemo-platform repo09:49
dsc__CMake integrates into the IDE09:49
freemangordonI gues he tried, but gave-up because audio patches are not trivial to port09:49
Wizzupoh, the qt-platform-maemo is qmake?09:49
dsc__it is yeah09:49
freemangordonhowever, I am talking about other patches, not mine09:50
Wizzupdsc__: ok, like I said, no strong opinions, we can add additional pkgs to the meta pkgs09:50
Wizzupfreemangordon: ok09:50
dsc__thanks!09:50
freemangordonso, besides my patches and pvr ones, do we have a list of what else is needed?09:50
dsc__Wizzup: so please make a repo @ maemo-leste, also CI, ill make a debian package09:51
dsc__:P09:51
* freemangordon reboots his d4 into 6.12.y09:51
Wizzupfreemangordon: maybe just check whatever we apply on our current kernel09:52
WizzupI think there's a bunch09:52
freemangordonheh, thanks :p09:52
Wizzuppatches for droid309:52
Wizzupother dts changes09:52
freemangordonI know I can check09:52
Wizzupbuilddeb pkg changes09:52
tmlindfreemangordon: plain mainline v6.12 behaved on d4 for me when i tried for minimal features09:52
Wizzupfreemangordon: I can try to make a list later, in a few hours09:53
tmlindbest to set up various topic branches, easier to rebase them09:53
freemangordontmlind: I am trying openpvrsgx09:53
tmlindfreemangordon: ok we only have a few pm related patches on top09:53
freemangordontmlind: behaved == didn;t work properly?09:53
tmlindworked as expected09:53
freemangordondoes not boot here with no sign of life :(09:54
tmlindfor uart, wlan, pm and basic devices09:54
tmlindhmm what do you mean it does not boot? wrong command line or something?09:54
tmlindor maybe the lcd? mine is in a rack, can't check the lcd..09:55
freemangordonI replaced zImage and copied modules09:55
freemangordonthis is d4 that boots with 6.609:55
tmlinddo you have uart access?09:55
freemangordonI think yes :).09:55
freemangordonlemme try to find the critter09:55
freemangordonshould I have to do anything special from USB uart?09:57
freemangordonlike special key combo or something?09:57
freemangordonscreen /dev/ttyUSB0 is enough, right?09:58
freemangordonyeah, baudrate10:00
tmlindyou need to have a 3.3V ftdi usb uart cable, it's not usb uart, remuxed to uart10:00
tmlindwiring info at http://muru.com/linux/d4/10:01
freemangordonI have it10:01
tmlindah ok yeah then on your pc it will appear as a /dev/ttyUSB port10:01
freemangordon[    0.031768] printk: legacy bootconsole [omap8250] disabled10:01
freemangordonthat's the last10:01
freemangordoncan I get shell from there?10:02
tmlinddo you have console=ttyS2,115200 in the kernel cmdline?10:06
freemangordonno idea, I just did make omap2plus_defconfig, lemme check10:07
tmlindshould show up on the kernel logs early on if you get any output10:08
gnarfacei think you also will have to uncomment a line in the /etc/inittab10:08
tmlindah yeah10:08
gnarface(and set the right baud rate, as the examples are 960010:08
gnarface)10:08
freemangordonugh, why ubuntu18 does not auto-mount usb devices?!?10:08
gnarfaceit doesn't? i couldn't get UT to stop doing it...10:09
freemangordonoh, it is 2010:09
freemangordonnot 1810:09
freemangordonI forgot I made one more dist-upgrade :)10:09
gnarfaceonly thing that comes to mind about that is to make sure you have udisks2 installed10:09
gnarfacethat should at least add the ability, but the actual trigger to do it automatically might be a window manager level thing10:10
freemangordonwell, I did few dist-upgrade cycles from 14.4 to 20.4 a week or so ago10:10
freemangordonnot really sure what survived :)10:10
freemangordonok, lemme reboot my PC, maybe some upgrade broke it10:13
freemangordonok, that's crazy, normal flash drive is automounted, but uSD USB is not10:20
sicelomaybe there's udev or some other rule, automounting /dev/sd*. the usd usb might be named something else, e.g. mmcblk*10:22
freemangordonit appears as scsi disk10:23
freemangordon"[sdc] Attached SCSI removable disk"10:24
siceloweird indeed10:35
freemangordonugh, I have udisks installed alongside udisks211:24
mkfokay, i'll buy that tablet. :-)11:33
mkfhopefully it works out of the box11:33
freemangordonok, PEBKAC, it seems back in 2014 I created udev rule to ignore /dev/sdc1 etc partitions :D11:50
freemangordontmlind: CONFIG_CMDLINE="root=/dev/mmcblk0p2 rootwait console=ttyO2,115200"11:57
freemangordongnarface: what line in inittab?12:15
sicelocoming to  bite you 10 years later ;p12:16
freemangordongetty on serial ?12:16
freemangordonsicelo: yeah12:16
freemangordonugh, now I cannot boot from uSD card anymore, what the?12:28
freemangordonboot partition is empty :(12:33
gnarfacefreemangordon: you don't see this in yours? https://paste.debian.net/1340771/12:41
gnarfacelike i said, may have to also be edited though12:41
freemangordonyes, I see, but it seems I nuked /boot while trying to fix automount not working12:41
gnarfacewoops12:42
freemangordonyeah12:42
freemangordonwell, better boot than / :)12:42
Wizzupfreemangordon: should that be O2 still?12:51
freemangordonno idea12:51
Wizzupalso I think first console= is what is picked up (or last)12:52
freemangordonthat's in upstream omap2plus_defconfig12:52
Wizzupalso config cmdline is overriden by kexecboot/leste no12:52
freemangordonin a minute will know12:52
freemangordonperhaps12:52
freemangordonwhere is that?12:52
Wizzupuser@maindroid:~$ cat /proc/cmdline12:52
Wizzupconsole=tty0 fbcon=rotate:1 debug earlycon ro rootwait rootfstype=ext4 root=/dev/mmcblk0p2 softlevel=charge-mode12:52
freemangordonoh12:53
freemangordonhow to edit that?12:53
Wizzupfrom /boot/boot/boot.cfg or something12:53
freemangordonok12:53
Wizzupedit the .cfg file12:53
Wizzup/boot/boot12:53
Wizzup/boot/boot/zImage12:53
Wizzup/boot/boot/boot.cfg12:53
Wizzup/boot/boot/omap4-droid4-xt894.dtb12:53
freemangordonthere is emergency shell it seems12:53
freemangordonlemme try it12:54
freemangordoncpcap-led oopses13:04
freemangordonhttps://pastebin.com/iAyEmSWg13:04
dsc__ok, it is time for a dist-upgrade. historically speaking this has always resulted in complete system breakdown, wish me luck13:17
dsc__nvm I survived it13:26
freemangordonWizzup: got leste booting with 6.12.y, no patches applied whatsoever14:06
freemangordonTS does not work though14:06
freemangordonI guess I have to enable some driver14:06
Wizzupfreemangordon: no pvr then?14:24
freemangordonwith pvr14:24
freemangordonI meant - without our patches14:24
freemangordonfrom linux_openpvrsgx repo14:24
freemangordonit is upstream + pvr14:24
freemangordonshould be14:25
Wizzupah,ok14:25
Wizzupgreat, progress14:25
freemangordonyeah, but can;t find why TS does not work14:26
WizzupI will be offline for ~3 hours from now, but then I have the weekend off14:26
Wizzuphm... is it probed?14:26
freemangordonyes14:26
freemangordonbut xinput does not list it14:26
freemangordonbut, there is entry in /dev/input14:26
Wizzupmaybe it's blacklisted14:26
Wizzupoh yeah that's it14:26
freemangordonhmm?14:27
Wizzupuvos has this additional ts patch for make the ts buttons work14:27
Wizzupso we blacklist the main ts14:27
freemangordonah14:27
freemangordonok14:27
freemangordonwill pull it14:27
freemangordonlater on14:27
freemangordonor tomorrow14:27
Wizzupwe probably want to just pull all our patches later14:27
Wizzupsure :)14:27
freemangordonyeah, but I want h-d working14:27
freemangordonand anyway, we want that patch I guess14:27
Wizzupyeah, we do14:28
Wizzupwe can look at reducing patches later I think14:28
freemangordonno, I want to do that now14:28
freemangordonto make a kind of clean start14:28
freemangordonto see what is obsolete etc14:28
freemangordonand to send what we still need for upstreaming14:28
freemangordonat least part of ot14:29
freemangordon*it14:29
freemangordonlike I wonder if uvos sent cpcap charger ramping patch14:29
Wizzupok, I don't think the patches we carry are really a burden, but sure14:31
freemangordonaudio patches are14:33
mkfis it a bad idea to buy u1 a1 sdcards?14:47
mkfi seen it mentioned in the wiki, but are they that slow?14:47
arno11mkf: it really depends how it performs with small blocks14:48
mkfhow to check?14:48
arno11you can check online benchmarking before buying one14:49
mkfsince in theory A1 should work good for random I/O with small blocks14:49
arno11maybe but in practice, that's another story14:49
mkfhm, okay. thank you.14:50
gnarfacethey don't all actually have small blocks in hardware, some of them have 4k blocks14:50
gnarfacethey usually don't tell you the native block size on the package though i don't think, you have to do your research14:50
freemangordonWizzup: any idea what is this https://github.com/maemo-leste/droid4-linux/commit/6a90c8b0b78c69a324c47470f758f753ad350606 ?16:09
sicelofreemangordon: do you think i need to do anything here, https://marc.info/?l=linux-pm&m=173255762016541&w=2 ? e.g. reply?17:24
siceloor it's just a matter of waiting for krzk to find time to reply? Since sre replied to the other patches, I'm guessing he skipped this one because of this uncertainty :-/17:25
* sicelo also starts thinking the use of Fixes: tag here may have been incorrect17:27
mkfxhi again17:40
mkfxsorry for flooding this channel with questions17:46
mkfxapparently it's A23 and not A3317:46
mkfxwould leste boot on it (without singnificant changes)?17:46
mkfxWizzup, freemangordon : ^17:47
Wizzupmkfx: as stated, a33 is just the soc, most tablets are all different require special device trees and treatment18:56
Wizzupthis depends on what you call significant18:56
Wizzupfreemangordon: not apart from the commit msg18:56
mkfthank you22:10

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