2022-08-31.log

- S0rin (QUIT: Ping timeout: 260 seconds) (~S0rin@user/s0rin)00:34
+ S0rin (~S0rin@user/s0rin)00:35
+ klardotsh (~klardotsh@172.56.64.102)00:35
+ cwebber (~user@user/cwebber)00:39
- mtm (QUIT: Ping timeout: 252 seconds) (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)02:03
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:20)03:56
+ mtm (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)04:09
- natalie (QUIT: Ping timeout: 260 seconds) (~natalie@user/natalie)08:39
+ natalie (~natalie@user/natalie)09:36
+ qwer (~qwer@78-80-19-34.customers.tmcz.cz)10:14
- mjw (QUIT: Killed (NickServ (GHOST command used by wielaard!~mjw_@2001:1c06:2488:1400:9e5c:8eff:fe8f:a440))) (~mark@gnu.wildebeest.org)11:40
* wielaard -> mjw11:40
+ mark__ (~mark@gnu.wildebeest.org)11:40
C_Keenhi! I flashed the rescue image v3 to the emmc and turned off the boot switch, now the reform boots into the rescue system, I wanted to switch the boot mode back to sd card momentarily but it seems that reform-boot-config expects not to be run from the recue system itself. changing the /etc/fstab manually to point to mmcblk0p2 and p1 for / and /boot results in /boot mounted from sd card but not13:13
C_Keen/13:13
C_Keenso is there a way to boot from sd the root fs without having to flip the switch again?13:14
C_Keenah I missed updating initramfs13:16
* C_Keen -> C-Keen13:19
- qwer (QUIT: Ping timeout: 252 seconds) (~qwer@78-80-19-34.customers.tmcz.cz)13:33
- mtm (QUIT: Ping timeout: 268 seconds) (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)14:04
KoodaHas anyone attempted to port the patches to linux 5.19 yet?14:51
KoodaI’ve been asked to give 5.19 + some patches a try, to fix the etnaviv issues14:51
- qbit (QUIT: Quit: WeeChat 3.6) (~qbit@h.suah.dev)14:54
joschKooda: usually sigrid has the patches ready for the latest kernel version for void but I don't see 5.19 there yet: https://github.com/ftrvxmtrx/void-packages/tree/HEAD/srcpkgs/mntreform2-kernel/files14:56
+ qbit (~qbit@h.suah.dev)14:58
KoodaOk ^^14:59
KoodaI guess I’ll have to give that a try.14:59
KoodaBtw, any reason we use boot.scr instead of extlinux-like config? I know it’s available on other devices with u-boot15:00
joschKooda: the uboot version that 99% of reforms out there are running is one where extlinux booting is disabled. The current version of our uboot git has it enabled https://source.mnt.re/reform/reform-boundary-uboot but there is no way to tell who has that installed and who has not.15:02
joschKooda: so if we would switch from boot.scr to extlinux.conf today, systems would become unbootable.15:03
KoodaI see15:03
KoodaThanks fot the info! :)15:04
Koodafor*15:04
sigridthere's also 9front that people use on reforms, not only linux15:23
sigridit knows nothing about extlinux.conf :)15:24
KoodaI would think having a text based format would be beneficial for them too15:25
joschboot.scr is also text-based. I think the advantage of extlinux.conf is, that it's declarative and not turing-complete.15:26
sigridfor us it'd be additional work, i don't know much about extlinux.conf and how it's better than boot.scr15:26
KoodaAh my bad, I thought boot.scr was binary.15:27
sigridit is, the source is text15:27
joschthe resulting boot.scr has a small binary header but otherwise is readable text15:27
+ mtm (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)15:32
- Nulo (QUIT: Ping timeout: 268 seconds) (~Nulo@user/nulo)17:24
cinap_lenrekboot.scr is binary17:33
cinap_lenrekyes, its text, but wrapped in some braindead uboot header with a checksum17:34
cinap_lenrekso you can't just open it in a text editor and modify it (????? WHY? ????)17:34
+ Nulo (~Nulo@user/nulo)17:34
cinap_lenrekwonders of uboot17:34
cinap_lenrekso what we do now is actually just jank ANOTHER text file into memory (our plan9.ini essentially)) from boot.scr to a known fixed address and thats it17:35
cinap_lenreknow that file you can just modify like a normal person17:35
minute:318:02
cinap_lenreksorry minute for the noise.18:06
minutemeanwhile https://shop.mntmn.com/products/mnt-reform-ls1028a-module-preorder18:07
cinap_lenrek\o/18:07
minuteneed 70 people with surplus cash to make this real though18:08
KoodaOooh18:10
C-KeenI need to save up for the pocket reform :)18:11
C-Keen30% more power usage is quite something18:11
cinap_lenrekfuck it18:11
cinap_lenreki'll get one18:11
sigrid:O18:15
- cwebber (QUIT: Ping timeout: 252 seconds) (~user@user/cwebber)18:15
minutecinap_lenrek: nice18:16
KoodaI wonder how much hotter it gets. My Reform already goes above 60°C sometimes and it’s quite uncomfortable for my hands ^^'18:18
minutein my experience it doesn't really get much hotter18:18
Koodanice :)18:19
sknebelPCIe over HDMI is an interesting trick. I guess that means the second lane is not easily available internally? (since it probably goes directly card-edge->socket on the mainboard?)18:29
cinap_lenrekminute: überweisung is raus! viel glück das es klappt!18:29
minutecinap_lenrek: danke!!!!18:30
minutesknebel: yep18:30
sknebelalso a bit surprised by the price difference for the 16GB version - does that need a much fancier board (more layers etc?)? or are memory chips that bad if you buy small amounts?18:33
minutethe chips are just a lot more expensive18:38
C-Keenit's a bad time for independent HW projects :/18:39
sknebelyeah, just noticed that too looking some up on mouser - of course its double size chips, not more of them (and either way they make a bigger part then I thought - holy heck is the difference between "I want a stick of desktop RAM" and "I want individual chips" large)18:39
KoodaI still haven’t made the Reform version of my keyboard because µCs are so hard to come by :(18:45
KoodaI guess I should switch to RP2040 too…18:45
C-Keenor an esp32 :)18:46
KoodaEqually overkill hehe18:47
C-Keenbut not affected by the chip shortage18:47
minuteKooda: i now have a working keyboard on rp2040, although for the pocket version. but you can copy from that18:47
KoodaI should look into that yeah, because the rp doesn’t have program memory.18:48
C-Keendoes anyone know whether technomancy got further with his atreus PCB for the reform?18:48
minutei also recently brought up the OLED on it18:48
Koodanice18:48
minuteso it's not far from being useful for big reform as well18:48
sknebelyou were planning to redesign the touchbad/trackball to use RP2040 too, right? I forgot to check what's on the board I screwed in yesterday :D18:51
Koodaeverything is still using atmega32u(2|4)18:54
Koodaas far as I know18:54
Kooda(oh and the nxp chip as the system controler)18:54
C-Keenthe LPC18:55
joschLS1028A order placed -- lets make this happen!18:58
C-Keen<318:58
minutejosch: thanks!!18:59
- mjw (QUIT: Killed (NickServ (GHOST command used by mark__!~mark@gnu.wildebeest.org))) (~mjw_@2001:1c06:2488:1400:9e5c:8eff:fe8f:a440)19:00
* mark__ -> mjw19:00
+ wielaard (~mjw_@2001:1c06:2488:1400:9e5c:8eff:fe8f:a440)19:00
bkeysjosch: wait we can order the LS1028A for the Reform now?19:22
C-Keenbkeys: yes19:26
bkeysLink?19:26
bkeysSadly right now I am not in a spot where I will have the money for it, that and my Reform is still out getting repaired19:26
cinap_lenrekminute → meanwhile https://shop.mntmn.com/products/mnt-reform-ls1028a-module-preorder19:26
minutebkeys: deadline to order is end of the year19:28
bkeysAlright, I will probably be able to cough it up by then19:28
bkeysminute: As someone who likely has this in his hands right now; would you say it's an upgrade?19:31
bkeysIn terms of CPU performance, ignoring RAM19:32
minuteit depends on the workload. it's def. an upgrade for emacs and javascript19:33
minutefor compiling, not really, because on imx8mq it scales well to 4 cores19:33
bkeysMmhm, and GPU performance?19:33
minutei would say similar or slightly worse19:33
bkeysOh and does the LS1028A get any UEFI?19:34
minuteoh, this i don't know.19:34
bkeysIt seems like for my use case the soquartz SoM would be a better fit since I believe it has better GPU19:34
- klardotsh (QUIT: Quit: nyaa~) (~klardotsh@172.56.64.102)19:39
minutebkeys: possibly yes. i need to still get that to work though.19:41
KoodaIsn’t someone already using the CM4 adapter?19:42
minutei did, but i couldn't bring up mipi on the rpi yet19:47
minuteand soquartz didn't work at all so far, also didn't work for jacqueline19:47
Koodadamn19:48
bkeysCM4 would have vulkan, wouldn't it?19:48
minuteyes19:48
KoodaSOQuartz has too, iirc19:48
minutercm4 bringup completion is in my plan in a few weeks19:49
bkeysHaving GPU acceleration and UEFI would be awesome and CM4 should have UEFI19:49
minutecm4 has some drawbacks though, only 1x pcie and only usb219:50
* jnerula__ -> jnerula20:34
joschminute: I'm currently stuffing my reform with 3d printed parts to hold additonal hardware -- is the design of the new heatsink already finished? will it be bigger or placed differently compared to the current one? And where do you place the eDP adapter board?21:47
joschthe LS1028A heatsink that is21:47
+ doctorhoo (~hanno@194-18-252-127-no2005.tbcn.telia.com)21:50
minutejosch: that's not yet finalized! interested in where you are stuffing things btw21:51
minutethe edp adapter is tiny though21:51
joschminute: i'll post about it on the forum once i'm done -- but it'll be no big deal, in the worst case i just re-print the parts with some modifications next year :)21:51
joschi'm putting a huawei e3372 usb lte modem next to the batteries on the side with the sd-card slot. Between that and the ethernet port there is the enough space for my usb uart adapter. I'm putting the adapter directly into the case and then i can plug a micro-usb cable into my reform to connect to it via serial. The other side then carries the laird antenna (thank you!!) as intended as well as a mini-usb 21:55
joschhub. Next to the trackball there are then additional usb ports for some more hardware like bluetooth.21:55
minutejosch: cool! so far i think the heatsink will be similar/same place and size21:55
minutecool @ internal usb!21:55
joschi love that there is so much free volume to throw additional hardware in :)21:56
minutejust put 2x battery board 2.1 into my reform for daily testing21:56
minute(with protection for each cell)21:56
minutehad some problems to get it going because i ordered milliohm resistors from mouser but they were actually megaohms...21:56
joschminute: will battery board 2.1 come with some protection against the contacts touching each other and producing a short circuit?21:57
Koodajosch: ooh I might steal the usb uart idea :D21:57
Koodawoops at resistors x)21:57
joschKooda: the alternative idea was to have the usb uart adapter on the outside and connect to GND/RX/TX via a 2.5 mm audio jack21:58
Koodajosch: yeah I was planing on doing that21:58
minutejosch: i am thinking to include one of the 3d printed or tape protections. but also the new (clone) battery clips that we have now are not so close together anymore21:58
joschcool!22:01
mtmminute: the resistors were only off nine orders of magnitude, that's not a problem, right? ;-)22:22
khmthe main cm4 drawback is you need a time machine to acquire one22:39
minutekhm: well, that's the other issue, yeah22:54
vkoskiv_Trying to think of cool things to do with the OLED22:57
minutebongo cat22:57
vkoskiv_I'd like to do some more keyboard and possibly LPC fw work in general22:57
vkoskiv_Bongo cat!22:57
vkoskiv_I want that as an option in the menu22:58
minuteyou could write a display driver for it and use it as a second screen...22:58
minutevkoskiv_: jacqueline did it already (bongo cat)22:58
vkoskiv_That'd be a fun project, I haven't written a linux driver22:58
minutea simple framebuffer driver is surprisingly straight forward. but the downside is that in this case you would need to send raw HID packets to update the display. i guess it would work easier from userspace22:59
vkoskiv_Trying to understand how the current oled logic works. Is the MNT logo integrated into the font?23:00
vkoskiv_The one shown on power-on23:00
minuteyes.23:00
minutei have some tools/examples to dump pixels to the display if you need23:01
vkoskiv_Ah :D I didn't bother trying to blit out the font data to see23:01
vkoskiv_I saw the oled string writer script, messed around with that.23:01
minutevkoskiv_: https://source.mnt.re/reform/reform/-/tree/master/reform2-keyboard-fw/kbdgfx-demo23:02
minuteah ok23:02
vkoskiv_Thanks, I missed this, will give it a go.23:02
vkoskiv_Even just a linux program to draw some fun stats on there would be neat, I think.23:02
vkoskiv_Like a waybar-esque thing where there are a few modules you can choose from and rearrange, and it updates every N seconds23:03
minuteone could probably run Xvfb and then grab its contents with a slightly modified tool in a loop23:03
minutevkoskiv_: yeah, a pluggable stats thing would be great.23:03
minutevkoskiv_: graphic EQ23:03
minutenetwork/cpu/ram graph23:04
vkoskiv_The sine demo is super cool :D23:11
vkoskiv_60fps, looks like.23:11
minutehaha yeah23:13
khmI just want a cartoon face that looks progressively more distressed as system load increases23:14
khmlike the dude at the bottom of the wolf3d ui23:14
minutehehe23:14
khmhas anyone had any luck using nxp's provided driver instead of etnaviv?  apparently it provides newer gl versions23:15
minutekhm: works only with NXP kernel23:15
minuteso you would need to tweak/port our dts over to that23:16
minutethey do some things differently than in mainline23:16
vkoskiv_minute: Do you have time in the near future to go over the MRs for the reform repo?23:25
vkoskiv_I think it would make sense to ignore draw commands coming from the SoM when any of the menus are open. That way anything drawn from linux won't override the important stuff shown23:26
vkoskiv_I'll try and implement taht.23:26
minutevkoskiv_: yes, i just noticed that i have to take care of some MRs23:27
minutei'm writing it in my list23:27
sigridI would be very interested in spi for lpc one in particular23:28
vkoskiv_The battery status stuff?23:28
sigridyeah23:28
vkoskiv_I'd love that in the mainline fw too, yeah.23:28
vkoskiv_That's a big one, getting proper battery monitoring and stuff23:29
vkoskiv_Dang, I'll just leave this sine wave demo running as I do other stuff :D23:29
sigridonce it gets merged it will make sense to write an spi driver for 9front to expose that info23:29
minuteyes, i will merge it23:29
sigridalso to do proper power off23:29
minutei just need to tweak some of the code, tiny nits23:29
vkoskiv_If you have any comments on my lil PR that disables the circle+1 when the SoM is on, let me know. I can tweak that stuff.23:30
minutesure thing23:31
minuteit's in my todo list now to take care of these23:31
vkoskiv_Cool, thank23:33
vkoskiv_I just copypasted a few more draw_sine() calls and it looks pretty.23:34
minutehaha23:36
vkoskiv_Hah, it seems like I managed to crash the kbd somehow23:50
vkoskiv_With the kbdgfx program23:50
vkoskiv_I got the bootup animation and now the keyboard doesn't keyboard23:50
vkoskiv_I'll click reset...23:51
vkoskiv_Nope, reset button doesn't bring it back either23:52
vkoskiv_Can I just yank the UART and USB cables while it's running or should I power cycle the machine23:53
vkoskiv_A dfu-programmer command from the kbd fw flash script got it back23:56
vkoskiv_(I tried messing around with the programming switch too, accidentally put it into dfu mode)23:56
vkoskiv_Looks like udev left /dev/hidraw0 in there as inactive, and now the oled lives at /dev/hidraw423:57
vkoskiv_Not sure if that's intended23:57

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