| - wickedshell (QUIT: Ping timeout: 248 seconds) (~wickedshe@2601:8c0:c7c:3572:eba7:2582:bfa0:f1b5) | 00:28 | |
| - pomel0 (QUIT: Ping timeout: 256 seconds) (~pomel0@user/pomel0) | 00:48 | |
| + potatoes (~AdminUser@user/potatoes) | 01:13 | |
| potatoes | hello! if I am having trouble getting a serial console viewable on my mnt-reform (classic). Are there any recommendations to figure out what is going wrong? | 01:17 |
|---|---|---|
| kfx | which module are you using, and which version of the motherboard do you have? | 01:18 |
| potatoes | I'm using the rk3588 and the motherboard.... v2? not the latest one | 01:18 |
| kfx | the one with no usb-c port? | 01:19 |
| kfx | some cables are not fast enough to support the serial console | 01:19 |
| potatoes | > the one with no usb-c port? | 01:19 |
| potatoes | yes | 01:19 |
| kfx | make sure your DIP switches are set to enable the console | 01:19 |
| potatoes | !!! | 01:19 |
| kfx | and what kind of cable are you using? | 01:19 |
| potatoes | where are the DIP switches? | 01:20 |
| potatoes | I saw references to this, but I couldn't find them in the handbook | 01:20 |
| kfx | under the heat sink, on the side of the module toward the ethernet port | 01:20 |
| kfx | might be a little piece of yellow plastic covering them | 01:21 |
| potatoes | and the pocked doesn't have one, right? | 01:21 |
| kfx | dunno, I don't have a pocket | 01:21 |
| potatoes | (I'm having trouble with both) | 01:21 |
| kfx | but the handbook talks about dip switches here https://mntre.com/documentation/reform-handbook/advanced.html#serial-console | 01:21 |
| potatoes | yeah, I just couldn't find the dip switches, physically | 01:22 |
| kfx | ah | 01:22 |
| potatoes | okay, cool. I will check this out in a bit! thank you | 01:23 |
| kfx | https://www.crowdsupply.com/img/674b/574556ec-44aa-4f8a-811f-a3d89519674b/reform-motherboard-with-rcore-rk3588-closeup_jpg_gallery-lg.jpg | 01:23 |
| kfx | you can see em, peeking out from under the ribbon cable on the right side of the module here | 01:23 |
| potatoes | omg, thank you, that is very helpful | 01:24 |
| kfx | but also confirm your cable | 01:24 |
| potatoes | I have an old one of these: https://www.amazon.com/dp/B07WX2DSVB | 01:25 |
| potatoes | and I just connect it to some wires I have lying around | 01:26 |
| kfx | ok, the FT232RNL should be fast enough | 01:26 |
| potatoes | great! thanks for checking | 01:26 |
| potatoes | okay, I'll do this later tonight. I'm trying very hard not to write a paper rn : ' ( | 01:27 |
| kfx | I just realized the picture I linked is a motherboard 3.0, so the dip switches might not be in the same place? | 01:28 |
| vagrantc | yeah, you need one capable of 1.5MB or 1500000 ~baud | 01:28 |
| kfx | look under stuff though | 01:28 |
| vagrantc | my dip switches are right next to the pins for the serial console | 01:28 |
| vagrantc | although i honestly don't remember having to ever flip the dip switches | 01:29 |
| vagrantc | but if it did, it was so long ago ... | 01:30 |
| kfx | I've had three motherboards over the years and I remember having to flip switches on two of them | 01:30 |
| kfx | more common I swapped tx and rx on the connection | 01:30 |
| vagrantc | most common issue is flipping the rx and tx ... sometimes you just have to try both ways, as things can be labeled from the device perspective or the other device's perspective :) | 01:31 |
| josch | kfx: but potatoes said that they do *not* have the mainboard with usb-c. The dip switches are on mainboard 3 which *does* have usb-c | 01:34 |
| josch | if it were mainboard 3, then dip switches would be relevant but then you cannot flip rx and tx lines because you connect via usb-c | 01:34 |
| + reform29661 (~root@83.6.112.189.ipv4.supernova.orange.pl) | 01:35 | |
| vagrantc | there are dip swiches for flashing the controller firmware or whatever ... or is that just buttons? | 01:36 |
| josch | potatoes: the mainboard has a badge on it which will tell you what you have. Here is a table: https://source.mnt.re/reform/reform-handbook/-/issues/4 The table is missing mainboard 3 but if you don't find yours and if you have usb-c charging then you have mainboard 3.0. | 01:36 |
| vagrantc | hmmm... i should consider updating my firmware and seeing if some of the weird glitches with the battery reporting go away... | 01:36 |
| vagrantc | last time i updated it and the battery started working, but the lcd randomly reports wild voltages in the battery monitor | 01:37 |
| vagrantc | battery module monitoring the battery form the OS, that is ... | 01:37 |
| - reform29661 (QUIT: Client Quit) (~root@83.6.112.189.ipv4.supernova.orange.pl) | 01:38 | |
| vagrantc | but it fairly often will report half the cells at 0v and half the cells at 9v, and then settle on something reasonable in the 3-3.6 range :) | 01:39 |
| vagrantc | capacity moniroting also seems a bit off ... think i have 2.2Ah cells, but it might be configured for 2Ah cells or something like that | 01:41 |
| vagrantc | oops, backwards ... my cells are 2Ah, but firmware configured for soemthing higher | 01:42 |
| - mjw (QUIT: Ping timeout: 264 seconds) (~mjw@gnu.wildebeest.org) | 01:43 | |
| potatoes | thanks josch, I'll check that out in a bit | 01:45 |
| + paperManu_ (~paperManu@204.244.197.237) | 02:05 | |
| - a3f (QUIT: Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in) (~a.fatoum@flummi.grey.stw.pengutronix.de) | 02:10 | |
| + a3f (~a.fatoum@flummi.grey.stw.pengutronix.de) | 02:11 | |
| + wickedshell (~wickedshe@2601:8c0:c7c:3572:5235:a7bc:a0ea:6798) | 02:35 | |
| potatoes | okay yeah, it looks like I have a 2.5 | 03:38 |
| - paperManu_ (QUIT: Ping timeout: 245 seconds) (~paperManu@204.244.197.237) | 03:41 | |
| - paperManu (QUIT: Ping timeout: 255 seconds) (~paperManu@204.244.197.237) | 03:42 | |
| potatoes | so the funny thing that is happening is that i can boot up my reform just fine (using the emmc-mounted boot + nvme) but I can't see the serial console when I do this | 03:47 |
| potatoes | is this by design? Like, serial console only works on a fresh sd card? | 03:47 |
| vagrantc | no | 03:58 |
| vagrantc | there should be some output on the serial console as long as the boot firmware is loading | 03:59 |
| vagrantc | potatoes: how are you reading from the serial console? | 03:59 |
| vagrantc | and have you tried swapping the tx and rx ? | 03:59 |
| vagrantc | my favorite these days is: tio --baudrate 1500000 /dev/serial/by-id/... | 04:01 |
| vagrantc | i used to use: screen /dev/serial/by-id/... 1500000 | 04:02 |
| kfx | you can't see u-boot, linux, or either? might be different console= in the kernel cmdline | 04:03 |
| vagrantc | if there's no u-boot ... console= wouldn't matter | 04:03 |
| potatoes | one sec I'm trying to check this out from my pocket because my usual laptop is a bit messed up | 04:04 |
| + paperManu (~paperManu@79.127.134.34) | 04:04 | |
| vagrantc | but yeah, a mismatch in kernel arguments, i'd expect to see u-boot briefly on boot, and then nothing | 04:04 |
| vagrantc | oh, there are two sets of serial pines on my motherboard ... the ones that are parallel with the motherboard and hanging off the edge, and the ones perpendicular to it ... both are labled gnd/tx/rx or so | 04:09 |
| potatoes | mmmm... swapped TX/RX, nothing | 04:09 |
| vagrantc | serial pins ... | 04:09 |
| vagrantc | the ones that i am using are the ones parallel to the motherboard and poking out between the battery connectors | 04:10 |
| potatoes | Yeah, I'm using the ones parallel to the board labelled S1 | 04:10 |
| potatoes | it feels pretty unusual -- I can't see anything using tio but my device boots perfectly normal | 04:12 |
| potatoes | (I'm trying to debug a custom image) | 04:13 |
| potatoes | do you actually need both TX and RX? | 04:15 |
| potatoes | (just curious) | 04:15 |
| potatoes | another thing I thought happened (back when I was doing more debugging like a year ago) was that after plugging in there was a polling period, so the main chip would output to serial console that it was looking for a device to boot | 04:19 |
| potatoes | is that still true? | 04:19 |
| vagrantc | haven't noticed | 04:28 |
| vagrantc | could be that your cable doesn't actually support that speed | 04:28 |
| vagrantc | er, usb-ttl-serial adapter | 04:28 |
| vagrantc | quite a few do not, especially counterfit knock-offs | 04:29 |
| vagrantc | although i'd expect to see at least some noise or something on it then ... you do have ground plugged in? | 04:30 |
| - paperManu (QUIT: Read error: Connection reset by peer) (~paperManu@79.127.134.34) | 04:34 | |
| potatoes | I do... but I'll check out my usb connector | 04:48 |
| vagrantc | well, good luck! | 04:49 |
| vagrantc | ACTION wavs | 04:49 |
| vagrantc | ACTION wavEs | 04:49 |
| potatoes | tyty! | 04:49 |
| - vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:50) | 04:49 | |
| - potatoes (QUIT: Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) (~AdminUser@user/potatoes) | 04:55 | |
| + pomel0 (~pomel0@user/pomel0) | 04:58 | |
| - pomel0 (QUIT: Ping timeout: 264 seconds) (~pomel0@user/pomel0) | 05:08 | |
| + pomel0 (~pomel0@user/pomel0) | 05:09 | |
| - pomel0 (QUIT: Ping timeout: 255 seconds) (~pomel0@user/pomel0) | 05:18 | |
| - violet (QUIT: Remote host closed the connection) (~vi@user/meow/violet) | 05:27 | |
| + violet (~vi@user/meow/violet) | 05:28 | |
| Svp | potatoes: on 2.0 and 2.5 you dont have to touch the dips, the two serial ports are the two sets of three pins. port 1 is the flat one and port 2 is the upright one, and be sure your baud rate is 1500000, that is one million and five hundred thousand, and not 115200, and try using screen if you are using another terminal emulator, you can call it as screen <serial device> <baud rate>, i personally had bette | 07:56 |
| Svp | r luck with it | 07:56 |
| + Gooberpatrol66 (~Gooberpat@user/gooberpatrol66) | 08:44 | |
| - laumann (QUIT: Ping timeout: 248 seconds) (31d44fbb95@user/laumann) | 08:47 | |
| + laumann (31d44fbb95@user/laumann) | 08:51 | |
| - laumann (QUIT: Ping timeout: 244 seconds) (31d44fbb95@user/laumann) | 09:07 | |
| + laumann (31d44fbb95@user/laumann) | 09:26 | |
| + andreas-e (~Andreas@2a02-8434-b6a3-e901-facc-8e87-8e54-890e.rev.sfr.net) | 11:54 | |
| + mjw (~mjw@gnu.wildebeest.org) | 12:02 | |
| grimmware | anyone here got a lobste.rs invite they're willing to share? Threat intel on the Canonical DDoS is not accurate and nobody has noticed :P | 12:12 |
| - andreas-e (QUIT: Quit: Leaving) (~Andreas@2a02-8434-b6a3-e901-facc-8e87-8e54-890e.rev.sfr.net) | 12:38 | |
| grimmware | nm I got one :) | 12:46 |
| - iank (QUIT: Quit: ZNC 1.8.2+deb2+deb11u1 - https://znc.in) (~iank@fsf/staff/iank) | 13:25 | |
| + iank (~iank@fsf/staff/iank) | 13:29 | |
| + paperManu (~paperManu@204.244.197.237) | 13:30 | |
| + siviq (~siviq@user/siviq) | 13:40 | |
| - siviq (QUIT: Client Quit) (~siviq@user/siviq) | 13:41 | |
| - cobra (QUIT: Ping timeout: 244 seconds) (~cobra@user/Cobra) | 14:35 | |
| + cobra (~cobra@user/Cobra) | 14:37 | |
| minute | hmm, intially got a brownout reset today after unplugging my pocket reform and then opening some heavy apps, but after that reset, everything is totally stable for 2h 11mins, battery at 16% now | 14:38 |
| minute | so i guess that reform-power-daemon did not do its deed yet | 14:38 |
| minute | but yeah, also i'm on experimental firmware and lpc driver that doesn't fully match, so... | 14:38 |
| minute | i guess kcxt was right, at some point we need interrupts from the SC | 14:39 |
| minute | yeah if i'm at like 20% bat, run webgl fishbowl and then yank the power cable, i get a brownout | 15:21 |
| - S0rin (QUIT: Quit: WeeChat 3.8) (~S0rin@user/s0rin) | 15:35 | |
| + S0rin (~S0rin@user/s0rin) | 15:46 | |
| + jjbliss (jjbliss@infinity.garden) | 15:51 | |
| minute | hey i found an interesting way to control NVMe power | 16:00 |
| minute | this shows a table of power states: smartctl -c /dev/nvme0 | 16:01 |
| minute | this sets the power state: nvme set-feature /dev/nvme0 --feature-id=2 --value=2 | 16:01 |
| minute | the table includes max watts etc, really cool | 16:03 |
| - sterni (QUIT: ) (~quassel@user/sterni) | 16:07 | |
| minute | input wanted https://community.mnt.re/t/another-power-management-lever-nvme-input-wanted/4351 | 16:11 |
| + sterni (~quassel@user/sterni) | 16:14 | |
| murphnj | TZAG. I am going to install the Intel wifi card on my RK-upgraded pocket. Are two antennas required, or desirable? Also, the antenna wires are much longer than in the directions, any suggestions on routing to take up the slack without causing interfernce? (I assume I'll be using both.) | 16:20 |
| amospalla | you can see the current value with: nvme get-feature /dev/nvme0 -f 0x02 (my desktop/nvme goes back and forth from 0 to 4, its min and max power states). | 16:21 |
| + spew (~spew@user/spew) | 16:28 | |
| - spew (QUIT: Client Quit) (~spew@user/spew) | 16:29 | |
| + spew (~spew@user/spew) | 16:29 | |
| - spew (QUIT: Quit: nyaa~) (~spew@user/spew) | 16:34 | |
| josch | minute: that's another brownout? earlier you said hat you trigger one with webgl fishbowl which i guess doesn't have the disk involved? | 16:40 |
| minute | josch: yep, i have a solution for that too, now | 17:03 |
| minute | josch: sketch https://source.mnt.re/reform/reform-tools/-/merge_requests/167 | 17:14 |
| minute | the idea is that high power mode is only allowed from a specific battery % threshold. if you yank the cable above that threshold, it should be safe. if battery is low, it will always be in low power mode even if a charger is connected, so if you yank the cable it has no influence (or if charger is weak or intermittent) | 17:15 |
| rick_ | minute yeah i get an brownout very very sporadically too.. like once a month | 17:17 |
| rick_ | but thats fine for me | 17:17 |
| minute | mhm | 17:18 |
| rick_ | but the powersettings for the nvme is very intersting.. didn't even know this was possible in the first place | 17:20 |
| rick_ | minute regarding my brownouts i have e different suspect.. i see sometimes.. my usb devices to disconnect for like half a sec.. i checked the cables etc, they look fine. I wanted to try if i have the same behavoiur with the new board | 17:22 |
| rick_ | minute my thinking: when during this small disconencts a power spike accours, i get the browout | 17:23 |
| - mjw (QUIT: Ping timeout: 255 seconds) (~mjw@gnu.wildebeest.org) | 17:34 | |
| - tookmund (QUIT: Quit: WeeChat 4.6.3) (~jacob@static.99.214.156.178.clients.your-server.de) | 17:59 | |
| + tookmund (~jacob@2a01:4ff:f0:f7e3::1) | 18:00 | |
| josch | minute: sounds like a good plan! The only other situation that this doesn't cover yet is the one that elb i think kept running into where the pocket would fail to boot when the battery is low? | 18:09 |
| + vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:50) | 18:59 | |
| - gianmarcogg03 (QUIT: Ping timeout: 256 seconds) (~quassel@user/gianmarcogg03) | 19:27 | |
| + gianmarcogg03 (~quassel@user/gianmarcogg03) | 19:28 | |
| - cwebber (QUIT: Quit: crossing the threshold of Lugonu's domain) (~Christine@user/cwebber) | 19:50 | |
| - gianmarcogg03 (QUIT: Quit: https://quassel-irc.org - La chat diventa comoda. Ovunque.) (~quassel@user/gianmarcogg03) | 19:52 | |
| + gianmarcogg03 (~quassel@user/gianmarcogg03) | 19:52 | |
| + cwebber (~Christine@user/cwebber) | 19:53 | |
| josch | minute: in https://community.mnt.re/t/another-power-management-lever-nvme-input-wanted/4351 do you just want the output of "smartctl -c /dev/nvme0" or more than that? | 19:58 |
| + mjw (~mjw@gnu.wildebeest.org) | 20:47 | |
| - cli (QUIT: Remote host closed the connection) (~m-vsauiy@user/cli) | 21:16 | |
| elb | josch: minute: I still get that most of the time; if I'm below 50% there's a good chance it'll shut down, I think when it initializes the GPU. If I plug it in, boot, allow the power daemon to start up, and then unplug it, it'll run fine down to nearly flat. | 21:16 |
| + cli (~m-vsauiy@user/cli) | 21:20 | |
| elb | I like the idea of the above merge request; I havne't had it happen that I remove power and it shuts down, but I can certainly see how I _could_ | 21:26 |
| - manis (QUIT: Quit: Gateway shutdown) (01a66df340@185.72.67.185) | 22:00 | |
| + manis (01a66df340@185.72.67.185) | 22:02 | |
| + stephano (~stephano@71.238.14.13) | 22:14 | |
| - cwebber (QUIT: Quit: crossing the threshold of Lugonu's domain) (~Christine@user/cwebber) | 22:44 | |
| + cwebber (~Christine@user/cwebber) | 22:48 | |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!