2024-01-01.log

- eibachd (QUIT: Ping timeout: 276 seconds) (~eibachd@p200300dcf7231c00a5770633acdc9442.dip0.t-ipconnect.de)00:00
+ eibachd (~eibachd@p200300dcf7231c0135aaf86d83f947ba.dip0.t-ipconnect.de)00:01
- eibachd (QUIT: Ping timeout: 256 seconds) (~eibachd@p200300dcf7231c0135aaf86d83f947ba.dip0.t-ipconnect.de)00:08
minutehappy new year in gmt+1!00:13
mjw\o/00:26
+ eibachd (~eibachd@2a01:599:304:e4bf:e31d:f394:16a3:9841)00:26
- klardotsh (QUIT: Ping timeout: 264 seconds) (~klardotsh@c-67-170-115-80.hsd1.wa.comcast.net)00:31
+ chomwitt (~chomwitt@2a02:587:7a0f:8900:1ac0:4dff:fedb:a3f1)00:33
- eibachd (QUIT: Read error: Connection reset by peer) (~eibachd@2a01:599:304:e4bf:e31d:f394:16a3:9841)00:34
+ eibachd (~eibachd@2a01:599:304:e4bf:e31d:f394:16a3:9841)00:36
- eibachd (QUIT: Read error: Connection reset by peer) (~eibachd@2a01:599:304:e4bf:e31d:f394:16a3:9841)00:42
+ eibachd (~eibachd@p200300dcf7231c0007b8f9f0da467c8e.dip0.t-ipconnect.de)00:42
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:20)01:38
- chomwitt (QUIT: Ping timeout: 240 seconds) (~chomwitt@2a02:587:7a0f:8900:1ac0:4dff:fedb:a3f1)03:15
- mjw (QUIT: Ping timeout: 245 seconds) (~mjw@gnu.wildebeest.org)03:23
- qbit (QUIT: Remote host closed the connection) (~qbit@mail.suah.dev)03:26
+ qbit (~qbit@mail.suah.dev)03:29
- nsc (QUIT: Ping timeout: 245 seconds) (~nicolas@231-48-142-46.pool.kielnet.net)03:44
+ nsc (~nicolas@i5E86146A.versanet.de)03:46
+ klardotsh (~klardotsh@c-67-170-115-80.hsd1.wa.comcast.net)04:41
- jn (QUIT: Ping timeout: 246 seconds) (~quassel@user/jn/x-3390946)05:37
+ jn (~quassel@2001-4dd4-7908-0-20d-b9ff-fe49-15fc.ipv6dyn.netcologne.de)05:38
- jn (QUIT: Changing host) (~quassel@2001-4dd4-7908-0-20d-b9ff-fe49-15fc.ipv6dyn.netcologne.de)05:38
+ jn (~quassel@user/jn/x-3390946)05:38
joschACTION slept through the whole craziness thanks to really thick windows :)06:55
joschhappy 2024 to everybody! \o/06:55
joschminute: do you think something can be done to allow motherboard 2.5 to charge from the devices that motherboard 2.0 managed to charge from? It seems that it even triggers the surge protection of an external battery pack i have. :(06:56
josch(it works all fine with the AC adapter that came with the reform)06:57
- jagtalon (QUIT: Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) (~quassel@user/jagtalon)08:20
+ jagtalon (~quassel@user/jagtalon)08:20
- jagtalon (QUIT: Client Quit) (~quassel@user/jagtalon)08:21
+ jagtalon (~quassel@user/jagtalon)08:21
- f_estive (QUIT: Ping timeout: 240 seconds) (~f_@fases/developer/funderscore)10:19
+ f_estive (~f_@fases/developer/funderscore)10:19
joschi'm having a weird problem with gitlab artifacts on source.mnt.re. Depending on the file extension, artifacts in the web interface seem to link to reform.pages.mnt.re: https://source.mnt.re/reform/reform-system-image/-/jobs/2713/artifacts/browse10:35
joschthe content is always the same ("test") so it's probably the extension that is at fault?10:35
joschi also retried the failed reform-system-image job and still get "500 Internal Server Error" at the end: https://source.mnt.re/reform/reform-system-image/-/jobs/2707 (everything else is successful)10:43
joschminute: i also observed that if a pipeline is run with custom variables, downloads from https://source.mnt.re/reform/reform-system-image/-/jobs/artifacts/main/raw/... will include the pipeline with the changed variable. How does the script updating https://mntre.com/reform-debian-repo/ pull artifacts from the gitlab? What URL does it use? I'd like to implement a small mechanism that prevents a tainted 10:47
joschmain pipeline from showing up in the official repo10:47
joschand what do the different blinking speeds of the orange LED on mainboard 2.5 mean? With the same usb PD adapter it either works or it does not but when it does not, the orange LED blinks but not always at the same frequency10:55
+ Twodisbetter (2cc0e4ea1c@irc.cheogram.com)11:06
- klardotsh (QUIT: Ping timeout: 240 seconds) (~klardotsh@c-67-170-115-80.hsd1.wa.comcast.net)11:46
* f_estive -> f_12:25
- romi (QUIT: Remote host closed the connection) (~romi@user/romi)12:37
- eibachd (QUIT: Ping timeout: 240 seconds) (~eibachd@p200300dcf7231c0007b8f9f0da467c8e.dip0.t-ipconnect.de)12:46
+ eibachd (~eibachd@p200300dcf7231c001030c1a9231af33b.dip0.t-ipconnect.de)12:47
+ romi (bd30729973@user/romi)12:53
- f_[xmpp] (QUIT: Ping timeout: 255 seconds) (fffdb90022@fases/developer/funderscore)13:09
- Twodisbetter (QUIT: Ping timeout: 256 seconds) (2cc0e4ea1c@irc.cheogram.com)13:10
- f_ (QUIT: Ping timeout: 268 seconds) (~f_@fases/developer/funderscore)13:25
+ f_ (~f_@fases/developer/funderscore)13:31
+ Twodisbetter (2cc0e4ea1c@irc.cheogram.com)13:48
- f_ (QUIT: Ping timeout: 256 seconds) (~f_@fases/developer/funderscore)13:54
Twodisbetterjosch: I believe it does. When I first switched to higher cap batteries I had the same thing happen. It works itself out while you use it though. Basically drain the batteries all the way down, and then charge. That should calibrate it. 13:55
+ f_ (~f_@fases/developer/funderscore)13:58
minutejosch: there are 2 orange leds next to each other. which one blinks?14:00
joschminute: the one closer to the SoM14:02
joschthe other is off14:03
TwodisbetterHappy New Year everyone! 14:06
TwodisbetterI hope everyone had a good Rutsch!14:06
- f_ (QUIT: Read error: Connection reset by peer) (~f_@fases/developer/funderscore)14:13
+ f_ (~f_@fases/developer/funderscore)14:16
+ mjw (~mjw@gnu.wildebeest.org)14:17
joschthe other led (the one farther away from the SoM) seems to light up once the batteries are full14:24
- grimmware (QUIT: Quit: WeeChat 3.5) (~grimmware@2a03:b0c0:1:d0::efd:d001)14:45
- eibachd (QUIT: Ping timeout: 260 seconds) (~eibachd@p200300dcf7231c001030c1a9231af33b.dip0.t-ipconnect.de)15:13
+ eibachd (~eibachd@p200300dcf7231c000968921f75fa0b65.dip0.t-ipconnect.de)15:14
- Twodisbetter (QUIT: Ping timeout: 256 seconds) (2cc0e4ea1c@irc.cheogram.com)15:28
- f_ (QUIT: Remote host closed the connection) (~f_@fases/developer/funderscore)15:28
+ Twodisbetter (2cc0e4ea1c@irc.cheogram.com)15:33
- eibachd (QUIT: Ping timeout: 260 seconds) (~eibachd@p200300dcf7231c000968921f75fa0b65.dip0.t-ipconnect.de)15:59
+ eibachd (~eibachd@2a01:599:307:e3de:a73e:6790:a280:ed0c)16:02
- eibachd (QUIT: Read error: Connection reset by peer) (~eibachd@2a01:599:307:e3de:a73e:6790:a280:ed0c)16:10
+ eibachd (~eibachd@p200300dcf7231c00d4f61a1a62dfeb48.dip0.t-ipconnect.de)16:11
minutejosch: ok so the LEDs are CHG_STAT1 and CHG_STAT2 of LTC402016:16
joschi have it now powered from the 60 usb-c adapter which usually does not work at all. It seems quite random when it decides to charge and when it does not. :/16:19
joschthe 65 W usb-c adapter works better but also not 100% reliably16:20
joschwhen i got up tonight, my reform was off with 0% battery16:20
josch*this morning16:20
minuteCHG_STAT1 is the one closer to the SOM. CHG_STAT2 is the one closer to the SD card.16:20
joschthen CHG_STAT1 is the blinking one16:21
minutejosch: ok, i have seen a similar issue with the standard charger and my reform at home. sometimes it doesn't want to charge and goes into this blinking cycle mode16:21
minutethis also did not happen to me with mb2.0, so it's a change from 2.0 to 2.516:21
minute> 16:21
minuteIf the LTC4020 is configured for a CC/CV charging algo- rithm, the STAT1 pin is pulled low while battery charge currents exceed 10% of the programmed maximum (C/10). The STAT1 pin is also pulled low during NTC faults16:21
minutehmm but that doesn't make a lot of sense: the led glows when the stat1 pin is low, because stat1 provides the ground for the led16:22
josch<= afk for a bit, sorry16:23
minuteok, i'll just write some notes here16:24
minuteah no, the LED makes sense. D8/STAT1 on means: it charges.16:30
minuteSTAT2 glowing normally means "fault" but for us it just indicates that we have turned off the charger manually via software16:32
minutewe do that by manipulating the NTC input, effectively telling the charger that it is too hot to charge now16:33
minute(originally i wanted to use the RNG input for that, but it was determined that it is not working/unstable due to silicon bugs)16:33
minutethe charge current should be the same as on mb 2.0, but maybe it was marginal and due to a different sense resistor component it is slightly higher now16:40
minute> RCS = 0.05/ICSMA16:40
minutesense resistor R177 determines the charge current.16:40
minute(via the above formula)16:40
minuteR177 is 0.02 ohms.16:41
minuteif we solve the formula above for I, we get I = 0.05/0.02 = 2.5 amps16:42
minuteok so in an ideal setting the charge wattage would indeed be 72.6W16:43
minutebecause 30V*2A = 60W we want more like 2A.16:44
minuteso RCS (R177) being 0.025 or 0.3 would probably prevent this issue16:44
minute0.03 i mean (ohms)16:45
minutewe might work around this by cycling the NTC pin with a certain frequency and duty cycle so that the duty cycle is something like 80% (80% of 2.5A = 2A)16:47
minutethe remaining question is, which frequency would be enough so that overcurrent protection of the wall adapter is not triggered16:48
minuteas we can see the LED blinking with our bare eyes, the freq is not that high, maybe 10hz, 100hz, 1khz would be enough? we also should consider that this doesn't create some kind of EMI problem16:49
minuteanyway, these are my thoughts on that issue so far.16:50
joschminute: if you have a patch, i can build a new lpc firmware and see if it makes a difference16:50
minutethere is another thing to consider. with the protected battey boards, i think my reform is never really balancing the batteries anymore. this might also only happen if it tries to balance, however i can't see it ever going into balancing state on the state screen in the oled (only "norm" when the issue happens)16:52
minuteso it would be good to have a logging tool for the state transitions via spi or uart16:53
joschanother idea for a future motherboard revision: have a dip switch or similar to set the maximum charge wattage. I only have 60 W adapters at home and 100 W adapters are quite a bit more clunky.16:54
joschminute: another thing i wonder about: do you consider this a bug? Or is the solution to just use a more beefy PSU?17:01
minutejosch: http://dump.mntmn.com/reform2-lpc-charge-duty1.patch17:04
joschuh sweet!17:04
joschthank you! i'll come back to you once i found the time to test this :)17:05
minutejosch: this is just an untested idea though! it compiles, but i don't know if it behaves well17:05
joschif it doesn't in the worst case, i just flash the old firmware, right?17:05
minuteexactly17:05
joschthat's good enough for me :)17:05
minutei wrote this on my pocket reform just now17:05
joschuh nice! :D17:05
minutei can probably try it myself, too... as i should have an usb-c to c cable here17:05
joschbut it's a holiday today! :D17:06
minutehaha the only annoying part is i need to use a kitchen fork again instead of a screwdriver to open the case17:06
joschXD17:06
minuteknife works better i think17:07
bluerisebit off topic but, is there any FW that I should update? haven't updated any since I got the reform a few years ago. got the updated battery board and the new keyb17:07
- b0 (QUIT: Quit: adiós) (~b0@leo.uberspace.de)17:07
minutebluerise: lpc probably17:07
minutebluerise: you have trackpad or trackball?17:07
bluerisetrackpad17:07
minutethen you don't need to update anything else17:08
joschbluerise: there are some nice quality of life improvements in the keyboard firmware though :)17:08
bluerisejosch: I think I already have it, got the new keyboard and updated it with the current one for the reform :D17:08
minutethe kbd fw should be recent enough though as it was a recent purchase17:08
minuteah yeah17:09
+ b0 (~b0@leo.uberspace.de)17:09
minutewe build most stuff just-in-time and use the CI binaries for flashing17:09
joschoh nice to know that the CI artifacts are getting some real use! :)17:11
minuteyeah!17:11
minuteok, reflashed my reform using pocket17:11
minuteok, no blinky in my case, but the stat1 led was going a bit darker for a moment17:12
minutethat should be the PWM in action17:12
joschthank you! i'll try it myself tonight or tomorrow :)17:13
minutei will use up some battery power now and then try to charge it again17:13
blueriseHow do you update the LPC FW? flash.sh does dd to a mounted drive, but that's probably not how it's actually udpated?17:17
minutebluerise: that is how it is done17:18
blueriseso the LPC should show up as USB device? :D17:18
minutebluerise: lpc presents itself as an usb drive17:18
minutebluerise: yep17:18
minutebluerise: this is also mentioned in the manual i think17:18
minute(you have to toggle the lpc programming switch and press lpc reset and then it becomes a usb drive, although with limitations, so you should use the dd command and not access that drive otherwise)17:19
minute(i.e. they made a really flawed implementation of an usb drive)17:19
minutejosch: ok there's still an issue with the patch that i have to look into now, it's that lpc now immediately thinks we're fully charged because the charge current is low17:22
+ f_ (~f_@fases/developer/funderscore)17:22
- f_ (QUIT: Remote host closed the connection) (~f_@fases/developer/funderscore)17:35
+ f_ (~f_@fases/developer/funderscore)17:37
bluerisewhere's the best source for the CI artifacts? :D17:50
minutebluerise: https://mntre.com/docs-reform.html > laptop > firmware binaries17:51
minuteugh, 40417:52
minutewhy17:52
bluerise:D17:52
minuteaha, that link is bad17:52
blueriseguess I can use https://source.mnt.re/reform/reform/-/jobs/2667/artifacts/browse17:52
blueriselast build from master17:52
minuteyeah17:54
minutehttps://source.mnt.re/reform/reform/-/jobs/artifacts/master/browse/reform2-lpc-fw?job=build17:54
bluerise20_R3 vs 25_R2? I'm sure I don't have the 2.5 board, but do I have the 2.0?17:54
minutei will fix the link17:54
minutebluerise: if you don't have a beta reform, you have 2.017:54
AbortRetryFailLTC4020 has silicon bugs that prevent the RNG/SS pin from working to limit charge current? 18:05
minuteAbortRetryFail: yes18:05
minuteAbortRetryFail: it can cause the output voltage regulation to be unstable 18:05
AbortRetryFailI need to take the lid off my new radio and see how it does it. It's also got a LTC4020 to charge its internal battery pack, but my USB-C chargers have no problem supplying it.18:05
AbortRetryFailSadly they didn't publish a schematic.18:06
minuteAbortRetryFail: rng/ss is not supposed to be the main limiter of the current. there is a sense resistor (see above) to do that18:06
AbortRetryFailI wanted to try a capacitor on it for the soft-start function, but the Reform does what I need it to do well enough that I'm less motivated to strip it down and solder on the motherboard. :)18:07
minuteyeah, i would really not recommend to mess with ltc402018:07
minuteit can cause a lot of issues, you might get huge voltages and burn out things etc18:08
AbortRetryFailACTION ain't afraid of huge voltages or burning things >:]18:08
minuteAbortRetryFail: sure, but you'll waste many hours of restoring all the burnt out components on the motherboard then18:09
minute(been there)18:09
AbortRetryFailyep18:09
AbortRetryFailiirc, with RNG/SS floating or tied high it's limited by the sense resistor you mentioned and the other components that set the max inductor current, right?18:10
AbortRetryFailanyway, i can help test out the LPC trickery to make it charge slower. 18:13
joschminute: okay, then i'll wait until you find time for a better patch. Thank you in advance already! :)18:13
minuteAbortRetryFail: correct @ limited by the sense resistor. if you would replace R177 by a higher value, it will charge with less current.18:16
minuteAbortRetryFail: for example, 0.04 ohms should half the current18:16
AbortRetryFailI think its the lack of a soft-start that spooks the USB-PD chargers, but I might actually do that for convenience. The Reform already charges scary fast :)18:18
joschACTION never thought "drats can this thing not charge faster??" -- but that's just my use-case of course :)18:23
minuteAbortRetryFail: why do you think it is soft start?18:36
AbortRetryFailbecause the Reform doesn't *always* pull a lot of current, but if it's powered on and charging at the same time it does so all at once. 18:36
AbortRetryFailI'm wondering if starting it slower might be less likely to trip the protection on the chargers.18:37
AbortRetryFailI have a USB-C analyzer, but its bus powered so when the charger shuts off the port, the analyzer dies too.18:38
AbortRetryFailMaybe a DMM with min/max will catch it18:39
AbortRetryFailInterestingly if I put my solar charge controller in between the USB-C 20V and the Reform, it will charge it no problem. 18:39
- eibachd (QUIT: Ping timeout: 256 seconds) (~eibachd@p200300dcf7231c00d4f61a1a62dfeb48.dip0.t-ipconnect.de)19:08
+ eibachd (~eibachd@p200300dcf7231c0097d60ca6e9ee3a01.dip0.t-ipconnect.de)19:10
minutejosch: i rewrote the patch at http://dump.mntmn.com/reform2-lpc-charge-duty1.patch and it charges for me without choking the charger, but i think the sweet spot in terms of toggle speed/delay/duty cycle isn't found yet, i.e. it might charge slower than it could19:23
joschthat's super fine for me :)19:25
minutejosch: but also i tested this only with the default charger, interested how it behaves with your usb c adapters19:28
- f_ (QUIT: Ping timeout: 260 seconds) (~f_@fases/developer/funderscore)19:36
+ f_ (~f_@fases/developer/funderscore)19:43
- f_ (QUIT: Ping timeout: 256 seconds) (~f_@fases/developer/funderscore)19:50
+ jacobk (~quassel@47-186-95-57.dlls.tx.frontiernet.net)19:50
+ f_ (~f_@fases/developer/funderscore)19:52
blueriseminute: if all goes well I should have a ITX-3588J on Friday, heh20:51
minutebluerise: nice!!20:52
minutebluerise: so far i am working with this module https://en.t-firefly.com/product/core/icore3588q20:55
minutethis might be interesting too, but more risky, because soldered in https://en.t-firefly.com/product/core/core3588sg20:55
blueriseAh, but you mentioned the J?20:56
blueriseI mean, better not to have adapter in adapter I guess :D20:56
minutethe devboard i had at congress is this https://en.t-firefly.com/product/industry/aio3588q20:58
minuteor this lol https://en.t-firefly.com/product/industry/aio3588jq20:58
minutethe naming is a bit confusing20:58
bluerisehaha20:59
blueriseI mean in the end most of my work is on another layer anyway, so it doesn't matter which of the cores really21:00
minuteahh > AIO-3588Q (Commercial) AIO-3588MQ (Automotive) AIO-3588JQ (Industrial)21:00
minutedifferent freqs it seems21:00
blueriseI just hope we can have both PCIe slots, and maybe even WiFi on the SoM21:00
minute> RK3588 Up to 2.4GHz RK3588M Up to 2.2GHz RK3588J Up to 1.6GHz21:00
blueriseand MIPI-DSI + DP exchangeable :D21:00
blueriseopened up my old mini itx case with hand-built water-cooling: there's a lot of air in the tubes lol21:01
minutewoops21:01
blueriseit's fine, there's no itx board in there (yet)21:01
bluerisehttps://en.t-firefly.com/product/industry/itx3588j21:02
bluerisehttps://en.t-firefly.com/product/industry/itx3568jq21:02
bluerisedidn't know there are two21:02
minuteone is 356821:04
blueriseoh yeah I can't read, sorry21:05
minuteit is a really confusing lineup.21:06
minutethey have 3 form factors of 3588 modules. card edge, mezzanine and BGA21:06
minutei'm currently working with mezzanine one21:06
minutethe thing you ordered has card edge21:06
minutenot sure if they have an itx that uses the mezzanine one21:06
+ klardotsh (~klardotsh@c-67-170-115-80.hsd1.wa.comcast.net)21:18
sevanalrighty, openzfs 2.2.x has landed in sid, so I can now upgrade my kernel to the latest version.21:19
- jacobk (QUIT: Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) (~quassel@47-186-95-57.dlls.tx.frontiernet.net)21:22
- eibachd (QUIT: Ping timeout: 246 seconds) (~eibachd@p200300dcf7231c0097d60ca6e9ee3a01.dip0.t-ipconnect.de)21:24
+ eibachd (~eibachd@p200300dcf7231c002026752f58af3308.dip0.t-ipconnect.de)21:26
blueriseminute: once you have an adapter, I'll get the core I need. until then I'll do more prep with that itx board, most work is on the SoC anyway21:32
bluerisehttps://blueri.se/luftkuehlung.mp421:34
blueriseused to be for my honeycomb lx2k21:35
joschminute: so i built the patched firmware but failed flashing it21:51
joschfirst hurdle: the instructions at https://mntre.com/reform2/handbook/parts.html#flashing-the-firmware do not mention whether the lpc gets powered via the usb connection or whether power should be supplied via batteries or wall socket instead21:52
joschsecond hurdle: after attaching the batteries, setting LPCPROG to ON, pressing reset and then attaching the usb cable, I get this in dmesg: https://paste.debian.net/130271721:53
joschany ideas?21:54
joschbluerise: lol nice LuKü ;)21:54
bluerisehttps://hdplex.com/hdplex-fanless-250w-gan-aio-atx-psu.html uh, cute22:00
sevanjosch: in the reform-check utility, it highlights that firedecor is not installed, but the package name is reform-firedecor?22:20
joschsevan: fixed in reform-tools 1.3422:24
joschbut that version is still awaiting testing22:24
sevanah, ok :)22:24
sevanswitch to dhcpcd instead of isc-dhcp-client?22:24
sevan:)22:24
joschdhcpcd-base, yes22:27
joschthis is being discussed in this thread: https://lists.debian.org/CAPZXPQcuHZ+5q+G+beUUcBAFL=amYy2CY3G9V4q7HbsEKkSiMg@mail.gmail.com22:27
sevangreat, I wasn't aware of the thread. reform-check highlighted that the isc client wasn't installed.22:28
sevanACTION clicks link22:28
sevangreat, finally caught up. Now running 6.5.13-1+reform20231212T160504Z122:55
+ pandora (uid585533@id-585533.ilkley.irccloud.com)23:29
+ chomwitt (~chomwitt@2a02:587:7a0f:8900:1ac0:4dff:fedb:a3f1)23:35

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