2024-07-26.log

^alexjosch, thanks, we got the new system image flashed over the MMC with that link00:02
+ xktr (~xktr@user/xktr)00:02
- sbp (QUIT: Ping timeout: 246 seconds) (~sbp@tea.infomesh.net)00:26
+ sbp (~sbp@tea.infomesh.net)00:26
- sbp (QUIT: Changing host) (~sbp@tea.infomesh.net)00:58
+ sbp (~sbp@apache/doge/sbp)00:58
- sevan (QUIT: Ping timeout: 272 seconds) (~sevan@2001:470:1f1d:1d6:5a55:caff:fe24:ed4)01:46
- mjw (QUIT: Ping timeout: 248 seconds) (~mjw@gnu.wildebeest.org)01:47
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:50)01:56
+ sevan (~sevan@2001:470:1f1d:1d6:5a55:caff:fe24:ed4)02:02
- mtm (QUIT: Ping timeout: 276 seconds) (~textual@c-71-228-84-213.hsd1.fl.comcast.net)02:03
+ mtm (~textual@c-71-228-84-213.hsd1.fl.comcast.net)02:04
^alexand we've got the keyboard layout _mostly_ tweaked for our tastes :) still not happy with the bottom row at the moment02:10
- mtm (QUIT: Ping timeout: 260 seconds) (~textual@c-71-228-84-213.hsd1.fl.comcast.net)03:15
- gustav28 (QUIT: Quit: Quit) (~gustav@c-5234524e.019-141-67626730.bbcust.telenor.se)03:25
+ mtm (~textual@c-71-228-84-213.hsd1.fl.comcast.net)03:39
- bkeys (QUIT: Remote host closed the connection) (~Thunderbi@45.134.140.153)04:59
- jn (QUIT: Ping timeout: 252 seconds) (~quassel@user/jn/x-3390946)05:12
+ jn (~quassel@2a0a-a549-b49d-0-20d-b9ff-fe49-15fc.ipv6dyn.netcologne.de)05:13
- jn (QUIT: Changing host) (~quassel@2a0a-a549-b49d-0-20d-b9ff-fe49-15fc.ipv6dyn.netcologne.de)05:13
+ jn (~quassel@user/jn/x-3390946)05:13
^alexwooo time to unbrick the keyboard05:18
joschminute: i want to move the files in /etc/skel as well as /etc/motd from reform-tools to reform-system-image. Rationale: packages are not allowed to ship files in /etc/skel in Debian and the {DATE} in /etc/motd should not reflect the reform-tools date but the system-image creation date, so this helps the package being uploaded into Debian. Do you see any downsides of such a move?07:12
joschI'm also thinking about breaking out /usr/share/fonts/Iosevka-Term to its own package because we are not building the font from source right now07:13
joschor also ship the font by reform-system-image and put it into /usr/local/share/fonts/07:13
joschlist of things to package before iosevka can be in debian: https://wiki.debian.org/Javascript/Nodejs/Tasks/Iosevka07:17
joschuuuh Gürkan Myczko is working on packaging it... i contacted them08:00
+ laumann (~quassel@2a0a-e5c0-2-2-0-c8ff-fe68-bef1.loves.ipv6.at.ungleich.ch)10:02
- laumann (QUIT: Changing host) (~quassel@2a0a-e5c0-2-2-0-c8ff-fe68-bef1.loves.ipv6.at.ungleich.ch)10:03
+ laumann (~quassel@user/laumann)10:03
joschch: i was thinking more about the firmware update situation and i think i like the idea of a dedicated usb-stick or sd-card more for a reason which only just occurred to me: the systemd solution will not work for people running openbsd, plan9 or any other OS without systemd and i think it would be useful that whatever solution is implemented works independent on what OS the user is running10:17
joschso similar to back in the day where bios updates worked by users inserting a floppy drive with ms-dos on it which also worked independent on the OS the user had installed10:18
chjosch: yes its useful (maybe "required") to have that, but also its annoying to use. if the systemd thing can exist additionally, maybe by reusing 95% of what you have for the boot disk version that'd be nice10:37
chjosch: i guess fwupdate.sh could be make-fwupdate-bootdisk.sh which does the mmdebstrap, sets up uboot/whatever, does the flash using picotool using the same systemd-update infra, and then that resulting image can be reused and mounted as nextroot10:38
joschch: yes, that can certainly be done -- it's just a question of how much time there is in a day to support X things :)10:40
chsure10:40
joschch: i can give you git push commits if you like to help ;)10:40
joschs/commits/rights/10:41
chbut if someone works on the bootdisk variant anyway, as long as it is systemd-based, its easy to stick into the nextroot machinery10:41
chi was defering any real implementation work until i got hardware to try it out on, but yeah why not10:41
joschch: you are waiting for a pocket?10:42
chyep10:42
joschnice :)10:42
ch(and an RK module, but thats even further out i think)10:42
joschnot by that much! apparently the new adapter board revision got ordered recently :)10:43
ch:)10:43
- qbit (QUIT: Remote host closed the connection) (~qbit@mail.suah.dev)11:15
+ qbit (~qbit@mail.suah.dev)11:16
joschCreating a "very minimal" rescue disk does not really seem to be possible with requirements like "display is working" and others. So maybe we are back at ch's idea and use the systemd methods and users who do not use Debian on their systems can just download and flash the latest system image onto an sd-card or usb-stick and run the flasher from there.12:08
joschThis also makes me again think about having the reform-specific firmware (keyboard, trackball, lpc...) available in a debian package because the rescue sd-card will not necessarily have internet, so we'd like to ship the firmware as a deb to integrate it into the image. This would then also allow the firmware to be distributed via the MNT apt repo instead of downloading it from CI.12:11
joschSince the pico-sdk itself is also packaged, maybe it would not even be too difficult to have a reform-firmware package in Debian main.12:12
joschBut then i again think about the way that the firmware is currently packaged in one big mono-repo and how debian tooling is not really prepared for dealing with extracting subdirectories from mono-repos or with writing debian/watch files which make uscan download the necessary parts automatically.12:14
joschch: any ideas regarding my musings?12:14
chjosch: my expierence from other projects tells me that 'minimal environments for X' that are meant to work 'everywhere' tend to be not very minimal, and indeed more or less often are a copy of the real thing - thus it makes sense to me to just provide everything in, say, "debian", and find a way of reusing 99% and a few special things to make flashing work safely12:27
chcant the mono-repo be a single (source) package in debian?12:27
ch(not sure what exactly you have in mind)12:27
jnone debian source package can produce many binary packages, so maybe that's how to deal with a big monorepo12:27
+ mjw (~mjw@gnu.wildebeest.org)12:59
- ptrc (QUIT: Remote host closed the connection) (~ptrc@ptrc.gay)13:13
+ ptrc (~ptrc@ptrc.gay)13:14
joschch, jn: true but the mono-repo contains nearly 12k files with 720 MB of data...13:15
chd/copyright has some Exclude filter and i think we have tools using that ;-)13:16
ch(to build an orig tarball)13:16
joschch: yes, but Files-Excluded is very bad at expressing things like "everything in this directory, except..."13:18
ch:-/13:18
joschso one way or the other this is a maintenance nightmare for downstreams13:18
joschi may bite the bullet at some point...13:19
chin the mnt repo there could also be an dist-firmware-tarball make target or similar13:19
chstill not the nicest thing in the world, but maybe better than pushing the filtering downstream13:20
joschyes, maybe having this would be nice anyways, because git tag in a mono-repo get applied to everything and it is not very meaningful to create a tag for the keyboard firmware and let that bump the version for the trackball and lpc firmware as well13:20
chagreed13:21
joschminute: i'll give packaging the mono-repo another try. I created a new tag to try and package the latest version: https://source.mnt.re/reform/reform/-/merge_requests/7014:18
+ bkeys (~Thunderbi@45.134.140.153)14:58
joschch: did you know that Files-Included is a thing? :)15:04
chno :)15:05
- bkeys (QUIT: Remote host closed the connection) (~Thunderbi@45.134.140.153)15:07
joschch: me neither -- in our defense, there are only 20 source packages in the archive which make use of this uscan feature :)15:07
joschand it's not documented in the uscan man page either15:07
chdoes it work? :)15:11
joschi'm waiting for minute to create another tag, then i'll give it a try15:11
+ bkeys (~Thunderbi@45.134.140.153)15:21
- bkeys (QUIT: Remote host closed the connection) (~Thunderbi@45.134.140.153)15:22
+ bkeys (~Thunderbi@45.134.140.153)15:24
+ bkeys1 (~Thunderbi@45.134.140.153)15:35
- bkeys (QUIT: Ping timeout: 265 seconds) (~Thunderbi@45.134.140.153)15:37
* bkeys1 -> bkeys15:37
- bkeys (QUIT: Remote host closed the connection) (~Thunderbi@45.134.140.153)15:41
joschch: it works kinda16:21
joschch: the problem is, that Files-Excluded really only excludes files and leaves 740 empty directories16:21
josch"find . -type d -empty -delete" gets rid of them but they are still part of the orig tarball16:22
joschminute: reform2-keyboard-fw/lufa-master and reform2-trackpad-fw/lufa-master seem to be identical -- maybe one can be a symlink to the other?16:30
joschthe lufa-master directory is 21 MB large...16:30
- jn (QUIT: ) (~quassel@user/jn/x-3390946)16:31
- cobra (QUIT: Ping timeout: 244 seconds) (~cobra@user/Cobra)16:57
+ cobra (~cobra@user/Cobra)16:59
+ jn (~quassel@cgn-89-1-58-183.nc.de)17:21
- jn (QUIT: Changing host) (~quassel@cgn-89-1-58-183.nc.de)17:21
+ jn (~quassel@user/jn/x-3390946)17:21
* mjw -> Guest541517:57
* Guest9247 -> mjw17:57
+ NanoCodeBug (~NanoCodeB@c-73-35-191-67.hsd1.wa.comcast.net)19:05
NanoCodeBugI'm interested in bringing up the raspi CM4 for the pocket reform.19:10
NanoCodeBugI have a raspi CM4, pocket reform, and cm4 io board. Is the only known issue adding the dts overlay for the jdi lt070me05000?19:10
* mjw -> Guest629919:56
* Guest5415 -> mjw19:56
^alexw/r/t the Industrial Ethernet port, is there an adapter from that to an RJ45 _jack_? we only see plug-to-plug.19:57
^alexor could we Just(tm) use an rj45 coupler to extend the cable19:58
+ gustav28 (~gustav@c-5234524e.019-141-67626730.bbcust.telenor.se)20:02
minuteNanoCodeBug: yep, but also tweak the jdi driver a bit to make sure it is tolerant of non existing gpios20:23
minuteNanoCodeBug: take a look at my jdi driver patches in reform-system-image repo20:24
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:50)20:24
minute^alex: i would like to have that kind of adapter too. i forget to design one20:24
minutejust a smol pcb with ix plug and eth jack20:25
jfredI was looking around for one of those adapters but yeah doesn't seem like anyone makes them20:26
jfredI ordered an ix cable off crowd supply to go with my pocket which has come in handy already20:28
chartreuseMaybe a very short ix cable with a coupler heat shrunk onto it 20:29
jfredI should probably test my usb-c docking station with the pocket too, I know the DP alt-mode won't work but it has an ethernet port and stuff too... whether or not it'll charge will be the big question I suppose20:29
jfredUSB-C cable plus microHDMI would be alright for docking the pocket20:30
minutejfred: with updated sysctl fw there is a good chance it will charge20:30
jfredI have had mixed success with USB-C chargers still (unless there's a newer fw version than the one I flashed from the forum a while back;)20:32
^alexminute, the poster frame of the video in the mouser marketing announcement for the ix ethernet port shows exactly that pcb lmao20:32
minutejosch: good call @ lufa20:32
joschminute: i'm preparing a lufa MR for you right now -- i'll finish it tonight20:33
jfred^alex: lmao you're right20:33
minutereform repo also potentially contains some cruft20:33
minutejosch: if you're mainly concerned with packaging firmware sources, are you already cherry picking those folders only?20:34
^alexalso yeah our Belkin USB-C charger only charges the Pocket when it's off, and only through the Thunderbolt cable, and it doesn't like any of our apple chargers; our next thought is to do a coldstart by shutting the power off and tapping the uart on the pins externally20:34
jfred^alex: oh though I guess you'd want a male ix connector on one side, that PCB has a female connector20:34
minute(typing this from a train being on a mega delayed and diverted train ride)20:34
minute^alex: this is with updated sysctl firmware?20:35
^alexminute, yeah, we've flashed the updated sysctl20:35
minutehmm20:35
^alexwe'll probably try and capture debug logs after work today or sometime this weekend20:36
joschminute: yes, it turned out that i didn't know something that was possible to do with debian tooling and i'm using that right now to just pick the foo-fw directories out of the mono repo20:36
minuteah you mean sniffing the usb-c pd comms or the rp2040 sysctl uart? that's available internally as ttyACM020:36
minutejosch: great20:36
^alexyes, but we can't sniff that when the machine is off or being coldstarted20:37
minuteah, makes sense20:37
^alexwe don't have a PD protocol debugger20:37
minutethere isn't a physical uart to sniff though20:37
minuteit's virtual via usb20:37
jfredminute: yeah just tried again, even with updated sysctl my anker USB-PD charger won't charge it20:37
minuteyou could reuse the uart facing the keyboard and divert printf debugging to that20:38
^alexwait, the syscon doesn't log to the UART that the SOC isn't using?20:38
minute(from inside sysctl fw)20:38
minute^alex: afaik not20:38
^alexrip20:39
minute^alex: ah, i don't remember if i wired up an uart from sysctl to soc20:39
minutedid i? if so, then you can target that in the fw20:39
^alexlemme stare at the schematics20:39
minute^alex: what about using acm0 over sysctl usb-c? too slow to react?20:40
minute(with alternate jumper setting)20:40
minute(on coldstart you may miss what's happening in the first second or so)20:41
^alexif there were exposed SWD pads we could attach our picoprobe to it20:42
^alexalso we're going to try and look for a right-angle USB-C connector with the right clearance so we don't have to carefully balance the motherboard on cardboard while we're doing this20:43
^alexlol20:43
^alexminute, the syscon approach should work, we can coldstart it while it's not plugged in and wait for the syscon to enumerate20:47
minute^alex: yeah. i use tio for that job20:49
minute^alex: also i use a right angle usb-c plug adapter20:49
^alexwe use `tio` on the pocket but our macbook has `cu` so we use that there20:51
^alexalso yeah we just discovered the existence of those20:51
^alexactually maybe we'll hack the syscon so it logs to a ring buffer20:59
^alexand dumps the buffer on command20:59
^alexthere's enough ram in there for a chonky buffer iirc20:59
- hairu (QUIT: Remote host closed the connection) (m-uotkmd@user/hairu)21:20
+ hairu (m-uotkmd@user/hairu)21:21
- gustav28 (QUIT: Quit: Quit) (~gustav@c-5234524e.019-141-67626730.bbcust.telenor.se)22:15
+ reform17660 (~oskar@2001:a61:10f9:b501:3c4f:920d:9282:f0eb)22:20
reform17660hi22:21
^alexhenlo22:21
reform17660this is my first start with pocket reform - looks like much to learn 22:23
reform17660so for now - i need to rtfm ;)22:24
- reform17660 (QUIT: Quit: reform17660) (~oskar@2001:a61:10f9:b501:3c4f:920d:9282:f0eb)22:26
- colinsane (QUIT: Quit: bye) (~colinunin@97-113-150-69.tukw.qwest.net)23:23
+ colinsane (~colinunin@97-113-150-69.tukw.qwest.net)23:26
^alexoh hey openbsd-current boots to something that vaguely recognizes some devices23:46
^alexbut freebsd gripes that there's no device tree and then throws a panic23:46
- colinsane (QUIT: Quit: bye) (~colinunin@97-113-150-69.tukw.qwest.net)23:48
+ colinsane (~colinunin@97-113-150-69.tukw.qwest.net)23:51
^alexbut really what we want is ARM64 Haiku >.>23:52

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