2022-04-22.log

- S0rin (QUIT: Ping timeout: 256 seconds) (~S0rin@user/s0rin)00:40
+ S0rin (~S0rin@user/s0rin)00:46
- chomwitt (QUIT: Ping timeout: 260 seconds) (~chomwitt@2a02:587:dc1b:da00:e2f9:e987:da5c:6097)01:17
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:20)01:52
- mtm (QUIT: Ping timeout: 248 seconds) (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)02:02
- mjw (QUIT: Quit: Leaving) (~mark@gnu.wildebeest.org)02:42
- Guest7509 (QUIT: Ping timeout: 240 seconds) (~nicolas@138-49-142-46.pool.kielnet.net)03:09
+ nsc (~nicolas@192-99-142-46.pool.kielnet.net)03:12
* nsc -> Guest180503:13
- sts-q (QUIT: Ping timeout: 260 seconds) (~sts-q@2a01:41e1:2ca5:400:cd79:2c4e:adb0:5a0f)03:28
+ mtm (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)03:32
+ sts-q (~sts-q@2a01:41e1:2ca5:400:cd79:2c4e:adb0:5a0f)03:32
- sts-q (QUIT: Ping timeout: 250 seconds) (~sts-q@2a01:41e1:2ca5:400:cd79:2c4e:adb0:5a0f)04:47
+ sts-q (~sts-q@2a01:41e1:2cd5:3300:2c78:db1e:2c4a:4729)04:50
- eery (QUIT: Read error: No route to host) (~eery@172.97.103.152)05:13
+ GNUmoon (~GNUmoon@gateway/tor-sasl/gnumoon)05:20
- GNUmoon (QUIT: Ping timeout: 240 seconds) (~GNUmoon@gateway/tor-sasl/gnumoon)06:34
+ GNUmoon (~GNUmoon@gateway/tor-sasl/gnumoon)06:35
+ chomwitt (~chomwitt@2a02:587:dc1b:da00:499a:9af7:6bda:a228)10:15
+ Christoph_ (~Christoph@p54bf639b.dip0.t-ipconnect.de)10:21
- GNUmoon (QUIT: Remote host closed the connection) (~GNUmoon@gateway/tor-sasl/gnumoon)10:22
+ GNUmoon (~GNUmoon@gateway/tor-sasl/gnumoon)10:30
+ MajorBiscuit (~MajorBisc@145.94.234.148)10:45
+ reform17065 (~mch@2403-5803-49-4-241d-4ef1-d04f-7620.ip6.aussiebb.net)10:49
* reform17065 -> hamsolo10:51
- hamsolo (QUIT: Quit: Leaving) (~mch@2403-5803-49-4-241d-4ef1-d04f-7620.ip6.aussiebb.net)11:01
+ mtm- (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)11:31
- mtm (QUIT: Ping timeout: 276 seconds) (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)11:33
- chomwitt (QUIT: Ping timeout: 250 seconds) (~chomwitt@2a02:587:dc1b:da00:499a:9af7:6bda:a228)11:37
+ chomwitt (~chomwitt@94.66.60.112)11:48
- mtm- (QUIT: Ping timeout: 240 seconds) (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)14:02
- Nulo (QUIT: Read error: Connection reset by peer) (~Nulo@user/nulo)14:12
+ Nulo (~Nulo@user/nulo)14:12
- C-Keen (QUIT: Quit: WeeChat 3.2.1) (cckeen@pestilenz.org)14:20
+ mjw (~mjw_@2001:1c06:2488:1400:9e5c:8eff:fe8f:a440)14:20
+ mtm (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)16:08
+ cinap_lenrek (~cinap_len@ns3076381.ip-147-135-136.eu)16:10
cinap_lenrekgot my mntreform today! impressive machine!16:11
minuteawesome!16:11
cinap_lenreki have a practical problem16:11
cinap_lenreki want to attempt porting plan9 to this thing16:11
cinap_lenreki already have the serial console working16:11
cinap_lenreki'm looking for a way to automatically reset this thing during kernel development/bringup16:12
cinap_lenreki saw that the keyboard talks to the lpc over a uart in the schematics16:12
cinap_lenrekbut wonder if theres a simpler way16:12
cinap_lenrekor maybe the lpc firmware behaviour can be changed to always power on when we have power from the barrel jack?16:13
cinap_lenreki saw that i can reset the imx with the reset switch16:13
cinap_lenrekthat would be one option i guess16:13
cinap_lenrekbut it stops working when we loose power, no?16:13
cinap_lenrek(once the lpc is reset too)16:14
cinap_lenrektheres a possibility that i connect that imx reset to a gpio of a raspberry pi, no?16:17
cinap_lenreki also have a pdu, so i can switch the main power16:19
cinap_lenrekbut then the lpc still need that command16:19
dodois the last batch of reform shipments still expected to go out this month?16:32
minutecinap_lenrek: very cool @ plan9... so what exactly do you mean by automatically reset? remotely triggered?17:06
minutecinap_lenrek: you could disconnect SYSCTL on the motherboard and fashion your own UART adapter to an external computer, then you can send power off / on commands over serial17:07
+ xktr (~xktr@37.120.147.4)17:12
cinap_lenrekminute: yes, i mean remotely17:15
cinap_lenreki planed to put the reform in my rack and tftp boot the kernel17:15
cinap_lenrekyeah, sysctl makes most sense17:16
cinap_lenrekthank yoU!17:16
cinap_lenreki need a jst-ph plug17:16
cinap_lenrekah!17:24
cinap_lenreki can just use the trackball cable as my plug!17:24
cinap_lenreknah17:27
cinap_lenreki'm out of uarts anyway17:27
cinap_lenreki'll order a plug17:27
cinap_lenrekand for now do it manually pushing the keyboard17:28
minutealright!17:29
cinap_lenrekman, this machine is built like a tank17:29
cinap_lenreki love it17:29
+ Ar|stote|is (~linx@149-210-16-210.mobile.nym.cosmote.net)17:31
minutecinap_lenrek: i'm glad you like it!17:33
- MajorBiscuit (QUIT: Ping timeout: 240 seconds) (~MajorBisc@145.94.234.148)17:37
- chomwitt (QUIT: Ping timeout: 272 seconds) (~chomwitt@94.66.60.112)17:42
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:40)17:48
+ chomwitt (~chomwitt@94.66.63.97)17:48
- mjw (QUIT: Quit: Leaving) (~mjw_@2001:1c06:2488:1400:9e5c:8eff:fe8f:a440)17:50
- alex4nder (QUIT: Ping timeout: 256 seconds) (~alexander@ip98-171-191-229.sb.sd.cox.net)18:10
- sts-q (QUIT: Ping timeout: 248 seconds) (~sts-q@2a01:41e1:2cd5:3300:2c78:db1e:2c4a:4729)18:13
+ eery (~eery@172.97.103.152)18:26
BoostisbetterMy thoughts exactly. The Reform is built very well!18:33
_Eexternally the reform feels like one of those military-grade mobile workstations18:45
_E(other than the acrylic bottom panel)18:45
+ sts-q (~sts-q@2a01:41e1:2cd5:3300:2c78:db1e:2c4a:4729)18:46
+ alex4nder (~alexander@wsip-184-186-225-187.sb.sd.cox.net)18:48
_Eyou know, if you put some formed rubber under the lower half's bezel, you could probably pass it off as one of those environmentally hardened laptops18:49
_Ethrow a handle on it, give it a faux-digital camo paintjob...18:49
eerywhile I love the build and design on the reform, I don't think I'd actually trust it to survive drops/bumps like as ""ruggedized"" plastic laptop would18:50
_Eeery: it was mostly a joke18:51
eeryoh, I know18:51
eerybut just musing, since I wonder about these things sometimes, and am secretly hoping someone will correct me ;)18:52
_Eiirc most of those laptops need some sort of splash/water resistance certification18:52
eerynot very mechanically inclined, but my intution says a plastic body would be better at absording shocks without permanent damage18:52
eeryplastic bodies are lame though18:52
joscheery: I never owned a "ruggedized"" laptop but at least in my case (and maybe by sheer luck) my reform already survived several drops from tabes, couches and beds due to baby :)18:52
_Ehonestly, I think they're usually aluminum18:53
josch(what did not survive those drops so well was the wooden floor...)18:53
_Emost have some sort of rubberized corners and edges for the reasons you mentioned18:53
alex4nderI'm enjoying not being super careful with my reform18:54
eeryI'm divided, because it feels very sturdy, but I'm worried a drop would either make a nasty dent/bend or go straight to the PCB18:54
_Eimo the biggest issue in converting a reform for those uses would be sealing it from dust/liquid18:54
eeryI tend to baby my electronics anyway, though...18:54
alex4nderprotip: birchwood casey's AR-15 refinishing pens work great on the reform case's finish18:54
alex4nderhttps://www.birchwoodcasey.com/products/super-black-touch-up-pen-flat-black.html18:55
_Eactually a handle would be kinda nice for the reform18:55
_EI'll toss it in to the "reform mods I'll never make" pile18:57
_Eright up there with some way to use the case as part of the heatsink18:58
_Eand a nice panel for all the various switches and UART ports18:58
eeryThe lip around the keyboard makes a decent grip for helping to pick it up from a table18:59
eeryit is kind of amusing to imagine some kind of luggable cable on the back18:59
eerylike the leather ones on the early compaqs18:59
_Emount some loops for it ¯\_(ツ)_/¯19:00
cinap_lenrekis here any documentation on the sysctl serial protocol?19:04
_Eyeah, I think it's in the manual19:05
_Emaybe the parts page?19:05
cinap_lenrekheres a short paragraph, but it only says the baudrate19:05
_Ehttps://mntre.com/reform2/handbook/parts.html#system-controller19:06
_Eit's the paragraph below the paragraph with the baud19:06
cinap_lenrekok19:07
_Ecinap_lenrek: there are some other commands that aren't documented there19:09
_Ehttps://source.mnt.re/reform/reform/-/blob/master/reform2-lpc-fw/src/boards/reform2/board_reform2.c#L54319:09
cinap_lenrekthank you!19:09
cinap_lenrekperfect19:09
alex4nderminute: hey... I'm about to ping crowdsupply again about my missing trackball.. are they available or are you guys slammed right now for other things?19:18
alex4nderit's not a problem either way, I just don't want them to forget19:18
minutealex4nder: we don't have anything to do with those details, we ship them stock and they distribute it19:19
minutealex4nder: so i would recommend to contact them19:19
minutecinap_lenrek: 0p is off, 1p is on ;)19:21
vagrantcfinally got around to building a mntreform image with the system-v3 scripts (although modified to not install so much stuff)19:22
vagrantcwell, actually, i ran out of disk space and then tweaked the script to finish with a smaller space ... but it worked :)19:22
- sts-q (QUIT: Remote host closed the connection) (~sts-q@2a01:41e1:2cd5:3300:2c78:db1e:2c4a:4729)19:25
+ sts-q (~sts-q@2a01:41e1:2cd5:3300:2c78:db1e:2c4a:4729)19:26
cinap_lenrekminute: no dice19:28
cinap_lenrekmaybe my usb serial adapter is wrong?19:28
cinap_lenreki assume it needs 3.3v on the signals?19:29
minutecinap_lenrek: 3v3 is right yes19:29
cinap_lenrekno idea then19:29
cinap_lenrekmaybe setting that 57600 baud rate just doesnt work19:30
minutecinap_lenrek: lpc might be sleeping19:32
minutecinap_lenrek: you probably have to make this function return at the top: https://source.mnt.re/reform/reform/-/blob/master/reform2-lpc-fw/src/boards/reform2/board_reform2.c#L81819:34
minutecinap_lenrek: and re-flash the lpc firmware19:34
alex4nderminute: I meant more about stock availability from your perspective.. but sure, I'll just hit them up19:35
alex4nderi.e. could I order one from you right now if I needed to19:35
minutewe are currently preparing a big shipment of trackballs to mouser19:36
alex4nderperfect, thanks19:36
- sts-q (QUIT: Ping timeout: 240 seconds) (~sts-q@2a01:41e1:2cd5:3300:2c78:db1e:2c4a:4729)19:50
+ sts-q (~sts-q@2a01:41e1:2cd5:3300:2c78:db1e:2c4a:4729)19:58
cinap_lenrekminute: i dont understand20:01
cinap_lenrekminute: my understanding is that the keyboard display thing basically just talks on the uart to power the machine up20:02
cinap_lenrekminute: or does it have another secret way to wake up the lpc out of band?20:02
cinap_lenrekmaybe i'm also having a fundamental misunderstanding somewhere20:04
cinap_lenreki'm connected to the connector J23 on the board20:04
cinap_lenrekmaybe i need to connect to the cable instead?20:04
cinap_lenreki assume that goes to the keyboard20:04
_Ethe LPC goes to a very low-power sleep for a bit when it's inactive20:07
cinap_lenrekhow does the keyboard manage to wake it up?20:09
cinap_lenrekout of band?20:09
_Ehttps://source.mnt.re/reform/reform/-/blob/master/reform2-keyboard-fw/remote.c#L7520:09
_Eit sends 'a' a bunch20:09
cinap_lenrekokay!20:09
_Eif it gets something back, the LPC is awake20:10
cinap_lenrekthats what i'm worried20:10
cinap_lenrekheres nothing20:10
_Ehow do you have the uart wired up on J23?20:11
cinap_lenrekjust ground, rx and tx20:11
cinap_lenreki measured before to check where pin 1 is (with the 3v3)20:12
cinap_lenrekbut i'm also tried swapping rx/tx just in case the usb serial uart converter is stupidly labled20:12
_Eif I'm reading the schematics right, the pins are (from left to right) LPC_VCC, LPC_TXDc, LPC_RXDc, GND20:13
sigridfwiw my usb serial did not work either until i switched to a different usb cable20:13
sigridthe same old cable always worked with every other device20:13
cinap_lenrek_E: hm20:14
_EI've mainly been using J18/J2020:14
cinap_lenrekyeah, these work fine for me20:15
_Ebut whenever I try to put a jumper on one of the J23-style ports, the jumper cables feel loose20:15
cinap_lenrektho what you said about the direction could explain it20:15
cinap_lenrekah, no20:15
cinap_lenrekno, i'm fine20:15
cinap_lenrekexactly20:15
cinap_lenrekvdd, tx, rx, ground20:16
_Ethat reminds me, what IS the point of J20?20:22
_EJ18 is the iMX's UART120:22
_EJ20 is UART2, which is supposedly connected back to the system controller through the iMX?20:22
cinap_lenrekmaybe it was used to debug the system controller?20:24
_Eexercise for the reader, I guess20:26
minutecinap_lenrek: the keyboard just spams the lpc until it wakes up yeah20:53
minutevery sub optimal atm20:53
minuteJ20 is just another UART of imx20:54
cinap_lenreki bet its my serial converter20:54
cinap_lenrekor that sleep state thing20:54
cinap_lenrekwho knows20:54
cinap_lenrekanother option would be to modify the lpc firmware and have the reform power on by default?20:55
minutecinap_lenrek: i would just disable the sleep stuff and reflash lpc firmware20:55
minutecinap_lenrek: oh yes, that too, sure20:55
cinap_lenreki have a remote controllable pdu :)20:55
minutecinap_lenrek: i used that for debugging for a while20:55
cinap_lenreki think in the end it is even more practical20:55
minuteflashing the lpc is pretty easy20:55
minutejust unusual20:55
cinap_lenrekok20:55
cinap_lenreki'll research this!20:55
minuteyou connect to it with micro usb and it shows up as a disk20:55
minuteyeah, it's in the handbook20:55
cinap_lenrekwonderfull20:56
minuteone pitfall that is not in the docs: you need to cd into the tools/lpcrc directory once and make20:57
minute(required by the top level make)20:57
+ mjw (~mark@gnu.wildebeest.org)21:07
cinap_lenrekis it possible to brick the lpc?21:23
cinap_lenrekor is that usb disk emulation thing part of the chips rom?21:24
- sts-q (QUIT: Ping timeout: 250 seconds) (~sts-q@2a01:41e1:2cd5:3300:2c78:db1e:2c4a:4729)21:28
cinap_lenrekhow does mnt keep track of the cells charge?21:28
cinap_lenrekif i want to only run it from the mains it would be a good idea to disconnect the cells?21:29
cinap_lenrekbut then the lpc looses track of what the state of the cells is?21:29
minutecinap_lenrek: disk thing is in rom21:31
minutecinap_lenrek: yes, remove all cells21:31
+ buckket (~buckket@pdp8.buckket.org)21:34
- eery (QUIT: Ping timeout: 248 seconds) (~eery@172.97.103.152)21:41
- alex4nder (QUIT: Ping timeout: 250 seconds) (~alexander@wsip-184-186-225-187.sb.sd.cox.net)21:56
+ eery (~eery@172.97.103.152)22:10
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:40)22:13
joschscops: I now successfully flashed and booted sysimage-v3 from eMMC. To make this easier I expanded the reform-flash-rescue script: https://source.mnt.re/reform/reform-tools/-/merge_requests/1422:25
joschI also tested the --emmc arguments to the various tools and they seem to work fine.22:25
scopsjosch: I will look at the weekend, thx for the info :)22:28
+ sts-q (~sts-q@2a01:41e1:2cd5:3300:2c78:db1e:2c4a:4729)22:32
- sts-q (QUIT: Ping timeout: 240 seconds) (~sts-q@2a01:41e1:2cd5:3300:2c78:db1e:2c4a:4729)22:36
cinap_lenrekWORKS!!!!22:43
- qbit (QUIT: Quit: WeeChat 3.4.1) (~qbit@h.suah.dev)22:43
cinap_lenrekhttp://felloff.net/usr/cinap_lenrek/firmware.bin22:45
joschcinap_lenrek: 403 Forbidden22:47
+ qbit (~qbit@h.suah.dev)22:49
cinap_lenrekgod damn it22:50
cinap_lenreksorry, fixed.22:50
_Ewell... if you *wanted* to brick -- I mean "secure" -- it you could set CRP22:53
minutecinap_lenrek: awesome!22:56
cinap_lenrekits in the rack already22:57
cinap_lenrekprint A's on the serial console :>22:57
cinap_lenrekoh, forgot the ethernet22:58
cinap_lenrekneed to make cable22:58
+ bgs (~bgs@cpe-212-85-160-171.cable.telemach.net)23:06
_Eit would have been nice if NXP hadn't put all the useful documentation behind a login gate23:10
_Edo they even allow accounts for individuals?23:10
minute_E: i believe they do23:16
_Eminute: let's find out23:20
_Eminute: seems like it23:31
_Ehad to put in a bunch of stuff like phone number and street address before they let me download the iMX8 ref manual, though23:32
_Ethat's nice, I thought they were going to bundle an NDA in there somewhere23:34
cinap_lenrekAAAND i'm printing A's23:41
_Ecinap_lenrek: oh no, it's angry/scared23:42
cinap_lenrekxxx:23:43
cinap_lenrekMOVW $0x30860040, R123:43
cinap_lenrekMOVW $'A', R223:43
cinap_lenrekMOVW R2, (R1)23:43
cinap_lenrekB xxx23:43
minuteawesome23:46
minute_E: no, we went with imx8m because there's no nda for nxp ref manuals normally23:47
minute(i mean, it was one of the reasons)23:47
_Eyeah, I remember reading that somewhere23:47
cinap_lenrekat least its not fucking hitl^Wbroadcom23:48
_Erecently they put everything behind a login gate, and my assumption was that the ToS/whatever included NDAs23:48
cinap_lenreki had litterally ZERO documentation except staring at linux code :(23:48
_Edon't a bunch of networking h/w companies do that23:49
sigridyou can still find a lot of those pdfs just by googling23:50
cinap_lenreki got the imx8mdqlqrm23:50
sigridthat's the one I have as well23:51
_Esigrid: yeah, my pre-account solution was the wayback machine23:51
minutebtw, if anyone downloaded the rk3588 trm when it was up for a few hours, tell me23:52
_Eminute: might have found a copy23:55
minute_E: oh nice!23:55
_Ehttps://wiki.radxa.com/Rock5/hardware23:55
_Elooks like it's got two parts23:56
_Efirst one's date is 2022-03-09, rev 1.023:56
_Ewell, same for both23:56
minuteah awesome thanks23:57
_Egood lord, it's almost all tables23:57

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