2023-10-25.log

minuteearlier today i put some different debugging stuff in my lpc fw like an uptime counter. then i shut it down for some hours and just turned it on again at home: uptime showed something like 480 seconds when i checked after a while. so it looks like lpc does reser/restart at some point. the Q is why.00:11
- jacobk (QUIT: Ping timeout: 255 seconds) (~quassel@129.110.242.224)00:16
+ jacobk (~quassel@utdpat241106.utdallas.edu)00:28
- mjw (QUIT: Ping timeout: 260 seconds) (~mjw@gnu.wildebeest.org)00:50
minuteklardotsh: btw do both of the charger leds go off/on or only one? the latter might be normal balancing. you can see the current status (like balancing, normal, error, ...) when selecting system status in the oled menu01:04
minute(or circle followed by S)01:05
klardotshfrom teh angle I was looking at it, I wasn't able to tell, but I'm assuming both of them - looking in through the headphone jack, it was either pitch black, or hella red, on about a 2-3s square wave cycle01:06
klardotshit's now properly dead, but I could try plugging it back in to see if it'll live long enough to circle-s for me...01:06
minuteklardotsh: if it's not too much trouble, maybe you could check without the bottom plate? 01:18
minuteklardotsh: i have seen something similar recently on my machine which is because my power supply is too weak for the current that my reform wants to pull while charging and being on and full blast. but that doesn't seem to be your case01:19
klardotshlemme find what I did with my ifixit screwdriver kit and I could open er up yeah. no eta on that, juggling a few chores this afternoon01:20
minuteok! got to sleep now (1:20am here), but will read logs tomorrow01:20
klardotshbut yeah no the device has been a headless ssh/nfs server for a couple weeks now, all  the actual computing gruntwork has been done on my desktop and cross-compiled over. I've had it plugged into multiple known-good USB-C sources, most I ever saw it draw when batts were full was like 15W. if charging, 55W. which is ez mode for these chargers01:21
klardotshnight minute ! ty for chiming in with some tips!01:21
- ajr (QUIT: Quit: Connection closed for inactivity) (uid609314@user/ajr)01:24
- jacobk (QUIT: Ping timeout: 240 seconds) (~quassel@utdpat241106.utdallas.edu)01:40
+ jacobk (~quassel@utdpat241106.utdallas.edu)01:51
- colinsane (QUIT: Quit: bye) (~colinunin@97-113-128-229.tukw.qwest.net)01:54
+ colinsane (~colinunin@97-113-128-229.tukw.qwest.net)01:56
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:20)02:21
- jacobk (QUIT: Ping timeout: 248 seconds) (~quassel@utdpat241106.utdallas.edu)02:34
- bkeys (QUIT: Remote host closed the connection) (~Thunderbi@199.226-24.cm.ptn.tftn.dynamic.friendlycity.net)02:50
+ bkeys (~Thunderbi@199.226-24.cm.ptn.tftn.dynamic.friendlycity.net)02:50
* robin_ -> robin04:18
+ jacobk (~quassel@utdpat241106.utdallas.edu)04:35
- jacobk (QUIT: Ping timeout: 260 seconds) (~quassel@utdpat241106.utdallas.edu)04:42
+ jacobk (~quassel@utdpat241106.utdallas.edu)05:15
- GNUmoon (QUIT: Remote host closed the connection) (~GNUmoon@gateway/tor-sasl/gnumoon)05:36
+ GNUmoon (~GNUmoon@gateway/tor-sasl/gnumoon)05:37
- GNUmoon (QUIT: Remote host closed the connection) (~GNUmoon@gateway/tor-sasl/gnumoon)05:46
+ GNUmoon (~GNUmoon@gateway/tor-sasl/gnumoon)05:46
- jacobk (QUIT: Ping timeout: 272 seconds) (~quassel@utdpat241106.utdallas.edu)05:58
+ jacobk (~quassel@utdpat242024.utdallas.edu)07:00
- doctorhoo (QUIT: Ping timeout: 255 seconds) (~doctorhoo@217-210-162-155-no600.tbcn.telia.com)07:06
+ doctorhoo (~doctorhoo@2a00:801:792:5f09:8366:957f:a89b:224e)07:07
- klardotsh (QUIT: Read error: Connection reset by peer) (~klardotsh@c-67-170-115-80.hsd1.wa.comcast.net)07:24
+ klardotsh (~klardotsh@c-67-170-115-80.hsd1.wa.comcast.net)07:26
- GNUmoon (QUIT: Remote host closed the connection) (~GNUmoon@gateway/tor-sasl/gnumoon)07:48
+ GNUmoon (~GNUmoon@gateway/tor-sasl/gnumoon)07:50
joschminute: wayfire 0.8.0 as well as reform-firedecor are now in Debian unstable. This means that the reform-system-image pipeline will break the next time it is run, because the package is not called firedecor anymore.08:32
joschminute: luckily, i have just the right MR for you: https://source.mnt.re/reform/reform-system-image/-/merge_requests/8708:32
joschit lets you freely choose the distro you want to build for, uses most recent uboots with ${bootargs} set as they should and includes the ominous reform-tools 1.33 as well :)08:32
- GNUmoon (QUIT: Remote host closed the connection) (~GNUmoon@gateway/tor-sasl/gnumoon)09:09
+ GNUmoon (~GNUmoon@gateway/tor-sasl/gnumoon)09:10
- jacobk (QUIT: Ping timeout: 272 seconds) (~quassel@utdpat242024.utdallas.edu)09:11
vkoskivSo there is a WIP decoder in 'drivers/staging/media/meson/vdec', has anyone here tried it?09:17
vkoskivSeems like meson_vdec is loaded too, that's probably why I see 'vdec' in /proc/interrupts09:19
vkoskivApparently /dev/video0 is the thing, then?09:20
vkoskivNow all I need to do is to figure out how to talk to it!09:24
vkoskivI'll read the mailing list before I ask them on the IRC09:25
vkoskivAt least a bit of it, there's a lot there09:25
vkoskivHeyy! mpv actually manages to talk to it, at least for a bit before crashing09:28
vkoskivI can see mpv and the decoder communicating with strace09:28
vkoskivopenat(AT_FDCWD, "/dev/video0", O_RDWR|O_NONBLOCK) = 1509:28
vkoskivioctl(15, VIDIOC_QUERYCAP, {driver="meson-vdec", card="Amlogic Video Decoder", bus_info="platform:meson-vdec", version=KERNEL_VERSION(6, 5, 6), capabilities=V4L2_CAP_VIDEO_M2M_MPLANE|V4L2_CAP_EXT_PIX_FORMAT|V4L2_CAP_STREAMING|V4L2_CAP_DEVICE_CAPS, device_caps=V4L2_CAP_VIDEO_M2M_MPLANE|V4L2_CAP_EXT_PIX_FORMAT|V4L2_CAP_STREAMING}) = 009:28
+ jacobk (~quassel@64.189.201.150)09:29
vkoskivVery exciting :D09:29
vkoskivI'll mess with this more after work.09:29
+ mjw (~mjw@gnu.wildebeest.org)09:46
minutejosch: it just occured to me that we can move this to dts https://source.mnt.re/reform/reform-debian-packages/-/tree/main/linux/patches6.5/ls1028a-mnt-reform2?ref_type=heads10:11
minutejosch: and have zero patches for ls1028a10:11
joschuh nice! :)10:12
joschthough it does not add much value other than now being able to use the Debian kernel straight up *if* one also has a compatible dtb10:12
- mjw (QUIT: Killed (NickServ (GHOST command used by mark_!~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae))) (~mjw@gnu.wildebeest.org)10:15
* mark_ -> mjw10:15
+ mark_ (~mjw@gnu.wildebeest.org)10:15
- jjbliss (QUIT: Ping timeout: 240 seconds) (~jjbliss@1464766-static.elnsmiaa.metronetinc.net)10:44
minutejosch: yes, but for example there is one customer who would like to try the rt kernel11:37
joschoh right we have that one disabled11:40
joschshould reform-debian-packages build the rt kernel?11:40
minutejosch: that would prolong our build by quite a bit, no?11:41
minutemaybe we can provide a recipe on how to do a local build of that package if needed?11:42
joschthat recipe is at the bottom of the README11:42
minuteah :D11:43
joschand to build the rt kernel, just delete this one hunk from linux/packaging.diff11:43
minutejosch: thank you! passed it on11:44
joschhuh, since yesterday my middle trackball button either does not work or inserts things twice -- what could've happened?11:44
minutejosch: hmm, sounds like cold solder joint on the switch11:44
joschwould re-heating the joints from the back with a soldering iron potentially fix it?11:45
minutejosch: yep11:51
minutejosch: best with some additional solder11:52
joschcool, maybe this also can fix my F11 button on the keyboard :D11:52
joschi'll try that once i take my reform apart when i install mainboard 2.511:52
Boostisbetterminute: any thought on making switches hot swappable in the future?11:54
+ jjbliss (~jjbliss@1464766-static.elnsmiaa.metronetinc.net)11:59
minuteBoostisbetter: not really familiar with 'em yet12:26
Boostisbetterminute: I think the biggest question is going to be if the low-profile switches we are using are capable of being used in that way. I made a keyboard for the Penkesu and it uses the same switches. They are not hot swappable. 12:28
joschminute: thank you for merging https://source.mnt.re/reform/reform-system-image/-/merge_requests/87 did you test any of this on a311d?13:00
joschI of course am limited to testing all this on imx8mq13:00
joschminute: also please test wayfire and firedecor -- i'm not familiar with either so i do not know how things should work or look like13:02
joschif there are problems, i can fix them in Debian13:02
+ chomwitt (~chomwitt@2a02:587:7a01:8f00:1ac0:4dff:fedb:a3f1)13:06
- Boostisbetter (QUIT: Ping timeout: 255 seconds) (4a410829d7@irc.cheogram.com)13:15
+ Boostisbetter (4a410829d7@irc.cheogram.com)13:21
- marty_mcfly88 (QUIT: Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) (~quassel@2603-6000-8c01-0f3e-8981-851c-da40-7ba9.res6.spectrum.com)13:56
+ marty_mcfly88 (~quassel@2603-6000-8c01-0f3e-8981-851c-da40-7ba9.res6.spectrum.com)13:57
minutejosch: i am going to test a311d reforms today with that image 13:58
- jacobk (QUIT: Ping timeout: 272 seconds) (~quassel@64.189.201.150)15:04
+ jacobk (~quassel@129.110.242.224)15:15
joschnice, thank you!15:38
joschi'm preparing the next reform-tools upload, so all bugs you find can get into that one as well15:39
- GNUmoon (QUIT: Remote host closed the connection) (~GNUmoon@gateway/tor-sasl/gnumoon)15:56
+ GNUmoon (~GNUmoon@gateway/tor-sasl/gnumoon)15:57
+ GNUmoon2 (~GNUmoon@gateway/tor-sasl/gnumoon)16:04
- Boostisbetter (QUIT: Ping timeout: 248 seconds) (4a410829d7@irc.cheogram.com)16:06
- jacobk (QUIT: Ping timeout: 260 seconds) (~quassel@129.110.242.224)16:08
+ Boostisbetter (4a410829d7@irc.cheogram.com)16:08
- GNUmoon (QUIT: Ping timeout: 256 seconds) (~GNUmoon@gateway/tor-sasl/gnumoon)16:09
- GNUmoon2 (QUIT: Remote host closed the connection) (~GNUmoon@gateway/tor-sasl/gnumoon)16:11
+ GNUmoon2 (~GNUmoon@gateway/tor-sasl/gnumoon)16:12
+ jacobk (~quassel@utdpat241106.utdallas.edu)16:15
- jacobk (QUIT: Ping timeout: 260 seconds) (~quassel@utdpat241106.utdallas.edu)16:28
- GNUmoon2 (QUIT: Remote host closed the connection) (~GNUmoon@gateway/tor-sasl/gnumoon)16:57
+ GNUmoon2 (~GNUmoon@gateway/tor-sasl/gnumoon)16:58
eerywhat package would have the hw audio config files on Reform?17:41
minuteeery: reform-tools, but there isn't much17:43
eeryhmmm okay - I'm running a non-debian system and getting a "no backend DAIs enabled for fe.dai-link-0, possibly missing ALSA mixer-based routing or UCM profile" error (on A311D), so I assumed there's a conf file I'm missing17:45
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:20)17:50
- doctorhoo (QUIT: Read error: Connection reset by peer) (~doctorhoo@2a00:801:792:5f09:8366:957f:a89b:224e)17:53
+ doctorhoo (~doctorhoo@2001:2043:5e0f:a800:5435:aa58:22d4:2245)17:53
- Boostisbetter (QUIT: Ping timeout: 272 seconds) (4a410829d7@irc.cheogram.com)18:00
+ Aard (~bwachter@edna-edison.lart.info)18:05
- doctorhoo (QUIT: Ping timeout: 252 seconds) (~doctorhoo@2001:2043:5e0f:a800:5435:aa58:22d4:2245)18:06
+ doctorhoo (~doctorhoo@2a00:801:792:5f09:8366:957f:a89b:224e)18:07
- doctorhoo (QUIT: Read error: Connection reset by peer) (~doctorhoo@2a00:801:792:5f09:8366:957f:a89b:224e)18:15
+ doctorhoo (~doctorhoo@2001:2043:5e0f:a800:c5e2:e823:908:cca3)18:16
joscheery: i'm unfamiliar with that error message but here are the files that reform-tools ships related to audio: https://source.mnt.re/reform/reform-tools/-/tree/main/audio?ref_type=heads18:17
joscheery: the 99-reform.rules is a udev rule that loads reform.conf from /usr/share/pulseaudio/alsa-mixer/profile-sets/reform.conf18:19
joschthe asound.state file goes into /var/lib/alsa/asound.state and will get changed by alsa tools18:19
joschlastly, analog-input-reform.conf goes to /usr/share/pulseaudio/alsa-mixer/paths/analog-input-reform.conf18:20
+ Boostisbetter (4a410829d7@irc.cheogram.com)18:30
eeryjosch: thank you :)18:31
joscheery: what platform are you working on?18:44
eeryjosch: just gentoo on the A311D18:49
minuteeery: afaik the error is "normal" as there is no UCM yet... you have to set a few controls to make it work18:50
minuteeery: here is the magic sauce https://source.mnt.re/reform/reform-tools/-/blob/main/sbin/reform-hw-setup?ref_type=heads#L3118:51
minuteeery: i got these instructions from narmstrong in #linux-amlogic18:51
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:20)19:29
- mjw (QUIT: Killed (NickServ (GHOST command used by mark_!~mjw@gnu.wildebeest.org))) (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)19:46
* mark_ -> mjw19:46
+ mark_ (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)19:47
- doctorhoo (QUIT: Read error: Connection reset by peer) (~doctorhoo@2001:2043:5e0f:a800:c5e2:e823:908:cca3)20:00
+ doctorhoo (~doctorhoo@217-210-162-155-no600.tbcn.telia.com)20:01
- GNUmoon2 (QUIT: Remote host closed the connection) (~GNUmoon@gateway/tor-sasl/gnumoon)20:24
+ GNUmoon2 (~GNUmoon@gateway/tor-sasl/gnumoon)20:25
+ Ar|stote|is (~linx@149.210.9.78)20:35
+ jacobk (~quassel@cpe-76-186-215-32.tx.res.rr.com)21:03
- jacobk (QUIT: Ping timeout: 248 seconds) (~quassel@cpe-76-186-215-32.tx.res.rr.com)21:09
joschoh that's what those are for!21:39
joschminute: mind if i add the info from the last few messages to that file as code comments?21:39
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:50)21:41
minutenow that's a testimonial--thanks to y'all contributions to the system https://noc.social/@de/11129726479512686521:52
minutejosch: sounds good!21:53
joschokay, added a few lines locally21:57
joschminute: did you spot any issues with the new system image?21:57
minutejosch: i was this close to testing it on a new system, but then i discovered that it was a new imx module from mouser that has to be usb flashed first, etc etc, will continue where i left off tomorrow morning ^^21:58
joschnew imx modules don't work out of the box but have to be prepared first?22:02
minutenowadays yes... they can't boot from sd anymore22:03
minutethey messed that up by fusing them differently22:03
minuteso i have to flash the usb via usb bootloader mode (uuu)22:03
minuteflash the emm22:03
minuteemmc22:03
joschoh that thing22:04
joschhow annoying :(22:04
minuteyeah ;/22:04
joschfor a311d reform-tools forbids flashing to emmc22:05
joschis there a way to detect the imx version from linux to prevent flashing to sd-card?22:05
minuteflashing to sd card is fine, no?22:06
minuteit's only about uboot22:06
joschi'm talking about refrom-flash-uboot22:06
minuteyou mean, you want to make sure reform-flash-uboot will always flash emmc on these systems?22:07
minutei think it's possible to detect with crucible, let me dig something up22:07
joschwe do the same on a311d (because it's dangerous to write to emmc)22:07
joschand on ls1028a (because it can only boot from sd)22:08
minutehttps://mastodon.social/@mntmn/11102454417688478422:08
minuteone can read a certain memory mapped register (OCOTP_BOOT_CFG0) and check for the BT_FUSE_SEL bit 22:08
minutei can double check that later22:09
minuteif you want to check your fuse bits: https://github.com/usbarmory/crucible22:09
joschi'd be afraid to do something wrong without step-by-step instructions :D22:11
minutehaha, i think it has a bunch of safeguards before blowing any fuses :D22:15
joschokay )22:20
josch:)22:20
- GNUmoon2 (QUIT: Remote host closed the connection) (~GNUmoon@gateway/tor-sasl/gnumoon)22:26
+ GNUmoon2 (~GNUmoon@gateway/tor-sasl/gnumoon)22:27
joschminute: hm... but there is no imx8mq.yaml22:32
joschthe crucible fusemap i mean22:33
- nocko (QUIT: Quit: WeeChat 4.0.4) (~nock@user/nocko)22:33
joschactually, for those boards, should reform-flash-uboot not forbid to also flas to emmc because doing so might soft-brick the board?22:34
minutejosch: not forbid, but warn i guess... i need the tool to flash the right uboot later22:47
joschthen should reform-flash-uboot also not forbid but only warn for a311d?22:48
minutejosch: perhaps22:51
minutewe really need a cheap usb recovery board thingie... relatively easy to make, just don't have the time atm22:52
joschdid anybody's board get soft-bricked yet?22:52
minuteno23:00
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:50)23:00
- Boostisbetter (QUIT: Ping timeout: 240 seconds) (4a410829d7@irc.cheogram.com)23:01
+ Boostisbetter (4a410829d7@irc.cheogram.com)23:07

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