2022-03-21.log

+ oomono (uid328183@id-328183.tinside.irccloud.com)00:08
- mtm (QUIT: Ping timeout: 240 seconds) (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)01:04
+ bkeys (~Thunderbi@66.115.189.236)01:11
+ tadeus_brick (tadeustad@psifactor.pl)02:36
- TadeusTaD (QUIT: Ping timeout: 240 seconds) (tadeustad@psifactor.pl)02:37
- GNUmoon (QUIT: Remote host closed the connection) (~GNUmoon@gateway/tor-sasl/gnumoon)02:45
+ GNUmoon (~GNUmoon@gateway/tor-sasl/gnumoon)02:45
- oomono (QUIT: Quit: Connection closed for inactivity) (uid328183@id-328183.tinside.irccloud.com)02:48
+ mtm (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)03:10
+ erle (~erle@dynamic-046-114-032-190.46.114.pool.telefonica.de)03:50
- erlehmann (QUIT: Killed (NickServ (GHOST command used by erle!~erle@dynamic-046-114-032-190.46.114.pool.telefonica.de))) (~erle@dynamic-046-114-037-003.46.114.pool.telefonica.de)03:50
- erle (QUIT: Ping timeout: 252 seconds) (~erle@dynamic-046-114-032-190.46.114.pool.telefonica.de)03:55
+ erlehmann (~erle@dynamic-046-114-039-045.46.114.pool.telefonica.de)04:09
- erlehmann (QUIT: Ping timeout: 250 seconds) (~erle@dynamic-046-114-039-045.46.114.pool.telefonica.de)04:25
+ erlehmann (~erle@dynamic-046-114-033-120.46.114.pool.telefonica.de)04:38
- erlehmann (QUIT: Ping timeout: 250 seconds) (~erle@dynamic-046-114-033-120.46.114.pool.telefonica.de)04:55
- GNUmoon (QUIT: Ping timeout: 240 seconds) (~GNUmoon@gateway/tor-sasl/gnumoon)04:55
- Ar|stote|is (QUIT: Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) (~linx@149-210-29-113.mobile.nym.cosmote.net)05:03
+ Ar|stote|is (~linx@149-210-29-113.mobile.nym.cosmote.net)05:03
+ erlehmann (~erle@dynamic-046-114-033-208.46.114.pool.telefonica.de)05:05
- erlehmann (QUIT: Ping timeout: 256 seconds) (~erle@dynamic-046-114-033-208.46.114.pool.telefonica.de)05:19
+ erlehmann (~erle@dynamic-046-114-036-149.46.114.pool.telefonica.de)05:35
+ GNUmoon (~GNUmoon@gateway/tor-sasl/gnumoon)05:43
- erlehmann (QUIT: Ping timeout: 240 seconds) (~erle@dynamic-046-114-036-149.46.114.pool.telefonica.de)06:23
+ erlehmann (~erle@dynamic-046-114-033-232.46.114.pool.telefonica.de)06:25
+ MajorBiscuit (~MajorBisc@86-88-79-148.fixed.kpn.net)08:34
- MajorBiscuit (QUIT: Ping timeout: 250 seconds) (~MajorBisc@86-88-79-148.fixed.kpn.net)08:40
+ MajorBiscuit (~MajorBisc@c-001-013-060.client.tudelft.eduvpn.nl)08:41
- erlehmann (QUIT: Ping timeout: 240 seconds) (~erle@dynamic-046-114-033-232.46.114.pool.telefonica.de)09:16
+ erlehmann (~erle@dynamic-046-114-039-158.46.114.pool.telefonica.de)09:28
vkoskiv_Booted my old SGI box yesterday. Resolution was too high for my monitor. I hooked up a serial link, logged on through that and set the resolution to a more appropriate setting. Felt very accomplished after that.09:58
- erlehmann (QUIT: Ping timeout: 252 seconds) (~erle@dynamic-046-114-039-158.46.114.pool.telefonica.de)11:10
+ erlehmann (~erle@dynamic-046-114-039-049.46.114.pool.telefonica.de)11:34
- erlehmann (QUIT: Ping timeout: 256 seconds) (~erle@dynamic-046-114-039-049.46.114.pool.telefonica.de)11:59
- GNUmoon (QUIT: Ping timeout: 240 seconds) (~GNUmoon@gateway/tor-sasl/gnumoon)12:17
+ Christoph_ (~Christoph@p54bf6377.dip0.t-ipconnect.de)12:26
+ GNUmoon (~GNUmoon@gateway/tor-sasl/gnumoon)12:33
- mtm (QUIT: Ping timeout: 252 seconds) (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)13:04
+ oomono (uid328183@id-328183.tinside.irccloud.com)13:05
+ andrey_utkin (~andrey_ut@gentoo/developer/andrey-utkin)13:10
+ erlehmann (~erle@dynamic-046-114-035-238.46.114.pool.telefonica.de)13:14
+ mjw (~mjw_@2001:1c06:2488:1400:9e5c:8eff:fe8f:a440)13:30
minutejosch: i am finally testing the 20220224 system image myself, and getting some SD card controller issues with my device13:41
minutejosch: in u-boot as well as linux. u-boot says: timeout.. irqstat=108001, do you need ESDHCI_QUIRK_BROKEN_TIMEOUT_VALUE13:41
minuteafter a while it does boot the kernel, and the kernel even gets to a login prompt but regularly spews > [   17.628660] mmc1: Timeout waiting for hardware interrupt.13:42
minuteah, i'm actually at (initramfs) prompt13:43
minuteah lol, this also happens with the old production image on this particular board13:44
minutewas a soldering problem on the sd slot on this PCB, now it's fine13:51
- andrey_utkin (QUIT: Quit: Client closed) (~andrey_ut@gentoo/developer/andrey-utkin)14:25
- bkeys (QUIT: Quit: With every step we take, danger will follow closely) (~Thunderbi@66.115.189.236)14:53
+ bkeys (~Thunderbi@66.115.189.236)14:53
+ mtm (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)15:10
- erlehmann (QUIT: Ping timeout: 240 seconds) (~erle@dynamic-046-114-035-238.46.114.pool.telefonica.de)15:51
+ erlehmann (~erle@dynamic-046-114-032-204.46.114.pool.telefonica.de)15:52
- Christoph_ (QUIT: Remote host closed the connection) (~Christoph@p54bf6377.dip0.t-ipconnect.de)15:52
- ggoes (QUIT: Ping timeout: 256 seconds) (~gregf@fsf/staff/ggoes)16:47
+ ggoes (~gregf@fsf/staff/ggoes)17:05
+ Christoph_ (~Christoph@p54bf6377.dip0.t-ipconnect.de)17:46
- erlehmann (QUIT: Ping timeout: 240 seconds) (~erle@dynamic-046-114-032-204.46.114.pool.telefonica.de)18:16
- mjw (QUIT: Quit: Leaving) (~mjw_@2001:1c06:2488:1400:9e5c:8eff:fe8f:a440)18:33
- oomono (QUIT: Quit: Connection closed for inactivity) (uid328183@id-328183.tinside.irccloud.com)18:45
- MajorBiscuit (QUIT: Ping timeout: 250 seconds) (~MajorBisc@c-001-013-060.client.tudelft.eduvpn.nl)19:59
+ MajorBiscuit (~MajorBisc@86-88-79-148.fixed.kpn.net)20:01
- natalie (QUIT: Ping timeout: 252 seconds) (~natalie@user/natalie)20:02
+ natalie (~natalie@user/natalie)20:04
- MajorBiscuit (QUIT: Ping timeout: 256 seconds) (~MajorBisc@86-88-79-148.fixed.kpn.net)20:06
minutejosch: ok, for real: we have some people where u-boot can't boot, it looks like it's looking on the wrong mmc instance maybe? how does it determine where to boot from? https://community.mnt.re/t/mnt-reform-system-image-v3-beta/744/2220:21
minute(on sysimage v3)20:21
joschminute: this is the logic that decides: https://source.mnt.re/reform/reform-boundary-uboot/-/blob/754be0ee1d2be45c1c12b7d21a6e8d90bbce0ac7/board/boundary/nitrogen8m_som/nitrogen8m_som.c#L34920:24
joschbasically it tries to find boot.scr in / or /boot on SD and eMMC20:25
joschwith encrypted NVMe, the SD-Card would be mounted as /boot and would thus contain boot.scr in / as seen from u-boot20:26
joschI can prepare a patch which will create another SD-card image which will boot from encrypted eMMC20:28
joschthat image will be very small because it will just contain kernel and initrd20:28
minuteah, the problem is not about NVMe. bnys just wants to boot from the SD card20:29
joschbut even with that SD-card, the system that people boot into will not be v3 so I don't understand what the expectation is after downloading the v3 SD-Card image?20:29
minuteapparently he is not able to boot into a freshly imaged sd card, instead he gets this output https://community.mnt.re/uploads/default/original/1X/86c1a0ea87dac14a5263b4df410997dc9ab76488.jpeg20:30
minutei believe plomlompom has the same problem testing our image atm20:30
joschhuh, that is odd -- the SD-card image does contain boot.scr so I don't understand why U-Boot cannot find it20:31
joschlet me test the latest image from gitlab CI as well20:32
minutejosch: in the screenshot it looks like it is testing mmc 0 twice instead of mmc 1, then mmc 0?20:36
minuteit says mmc0(part 0) is current device, twice20:36
joschYes, that is certainly wrong. It should first test mmc1 (SD) and then mmc0 (eMMC).20:39
joschBut then I don't understand why it works for me with a freshly downloaded image.20:39
minuteyeah, it also works for me...20:39
minutebut the reform i built today doesn't have anything on emmc i think20:40
minutenot sure if that makes a difference, probably not20:40
minutebnys says he can see boot.scr by listing mmc 120:40
minutemaybe a weird bug in uboot?20:40
joschAnother thing I just spotted: there is no "setenv devnum" as it is for the "prefix" variable. u-boot is a bit weird with loop variables. I would test it but I don't see u-boot output due to my broken S1 connector.20:41
minuteah, you should be able to see output on HDMI 20:42
joschI know and I do when I have a HDMI device. But I don't have one at home but have to borrow one from a friend when I need it for the reform.20:43
minuteoh, ok!20:43
joschI'll reply to the thread. Maybe we'll find out what's happening.20:43
minutei told bnys to do: load mmc 1 $loadaddr /boot.scr && source20:44
minutethen he gets:20:44
minute2506 bytes read in 5 ms (489.3 KiB/s)20:45
minuteExecuting script at 4048000020:45
minuteFile not found /boot/vmlinuz-5.17.0-rc4-arm64 20:45
minuteFile not found /boot/vmlinuz 20:45
minuteinterestingly, `setenv prefix;` doesn't help20:45
joschit should be "setenv prefix /"20:46
minuteah!20:46
joschbecause if boot.scr is in /, then so is vmlinuz20:47
josch(that's the innermost loop)20:47
minuteyep, i thought setenv prefix; would just unset it20:47
minutebut i haven't looked into boot.scr yet20:47
josch"setenv prefix" should unset it, yes. But we want to set it either to / or to /boot20:48
minuteok20:48
minutejosch: sorry, where do i find the boot.scr sources?20:54
joschminute: https://source.mnt.re/reform/reform-boundary-uboot/-/blob/754be0ee1d2be45c1c12b7d21a6e8d90bbce0ac7/board/boundary/nitrogen8m_som/nitrogen8m_som.c#L34920:55
joschoh sorry, wrong paste20:55
minutenp20:55
joschhttps://salsa.debian.org/installer-team/flash-kernel/-/blob/master/bootscript/arm64/bootscr.uboot-generic20:55
minuteahh thanks20:56
minuteso we need to set devnum i guess20:56
minutedevnum=0 for him20:57
joschYes and i thought that was done by the loop but apparently not so. Since loop variables in u-boot shell are weird, maybe another "setenv devnum;" is missing before the "for devnum in 1 0" is missing so that devnum is treated as a shell variable20:58
minuteah i see what you mean20:59
minutehe tried manually setting devnum to 1 in the console and then he was able to boot with boot.scr20:59
joschminute: this should produce a new u-boot image -- maybe bnys can try that https://source.mnt.re/reform/reform-boundary-uboot/-/merge_requests/421:04
- mtm (QUIT: Ping timeout: 252 seconds) (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)21:13
minutejosch: thanks a ton! merged21:19
joschoh, did that fix the problem?21:23
+ oomono (uid328183@id-328183.tinside.irccloud.com)21:24
minutejosch: dunno yet, we're gonna try (bnys and plomlompom)21:25
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:20)21:56
minutejosch: fix confirmed!22:08
joschawesome! :D22:08
- GNUmoon (QUIT: Ping timeout: 240 seconds) (~GNUmoon@gateway/tor-sasl/gnumoon)22:08
+ erlehmann (~erle@dynamic-046-114-037-236.46.114.pool.telefonica.de)22:35
- erlehmann (QUIT: Ping timeout: 256 seconds) (~erle@dynamic-046-114-037-236.46.114.pool.telefonica.de)22:42
+ GNUmoon (~GNUmoon@gateway/tor-sasl/gnumoon)22:45
+ erlehmann (~erle@dynamic-046-114-037-236.46.114.pool.telefonica.de)22:49
+ erle (~erle@dynamic-046-114-035-065.46.114.pool.telefonica.de)22:59
- erlehmann (QUIT: Killed (NickServ (GHOST command used by erle!~erle@dynamic-046-114-035-065.46.114.pool.telefonica.de))) (~erle@dynamic-046-114-037-236.46.114.pool.telefonica.de)22:59
+ mtm (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)23:19
- erle (QUIT: Ping timeout: 240 seconds) (~erle@dynamic-046-114-035-065.46.114.pool.telefonica.de)23:42
+ erlehmann (~erle@dynamic-046-114-035-065.46.114.pool.telefonica.de)23:43
- Christoph_ (QUIT: Remote host closed the connection) (~Christoph@p54bf6377.dip0.t-ipconnect.de)23:45

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