2025-09-28.log

joschminute: currently reform-system-image:mkimage.sh just downloads the latest reform-setup-wizard artifacts from https://source.mnt.re/reform/mnt-reform-setup-wizard/-/jobs/artifacts/main/raw/target/aarch64-unknown-linux-gnu/release/reform-setup?job=build-cross00:03
joschminute: this is not intended, no? this means that the system image also will contain the latest experiments: https://community.mnt.re/t/installer-crashing-instead-on-ssd-step/389300:03
joschminute: would you like me to hot-fix this with the reform-setup-wizard version from August, before the SSD installation page was added?00:06
minutejosch: oh yes, thanks00:06
chi think lvfs-testing was updated, so people could try fwupdmgr enable-remote lvfs-testing && fwupdmgr refresh --force and then there should be updates00:07
chlooking at josch (:00:07
joschin about half an hour i can do that! :)00:08
joschch: Devices with the latest available firmware version: Pocket Reform System Controller 1.000:14
chboo00:14
josch(output of sudo fwupdtool get-updates)00:15
chhmm, it is in the testing metadata though00:16
joschlet me paste what i see here, sec...00:16
chmaybe also paste fwupdmgr refresh --force --verbose00:18
joschch: https://paste.debian.net/139842400:21
chyeah strange00:23
chmaybe tomorrow then00:23
joschit's like debian, just wait 6 hours :)00:24
chtbh i dont know how i actually manage to do that00:25
chbut i guess for the important packages i just dput && go to bed00:25
joschit's a good strat00:25
joschminute: could you please enable the gitlab CI runner for https://source.mnt.re/josch/mnt-reform-setup-wizard/00:39
joschunfortunately the old artifacts in the original mnt-reform-setup-wizard repo all expired00:51
joschthere are some old wizard binaries in existing system images but sourcing those would not be ideal00:52
+ mjw (~mjw@195.23.216.83)01:35
minutech: solved the hang02:26
minutech: it was something very simple02:26
minutech: it's the sleep_ms(1)02:26
minutech: obvs one cannot sleep in a timer interrupt m)))02:26
minutethis was the main problem https://source.mnt.re/reform/pocket-reform/-/merge_requests/56/diffs#1ca29a0ee9ffa6b8a763636f1f51dc66e4193f7a_559_56702:59
minutei've also disabled all printfs in spi handler by default...02:59
minutesadly the assert never made it i guess https://github.com/raspberrypi/pico-sdk/issues/10803:06
minute(but this should have really occured to me)03:06
- mjw (QUIT: Ping timeout: 244 seconds) (~mjw@195.23.216.83)03:32
- synnfynn (QUIT: Quit: Lenore..) (~synnfynn@user/synnfynn)03:35
- paperManu (QUIT: Ping timeout: 245 seconds) (~paperManu@64.58.44.160)03:48
- nsc (QUIT: Ping timeout: 250 seconds) (~nicolas@i5C74DF5A.versanet.de)03:51
+ nsc (~nicolas@247-96-142-46.pool.kielnet.net)03:52
+ paperManu (~paperManu@64.58.44.160)03:55
- op_4 (QUIT: Remote host closed the connection) (~tslil@user/op-4/x-9116473)04:05
+ op_4 (~tslil@user/op-4/x-9116473)04:05
- paperManu (QUIT: Ping timeout: 245 seconds) (~paperManu@64.58.44.160)04:25
- sigrid (QUIT: Ping timeout: 260 seconds) (~sigrid@ftrv.se)05:04
- robin_ (QUIT: Quit: Leaving) (~robin@user/terpri)05:48
chminute: that... makes sense08:33
joschminute: oh no, when you yesterday said "really gaming now" it was actually playing the firmware game on a saturday night?? XD09:26
+ reform14647 (~m@ip2504e528.dynamic.kabel-deutschland.de)09:45
reform14647minute: i have two ways forward to temporarily patch the reform-setup-wizard situation in the latest system images:09:46
+ sigrid (~sigrid@ftrv.se)09:47
reform14647a) use reform-setup-wizard from unstable -- this works (i'm writing from a setup installed with that right now) and i can merge this right now09:47
reform14647b) use an older version of reform-setup-wizard from git (before the SSD page was added) but newer than what is in Debian -- for that i need the gitlab CI runner to be enabled for https://source.mnt.re/josch/reform-setup-wizard and/or privileges to create new branches in the reform/reform-setup-wizard repo09:48
reform14647this is just a stop-gap-measure. I think in the medium term, there should be a new git tag for reform-setup-wizard and mkimage.sh should get the CI artifacts from that or you do reform-setup-wizard development in a branch that is not the master branch.09:50
reform14647the reason i need the CI runner is that gitlab removed the old artifacts weeks ago but that will not happen if there is either a new tag or a separate branch that mkimage.sh can get the artifacts from09:51
+ gustav2 (~gustav@c-78-82-55-162.bbcust.telenor.se)10:02
- reform14647 (QUIT: Quit: Leaving) (~m@ip2504e528.dynamic.kabel-deutschland.de)11:39
joschi now have sysctl and keyboard firmware 20250927 on my pocket reform thanks to ch -- lets see if there are any issues when daily driving it :)12:14
ch\o/12:16
chminute: i just discovered, if you have the embargo remote, you can do sth like `fwupdmgr install --allow-older a5a1c402d8e97c20fe267b0050b89dac9edca9b4` and it will prompt for the version you want; from there you can also pick any of the g* versions12:16
chjosch: i think your quectel reset on sysctl update is not normal. at least the wifi card doesnt reset for me. i assume your quectel is in the slot i have the wifi in?12:23
chjosch: ie the other slot is nvme?12:23
joschch: correct12:23
chand it happens every time, i guess?12:24
joschyes12:24
+ plomtest (~plom@user/plomtest)12:24
joschevery time i update the sysctl firmware, yes12:24
- plomtest (QUIT: Remote host closed the connection) (~plom@user/plomtest)12:25
chah i see why :(12:26
chMODEM_PWROFFn doesn't go via the latch12:26
josch--verbose plz12:27
chso, sysctl has a few pins to control power12:30
chwhen the sysctl resets, they reset to something (probably digital inputs), so they are not driven anymore12:30
+ plomtest (~plom@user/plomtest)12:31
- plomtest (QUIT: Remote host closed the connection) (~plom@user/plomtest)12:31
chthe signals going to display+som go there via a latch chip (74HC573), so the timing is controlled12:31
chand also that avoids an accidental reset of these signals12:31
chbut the two signals going to the modem M.2 go direct12:31
joschooooh12:32
chso the quectel will see the reset and indeed reset12:32
chand i assume the wifi cards just ignore these lines12:32
joschah well, i mean how often do i update the sysctl firmware :)12:32
chtbh i'd be quite annoyed ;)12:33
chgood thing i didnt put the quectel in yet12:33
joschcompared to the other issues like sysctl reset on battery, brownouts, keyboard resets etc, this is really not an issue XD12:33
josch(imho)12:33
joschi mean it comes right back up12:33
chyeah if you don't flash the firmware all day long12:33
joschi also have the wifi board on order so i'll not rely on LTE in the future :)12:34
josch(and i always could have ethernet plugged in if i wanted)12:34
chthe ethernet might also need a good look one day (:12:35
joschwhat's wrong with ethernet?12:35
chi had some trouble with it the other day, but didnt spend time on it12:35
joschoh, i didn't have any so far12:35
chhttps://paste.debian.net/hidden/12f106ef/ 'now which version is better'12:36
ch(probably neither)12:37
chi can confirm the sysctl doesnt crash anymore on shutdown, at least not in a way i can notice12:47
chand now i just got a linux stacktrace which i think means the mmc failed to init :O12:48
chalso did booting to some visible display output get slower at some point?12:48
joschgood question and there are other things where i feel there are regressions but i cannot test because we no longer have the artifacts to test this around and rebuilding stuff is time-consuming13:00
joschi am contemplating to press the button which preserves artifacts more regularly for reform-system-image and/or reform-debian packages13:01
joschlike, maybe every month or every two months?13:01
joschfor example, 1080p playback is maxing out all my cpu cores on a311d with mpv and lots of frames are dropped. Was this always like that? I remember differently but i cannot easily test the state from one year ago... :/13:02
- casparvitch (QUIT: Remote host closed the connection) (~casparvit@user/casparvitch)13:13
+ casparvitch (~casparvit@user/casparvitch)13:13
+ plomtest (~plom@user/plomtest)13:29
chi asked hughsie on fedi about the 50213:32
minutech: i think yours is the better way (the one that reads only if the write worked), but afaik you can't check for errors like that, because > Number of bytes written, or PICO_ERROR_GENERIC if address not acknowledged, no device present, or PICO_ERROR_TIMEOUT if a timeout occurred13:51
chyeah13:52
chin my branch i have >= 0 now13:52
minuteah good13:52
minuteshouldn't it be >= 1? :D13:52
chuh13:52
chi'll make a note13:52
minuteor == 113:52
minutebecause you want to write 1 byte there13:52
+ paperManu (~paperManu@64.58.44.160)14:02
minutefascinating https://blogs.gnome.org/gtk/2025/09/15/casilda-1-0-released/14:34
joschminute: any thoughts on how i should proceed with fixing the reform-setup-wizard? see my messages up in the backlog. I'm currently blocked by gitlab CI runner not being enabled on https://source.mnt.re/josch/mnt-reform-setup-wizard/14:34
minutejosch: ah yes, sorry. i can enable the runner in 5 minutes. 14:35
joschminute: i don't want to be pushy, it's no problem if this doesn't get fixed today (it's sunday after all) but just giving you the option of acting if you would like :)14:35
minutejosch: no problem, it's good to chase me sometimes :314:40
joschokay, thank you! <314:41
josch(same here, please ping me as often as needed)14:41
josch(my work is very much interrupt driven, unfortunately...)14:41
minutejosch: runner assigned!14:43
joschokay, great!14:43
joschthen i'll temporarily use the build artifacts from reform-setup-wizard/josch for the system image14:43
josch(until the main repo is fixed)14:44
minutethat's fine!14:46
joschminute: do you have time/headspace to talk about a more sustainable solution for the future?14:46
joschmaybe git tag more often and then retrieve the CI artifacts from the tag?14:47
joschor work with branches instead?14:47
minutejosch: i'm in a hurry r/n but system image should rather pull a known good tag from setup wizard yes. 14:48
minuteideally possible to override via CI variable14:48
minute(for test builds)14:48
joschoh no, building reform-setup-wizard fails because rust crates like serde fail to build right now in unstable... :(14:49
joschi'll investigate14:49
joschproblem fixed (will prepare a MR for reform-setup-wizard in a bit) and i'm now flashing the image created by https://source.mnt.re/reform/reform-system-image/-/merge_requests/14015:33
minutenice15:40
joschis this loading for anybody? https://source.mnt.re/reform/reform-system-image/-/jobs/13401/raw15:55
minuteno not really15:55
joschoh no :(15:55
joschwas there a gitlab upgrade or is the css just not loading in? the interface looks different16:11
joschah it works now16:12
joschcould this be connected with me having deleted 20 GiB of old artifacts?16:12
chprobably16:12
chthat happens on a background worker16:12
chmaybe you have now io-starved something relevant :D16:13
chor the job log was part of the 20gb16:13
chseems to load for 1340216:13
joschminute: to help with such problems in the future, what do you think of (by default) only produce *all* system images when reform-system-image builds for the main branch in the "reform" namespace and otherwise default to only building the reform-system-any image?16:17
joschfor example, before i deleted one artifact worth 20 GiB there were five times 20 GiB artifacts for each commit I did to the pipewire-pulse fixup branch from the day before yesterday16:18
chat least the MR build should probably do a full build, otherwise you dont know ahead of merging if it will build?16:27
ch(maybe i'm missing something obvious)16:28
ch# [battery] [ERROR] gauge did not respond16:28
ch^ random observation16:28
joschch: very rarely are the bits touched which would make the non-any images not build16:29
joschbut committing five times to a feature branch is "normal" i'd say and it shouldn't happen that doing so kills future CI builds without a good error message16:30
ch+116:30
chmaybe its also fine if the merged build breaks, after all it can be fixed16:31
ch(sometimes i forget we're not in an enterpriseland)16:31
joschit's all not optimal but 20 GiB is a lot of data, so i'm also not too upset about this not being all smooth. I think it broke now because we had the unusual combination of the pipewire-pulse fixes 2 days ago, the reform-setup-wizard fixes yesterday and today and then today the weekly rebuild was scheduled on top of all that in a relatively short timeframe16:33
chsomewhat tempted to cut the ixeth cable short, but i'll suck at putting a new rj45 on16:44
chjosch: does the pocket eth link at 1gb/s for you?16:46
chmaybe my cable is broken16:46
joschch: i think it did a few weeks ago but i cannot try right now because i do not have a gigabit ethernet switch at home16:48
chhm, replugging gives 1gbit/s16:58
chlets ignore this16:58
chalso this advice from 2020 is still true: https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/networkmanager-and-ipv4ll-link-local-4175672529/#post610834716:59
* gachikuku_ -> gachikuku17:24
chsigh, making the sysctl crash on startup is not great17:57
+ jogu (~jogu@user/jogu)17:58
chone of these moments where i'm guessing "wouldnt have happened with rust"18:17
+ erle (~erle@user/erle)18:23
chmaybe i solder something to TP5,618:40
minutech: how did you do it?18:42
minuteor... what's cooking? :D18:42
chi tried adding a second usb class driver18:46
chbut tinyusb crashes on me18:46
chwhat i really want is to have persisted feature flags on the sysctl, so i can stop having a custom firmware build18:47
chbut then i need some way of setting those, thus usb interface18:47
chi'm hoping if i get swd to work i can step through tinyusb init18:47
chGND on green wire #electricalcrimes19:20
ch[rp2040.core0] halted due to breakpoint, current mode: Handler HardFault19:29
chpromising19:29
+ MartiniMoe (~moe@p200300eecf1ede3ccabdf6241f8d413a.dip0.t-ipconnect.de)19:31
- GNUmoon2 (QUIT: Remote host closed the connection) (~GNUmoon@gateway/tor-sasl/gnumoon)19:33
+ GNUmoon2 (~GNUmoon@gateway/tor-sasl/gnumoon)19:33
+ AnimaInvicta (~AnimaInvi@88-120-179-216.subs.proxad.net)19:51
- jogu (QUIT: Remote host closed the connection) (~jogu@user/jogu)19:55
^alexch, oh we love "current mode: Handler HardFault"20:08
^alexalso IMO instead of adding another USB interface to the syscon, you could extend the serial parser20:09
ch^alex: do you happen to know what the actual problem is here: https://source.mnt.re/reform/pocket-reform/-/merge_requests/6020:23
chon second thought, i guess inline without static is really dangerous there20:25
+ synnfynn (~synnfynn@user/synnfynn)20:55
+ mjw (~mjw@195.23.216.83)21:42
- synnfynn (QUIT: Quit: ..) (~synnfynn@user/synnfynn)22:01
- gustav2 (QUIT: Quit: Quit) (~gustav@c-78-82-55-162.bbcust.telenor.se)22:15
* nyana -> jana22:23
* jana -> janaa22:23
- MartiniMoe (QUIT: Remote host closed the connection) (~moe@p200300eecf1ede3ccabdf6241f8d413a.dip0.t-ipconnect.de)22:30

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