2022-05-02.log

joschreform28775: just make sure you are on the sysimage-v3 branch -- if it's compiling stuff then you are on the wrong branch00:00
reform28775Oh then I'm definitely on the wrong one00:00
reform28775This does clones and builds a kernel, then uboot, and then a bunch of chrooted apt stuff00:01
joschreform28775: yeah, that's wrong. kernel, u-boot and some more packages are now built in other repos on source.mnt.re and the result is published on https://mntre.com/reform-debian-repo which in turn is used by the sysimage-v3 mkimage script so that this script only has to install stuff but nothing is compiled by it.00:14
reform28775Okay I will continue to bumble around in Git, thanks for you help00:21
reform28775Ah finally, I see how it is different! I'll try it on my build box00:25
- reform28775 (QUIT: Quit: reform28775) (~trimbeej@2601:545:8202:19d0::b4dd)00:26
- rnjqvy5[m] (PART: !!unknown attribute: msg!!) (~rnjqvy5mi@2001:470:69fc:105::2:526)00:27
vagrantcjosch: ah, hdmi output is working in u-boot ?01:11
+ reform23110 (~trimbeej@2601:545:8202:19d0::b4dd)02:24
- reform23110 (QUIT: Client Quit) (~trimbeej@2601:545:8202:19d0::b4dd)02:25
- Christoph_ (QUIT: Remote host closed the connection) (~Christoph@p4fe73e0d.dip0.t-ipconnect.de)03:49
- Guest5330 (QUIT: Ping timeout: 256 seconds) (~nicolas@150-48-142-46.pool.kielnet.net)03:59
+ nsc (~nicolas@218-49-142-46.pool.kielnet.net)04:00
* nsc -> Guest97404:01
- sts-q (QUIT: Ping timeout: 250 seconds) (~sts-q@2a01:41e1:2e90:1b00:fc51:e3cc:8102:f600)04:34
+ sts-q (~sts-q@2a01:41e1:2ec0:8800:96d:481f:3874:2dda)04:37
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:20)05:33
- Ar|stote|is (QUIT: Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) (~linx@149-210-16-210.mobile.nym.cosmote.net)06:01
+ Ar|stote|is (~linx@149-210-16-210.mobile.nym.cosmote.net)06:01
- sbp (QUIT: *.net *.split) (~sbp@apache/doge/sbp)06:25
- leonardo (QUIT: *.net *.split) (~leonardo@user/leonardo)06:25
- bleb (QUIT: *.net *.split) (~cm@user/bleb)06:25
- vkoskiv_ (QUIT: *.net *.split) (~vkoskiv@89-166-62-97.bb.dnainternet.fi)06:25
+ sbp (~sbp@2001:19f0:6800:1102:5400:ff:fe11:39a1)06:25
+ vkoskiv (~vkoskiv@89-166-62-97.bb.dnainternet.fi)06:25
+ bleb (~cm@user/bleb)06:25
+ leonardo (~leonardo@user/leonardo)06:25
- lastebil (QUIT: *.net *.split) (truck@shell.suomiscene.fi)06:28
+ lastebil (truck@shell.suomiscene.fi)06:28
- hl (QUIT: Remote host closed the connection) (~hl@user/hl)08:57
+ hl (~hl@user/hl)08:57
- joeyh (QUIT: Ping timeout: 260 seconds) (joeyh@kitenet.net)09:30
- sbp (QUIT: Changing host) (~sbp@2001:19f0:6800:1102:5400:ff:fe11:39a1)09:47
+ sbp (~sbp@apache/doge/sbp)09:47
- ex-parrot (QUIT: Ping timeout: 248 seconds) (~fincham@user/ex-parrot)10:29
+ ex-parrot (~fincham@user/ex-parrot)10:30
+ Christoph_ (~Christoph@p54bf648a.dip0.t-ipconnect.de)11:28
+ MajorBiscuit (~MajorBisc@145.94.235.5)11:43
+ reform8044 (~cliffya@180-150-53-95.b49635.mel.static.aussiebb.net)13:15
- reform8044 (QUIT: Client Quit) (~cliffya@180-150-53-95.b49635.mel.static.aussiebb.net)13:19
dustfing`My mnt-reform arrived :-) I assembled it yesterday and I love it. The only surprise was that I did not have a track ball. I was certain that I ordered a track ball, but when I reviewed my order history, there was no trackball on order. I ordered my laptop last August and it arrived less than a week ago. If I were to order a track ball today, now long would it take to arrive?13:29
vkoskivdustfing`: Curious, when did you order? From CS?13:29
vkoskivMine was estimated on apr. 28th for many months but I haven't gotten a shipping notification yet13:29
vkoskivHah, reading comprehension. You ordered in august :D13:30
minutedustfing`: huh. can you forward me a screenshot of your order/history to lukas@mntre.com? i would like to look into that13:34
dustfing`minute: Sure. Thank you!13:38
dustfing`vkoskiv: I ordered around the end of Aug 2021.13:38
* dustfing` -> dustfinger13:51
dustfingerminute: I sent the email with my order summary attached.13:52
dustfingerI am considering installing the guix distro on my reform. I am normally a gentoo user, but guix has caught my attention. Has anyone tried that distro?13:53
dustfingera.f.k for a bit. going to make coffee and breakfast.13:55
- sundog (QUIT: Quit: The Lounge - https://thelounge.chat) (~sundog@reclaim.technology)14:05
+ sundog2 (~sundog@reclaim.technology)14:05
+ joeyh (joeyh@kitenet.net)14:17
- Kooda (QUIT: Quit: WeeChat 3.3) (~kooda@natsu.upyum.com)14:24
+ Kooda (~kooda@natsu.upyum.com)14:25
- bkeys (QUIT: Remote host closed the connection) (~Thunderbi@66.115.189.236)15:12
+ bkeys (~Thunderbi@66.115.189.236)15:21
- bkeys (QUIT: Quit: With every step we take, danger will follow closely) (~Thunderbi@66.115.189.236)15:34
+ bkeys (~Thunderbi@66.115.189.236)15:38
- bkeys (QUIT: Client Quit) (~Thunderbi@66.115.189.236)15:40
+ bkeys (~Thunderbi@66.115.189.236)15:40
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:20)16:18
jfreddustfinger: I'm also interested in running Guix System on my Reform, but I don't think anyone has done so yet successfully. There was a thread on help-guix on it last year: https://mail.gnu.org/archive/html/help-guix/2021-09/msg00027.html17:04
jfredI've been planning to install NixOS on mine in the interim, though it appears I need a bigger SD card because I ran out of space trying to build the NixOS image haha17:06
joschGetting any userspace GNU OS to boot should not be too hard. The tricky part (in my case Debian) was to properly set it up so that upgrades of the kernel work and don't make the system unbootable. To get it fully working a few tweaks are needed but most of them can be found in the reform-tools package: https://source.mnt.re/reform/reform-tools17:13
jfredGuix System is like NixOS in that the bootloader has the previous system configs selectable, so even if a kernel upgrade made the system unbootable you can always pick the last one to boot from. It seems like the bootloader can’t/doesn’t output to the display on the Reform though, I was only able to interact with it over the serial console17:25
jfredI’m still fairly new to ARM Linux machines so I’m not sure if display output/KB input for the bootloader (u-boot?) is possible17:26
joschjfred: possible yes, but nobody did the work yet. While the internal display doesn't work, hdmi works though.17:27
jfredAhh, interesting17:27
joschSo you are back at: a wrong kernel update makes the system unbootable. :)17:28
sknebelor you need to type blind :D17:28
joschyes17:28
josch(assuming you know what you should see)17:28
joschNext question is, if the keyboard works in u-boot.17:29
sknebel(hm, would it be easier to make the bootloader talk to the keyboard display?)17:29
jfredWhat work needs to be done for that to work? Drivers for the display in u-boot?17:30
jfredAlso the keyboard display is *very* small for interacting with the bootloader haha17:48
sknebelwould be more a "press X now to boot old kernel" symbol, yes :D17:50
vagrantcwow... that would be interesting :)18:04
jfredHuh yeah that would be nice, a simplified “oh no I broke it” button. Wonder if you could also get u-boot on the OLED display to have a scrolling menu of boot menu items18:10
jfredIf you really limited the line length… you can definitely fit a datestamp on each line at least, and for Guix maybe the (possibly truncated) generation number18:12
vagrantcbeen toying with the idea of testing out guix on the mnt/reform ... had it running on top of an earlier debian install on the mnt/reform18:20
vagrantcit's a little underpowered, although i was running off of microsd ... might perform better on NVMe18:20
jfredI do know from previous experience running Guix on my old ThinkPad that it can be fairly slow on slower hardware… Nix seems to be snappier, I wonder why18:25
- MajorBiscuit (QUIT: Quit: WeeChat 3.4) (~MajorBisc@145.94.235.5)18:31
+ mtm (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)18:41
- Ar|stote|is (QUIT: Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) (~linx@149-210-16-210.mobile.nym.cosmote.net)20:38
+ Ar|stote|is (~linx@149-210-16-210.mobile.nym.cosmote.net)20:38
dustfingerjfred: I will let you know if I get it working.20:43
jfred:)20:43
dustfingerjfred: Thanks for the tip about using the serial console to interact with the boot loader. That is good to know.20:45
jfredYeah that and a lot of other useful info is in the Reform handbook https://mntre.com/reform2/handbook/advanced.html#serial-console20:46
jfredDefinitely very helpful for troubleshooting boot issues20:46
dustfingercool, thanks!20:47
joschvagrantc: I enabled distro_bootcmd but am now getting "ERROR : memory not allocated" which seems to be some failed malloc -- how would I go about finding out when and how that happens?20:56
- piroko (QUIT: Ping timeout: 240 seconds) (~piroko@104.225.216.16)21:04
- tarxvf (QUIT: Ping timeout: 246 seconds) (~tarxvf@mail.tarxvf.tech)21:04
- qbit (QUIT: Ping timeout: 276 seconds) (~qbit@h.suah.dev)21:06
+ tarxvf (~tarxvf@mail.tarxvf.tech)21:11
+ qbit (~qbit@h.suah.dev)21:12
- qbit (QUIT: Client Quit) (~qbit@h.suah.dev)21:14
- tarxvf (QUIT: Ping timeout: 276 seconds) (~tarxvf@mail.tarxvf.tech)21:16
+ tarxvf (~tarxvf@mail.tarxvf.tech)21:22
vagrantcjosch: whe booting or building? ... do you have the kernel_addr_r, ramdisk_addr_r and fdt_addr_r environment variables?21:35
joschvagrantc: booting and yes: https://paste.debian.net/1239727/21:37
vagrantcjosch: what does printenv bootcmd  show you?21:39
joschvagrantc: there is no way for me to get into a u-boot interactive session because the S1 on my reform is broken -- I'm setting "bootcmd" to try out new stuff, flash to the sd-card and then carry the reform over to where I can plug it into hdmi to see something...21:41
vagrantcjosch: i'd put the fdt_addr_r lower than the kernel_addr_r just in case it grows21:41
vagrantcit'll happily overwrite previously loaded bits21:42
joschis there a limit to the amount of memory u-boot has access to?21:42
vagrantcsometimes ... but ... eesh21:43
joschis there something i can set to get the equivalent of 'set -x'?21:44
vagrantcdon't see anything obviously wrong in your patch otherwise21:44
joschthat's already good to know :)21:45
vagrantcyou can echo ... but if you don't have access to it, where will you see it?21:45
vagrantcjosch: you could also change which serial port u-boot uses ... you had access to another if i recall?21:45
joschright now i can only see the output of u-boot commands on hdmi but I cannot input anything -- the usb keyboard for example doesn't work even after setting CONFIG_USB_KEYBOARD, CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP and running "usb start"21:46
vagrantcah21:46
vagrantcguess the alternate serial port still applies, then ? :)21:46
+ qbit (~qbit@h.suah.dev)21:47
joschvagrantc: yes, we tried to use my S2 (which is working) with patches suggested by minute but it didn't work in the end so I gave up that route21:47
vagrantcah, you could do something like ...21:47
joschso, hardware wise, my S2 is working but while linux can use it, I didn't get u-boot to use it21:47
vagrantcCONFIG_BOOTCMD="printenv ; run bootcmd" (or distro_bootcmd ...)21:48
joschI had replaced "run distro_bootcmd" by "run bootcmd" because it said "command not found" for the former21:49
joschone sec...21:49
josch(from doc/README.distro I understood that it sets $bootcmd and not $distro_bootcmd)21:50
vagrantcfair21:50
vagrantcmore important, was the printenv ... to get some output on the screen21:50
joschyes, i'm on it :)21:50
vagrantcand then you can follow the commands ...21:51
vagrantcalthough, it will probably scroll off the screen21:51
joschbecause $bootcmd will become super long, right?21:51
joschi just recorded a movie with my camera when this happened in the past and then went frame-by-frame to watch it in slow motion...21:52
josch(suck not to have serial)21:52
vagrantcalso, try disabling some of the boot devices and only use the ones you're using for now21:52
vagrantcit might initialize some buggy bus or something that's triggering the issue21:52
vagrantcjosch: you're courageous and/or foolish to try without serial, but thanks! :)21:53
joschvagrantc: nobody else with a working serial is doing it, so... ;)21:54
vagrantci should fire mine up while the sunshine is kicking and see if i can't build my own working u-boot21:54
joschokay, so the printenv might've revealed a problem -- it just doesn't stop printing (maybe an infinite loop?) I'll try to reduce the number of boot devices and try again21:54
vagrantcACTION is in the midst of a barrage of somewhat tedious debian QA/reproducible builds uploads21:55
vagrantcgotta make the graphs more green!21:55
joschnice! :)21:56
joschvagrantc: okay, so the infinite loop problem is, that CONFIG_BOOTCOMMAND sets bootcmd and setting that to "printenv ; run bootcmd" obviously leads to infinite recursion. The remaining environment is this https://mister-muffin.de/p/o94c.jpg (the lower part happened to be in focus). But with bootcmd set to this it can obviously not work, right? I wonder where I should see the effect of 22:05
joschconfig_distro_bootcmd.h22:05
joschoh and I'm now reading that config_distro_bootcmd.h is already included by include/configs/nitrogen8m_som.h22:12
+ mjw (~mark@gnu.wildebeest.org)22:17
- mtm (QUIT: Ping timeout: 240 seconds) (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)22:27
+ mtm (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)22:28
vagrantcjosch: oh, that was fixed in newer versions22:31
vagrantci think you can override it by setting BOOTCMD in the board specific file22:31
vagrantcACTION forgets how these five year old antiques worked22:32
vagrantcjosch: probably after include config_distro_boot.h ... something like define #BOOTCMD22:36
joschvagrantc: are there some popular good defaults for memory addresses for u-boot on devices with several gigs of memory and booting big distros like Debian with initramfs? Or is everybody just choosing different arbitrary values?22:42
joschI think the reason that I don't have distro_bootcmd in my env is that config_distro_bootcmd.h populates BOOTENV and that is then appended to CONFIG_EXTRA_ENV_SETTINGS but got commented out in https://source.mnt.re/reform/reform-boundary-uboot/-/commit/b3a8287b13832cd25b2f8568cafdece62043a3db22:44
joschvagrantc: it boots!! :D22:50
vagrantcjosch: it's slightly platform dependent22:50
vagrantci prefer to put the fdt_addr_r the smallest, as it's the least likely to grow, followed by the kernel with a hefty buffer for the initrd22:51
vagrantce.g. basically in order of the size i expect things to need to grow22:54
vagrantcthe patches submitted upstream were > +"fdt_addr_r=0x43000000\0" \22:55
vagrantc> +"kernel_addr_r=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \22:55
vagrantc> +"ramdisk_addr_r=0x44000000\0" \22:55
vagrantc+CONFIG_SYS_LOAD_ADDR=0x4048000022:56
vagrantchuh, guess that put the kernel below the initrd22:56
vagrantcthose are things that can change as long as you don't hard-code your environment or scripts22:57
vagrantcjosch: there's also #u-boot, but they'll look at your askance for using an ancient u-boot...22:59
joschvagrantc: no need, I got it working now with distro_bootcmd: https://paste.debian.net/1239735/23:04
vagrantcjosch: just getting the right addressses?23:05
joschvagrantc: no, partly reverting b3a8287b13832cd25b2f8568cafdece62043a3db23:06
joschthat commit resulted in BOOTENV not being appended to CONFIG_EXTRA_ENV_SETTINGS and thus including config_distro_bootcmd.h had no effect23:06
vagrantcah!23:07
vagrantcwell, you're now well on your way...23:07
joschvagrantc: thanks for all your help!! :D23:07
vagrantcjosch: helping you is helping me too :)23:09
joschI'm happy you see it that way. XD23:10
vagrantcjosch: your sysimage-v3 has a number of missing pieces i was struggling with to build an mmdebstrap based live image generator...23:22
joschNice to hear that it works for you now! I was essentially just dogfooding. ;)23:23
blueriseOh what a re y ou doing?23:42
+ littlebobeep (~alMalsamo@gateway/tor-sasl/almalsamo)23:49
dustfingerI heard a rumor that there is a module being worked on to upgrade the reform to 16GB. Is that so? I think it was a third partyi project.23:51
littlebobeepHi all I just discovered this project, it seems very interesting!  Still researching, but I am slightly confused by serpent's post here: https://community.mnt.re/t/why-hdmi-out-instead-of-display-port-out/581/523:51
littlebobeepDoes this mean there is limited HDMI output that is kinda broken with NO proprietary blob?23:51
littlebobeepalso 16GB RAM is quite interesting, but does this mean a different SOC?  Who even makes SODIMMs like these besides Boundary Devices in California?  Are there any Asian suppliers?23:53
littlebobeepAlso I was discouraged by "leather" sleeves but on a different web page it says vegan?  23:54
littlebobeepAlso does the WLE200NX have a Bluetooth chip on it?  I only see mention of AR9280 chip for WLAN...23:55
littlebobeepAlso are the trackpad + keyboard firmware upgradeable?  If so how do I write to them and what chips store the code?23:56
littlebobeep(sorry for bombing with all these questions....)23:56

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