2024-10-22.log

grimmwaresigrid: 22nd August00:06
grimmwaresigrid: did you order one?00:06
minutegrimmware: sigrid: we shipped some pocket rcores first because less parts/easier to ship. but we're also shipping reform rcores now00:10
sigridgrimmware: yes. in march00:17
sigridminute: nice!00:17
- Ar|stote|is (QUIT: Ping timeout: 276 seconds) (~linx@149.210.16.13)00:24
+ Ar|stote|is (~linx@149.210.16.248)00:28
- Ar|stote|is (QUIT: Ping timeout: 260 seconds) (~linx@149.210.16.248)00:46
+ Ar|stote|is (~linx@149.210.16.168)00:50
- mjw (QUIT: Ping timeout: 252 seconds) (~mjw@gnu.wildebeest.org)00:54
- nsc (QUIT: Ping timeout: 255 seconds) (~nicolas@i5C74DD9F.versanet.de)01:05
- Ar|stote|is (QUIT: Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) (~linx@149.210.16.168)01:17
+ Ar|stote|is (~linx@149.210.16.168)01:19
+ nsc (~nicolas@23-99-142-46.pool.kielnet.net)01:22
- blast007 (QUIT: Ping timeout: 244 seconds) (~blast@user/blast007)02:22
- paperManu (QUIT: Ping timeout: 252 seconds) (~paperManu@198.16.214.40)03:07
+ cobra (~cobra@user/Cobra)03:21
+ jacobk (~quassel@47-186-105-237.dlls.tx.frontiernet.net)03:41
- Ar|stote|is (QUIT: Ping timeout: 252 seconds) (~linx@149.210.16.168)03:48
+ Ar|stote|is (~linx@149.210.17.151)03:53
- kop316 (QUIT: Remote host closed the connection) (m-6f6zq6@static.138.159.90.157.clients.your-server.de)04:03
+ kop316 (m-6f6zq6@static.138.159.90.157.clients.your-server.de)04:05
- Ar|stote|is (QUIT: Ping timeout: 260 seconds) (~linx@149.210.17.151)04:22
+ Ar|stote|is (~linx@149.210.16.4)04:26
- sts-q (QUIT: Ping timeout: 272 seconds) (~sts-q@2a11:fb80:3ab:f901:48b5:7b37:c759:8a59)04:36
- amospalla (QUIT: Ping timeout: 272 seconds) (~jordi@user/amospalla)04:36
+ sts-q (~sts-q@89.58.73.81)04:42
+ amospalla (~jordi@user/amospalla)05:12
- jacobk (QUIT: Ping timeout: 260 seconds) (~quassel@47-186-105-237.dlls.tx.frontiernet.net)05:14
+ jacobk (~quassel@47-186-105-237.dlls.tx.frontiernet.net)05:14
- Ar|stote|is (QUIT: Ping timeout: 245 seconds) (~linx@149.210.16.4)08:34
+ Ar|stote|is (~linx@149.210.16.184)08:39
- Ar|stote|is (QUIT: Ping timeout: 245 seconds) (~linx@149.210.16.184)08:45
+ Ar|stote|is (~linx@149.210.16.26)08:50
- xha (QUIT: Ping timeout: 252 seconds) (~xha@user/xha)08:57
+ xha (~xha@user/xha)09:00
hramrachminute: I mostly use one that has the chip hidden inside a molded adapter. The one with exposed chip is http://aliexpress.com/item/4001243047536.html https://pasteboard.co/OOBk4Fsq1WQL.jpg but I have not really used that much, only tested once or twice.09:41
hramrachthis one has better picture http://aliexpress.com/item/1005004836625234.html09:46
xhajust got my pocket reform rcore bundle. yay! without wifi, because i already have a card. however, it's missing a thermal pad. is that right? am i supposed to use the one that is already in the pocket reform?10:02
minutexha: hmm there should be a very thin thermal pad square10:12
xhain the black box, the inner one, right?10:13
minutexha: yeah. like 2x2cm square, iirc blue cover plastic on one side10:14
minutethe thermal pad is only 0.5mm thin10:14
minuteasking my colleague where it should be10:14
minutexha: paper manual is there?10:15
xhayes, paper manual is there10:15
xhabut no worries, it seems like the existing thermal pad also works10:15
minutexha: which country are you in? (in case it's really missing and you can't find it, we can send another)10:15
xhagermany10:15
minutexha: ok, it will just bulk up the back a bit maybe?10:16
xhahmm, not sure about that. will try.10:16
minutexha: dsi flat cable was there?10:17
xhano, also no cable...10:17
minuteugh10:17
xhai wasn't sure if i need it though?10:17
minutexha: ah wait, is this for pocket or for big reform?10:18
xhapocket :D10:18
minuteah yeah sorry, coffee not 100% working yet10:18
xhathe i.MX8M Plus already has a cable on it. can i use that cable?10:19
minutexha: ok so without dsi cable you can't connect the display. the old cable is too short. we include a longer cable10:19
xhaah. i see.10:19
minutexha: so i suspect there should be a little bag or sth with the dsi cable and thermal pad... i will drive to the hq now and get to the bottom of it, and if necessary we can send you replacements quickly. maybe it was wrapped in inner packaging material?10:20
xhahmm, no, i even unfolded the packaging just to be sure.10:21
xhavery sure that there is no thermal pad or cable.10:21
minutexha: ok, very sorry for that then. can you send me your order number in DM? i'll make sure you quickly get those10:24
xhasent it.10:25
minutexha: thanks. i have confirmation now that it was forgotten on one (max 2) orders who ordered without wifi10:26
xhai see. thanks so much for the quick help :)10:28
minutexha: we will ship out a replacement today10:28
xhaminute: if you do that, could you maby also include a ethernet adapter if i order it quickly now and send you the order number? i think i'll need it, but i guess also fine if that is not possible.10:35
minutexha: oh yeah, sure10:37
xhaalrighty, send you the order number. y'all are so cool, no other company tat i know would ever do this! thanks :)10:42
xha/s/tat/that/10:42
hramrachfound why I cannot build images on x86: https://source.mnt.re/hramrach/reform-system-image/-/commit/f69844d5e0fa0c6bb42ffcb727010bfdd0d7634411:00
hramrachbtw the mmdebstrap hook documentation leaves a lot to be desired11:01
joschhramrach: mmdebstrap bugs to me please11:01
joschand why are you copying aarch64-binfmt-P into the chroot?11:03
- jacobk (QUIT: Ping timeout: 260 seconds) (~quassel@47-186-105-237.dlls.tx.frontiernet.net)11:03
+ jacobk (~quassel@47-186-105-237.dlls.tx.frontiernet.net)11:03
hramrachjosch: because that's the arm64 binary interpreter. just like having bash in the chroot is required to run bash scripts having qemu is required to run arm binaries on x8611:06
joscharm binaries on your x86 box should be automatically interpreted by the linux binfmt_misc support which loads qemu on the *outside* of your chroot11:08
hramrachjosch: except it does not.11:08
joschin the past, there used to be a time when qemu-user-static needed to be copied into the chroot, yes11:08
joschhramrach: on what system are you running mmdebstrap?11:08
hramrachI tried on ppc64 and there not having qemu inside gives ENOENT. on x86 it does something, and whike on Debian that something works for me it crashes the moment dpkg tries to unpack something11:09
hramrachdebian x86 container on openSUSE Leap11:10
+ andreas-e (~Andreas@2001:861:c4:f2f0::c64)11:10
joschah it might be that indeed opensuse has a different default config for binfmt support11:10
joschyou need the F flag for the interpreter to only be loaded once11:10
joschwhich is the default on debian for a few years now11:10
hramrachno having the interpreter is not the problem. the problem is having something that does not work11:11
hramrachas in not having the interpreter at all produces a different error11:12
joschhramrach: maybe you can file a bug with mmdebstrap about how it can improve its docs for the hooks11:13
- andreas-e (QUIT: Quit: Leaving) (~Andreas@2001:861:c4:f2f0::c64)12:00
* Guest373 -> mjw12:29
+ paperManu (~paperManu@198.16.214.40)12:34
+ blast007 (~blast@user/blast007)12:44
+ gustav28 (~gustav@c-78-82-52-34.bbcust.telenor.se)13:02
- ehenter (QUIT: Ping timeout: 244 seconds) (~ehenter@212-149-229-243.bb.dnainternet.fi)13:42
+ ehenter (~ehenter@212-149-229-243.bb.dnainternet.fi)13:44
joschgustav28: re external usb power: i did try attaching a keyboard and mouse, both connected via a usb hub to one port of the reform14:11
gustav28and that worked?14:11
joschgustav28: specifically this contraption: https://floss.social/@josch/11165867610167683414:13
joschno, it does not14:13
joschif one tries, the internal keyboard switches off14:13
joschit's working after bridging the two power cables of all 3 usb connectors into a single one, but that's not really ideal :)14:14
joschmy workaround is, to operate that external keyboard/trackball combo as a battery powered bluetooth keyboard14:15
gustav28my usb hub can take 5v in to help with the power so I think I could make it work - but too bad the laptop doesn't have enough power on its own14:19
joschit does -- just not on a single port14:23
joschyou have to combine more than one14:23
gustav28yea15:05
+ [tj] (sid609767@id-609767.lymington.irccloud.com)15:27
minutei'll try to fix that on the new mb15:38
minuteat the moment experimenting with R8 resistor (ILIMIT/input current limit on LTC4020)15:51
joschminute: you are able to reproduce the 75 W power draw spikes? I mean it works fine with a larger power supply...15:54
minutejosch: yeah at least my PSU at home has some problems with that, that's how i was able to develop the soft start patch which alleviates it but not perfectly15:57
minuteyeah i'm able to repro this here with full white rgb backlight on kbd, external usb gbe, 1080p@60 video decoding on youtube and then trying to charge16:02
minute(with rk3588)16:02
joschAnd the lower the battery charge level, the more they draw -- according to irc log, i even had them draw 88 W when the batteries were very low: https://mntre.com/reform-irc-logs/2024-01-19.log.html#t19:26:3116:05
- qbit (QUIT: Remote host closed the connection) (~qbit@mail.suah.dev)16:06
+ qbit (~qbit@mail.suah.dev)16:11
minutejosch: yeah makes sense16:20
minutegoing through all the formulas the max charge current is currently set at 2.5A by 0.02ohms sense resistor R177, which yields 72.5W woops16:29
minuteinductor max current is set to 5A... which is of course too much for our puny power supply16:30
minute(almost 150W max)16:30
minutesetting R8 to 20k would yield 100% of that limit, 10k = 50%. but it should be set to max 40% to yield 60W max inductor current16:32
minuteso R8 should be something like 7k-8k ohms16:32
minutei have a 5.1k here so trying that16:42
minuteamazingly, this has an effect on the charging current.16:44
minutenow, it's obvious that the current is primarily used to power the system and what's "left" is used to charge the batteries... i.e. the negative amps number gets lower the more power the system expends16:46
minuteand charger is happy...16:46
minutethis also prevents the main coil from getting very hot16:48
+ mark_ (~mjw@gnu.wildebeest.org)17:07
hramrachanyone is aware of any guidance on how to set up gitlab to be able to build images?17:09
hramrachThe image builds overflow so many limits that finding them all is very difficult17:10
- mark_ (QUIT: Ping timeout: 252 seconds) (~mjw@gnu.wildebeest.org)17:23
minutethere's one downside of putting the serial console(s) on the same usb-c that's for power delivery: it makes it harder to externally power the board + debug it at the same time17:28
minute(the debug host would need to be able to supply up to 60W PD on that port)17:28
hramrachThere are PD docks that should solve that problem but it's extra equipment needed, and does not work with debug hosts that have USB A18:08
gustav28will there be a usb-c data connector on the new mb, or only one for PD?18:12
gustav28is the resistor talk for reform mb 2.6? was that related to usb power me and josch talked about or something else?18:15
joschgustav28: the resistor talk is for how much power the mb 2.6 is allowed to draw from the power brick18:16
joschgustav28: the usb connector power issue is a different one, that one is about how much power the mb 2.6 is able to provide to stuff you plug into it18:16
chrcore \o/18:27
minutech: arrived?19:06
chyep, and already swapped in :)19:06
gustav28exciting19:14
gustav28josch ok!19:16
+ mark_ (~mjw@gnu.wildebeest.org)19:21
minutech: oh nice, and it works?19:26
- hairu (QUIT: Remote host closed the connection) (m-uotkmd@user/hairu)20:01
+ hairu (m-uotkmd@user/hairu)20:03
minuteaha https://www.coolgear.com/product/usb-c-usb-b-power-delivery-adapter-wmounting-kit20:09
- jacobk (QUIT: Ping timeout: 248 seconds) (~quassel@47-186-105-237.dlls.tx.frontiernet.net)20:40
+ jacobk (~quassel@47-186-105-237.dlls.tx.frontiernet.net)20:41
- mjw (QUIT: Killed (mercury.libera.chat (Nickname regained by services))) (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)20:48
* mark_ -> mjw20:48
+ Guest4830 (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)20:49
+ guiller (~guiller@user/guiller)20:51
- guiller (QUIT: Client Quit) (~guiller@user/guiller)20:52
minutehmm https://chromium.googlesource.com/chromiumos/third_party/hdctools/+/HEAD/docs/ccd.md20:55
chminute: yes! have to figure out tomorrow using the ssd again (without wiping it)20:56
minuteon reform mb2.6/3.0: i guess the cleanest solution would be to have the usb-c PD port also be a host (at least usb 2.0), so it gives the most value for regular use cases. but when switching that port to a debug interface, charging gets very tricky. it's not possible to charge reform with 5V, but that's what the debug host will most probably output. so for long debug sessions one would need to21:01
minuteswitch to the debug uart headers again (meh) or power it differently, or we need some contraption to split usb-c PD into that port from usb device signals for a host21:01
minutech: great!21:06
minutech: any relative impressions of the speed vs before? :D21:06
ch:D21:06
chfeels like 400% speed21:06
minutenice21:07
minutewhen desoldering R94 it is possible to power the motherboard by 5V21:31
minuteaha this might be what i want https://mastodon.social/@janamarie@chaos.social/11335254773017014921:44
hramrach5v but what current? My PD PSU limits USB A to something like 22,5W, probably to conform to the USB spec about maximum current.21:46
minutehramrach: yeah unfortunately it doesn't fully work anyway, something still limits current on the board @ 5v21:48
hramrachthe PD injector is neat, probably something that can be shipped as optional accessory21:50
hramrachcomplexity in the ballpark of the HDMI unbrick dongle21:51
minuteyeah... 21:52
minutemaking this port a host that can switch to being a debug device would be complex though. if i think back to pocket reform usb data capability had to be advertised over pd protocol to mark it as a host that wants to sink power at the same time21:54
chwell debug accessory mode is a specific CC1/2 config, and then everything else becomes vendor specific21:55
hramrachthe debug mode here is presumably standard USB UART that can be used with any common USB stack21:56
chso somehow the mb needs to notice the debug accessory and then it should stop being a host i guess21:56
minutehramrach: yep21:57
minutech: sorry i chose the wrong words, it's not an accessory, just usb cdc21:57
chah21:57
hramrachalso when it can be switched the switching can fail21:58
hramrachyou do not want to debug the debugger21:58
chhavent looked closer at the ti chip, but maybe it can support debug accessory mode, if you need/want the special pd-injecting anyway21:58
chbut might become too complicated21:59
chshould maybe read up on how the debug stuff works on macs21:59
hramrachtechnically the PD injector is not special, and shiuld work with any device. modulo implementation bugs22:04
hramrachusing the debug accessory mode would change it to something very special22:06
chTPS25730D DBG_ACC pin: Open Drain Output, Debug Accessory attached Rp/Rp or Rd/Rd.; would need a mux attached to that to switch host/device so it all happens without involvement from linux/uboot22:06
+ spew (~spew@189.217.198.185)22:08
minutech: mhm!22:14
- gustav28 (QUIT: Quit: Quit) (~gustav@c-78-82-52-34.bbcust.telenor.se)22:15
ZabaApple devices use vendor-defined messages over CC to control pin muxing, it’s all been reverse engineered and documented by asahi linux people22:36
- jacobk (QUIT: Ping timeout: 248 seconds) (~quassel@47-186-105-237.dlls.tx.frontiernet.net)22:38
minutecursed idea: on one set of usb2.0 pins (orientation A) have uarts, on the other set (orientation B) LPC usb port/flashing interface. otherwise another hub is required (or no flashing from the outside, which could be ok too...)22:42
minuteopinions?22:42
joschat some point, just plugging a cable into some internal connector becomes more intuitive, robust and straight forward again :)22:45
minuteyeah you're right22:46
minutealso, lpc has to be put in programming mode and reset22:46
minuteso scrapping that and only putting the uarts on that port22:46
- ehenter (QUIT: Quit: leaving) (~ehenter@212-149-229-243.bb.dnainternet.fi)23:01
hramrachThe Google CCD cable only works in one direction which is kind of cursed in its own way for connector that is supposed to be transparently reversioble. Is the debug accessory defined in such a way that it's unavoidable or is that Google invention??23:02
chorientation detect is impossible for debug accessories23:06
chthats a fun idea though, put the second USB D+/- on SBU1/223:08
hramrachsome devices roll their own special cable that has some protrusions that make it impossible to insert the other way while plain cables can be inserted either way23:10
- erle (QUIT: Quit: K-lined) (~erle@user/erle)23:12
chshame google doesnt sell or provide specs for these https://chromium.googlesource.com/chromiumos/third_party/hdctools/+/HEAD/docs/servo_v4p1.md23:16
hramrachgenerally it is rumored that Google has a lot of development tools that are only available internally, intentioanlly. And it looks like this is one of those.23:33
hramrachOf course, large part of them is generally useful and could be released to the public but it's extra work that does not bring profits, at least not in a directly visible way.23:34
chthey could at least release the schematics etc23:38
hramrachthey could release a lot of things, and choose not to23:40

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