2024-03-18.log

- mtm (QUIT: Ping timeout: 256 seconds) (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)01:02
- mjw (QUIT: Ping timeout: 252 seconds) (~mjw@gnu.wildebeest.org)02:49
+ mtm (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)03:08
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:50)03:08
- cobra (QUIT: Ping timeout: 256 seconds) (~cobra@user/Cobra)03:18
+ cobra (~cobra@user/Cobra)03:49
- nsc (QUIT: Ping timeout: 260 seconds) (~nicolas@140-96-142-46.pool.kielnet.net)03:49
+ nsc (~nicolas@186-97-142-46.pool.kielnet.net)03:51
- cobra (QUIT: Quit: ZNC 1.8.2 - https://znc.in) (~cobra@user/Cobra)04:13
+ cobra (~cobra@user/Cobra)04:18
- GNUmoon (QUIT: Ping timeout: 260 seconds) (~GNUmoon@gateway/tor-sasl/gnumoon)08:05
+ digitalrayne_ (~digitalra@vps-446f4f39.vps.ovh.ca)08:06
- digitalrayne (QUIT: Read error: Connection reset by peer) (~digitalra@vps-446f4f39.vps.ovh.ca)08:06
+ GNUmoon (~GNUmoon@gateway/tor-sasl/gnumoon)08:18
* digitalrayne_ -> digitalrayne08:22
+ yankcrime (~nick@gw.tetromino.io)09:51
+ mjw (~mjw@gnu.wildebeest.org)11:43
minutewe are looking for some feedback/spelling/grammar/factual error reports on the reform handbook 2nd edition: https://source.mnt.re/reform/reform-handbook/-/jobs/3539/artifacts/file/src/build/reform-handbook.pdf12:30
joschand i'll be looking for feedback/bugreports/feature-requests on the new system images that will probably be ready in 1.5 hours as I now have hopefully fixed the last bug in the reform-system-imx8mp branch of reform-system-images :)12:46
joschminute: how do you prefer to receive feedback? I don't see an open MR on the gitlab where I could comment directly on the diff.12:47
minutejosch: good point, i will open an MR12:49
minutebtw we will archive the old version and keep it online, it's just not 100% clear yet how (probably it will just get another URL)12:50
minute(possibly we will archive only the PDF version)12:50
joschminute: if you create a tag in the reform-handbook, then gitlab will keep its artifacts12:50
joschor create a release and attach the PDF to the release in gitlab?12:50
minutejosch: https://source.mnt.re/reform/reform-handbook/-/merge_requests/1512:52
minutejosch: good idea @ tag+release12:53
- mtm (QUIT: Ping timeout: 264 seconds) (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)13:02
joschminute: now it's your turn to test the 3 new system images: https://source.mnt.re/reform/reform-system-image/-/jobs/3737/artifacts/browse14:35
joschI'm very satisfied with the changes to reform-system-image from this branch. The tests I can now put into place together with the machine readable machine configuration files already have let me spot and fix multiple bugs in our flash-kernel patches, reform-tools, reform-system-image the Debian linux packaging (see my commits over the weekend). Now let me know if anything still boots or not. :D14:36
- mjw (QUIT: Ping timeout: 240 seconds) (~mjw@gnu.wildebeest.org)15:04
+ mtm (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)15:08
+ mjw (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)15:24
jjblissminute: I just took a quick look at the handbook.  I can sign up to gitlab and leave some comments on the merge request, but I don't have an account yet.  There are some formatting issues on pages 53 and 54, text continues off the page to the right.  Also, the bluetooth section talks about the tray icon, but is in Chapter 6, Linux console basics.  Everything else in the section avoids talking about graphical desktops, should th15:29
minutejosch: awesome16:06
minutejjbliss: thank you. unfortunately your last sentence was cut off after "should th"16:07
minutehaha when working on this i feel like working on a mainframe in the 70s via a teletype https://source.mnt.re/reform/reform-system-image/-/jobs/373816:13
minute"maybe this night my code might compile? we'll see tomorrow"16:13
joschminute: for testing purposes you can reduce the package set to be installed to those packages that are necessary for only a CLI environment. This will speed everything up tremendously.16:17
joschminute: another speed-up would be to make the CI runner arm64. Even my a311d is faster than the CI machine. :)16:17
joschspeaking of the last point: consider runnig this locally. Your rk3588 will be even faster than my a311d. :)16:18
minutehmm > I: running --customize-hook in shell: sh -c '{ printf "[Service]\nExecStart=\nExecStart=-/sbin/agetty --autologin root --noclear %%I \$TERM\n" } > "$1"/etc/systemd/system/getty@tty1.service.d/override.conf'16:18
minutejosch: any idea what's the issue here?16:19
minuteit says > exec: 1: Syntax error: end of file unexpected (expecting "}")16:19
joschminute: you are missing a semicolon before the closing brace16:19
minuteohhh16:19
joschsince you only have one command you don't even need the braces16:20
minuteah16:20
minutei thought there was some arcane reason for them16:20
joschmaybe you copied from the other line in mkimage.sh where i used multiple echo commands16:20
minuteyes16:21
minuteok, pushed again. now to your system images16:21
josch\o/16:23
joschminute: if nothing boots, note that i just copied the u-boot offsets from the existing platforms and that might be wrong for imx8mp16:24
minutejjbliss: i approved your account and gave you reporter access to handbook project16:24
jjblissThanks!16:24
minutejosch: oh @ imx8mp. i think that's a different offset16:24
minuteanyway, gonna try pocket a311d first and then probably pocket imx8mp16:26
minutejosch: big success, pocket a311d image boots _and_ the console is rotated correctly! incredible lol17:12
josch\o/17:21
joschminute: you only added the console rotation bits into u-boot, right?17:21
minutejosch: yep17:55
joschnice, this means that the recent changes that make boot.scr respect ${bootargs} work as intended17:56
joschit means that these lines in flash-kernel/ubootenv.d/00reform2_ubootenv are indeed only needed for old platforms and nothing needs to be added for new boards: https://source.mnt.re/reform/reform-tools/-/blob/staging/flash-kernel/ubootenv.d/00reform2_ubootenv?ref_type=heads#L617:58
- hairu (QUIT: Remote host closed the connection) (m-uotkmd@user/hairu)18:05
+ hairu (m-uotkmd@user/hairu)18:24
minutefinally repaired our trusty old sigma r19 3d printer... feels good that it's finally working again18:24
+ mark_ (~mjw@gnu.wildebeest.org)18:37
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:50)18:58
* mjw -> Guest968719:01
- Guest9687 (QUIT: Killed (silver.libera.chat (Nickname regained by services))) (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)19:01
* mark_ -> mjw19:01
+ Guest9687 (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)19:01
minutejosch: debian has # CONFIG_FB_SM750 is not set19:15
minutejosch: i wanted to try an SM750 based mPCIe graphics card with LS1028A19:15
joschminute: can you check with your amd64 Debian box? Mine also doesn't have CONFIG_FB_SM750 set so this doesn't seem to be arm64 specific.19:22
joschit seems that Debian linux sets CONFIG_FB_SM750=m for loongson (mips)19:22
minutejosch: yep, also unset19:23
joschif your SM750 card works with LS1028A i guess we should enable it :)19:24
joschfrom the Debian linux commit message: "Some new Loongson servers are using Aspeed BMC, which has an GPU. Some other Loongson servers are using SM750 GPU instead of AMD's."19:25
minutejosch: yeah, well now i guess i have to build a custom kernel/module first19:27
minutedoing apt-install linux-source on ls1028a box19:28
minutealso fun fact: ls1028a happily does PCIe hotplug19:28
minute:D19:28
minute(i didn't get any output from the kernel with the sm750 plugged in because i think PCIe/PCI has some VGA magic going on)19:29
minute(i.e. i _think_ vga character generator takes over)19:29
minutebut i could hot plug the mpcie card (carefully) and then rescan the bus19:29
minutenow that we have a 25m ethernet cable through the mnt studio i _could_ hook up ls1028a as another build server for certain things19:33
minutefor example for reform-system-image......19:33
minute> root@layerscape:~/kernel/linux-source-6.7# make M=drivers/staging/sm750fb19:35
minute> [  142.583240] sm750fb 0001:01:00.0: enabling device (0000 -> 0002)19:40
minute> [  142.608209] video memory phyAddr = 8040000000, size = 67108864 bytes19:40
minutesystem locks up though19:41
minute> sm750fb 0001:01:00.0: no specific g_option.19:46
minutedriver still locks up the system though, sigh19:48
minuteso it's probably not trivially compatible19:49
minutejosch: omg https://lore.kernel.org/linux-devicetree/87shdfet90.fsf@linux.intel.com/20:07
minute> So far the Layerscape SoC (such as LS1088A) has enabled this feature and I20:08
minute> have tested it. Once we add dma-coherent on DTS without this Patch, dwc320:08
minute> will fail on device enumeration as below:20:08
minute> [   15.124031] xhci-hcd xhci-hcd.0.auto: Error while assigning device slot ID20:08
minute> [   15.130912] xhci-hcd xhci-hcd.0.auto: Max number of devices this xHCI host supports is 127.20:08
minute> [   15.139268] usb usb1-port1: couldn't allocate usb_device20:08
minutethis is pretty much exactly what happens on ls1028a20:08
minutelooks like this patch indeed fixes ls1028a usb issues20:30
minutejosch: ok finally this built https://source.mnt.re/reform/reform-system-image/-/merge_requests/9221:13
minutegonna test it now-ish21:13
joschhah, since i run my ls1028a headless and communicate over uart or via ssh i never saw usb issues i guess XD21:23
minuteyeah sometimes the keyboard doesn't come on, which is annoying21:23
joschbummer that you still didn't get graphics to work21:23
minuteyeah that card is just weird maybe21:23
joschi was in contact with Jasbir from http://jas-hacks.blogspot.com/ but didn't get much farther yet21:24
minuteohh21:24
joschmaybe should send a frienly ping for my last message21:24
joschminute: i take it you also didn't yet try out the different rk3588 kernels i built for you?21:25
josch(just asking to make sure i didn't miss it)21:25
minutejosch: ah no damn21:26
minutei have a bit much going on with system images21:26
joschi don't know what you could be talking about ;)21:26
minutehehe21:26
joschi'm currently learning rust packaging -- it's fun :)21:27
minuteoh nice21:27
joschthe debian rust team has an incredibly newbie friendly set of scripts to package their stuff -- i haven't seen the likes of it in any other language team in debian21:28
joscheverything is very well documented and automated, really nice :)21:28
minutereally cool!21:30
minuteok good news: my system image logged root in automatically21:31
minutebad news: it didn't start reform-setup21:31
minutei guess things in /etc/profile.d/ have to be marked executable?21:33
joschnothing in my local flatpak.sh is marked as executable21:33
joschhow did that paste flatpak.sh?21:34
joschi meant to say /etc/profile.d/21:34
minute:D21:34
minuteyeah that's true, so that's not the reason then21:34
minuteaha21:36
minuteit has to be called something.sh21:36
joschfunny, the bash man page doesn't document that fact it seems21:40
minutebut yeah, the whole thing is ~almost~ working... it doesn't have the up-to-date cleanup script yet etc. will take care of that tomorrow21:50
minutealso it looks like my updates to waybar aren't in debian-packages yet21:50
minute(mnt logo, 3 dots for the tray menu, ...)21:50
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:50)21:51
joschminute: mnt logo and waybar settings would go into reform-tools not reform-debian-packages22:04
* bluerise_ -> bluerise22:38
joschminute: is there a good reason for the mnt-reform-setup-wizard to require sxd-document and sxd-xpath? Both projects have not seen any updates in the past five years and depend on another project (peresil) which saw its last release eight years ago (and last git commit four years ago). There seem to be a few much more popular and better maintained rust xml libraries out there.22:39
joschI'm hesitant about packaging something that seems to be unmaintained.22:39
minutejosch: sorry yeah i meant reform-tools, but those are built by reform-debian-packages right22:41
joschyes22:41

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