2024-08-12.log

- switchy (QUIT: Ping timeout: 276 seconds) (~switchy@mechboards/switchy)00:02
+ theesm (~theesm@static.134.243.21.65.clients.your-server.de)00:16
- cow321 (QUIT: Ping timeout: 245 seconds) (~deflated8@user/meow/deflated8837)00:19
sevanwhen kernels are removed as they're found to have issues e.g the 6.10 one, is it possible to remove it from the repo meta data too? not a biggy but I just found that 'apt upgrade' is broken because it tries to fetch those .deb files from the reform debian repo00:21
joschsevan: yes, it's possible but a bit more work :)00:22
+ cow321 (~deflated8@user/meow/deflated8837)00:22
sevanjosch: thanks :D00:23
joschtheoretically, minute could also "revert" the repo to the last known-good state using the most recent pipeline run which produced the 6.9 kernel but that's also a bit dangerous because this also affects packages like reform-tools00:23
sevanahh00:24
sevanso just ignore the reform repo when such things happen in the future to sidestep things?00:26
sevanluckily I'd installed just the reform-tools earlier so I got the lpc driver & reform-check utility00:26
- mjw (QUIT: Ping timeout: 255 seconds) (~mjw@gnu.wildebeest.org)01:15
+ switchy (~switchy@mechboards/switchy)01:15
+ bkeys1 (~Thunderbi@45.134.140.153)02:46
- bkeys (QUIT: Ping timeout: 260 seconds) (~Thunderbi@45.134.140.153)02:47
+ bkeys (~Thunderbi@45.134.140.153)02:48
- bkeys1 (QUIT: Ping timeout: 260 seconds) (~Thunderbi@45.134.140.153)02:50
- bkeys (QUIT: Ping timeout: 252 seconds) (~Thunderbi@45.134.140.153)03:07
+ bkeys (~Thunderbi@45.134.140.153)03:08
- colinsane (QUIT: Quit: bye) (~colinunin@97-113-70-61.tukw.qwest.net)03:26
- cobra (QUIT: Ping timeout: 272 seconds) (~cobra@user/Cobra)03:28
kop316sevan: you can also do "apt --fix-missing upgrade" and it ignores the missing packages03:29
+ colinsane (~colinunin@97-113-70-61.tukw.qwest.net)03:30
- nsc (QUIT: Ping timeout: 265 seconds) (~nicolas@61-97-142-46.pool.kielnet.net)03:31
+ nsc (~nicolas@34-99-142-46.pool.kielnet.net)03:33
- aloo_shu (QUIT: Ping timeout: 272 seconds) (~aloo_shu@85.51.17.53)03:39
- cow321 (QUIT: Ping timeout: 258 seconds) (~deflated8@user/meow/deflated8837)03:46
+ aloo_shu (~aloo_shu@85.51.17.53)03:50
+ cow321 (~deflated8@user/meow/deflated8837)04:00
- colinsane (QUIT: Quit: bye) (~colinunin@97-113-70-61.tukw.qwest.net)04:09
+ colinsane (~colinunin@97-113-70-61.tukw.qwest.net)04:12
+ cobra (~cobra@user/Cobra)04:46
- cobra (QUIT: Quit: ZNC 1.8.2 - https://znc.in) (~cobra@user/Cobra)05:02
+ cobra (~cobra@user/Cobra)05:06
- bkeys (QUIT: Ping timeout: 252 seconds) (~Thunderbi@45.134.140.153)06:37
- _alice (QUIT: Ping timeout: 260 seconds) (sid544964@id-544964.ilkley.irccloud.com)08:56
- svp (QUIT: Ping timeout: 260 seconds) (sid537750@id-537750.uxbridge.irccloud.com)08:58
- jfred-linode (QUIT: Ping timeout: 260 seconds) (quassel@libera/sponsor/jfred)08:59
+ jfred-linode_ (quassel@libera/sponsor/jfred)08:59
+ svp (sid537750@id-537750.uxbridge.irccloud.com)09:00
+ _alice (sid544964@ilkley.irccloud.com)09:12
+ gustav28 (~gustav@c-df53205c.019-141-67626730.bbcust.telenor.se)10:32
grimmwaremorning10:46
josch_o/10:47
grimmwarejosch: how's life?11:00
minutemornin'11:01
grimmwarehey minute, how you doing?11:01
joschgrimmware: big todo list and too litte time -- so things are as usual :)11:02
joschregarding the reform, there is this very interesting boot problem which puzzles me: https://community.mnt.re/t/debugging-boot-failures/2375/1311:03
- jacobk (QUIT: Ping timeout: 276 seconds) (~quassel@47-186-105-237.dlls.tx.frontiernet.net)11:04
grimmwarejosch: no danger of running out of things to do :)11:04
+ jacobk (~quassel@47-186-105-237.dlls.tx.frontiernet.net)11:04
joschgrimmware: as long as people keep changing their software, we will be kept busy :)11:05
joschfor example, is this normal for the pocket?11:05
josch*** Warning - bad CRC, using default environment11:05
grimmwareunder what context?11:06
[tj]it is normal for imx8mp u-boot11:06
joschuboot is:11:06
joschU-Boot SPL 2022.04-gb0e908b1-dirty (May 02 2024 - 19:18:25 +0000)11:06
josch[tj]: thank you11:06
[tj]well, my olimex board says that too11:06
minutejosch: yes, bad crc is normal11:06
joschbut why would the printenv output be empty?11:06
minuteit just means there is no environment saved on disk11:06
grimmware"bad crc is normal" tells you a lot about the state of computing11:06
minutewell, about the design of uboot maybe :D11:06
joschoh then maybe i'm mistaken about what command to run?11:07
joschi thought printenv printed you everything in the current environment11:07
minuteso, default environment should not be empty hm11:07
joschi was particularly interested in the value of ${fdtfile}11:07
Zababad crc just means you have for example empty flash where u-boot is reading the environment from, because you’ve never actually written it there 11:07
minutenormally the default env is compiled into uboot11:07
Zabawell, obviously it might indicate an actual data corruption too, but that’s less common11:08
joschbut that thread has a few oddities in it11:09
joschsure, our sysimages were broken too but that should be fixed now11:09
joschand "script exited: continuing..." should not happen11:09
joschand i also never saw "EFI boot manager: Cannot load any image" in my own logs on imx8mq or a311d11:10
joschand if ${dtbfile} is set, then "11:10
joschFailed to load '/dtb-6.10.3-mnt-reform-arm64'" should also not be happening11:10
joschor is imx8mplus u-boot just very different?11:10
minutenow testing this kernel on imx8mp https://source.mnt.re/reform/reform-debian-packages/-/jobs/5389/artifacts/file/repo/pool/main/l/linux/linux-image-6.10.3-mnt-reform-arm64_6.10.3-1+reform20240810T210530Z_arm64.deb11:11
minutejosch: maybe they somehow have the wrong uboot?11:11
minuteaha, immediate crash in [    6.201779]  clk_imx8mp_audiomix_runtime_resume+0x38/0x5011:16
minuteat least i can reproduce that11:17
joschminute: yes, which is why i was wondering whether everybody else with a pocket also has u-boot 2022.04-gb0e908b1-dirty or not11:18
chstating the obvious, but having an overview of shipped version strings and printenvs seems useful *hides*11:18
joschcommit b0e908b1 does not exist in reform-imx8mp-uboot.git11:18
minutejosch: no, normally i flash uboot11:18
minutewill get back to you11:19
joschch: you know what? lets start to collect this: https://source.mnt.re/reform/reform-debian-packages/-/wikis/u-boot11:21
ch+111:22
+ mjw (~mjw@gnu.wildebeest.org)11:24
grimmwarejosch: could you add information on how to collect it?11:27
joschgrimmware: i'm about to write a forum post, stay tuned :)11:27
grimmwarenoice11:27
joschgrimmware: https://community.mnt.re/t/collecting-known-good-u-boot-output-for-debugging-purposes/238111:32
[tj]the bsd community collects dmesg output and I've never understood why the linux world doesn't like having plain text logs of things that work11:34
joschthey don't?11:35
[tj]not in the way that dmesgd.nycbug.org does11:37
josch[tj]: do you have a link? maybe we can get inspired by how they present the logs and improve this on our end11:37
joschoh great!11:37
joschthat's a good point -- dmesg output is useful as well11:37
joschthere are regularly people showing up here who ask "i saw this in my dmesg -- is that bad?"11:38
grimmware`NetBSD/vax 10.0 on VAXstation 4000 VLC (netboot)` is almost the best possible most recent entry there could have been11:38
[tj]I push a dmesg for all of my machines, it is easier than turning them on to figure out how much ram they have11:39
- mjw (QUIT: Ping timeout: 244 seconds) (~mjw@gnu.wildebeest.org)11:50
* Guest6824 -> mjw11:59
- mjw (QUIT: Quit: Leaving) (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)12:05
minuteasiaRF wifi cards are here :012:34
joschdidn't you only order them last wednesday? o0 that was fast12:40
minuteyes megafast12:48
minutealso, it works!!!12:48
minute120mbit down without antenna12:48
minutemega improvement over the onboard wifi of bpi cm412:48
joschgrimmware: since you were wondering, my current occupation: running reform-setup-wizard on s390x ;)12:55
joschi also learned: gtk4 renders slightly differently on riscv64...12:56
minuteok, antenna setup is very tricky12:57
minutechip is mediatek mt7612u13:01
grimmwaregrimmware: hahah, amazing13:14
minuteok, it looks like this kernel works https://source.mnt.re/reform/reform-debian-packages/-/commit/39b9f760ef1ac8f55c1873348a6e273cb6d7342b13:16
minute(for imx8mp)13:16
minuteok, laird mimo antenna gives around 10x the bandwidth of the dualband (but separate) 2.4/5ghz molex antenna with mt7612u13:19
joschminute: the only change i'm wary of is https://source.mnt.re/reform/reform-debian-packages/-/merge_requests/53/diffs?commit_id=0e760e331017793700d384cc4c9784b130838625 because ideally we want the diff to the Debian kernel to be small13:19
joschdo all the CONFIG_CPU_FREQ* configs need to be baked-in to keep things stable?13:20
minutejosch: CONFIG_CPU_FREQ_GOV_USERSPACE at lesat13:20
minuteat least13:20
joschoh interesting13:20
joschcan you leave a comment in that file as a rationale?13:20
joschotherwise in a few years we'll wonder why things were changed13:21
joschas in: when i speak to linux kernel maintainers in Debian i want to be able to argue why some changes are needed13:21
minuteit is somehow required by imx8mp power management stuff13:21
minuteand that is required to get display working13:26
minuteand i want display as early as possible, otherwise other errors might be invisible13:27
minutethat's my rationale13:27
+ mjw (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)13:29
minuteok, we need some more people willing to test that build13:32
minuteamospalla: you around?13:32
amospallaminute: yep13:32
amospallaneed a kernel tester?13:33
minuteamospalla: yess13:34
amospallaI eat kernels, give me a kernel.13:35
minuteamospalla: https://source.mnt.re/reform/reform-debian-packages/-/jobs/5407/artifacts/file/repo/pool/main/l/linux/linux-image-6.10.3-mnt-reform-arm64_6.10.3-1+reform20240812T100643Z_arm64.deb13:36
minuteamospalla: nomz13:36
minuteinteresting, using 2 separate antennas seems to work even better13:36
amospallaminute: booted 5/5 times, something imposible before this new kernel.13:44
amospalla:D13:44
amospallano wireless though, but I guess it is expected because I would need the qcald-* corresponding package (just being informative here).13:46
minuteamospalla: thaaanks, that's extremely good news13:46
minuteamospalla: and yeah, you're correct about wifi13:46
amospallathank you very much minute ! 13:47
amospallato me, you do black magic like13:47
minutejosch: could we release this and then minimize the module config in another branch?13:48
minutethat way, people could continue updating etc13:48
+ mrdaught (~mrdaught@2607:fb91:eae:d30b:3cec:ed86:c2ea:8502)14:02
minuteok, firstly i'm gonna merge this now14:05
+ mark_ (~mjw@gnu.wildebeest.org)14:14
- mrdaught (QUIT: Read error: Connection reset by peer) (~mrdaught@2607:fb91:eae:d30b:3cec:ed86:c2ea:8502)14:29
+ mrdaught (~mrdaught@2607:fb91:eae:d30b:3cec:ed86:c2ea:8502)14:30
- mrdaught (QUIT: Read error: Connection reset by peer) (~mrdaught@2607:fb91:eae:d30b:3cec:ed86:c2ea:8502)14:33
+ mrdaught (~mrdaught@2607:fb91:eae:d30b:3cec:ed86:c2ea:8502)14:35
+ bkeys (~Thunderbi@45.134.140.153)14:41
- mrdaught (QUIT: Read error: Connection reset by peer) (~mrdaught@2607:fb91:eae:d30b:3cec:ed86:c2ea:8502)14:42
- mark_ (QUIT: Ping timeout: 260 seconds) (~mjw@gnu.wildebeest.org)14:43
+ murphnj (~murph@user/murphnj)14:43
sevankop316: thanks for the pointer, I'll use that in the future, ended up commenting out of the one line in /etc/apt/sources.list and finishing the upgrade.14:46
joschoh absolutely! people being able to update their systems again naturally has priority :)15:02
joschah i see you already pressed the merge button, good15:02
+ mrdaught (~mrdaught@2607:fb91:eae:d30b:3cec:ed86:c2ea:8502)15:07
+ mark_ (~mjw@gnu.wildebeest.org)15:16
minutejosch: thanks! :315:20
minutei will reenable the repo sync15:21
minutedone15:25
- mark_ (QUIT: Ping timeout: 248 seconds) (~mjw@gnu.wildebeest.org)15:42
minuteamospalla: you should now be able to update and (re)install that kernel package cleanly via apt15:52
amospallaminute: thank you, I just did :D15:52
minutegreat15:53
joschminute: if you slab a new git tag like 2024-08-12 to https://source.mnt.re/reform/reform-rk3588-uboot/ then we can also start producing system images for rk3588-mnt-pocket-reform15:59
minutejosch: alright, just a moment16:06
minutejosch: tag pushed16:07
joschthank you!16:07
joschi'm surprised there is only a single u-boot binary independent of the mainboard -- is this only a short-term solution and will there need to be different u-boot blobs in the future?16:09
minutejosch: that's yet unclear. 16:10
joschoka16:11
joschanything else for the next reform-tools release?16:11
joschis anybody with an imx8mq around who can test something for me?16:13
minutejosch: maybe! we do have an imx8mq laptop here. but it hasn't been updated in ages (it's very very slow to do that on sd card)16:15
amospallajosch: the u-boot serial log?16:15
joschamospalla: you have an imx8mq? i thought you only had a pocket?16:15
joschminute: thank you for your offer but this is not important i think and we'll find somebody from the community who can help :)16:16
minutejosch: ok, phew :D16:16
amospallajosch: oh, yes, you are right, mine is plus.16:16
minutei'm happy that two major headaches got solved on one day... 6.10.3 for imx8mp and wifi for a311d (and maybe others!)16:17
amospallaI'll try to get the u-boot serial log on my pocket, if I'm able to.16:17
joschamospalla: that would be useful!16:18
joschminute: but with a311d in the big reform i'm still stuck, no?16:19
amospallaI bought weeks ago a usb-serial adapter, and later I found one somewhere at home I didn't knew I had.16:19
minutejosch: true ;/ you could bodge a mediatek usb wifi in there......16:19
minutejosch: but maybe you'll be on rk3588 soon?16:19
joschdepends... a311d does everything i want right now :)16:20
amospallaDo you know of any trick for not having to open each time wanting to connect to serial?16:20
joschminute: you could probably tempt me if rk3588 had suspend support ;)16:22
minutehaha that's like the biggest possible challenge :D16:27
minuteamospalla: feeding  serial cable out on one side ;)16:27
amospallayeah, that would be a good mod16:32
- mrdaught (QUIT: Read error: Connection reset by peer) (~mrdaught@2607:fb91:eae:d30b:3cec:ed86:c2ea:8502)16:38
- colinsane (QUIT: Quit: bye) (~colinunin@97-113-70-61.tukw.qwest.net)16:49
+ colinsane (~colinunin@97-113-70-61.tukw.qwest.net)16:55
^alexamospalla, we were thinking of modding the UART onto one of the USB sideband pins, but we don't have sufficient SMT skill to touch the usb-c port >.>17:14
^alexalso our power-save changes seem to have cut down on the percentage that it takes off the battery gauge overnight \o/17:16
amospallathis power save sound great17:19
^alexit's mostly "cut off clocking to various parts of the keyboard and system controllers"17:22
^alexalso our perennial brainbug of "rewrite the firmware in forth" hasn't hit yet, waiting for it17:28
+ mrdaught (~mrdaught@2607:fb91:bd14:1f65:8489:7da7:f8b8:258)17:33
- mrdaught (QUIT: Read error: Connection reset by peer) (~mrdaught@2607:fb91:bd14:1f65:8489:7da7:f8b8:258)17:36
+ mark_ (~mjw@gnu.wildebeest.org)18:33
joschhaha :D18:47
* mjw -> Guest313119:25
- Guest3131 (QUIT: Killed (calcium.libera.chat (Nickname regained by services))) (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)19:25
* mark_ -> mjw19:25
+ Guest3131 (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)19:26
chartreusejosch: But if you get the rk3588 then maybe you or someone else will get suspend working :P19:51
chartreuse^alex: For the full reform my keyboard code put the controller to sleep only to be woken up by the WDT ever second or so to poll the keyboard. If on on the pocket the circle key is on a pin that can trigger interrupts you can go even lower power there by just setting up the keyboard and sleeping till an interrupt19:52
^alexchartreuse, thats the general plan, but going dormant on the rp2040 is Fun With Clock Trees19:55
joschchartreuse: there is absolutely zero chance that i will be that person though :)19:55
^alexwe also want to, like, shut down the USB hardware when the system is off, and that takes a bit more tinkering19:56
joschchartreuse: plain lack of skill on my part :)19:56
chartreuseI thought the USB hardware would already be off? On the main reform the LPC controls the power rails and shuts off them when the system is off, only the 5v standby supply goes to the keyboard and LPC19:58
^alexthe pocket keyboard continues to power its device-end hardware while the main board is off20:01
^alexcontinues to call tud_task, etc20:01
^alexanyway our basic experiments with `__wfi()` end up freezing the keyboard, jacking up its other timings, or making it not enumerate20:02
chartreuseAh okay it's solely over USB then, the keyboard on the reform2 has a second serial bus to talk with the LPC without using USB20:06
chartreuseYou probably have to find some lower level commands on the RP2040 to temporarilly disable the USB stack running on it before entering sleep20:07
^alexit isn't solely over usb, there is a uart to the system controller, but the tinyusb stack remains running even with the system off20:10
^alexsimilarly the syscon firmware polls the charger when it can instead be woken on interrupt20:11
^alexand yeah, we've been spending a lot of free time reading the 2040 datasheet and sdk20:11
^alexand i'm pretty sure the example code for gpio wakeup is just flat out wrong20:12
^alexwe really ought to tack some magnet wire to the test pads so we can picoprobe things >.>20:12
chartreuseOther possibility is that the gpio is being used by a PIO, they can't entirely be shared as I found out20:12
+ bkeys1 (~Thunderbi@45.134.140.153)20:17
- bkeys (QUIT: Ping timeout: 248 seconds) (~Thunderbi@45.134.140.153)20:17
+ bkeys (~Thunderbi@45.134.140.153)20:18
- bkeys1 (QUIT: Ping timeout: 252 seconds) (~Thunderbi@45.134.140.153)20:21
- dodo (QUIT: Quit: dodo) (~dodo@user/dodo)20:35
+ dodo (~dodo@user/dodo)20:37
^alexnah i'm pretty sure the PIO pins on the keyboard are dedicated to the thing they're PIOing20:55
Twodisbetteranyone know if it is possible to get waybar to autohide like a normal taskbar? That is that it is normally hidden, but if you move the mouse cursor to the top of the screen it will slide down. When you move the mouse away from it, it then again hides.21:50
Twodisbettersomething like that possible?21:50
jfredJust installed the replacement battery cells I ordered for my big Reform, fingers crossed that solves the issues I've been having. I think most of the old cells had been over discharged before I got the protected battery boards21:57
joschTwodisbetter: people are achieving this by making waybar conditionally transparent: https://github.com/Alexays/Waybar/discussions/322521:57
Twodisbetterthanks Josch, I'll dig into it and see if I can that to work as well22:00
Twodisbetterdo you know how the stuff for the sway config would be used in the wayfire.ini?22:01
Twodisbetterstuff is escaped and qeued differently and I'm not sure where to begin there22:04
- gustav28 (QUIT: Quit: Quit) (~gustav@c-df53205c.019-141-67626730.bbcust.telenor.se)22:15
- jacobk (QUIT: Ping timeout: 248 seconds) (~quassel@47-186-105-237.dlls.tx.frontiernet.net)22:35
- chrcav (QUIT: Ping timeout: 252 seconds) (~chrcav@user/chrcav)23:08
+ chrcav (~chrcav@user/chrcav)23:10
- sir-photch (QUIT: Remote host closed the connection) (~m-hy5poy@static.93.70.235.167.clients.your-server.de)23:15
+ sir-photch (~m-hy5poy@static.93.70.235.167.clients.your-server.de)23:17
+ mrdaught (~mrdaught@2607:fb90:df83:d4d9:711f:2acb:7f48:fc79)23:34
- mrdaught (QUIT: Read error: Connection reset by peer) (~mrdaught@2607:fb90:df83:d4d9:711f:2acb:7f48:fc79)23:36

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