libera/#maemo-leste/ Sunday, 2022-01-02

Wizzup,3ot@(none):/# grep ^core_pwrdm /sys/kernel/debug/pm_debug/count | cut -d',' -f2,00:47
WizzupOFF:351,RET:700:47
Wizzuproot@(none):/# uptime 05:35:42 up  3:35,  0 users,  load average: 0.00, 0.00, 0.0000:47
Wizzupnot bad, right?00:47
Wizzup(that's with just busybox sh)00:47
lelJames-Hanson opened an issue: https://github.com/maemo-leste/bugtracker/issues/599 (Hildon fails to load theme on newer Droid 4 images)00:55
Wizzup(replied)01:00
WizzupPali: what do you think about extending include/configs/nokia_rx51.h for reading dtb/ftd files?01:17
Wizzupcurrently it only works with initrd01:17
PaliDo you mean to read DTB and use it for booting if exists?01:18
Wizzupyes, like bootz kernaddr - dtbaddr01:18
Wizzupcurrently it searches for any initrd if the env var is set, but it doesn't do that for dtb01:19
Paliwhy not? seems like a good idea01:19
Wizzupok01:19
Paliwould you provide a patch for it?01:19
Wizzupyeah, if there are no size concerns because it would increase the size of the script by a bit?01:19
Paliyou have to check01:20
WizzupI suppose they will also bug me for the musb dm conversion then ;)01:20
Paliyou can open a pull request to u-boot on github... opening pull request is just for running CI tests, nothing more01:20
Paliand CI test checks also u-boot size for n90001:20
Paliso if it passes then there should not be any issue01:21
Wizzupok01:21
Palibut IIRC kabel enabled LTO support for u-boot n900, so there should be more space01:22
Wizzupok01:22
freemangordonWizzup: I decided to revert changes I made for libhildonmime08:18
freemangordonor at least will remove pre-depends I put there08:20
freemangordontmlind: what is the correct way to use clear_page()?09:36
freemangordonhmm,scratch that, I guess it is userspce that shall clear the buffers09:41
freemangordonWizzup: check your mail, I will take care of omap DDX09:51
freemangordongood, xrandr refuses to rotate to portrait10:03
freemangordonon n900 that is10:03
freemangordonWizzup: ping11:19
freemangordonWizzup: omap ddx and leste-config are fixed to support both n900 and mapphone displays, so, the only missing thing is the kernel12:01
Wizzupok12:38
Wizzupfreemangordon: pong12:38
Wizzupfreemangordon: so this new patch replaces the older patch?12:41
Wizzupfreemangordon: droid3-dev is running on image-builder-32bit12:55
freemangordonWizzup: yes13:09
freemangordonold one has a bug13:09
Wizzupgood13:11
WizzupI puled it in13:11
WizzupI will make a omap-linux repo today13:11
Wizzup(maybe just rename droid4-linux)13:11
Wizzupstill I will need to do the dtb stuff that I talked about yesterday but that should be ok13:11
freemangordonalso, this patch is a 'proper' patch (with description, sign-off, etc)13:12
freemangordonok13:12
Wizzupfreemangordon: no readdir errors in the new build log13:41
Wizzupso that's good news13:41
wunderw2Hello :)13:56
Wizzuphi13:56
wunderw2I am connected via XChat on N900 :)13:56
Wizzupwunderw: we likely fixed the latest image bug, we'll know in a few hours14:03
wunderwI'm waiting for my second N900, I will test on that :)14:03
wunderwOn my first, I have Fanoush's Boot Menu, where I can't add Leste item14:04
wunderwI will use U-Boot on the second14:04
bencohsilly question, but why not install a proper up-to-date uboot on the first one as well?14:05
wunderwI need to have BackupMenu14:05
bencohI might be wrong, but I think it works there as well14:05
wunderwIt works best with Fanoush's Boot Menu14:05
Wizzupwell, for leste in the future we will probably require upstream u-boot14:05
Wizzupfor booting zImage14:05
Wizzuplike in the next week or so :)14:05
bencohoh14:05
bencohWizzup: is it tested with fremantle as well?14:06
Wizzupalthough I suppose I could make a special n900 postinst14:06
Wizzupbencoh: yeah14:06
Wizzuppretty sure pali's CI uses fremantle kernel14:06
Paliyes! CI in upstream u-boot uses fremantle kernel14:08
bencoh:)14:28
freemangordonWizzup: what about other images?14:42
freemangordonI see the latest images is still built on 65bit builder14:46
freemangordon*64bit14:47
Wizzupfreemangordon: first I want to see if droid3-dev is ok14:57
Wizzupfreemangordon: I already switched the others over to the 32 bit builder14:57
Wizzupwe just need to hit build14:57
Wizzupbut let me verify that it is ok first14:57
WizzupI fixed the ssh problem that made it fail, but the bionic image is building now so will test that one...15:19
freemangordonok16:14
WizzupI will also look at making the virtual machine i/o faster16:15
Wizzup(it takes a bit too long imho)16:16
freemangordonmhm16:17
crabWizzup: for the uboot change, does that mean a potential reflash / reinstall?16:33
crabim fairly sure im not using the fanoush boot menu but i have a fairly adhoc handrolled weird install on my n900.16:33
Wizzupcrab: I'll look at doing some postinst for the n900 specifically where we append the dtb and make a uImage16:33
crablet me see if i can try and figure out what i have and where i got it from16:33
crabim pretty confident editing things and making them work, im most concerned with an install that requires the least work going forward.16:34
craband im more than happy to just do a proper reinstall if thats the best way to achieve that.16:35
crabill admit that when i first installed leste it went on its own partition but i now think its so superior to all the other shit on here i should just ONLY use it.16:36
WizzupI don't know yet, I'll let you know16:36
crabthanks.16:36
craboh i guess i should reboot the little dude as i just upgraded hildon wifi16:38
Wizzupfreemangordon: ok, new image has fixed theme16:39
lelMerlijnWajer closed an issue: https://github.com/maemo-leste/bugtracker/issues/599 (Hildon fails to load theme on newer Droid 4 images)16:41
crabmy uboot is nearly 10 years old16:42
WizzupI'll see if we can make it work with a postinst16:43
Wizzupprobably can, just need to check16:43
Wizzupuvos: btw on bionic it looks like the rgb led is somehow coupled to touchscreen leds, I have it blink when it is on and the touchscreen leds blink too16:43
Wizzup(fresh image)16:43
Wizzupfreemangordon: got this on my d4: https://dpaste.com/9DY32AP3L17:41
Wizzupthis is still without config compact though17:42
freemangordonWizzup: did you do anything special to get that?18:08
freemangordonOS error code  12:  Cannot allocate memory18:09
freemangordonhmm18:09
freemangordonBTW my patch should not affect d418:09
freemangordonon d4 we always go through DMM, so all buffers are linear18:09
freemangordonso non-linear path is not taken18:10
freemangordonneither is CMA used18:10
freemangordonbut yeah, I am not sure kernel can function properly without compaction18:10
freemangordoneventually memory can get so fragmented that no pages/dma addresses buffers can be allocated18:13
freemangordonomapdrm cannot allocate TILER memory18:18
freemangordon2 is TILFMT_32BIT18:18
freemangordonfor some reason   tiler_reserve_2d() fails18:19
freemangordonbut still, without compaction this is to be expected18:20
Wizzupfreemangordon: no I just used it for days18:25
WizzupI think it also happened before I disable compaction18:25
Wizzupbut we'll see18:26
WizzupI am failing to boot on n900 with separate dtb atm :)18:26
freemangordonTBH I don;t think this will work, but...18:27
Wizzupwhat is 'this' ?18:27
freemangordonre oops - I will not be surprised if we have memleaks here and there18:27
Wizzupright18:28
freemangordonthis == "n900 does not boot"18:28
Wizzupaha18:28
freemangordonlike:18:28
Wizzupwhy do you think it will not work?18:28
freemangordonnot sure this was ever tested or intended to be supported in u-boot18:28
freemangordonI think we can call Pali to the rescue :)18:28
freemangordonhave to cook dinner, ttyl18:29
Wizzupwe can also just append it with a preinstall file I think18:30
freemangordonI think this is the right solution, demanding people to upgrade u-boot is not really polite18:30
WizzupI think having to upgrade u-boot is a non issue18:31
Wizzupwe also ask them to update kernel :)18:31
freemangordonwhy is that?18:31
freemangordonwhich kernel?18:31
Wizzuplinux kernel18:32
freemangordonyou can have u-boot with Nokia kernel18:32
Wizzupnevermind, I don't think this is a useful discussion at all18:32
Wizzuppoint is that we providing new and better sw18:32
freemangordonyeah18:32
siceloWhen would the pre-install file run18:32
Wizzupwanting to stick to something old doesn't make sense18:32
Wizzupsicelo: well on postinst of the kernel package?18:32
Wizzupit can just 'cat' the files18:32
Wizzupfreemangordon: I don't really want to use uImage either, which is also not supported on old u-boot18:33
freemangordonzImage I guess18:33
Wizzupthis is a real PITA with multi-device kernel18:33
Wizzupfreemangordon: zImage is not supported yes, it only supports uImage18:33
freemangordonyou made a typo, thus my questio18:34
Wizzupno18:34
Wizzupold u-boot does not support not using uImage18:34
Wizzupi.e. zImage18:34
freemangordonah, ok :)18:34
WizzupI agree it is a bit confusing18:34
freemangordonI parsed wrongly18:34
freemangordonyeah, ok18:34
freemangordonanyway, bbl18:34
WizzupI might just be loading dtb on wrong addr or something18:35
Wizzupbut using addr of initrd when not using initrd doesn't work18:35
Wizzupso I am assuming it doesn't work18:35
siceloIt should. Pinephone and librem5 are also u-boot, and they support external dtb just fine18:43
Wizzupsicelo: u-boot supports it fine, that is not in question18:45
Wizzupwhether it works on the n900 with the defconfig is another question18:45
WizzupI am trying this:18:48
Wizzupext2load mmc 0:1 0x82008000 zImage18:48
Wizzupext2load mmc 0:1 0x84008000 omap3-n900.dtb18:48
Wizzupsetenv bootargs 'root=/dev/mmcblk0p2 rootwait console=ttyS2,115200 verbose earlyprintk debug'18:48
Wizzupbootz 0x82008000 - 0x8400800018:48
Wizzupthe annoying thing with doing it in postinst is that our kernel pkg really only has one postinst18:49
Wizzupwe have: CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_FROM_BOOTLOADER=y18:50
Wizzupso I would assume this would work18:50
Wizzuperr18:50
WizzupI guess there isn't even an option for not supporting getting dtb from bootloader in linux18:51
Wizzupmust be always on18:51
Wizzupmaybe having appended dtb on somehow causes kernel to read appended dtb garbage18:53
Wizzupparazyd: ping, what do you think about having extra packages in droid4-linux's control file (like linux-image-n900 that just depends on the main kernel package) that have their own additional postinst to create zimage with dtb appended or even uImage, would that work?18:58
Wizzupuvos: droid4 devel image boots fine now19:16
Wizzupuvos: the wifi module doesn't probe though19:16
Wizzupactually I think debian has an /etc/kernel postinst dir so we can just insert scripts there for n900-19:47
Wizzupparazyd: ^^19:47
Wizzupwhat do you think?19:47
bencohit would probably make it simpler for fremantle user to try leste19:53
freemangordonWizzup: hmm, 32MiB for kernel?19:53
bencohthe other option would be to push the latest uboot version to maemo/maemo-extras19:54
freemangordonisn't 0x84008000 - 0x82008000 too much?19:54
freemangordonoh, I guess no, zImage is compressed19:55
freemangordonso it must be uncompressed somewhere I guess19:55
freemangordonWizzup: if you ask me, creating uImage with attached dtb while installing on-device is the best option19:57
freemangordonthere is postinst.d and preinst.d19:58
freemangordona simple script in postinst.d that cats zImage and dtb and calls mkimage should do the job19:59
freemangordonthat script should be part of leste-config-n900 I guess20:00
Wizzupfreemangordon: so the way to read those bootz args is20:03
Wizzupkernel_addr initrd_addr ftd_addr20:03
Wizzupfreemangordon: since we have no initrd addr we specify -20:03
freemangordonok20:04
freemangordonWizzup: still, I think creating uImage in postinst should be way easier for everybody once done20:04
Wizzupfreemangordon: right /etc/kernel/postinst.d20:04
freemangordonmhm20:04
Wizzupyeah I think that makes sense20:04
freemangordondo you know who executes the stuff there?20:05
freemangordonapt?20:06
Wizzupnot sure20:06
Wizzupfreemangordon: debian/linux-image/DEBIAN/postinst:test -d /etc/kernel/postinst.d && run-parts --arg="5.15.2-00592-g63f8176258b7-dirty" --arg="/boot/vmlinuz-5.15.2-00592-g63f8176258b7-dirty" /etc/kernel/postinst.d20:06
Wizzupso probably our kernel will20:06
freemangordonhttps://kernel-team.pages.debian.net/kernel-handbook/ch-update-hooks.html20:07
freemangordon8.1. Kernel hooks20:07
Wizzupkeep in mind we do not use debian kernel, we have our own20:07
freemangordonyeah20:07
Wizzupbut we use builddep from mainline20:07
freemangordonthat's why my question20:07
freemangordongood that our kernel is compatible20:07
Wizzupright20:08
bencohdon't you use make deb-pkg  (or whatever it is call nowdays)?20:08
Wizzupso I will try to make a control file which has omap-linux-image as actual kernel and modules and then aliases that depend on, with optional postinst hooks20:08
freemangordon"hook scripts for boot loaders must be named using the prefix zz- "20:08
Wizzupbencoh: sure, with patches20:08
freemangordonWizzup: wait, why is that20:08
Wizzupfreemangordon: it is not a hook for bootloader20:08
freemangordonWizzup: still, I don;t think this script belongs to the kernel package20:09
freemangordonneither we need special kernel package for n90020:09
freemangordonI think it should be like:20:09
freemangordon1.one kernel package to rule them all20:10
freemangordon2. leste-config-n900 with postinst script that cats zImage+dtb and calls mkimage20:10
freemangordonthats all20:10
freemangordonand yea, I think this is hook script for bootloader20:11
freemangordonunless I dont; understand what do they mean by "bootloader hook"20:12
bencohupdating bootloader config in a special way maybe20:12
freemangordonyeah, maybe20:12
freemangordonnot importeant really20:12
freemangordon*important20:13
uvos<Wizzup> uvos: btw I still see hangs sometimes on droid3, do you see them as well?20:13
uvosyes lots20:13
uvosallways hangs mid drawing frames20:13
uvos<Wizzup> uvos: btw on bionic it looks like the rgb led is somehow coupled to touchscreen leds, I have it blink when it is on and the touchscreen leds blink too20:13
uvosknown issue, the ts buttons are connected - somewhere idk where20:13
freemangordonuvos: what version is omap ddx?20:13
uvosthey share a regulator with the pannel and rgb led20:13
Wizzupuvos: could be pvr clock rate?20:14
uvosand are set on by the vendor kernel20:14
Wizzupmhm20:14
uvosso any time the mainline kernel sets eitehr of those on20:14
uvosthe ts buttons light up20:15
uvosWizzup: well the pvr clock rate is the same as on the 3.0 vendor kernel20:15
uvosits possible that moto used a different rate on the 2.6 kernel for solana20:15
uvoswe can check that20:15
uvosbut idk why20:15
uvosall the omap4 variants besides *70 have the same rating for sgx20:16
Wizzupok20:16
Wizzupjust not sure what else could cause it20:16
uvoswell d4 also hangs20:17
uvosif you load sgx esspecaly20:17
parazydWizzup: I have to think about that a bit re: postinst20:17
uvosso maybe d3 just shows it sooner for some reason20:17
Wizzupparazyd: we touched on it some after my msg20:17
uvosWizzup: could be ram accuatlly20:17
uvoswe dont touch the dram controller at all20:17
Wizzupright20:17
uvosthe vendork kenrel might be changing things20:18
uvosdepending on other clocks20:18
Wizzupyeah20:18
freemangordonWizzup: what do you think about my suggestion re leste-config/postinst?20:18
uvosfreemangordon: sec let me boot the thing20:18
freemangordonok20:18
Wizzupfreemangordon: sorry, how was it different from mine, maybe I missed it20:18
freemangordonuvos: the point is this https://github.com/maemo-leste/xf86-video-omap/commit/472f6e725cf9e3b6206c89b7f3cc5bebd90beb5420:19
Wizzup20:10 < freemangordon> 1.one kernel package to rule them all20:19
Wizzup20:10 < freemangordon> 2. leste-config-n900 with postinst script that cats zImage+dtb and calls mkimage20:19
freemangordonif you don't have that, device may seem hung20:19
freemangordonWizzup: yes20:19
WizzupI suppose that could work too, but this allows potentially to have one without the other20:19
uvosfreemangordon: its not that20:19
freemangordonuvos: ok20:19
uvosit dosent seam hung20:19
uvosit watchdog rebotos20:19
uvos*reboots20:19
freemangordonah, ok20:20
freemangordonWizzup: how's that different to your suggestion?20:20
freemangordonhow do you know you run on n900?20:20
Wizzupfreemangordon: I was suggesting to have extra pkgs in control file of our omap-linux debian/control20:21
freemangordonexactly, another package20:21
Wizzupfreemangordon: like linux-image-n90020:21
Wizzupsame repo, just another virtual20:21
Wizzuplike we do with many things20:21
freemangordonand you may have one without the other20:21
WizzupI don't think so20:21
freemangordonthe same if it is in the config20:21
freemangordonok20:21
Wizzupwell yes you could *uninstall* linux-image-n90020:21
Wizzupthat would uninstall the postinst20:21
Wizzupbut that is more clear that is breaks things than leste-config-n900 imho20:21
freemangordonyeah, you have a point20:22
freemangordonWizzup: so hildon-meta-n900 will depend on linux-image-n900?20:23
freemangordonIOW - which package will pull linux-image-n900?20:24
Wizzupfreemangordon: right that is already the case now wrt meta20:24
freemangordonok20:37
Wizzupso I will try that then20:38
freemangordonok20:39
sicelointeresting - on Fremantle, it was said the bcm2048 integrated radio *requires* the bt to work. just re-read the short information sheet (https://pdf.dzsc.com/20090227/200902072254092347.pdf) and it states "FM system can operate independently from Bluetooth" ... can't wait to get my N900 fixed. maybe there's a way to make the FM transmitter work20:52
sicelos/transmitter/receiver/20:54
freemangordonit is the same chip20:55
freemangordonand I guess it needs FW to be loaded20:55
Wizzupuvos: any idea why wl module is not loaded for droid3?20:58
sicelothe FW is for bt. you think the bt side must really be up?20:58
Wizzupuvos: seems kinda weird20:58
Wizzupfreemangordon: do you want me to keep gdb attached to X to provide a backtrace when it crashes again?21:03
Wizzupfreemangordon: although I guess it seems like kernel problem21:03
Wizzupfreemangordon: or leak like you said21:03
freemangordonWizzup: do you still see crashes?21:05
freemangordonor you mean that WARN()?21:05
Wizzupwell what I pasted caused X to crash21:07
freemangordonah21:09
freemangordonyeah, it is good to have backtrace21:09
freemangordonmaybe this can be handled gracefully21:10
Wizzupfreemangordon: ok21:12
Wizzupfreemangordon: I think I will have to make those virtual packages in a different repo21:50
freemangordonWizzup: why is that?21:54
Wizzupfreemangordon: scripts/packaging/builddep seems to create control files or something21:56
Wizzupit's overriding whatever else I have21:56
Wizzupand end result is I don't even get a .deb file for the other pkgs in my control file21:56
Wizzupdpkg-genchanges: warning: package linux-image-droid4 in control file but not in files list21:56
Wizzupdpkg-genchanges: warning: package linux-image-droid3 in control file but not in files list21:56
Wizzupdpkg-genchanges: warning: package linux-image-bionic in control file but not in files list21:56
Wizzupdpkg-genchanges: warning: package linux-image-n900 in control file but not in files list21:56
Wizzupfreemangordon: let me see if I am forgetting something else22:00
freemangordonWizzup: or, maybe do as I suggested22:01
Wizzupfreemangordon: so they seem to call some custom bash create_package function that calls dpkg-gencontrol22:02
Wizzupfreemangordon: right that is no different from the virtuals though right?22:02
uvos__[20:58] <Wizzup> uvos: any idea why wl module is not loaded for droid3?22:03
WizzupI don't think leste-config is the right place for this22:03
uvos__its not?22:03
uvos__in what kernel22:03
Wizzupuvos__: not for me, is it loaded for you?22:03
Wizzupuvos__: just latest image22:03
freemangordonWizzup: up to you, it is just that it will be easier22:04
Wizzupfreemangordon: ok, let me take a few minutes to figure out what is easiest22:04
Wizzupso I was thinking of creating maemo-kernel-virtuals repos with just linux-image-n900 with depends on kernel package, but I'd really much rather have it in the kernel package22:05
WizzupI could patch scripts/packaging/builddep22:05
Wizzupbut it's not really pretty22:05
Wizzupbrb22:06
freemangordonneither is creating yet another repo to hold just one package22:07
freemangordonunless by repo you mean git repo22:08
freemangordonnot debian repo22:08
WizzupI meant git repo yes22:09
Wizzupwe can do it in leste-config it just feels a bit weird22:09
Wizzupbut I don't mind having the postinst in there22:09
WizzupI can just do that now I suppose, but still, we will need something to provide linux-image-droid4 and so on virtual packages still I think22:10
Wizzupunless we are just going to change all dependencies to linux-image-omap in hildon-meta etc22:10
Wizzupuvos__: btw I think reboots hang because one tty process becomes unkillable due to serial oops22:11
Wizzupuvos__: the S0 one22:11
freemangordonWizzup: I think it makes sense to change all deps to  linux-image-omap22:11
uvos__yes i know22:11
uvos__Wizzup: for some reason my wl12xx dose probe on d322:12
uvos__but wifi dosent work at all22:12
Wizzupfreemangordon: hmm ok22:12
uvos__can scann etc22:12
uvos__(also older kernel image)22:12
uvos__another think i notice22:13
uvos__is that d3 has alot more pixmap corruption22:13
Wizzupfreemangordon: let's try that then22:14
freemangordonok22:15
freemangordonWizzup: how do you think, how critical is rotation on n900? IMO abook is with higher prio, no?22:17
WizzupI think I agree yes22:18
freemangordonok22:18
Wizzupyeah definitely22:18
uvos__x refuses to rotate right22:19
uvos__it dosent crash22:19
Wizzupyes22:19
uvos__ok22:19
freemangordonso VRFB will wait after abook22:19
uvos__then yeah22:19
freemangordonbut, I think what I can spend some time on is PVR driver fences22:19
Wizzuphaving abook further along would help with our end of january conversations goals22:20
freemangordonfor some reason current code sets the fence too early22:20
freemangordonWizzup: yeah22:20
WizzupI need to start pushing really hard on telepathy in the next two weeks or we won't make those22:20
Wizzupspent too much on kernel stuff relatively :p22:20
Wizzuptoo much time that is22:20
freemangordonI'll suspend kernel work until we have at least semi-usable abook22:20
freemangordonsame here22:20
uvos__Wizzup: also on bringup devices that really dont matter :P22:21
uvos__(not that i blame you, its fun)22:21
uvos__i now know why wifi dosent work on my d322:21
uvos__maserati-callibarte failed and hosed the firmware22:22
uvos__appearently it dosent work on d3 for some reason22:22
Wizzupuvos__: yeah22:22
Wizzupuvos__: ah I see, yeah, probably that never normally ran on mine because I used bionic sdcard initially22:22
freemangordonone more thing - maybe we shall make a freeze week. and if there are no critical bugs, all that is in -devel shall be pushed to stable22:22
freemangordonfreeze like - no new stuff in -devel22:22
freemangordonas I am under the impression that -stable lags too much behind -devel22:23
freemangordonmight be wrong though, didn;t compared22:23
uvos__well freezing devel is not the point of devel for us is it?22:23
Wizzupone of the reasons is we are making big changes22:23
freemangordonunderstood22:24
freemangordonbut we are at the end of that22:24
freemangordonmore or less22:24
uvos__i think another big(ish) problem is that stable has been less stable than devel in the past22:24
uvos__mostly because none of us use/test it22:24
freemangordonuvos__: another reason to make -stable equal to -devel22:24
Wizzupfreemangordon: so do I make leste-config-n900 depend on u-boot-tools for mkimage?22:25
freemangordonmhm22:25
Wizzupk22:25
freemangordonuvos__: I am talking about very short freeze (week or so), to see if there are any critical bugs22:26
freemangordonI am not saying we shall stop development for that period :)22:26
freemangordonso, at the end of freeze, we push -devel to -stable and then build whatever is new in -devel22:27
Wizzupfreemangordon: hmm leste-config does something weird with .leste files I am not sure if this will work...22:27
Wizzupparazyd: ping22:27
parazydpong22:28
Wizzupparazyd: hi, so22:29
Wizzupparazyd: I want to add a file that ends up in /etc/kernel/postinst.d22:29
Wizzupto create a uImage for the n900 and freemangordon would like it in leste-config22:29
Wizzupcan I do that without making the file end in .leste and that kind of stuff?22:29
WizzupI fear that might mess with run-parts22:29
Wizzupthis would only be for leste-config-n90022:30
parazydYou can keep it in leste-config but then you have to install it by hand, not with the configfile infrastructure.22:30
Wizzupso just add another line to debian/leste-config-n900.install ?22:30
parazydOtherwise, it does have to have the .leste suffix.22:30
parazydYeah22:30
Wizzuphmm22:30
parazydRemember that debian/gen_displace will overwrite them22:31
WizzupI am fine with whatever works really, so if you say that's the way to go then I'll do that22:31
parazydAnd it also uses a wildcard, so I'm not exactly sure how to add another file.22:31
parazydProbably if you just put it on top it'll work22:32
parazydWhy not make the uImage from kernel postinst?22:32
Wizzupif you can show me how I'll gladly do it22:32
WizzupI can't figure out how to work with scripts/packaging/builddeb22:32
Wizzupit just does it's own thing and ignores everything else22:33
Wizzupor so it seems to me22:33
WizzupI tried to add extra packages to the debian/control file of the kernel package, and then a debian/*.install file for it, it just gets ignored22:33
Wizzupand the .deb files are also not generated22:33
WizzupI have a working postinst.d, I just need to be able to place it somewhere22:34
parazydWhy are all the patches gone from here? https://github.com/maemo-leste/droid4-linux/tree/maemo/beowulf-devel/debian/patches22:34
parazydhttps://github.com/maemo-leste/droid4-linux/commit/c8eb20cb4f6c0572e76cf0cfd008af59d501ab7c#diff-e33e320ccfa50e52c4e29b3c27e54d78892ba05b36f2328d7b532f6539a3a27622:35
Wizzupparazyd: patches to kernel? we carry them in git22:35
parazydYou killed the quirks patch22:35
Wizzupyes22:35
parazydIs it on the main branch?22:35
Wizzupit is in the kernel branch afaik yes22:35
Wizzupyes for sure22:35
Wizzupsee 9539db972bd8cbf9653a1b3d4f949561fa49b70e22:36
Wizzupin https://github.com/maemo-leste/droid4-linux/commits/wip/n900/maemo-5.15-cleaned-up22:36
parazydah good22:37
parazydhttps://github.com/maemo-leste/droid4-linux/blob/wip/n900%2Fmaemo-5.15-cleaned-up/scripts/package/builddeb#L20822:37
Wizzupit manually calls dpkg-deb and stuff22:37
parazydSo this is how the postinst is made22:37
Wizzupthat is a generic postinst22:37
Wizzupwe want one specifically that only runs on the n90022:37
Wizzupwhich is why there is a run-parts in the postinst for /etc/kernel/postinst.d per normal debian kernel stuff22:37
parazydhttps://github.com/maemo-leste/droid4-linux/blob/wip/n900%2Fmaemo-5.15-cleaned-up/scripts/package/builddeb#L19222:37
parazydJust add it there22:37
freemangordonparazyd: /etc/kernel/postinst.d22:37
parazydWizzup: linux-image-n900.postinst should be the filename22:38
parazydOr whatever your virtual is called22:38
Wizzuphow will I prevent this from being installed with all other packages?22:38
Wizzuplike I said, no other .deb files are created when I tried this22:38
parazydWhat do you have in your debian/control file?22:39
parazydAnd is it respected?22:39
WizzupI removed it, but it was just basic packages like linux-image-n900 with Depends: on linux-image-omap22:39
WizzupI build locally in my lxc container so it never made it online22:39
WizzupI got this:22:39
Wizzupdpkg-genchanges: warning: package linux-image-n900 in control file but not in files list22:39
parazydSo if you have that, you'd create linux-image-n900.postinst and do whatever you need in there.22:39
Wizzupwell I had linux-image-n900.install22:40
Wizzupand it was ignored entirely22:40
parazydThat's different22:40
parazydIt's probably generated by the deb scripts22:40
parazyd(So are postinsts, but we can edit them here)22:40
Wizzupbut we still won't get a .deb file22:41
Wizzupunless we manually call create_package22:41
Wizzupwhich feels way more hacky than adding a single postinst hook from another place22:41
Wizzupit's not great either way hehe22:41
Wizzupat least my understanding is there still won't be a .deb file22:42
parazydleste-config is a good alternative if you think this is messy.22:42
Wizzupfrom reading scripts/package/builddep22:42
Wizzupwell it is what I tried first, but then I failed to achieve it and tried an alternative22:42
Wizzupok, let me see if I can somehow make it work with leste-config then22:42
Wizzuphonestly I think I'll just end up making a separate package for all of this22:43
Wizzup(with its own repo)22:43
Wizzupthat way I won't have to hack around the displace stuff either22:43
Wizzupparazyd: hmm looks like gen_displace just overrides .install files22:47
Wizzupgrep 'Package: ' control | cut -d' ' -f2 | while read -r pkg; do printf "%s/* /\n" "$pkg" > "${pkg}.install"22:47
parazyd22:31 <parazyd> And it also uses a wildcard, so I'm not exactly sure how to add another file.22:47
parazyd22:32 <parazyd> Probably if you just put it on top it'll work22:47
parazyd22:31 <parazyd> Remember that debian/gen_displace will overwrite them22:47
Wizzupyes I understand22:47
Wizzupbut if it just does > then how will a wildcard help?22:48
parazydI don't understand the question?22:48
parazydJust edit the script and add what you want22:48
parazydrip matrix22:48
Wizzupoh, you want me to edit gen_displace22:49
parazydRight22:49
parazydSorry, I wasn't clear22:49
WizzupI'm just going to make a separate package for this I think, it's all too complicate for wanting something so simple :D22:49
parazydThat's ok too22:51
parazydProbably could create some kernel-config package22:51
parazydThis way we can have control for all devices with a repo22:52
Wizzupok, I'll do that then, but start it off simple22:52
parazyd*nod*22:52
Wizzupbtw we're also planning to change hildon-meta per-device packages22:52
Wizzupe.g. linux-image-n900 will become linux-image-omap22:52
Wizzup(and also have maemo-kernel-config-n900)22:52
parazydSounds good22:52
Wizzupgreat, thanks!22:53
uvos__freemangordon: http://uvos.xyz/maserati/h-mime22:55
uvos__see error, also this seams a bit verbose, this gets printed quite often22:56
uvos__heh23:10
uvos__so for some reason probeing wl12xx/udev informing userspace is slower on d323:10
uvos__this triped up ti-utils23:10
WizzupI guess we'll need some replaces: lines for the kernel upgrade(s) as well23:10
Wizzupuvos__: heh...23:10
uvos__so maserati-callibrate works on d3 now23:11
uvos__ill upgrade now and see if with the new kernel image it dosent probe like on yours23:11
Wizzupok, cool23:13
freemangordonuvos__: those are harmless23:17
freemangordonafaik23:17
uvos__Wizzup: ti-utils-wilink6 lacks a devel branch23:20
uvos__Wizzup: shal i push the fix to stable immidatly?23:21
uvos__or make one23:21
Wizzuplet's do -devel23:21
uvos__Wizzup: so i just dist-upgraded my solana and wifi works fine23:54
uvos__interestingly i get quite superior throughput vs d4323:55
uvos__*d423:55
uvos__attenas/impeadance matched traces are probubly better23:56
uvos__the serial oops dosent happen when shutting down from emergency shell23:57
uvos__so some deamon closing the device causes the oops23:57

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