2025-04-20.log

- ndufresne (QUIT: Quit: Ping timeout (120 seconds)) (~ndufresne@apple.collaboradmins.com)00:46
+ ndufresne (~ndufresne@apple.collaboradmins.com)00:47
minutejosch: funny, some builds worked, but not all! https://source.mnt.re/mntmn/reform-debian-packages/-/pipelines/373101:54
minuteah, my fault, > No rule to make target 'arch/arm64/boot/dts/rockchip/rk3588-mnt-reform-dsi.dtb01:56
- exark (QUIT: Quit: quit) (~exark@user/exark)02:45
+ exark (~exark@user/exark)02:47
- mjw (QUIT: Ping timeout: 244 seconds) (~mjw@gnu.wildebeest.org)03:31
- op_4 (QUIT: Remote host closed the connection) (~tslil@user/op-4/x-9116473)04:05
+ op_4 (~tslil@user/op-4/x-9116473)04:05
- paperManu (QUIT: Ping timeout: 276 seconds) (~paperManu@172.93.30.55)04:39
+ lanodan (~lanodan@2a01:e0a:d6:9930::35)05:14
- arminweigl (QUIT: Ping timeout: 248 seconds) (~arminweig@sourcehut/user/arminweigl)05:27
+ arminweigl_ (~arminweig@sourcehut/user/arminweigl)05:27
- arminweigl_ (QUIT: Ping timeout: 252 seconds) (~arminweig@sourcehut/user/arminweigl)05:33
+ arminweigl (~arminweig@sourcehut/user/arminweigl)05:45
- vagrantc (QUIT: Ping timeout: 248 seconds) (~vagrant@2600:3c01:e000:21:7:77:0:50)05:57
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:50)08:49
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:50)09:14
+ josch_noreform (~josch_nor@2a02:590:501:c00:d1d9:6a4b:3d3a:530d)09:28
josch_noreformminute: awesome! Contact me if there's is something else that I can easily take care of. We're going to upload fixed sbuild soon (once everybody is back from easter activities) and once that happens I'd like to merge !95 into main. I think there is still a bug in the reprepro job but that should not inhibit you with testing kernel 6.13 -- just pull09:30
josch_noreformthe .deb from the respective job09:30
- Ar|stote|is (QUIT: Ping timeout: 252 seconds) (~linx@149.210.8.22)09:46
+ Ar|stote|is (~linx@149.210.8.176)09:50
- josch_noreform (QUIT: Ping timeout: 240 seconds) (~josch_nor@2a02:590:501:c00:d1d9:6a4b:3d3a:530d)11:01
+ arminweigl_ (~arminweig@sourcehut/user/arminweigl)11:53
- arminweigl (QUIT: Ping timeout: 248 seconds) (~arminweig@sourcehut/user/arminweigl)11:54
- arminweigl_ (QUIT: Ping timeout: 252 seconds) (~arminweig@sourcehut/user/arminweigl)11:58
- razzy (QUIT: Ping timeout: 248 seconds) (~razzy@user/razzy)12:07
+ arminweigl (~arminweig@sourcehut/user/arminweigl)12:20
- arminweigl (QUIT: Ping timeout: 265 seconds) (~arminweig@sourcehut/user/arminweigl)12:52
+ arminweigl_ (~arminweig@sourcehut/user/arminweigl)12:52
+ mjw (~mjw@gnu.wildebeest.org)12:52
* arminweigl_ -> arminweigl12:52
+ paperManu (~paperManu@172.93.30.55)13:16
- bkeys (QUIT: Read error: Connection reset by peer) (~Thunderbi@h211.16.186.173.dynamic.ip.windstream.net)15:44
+ bkeys (~Thunderbi@h211.16.186.173.dynamic.ip.windstream.net)15:45
- chrcav (QUIT: Ping timeout: 252 seconds) (~chrcav@user/chrcav)16:33
- sterni (QUIT: ) (~quassel@user/sterni)17:09
+ sterni (~quassel@user/sterni)17:11
potatoespotatoesHi everyone -- I'm trying to build a system image to flash on an SD card (for guix), but it seems like I can't position u-boot correctly and I'm wondering if anyone has recommendations for how to debug this19:33
potatoespotatoesI'm awware that the offsets for u-boot should be at the positions listed here (for rk3588): https://source.mnt.re/reform/reform-tools/-/blob/3637865f7dd19294061b0bfd197bf39705dd64ba/machines/MNT%20Reform%202%20with%20RCORE%20RK3588%20Module.conf#L1919:34
potatoespotatoesBut I'm still running into trouble19:34
+ colinsane (~colinunin@97-126-11-220.tukw.qwest.net)19:36
potatoespotatoesso yeah, I could use some debugging recs. At first I thought I could use fdisk / parted and compare the official mntreform images and the one I am generating, but the image I generate only produces one partition (I'm pretty sure it is /supposed/ to produce two). My next step has been to try to use binwalk (https://github.com/ReFirmLabs/binwalk) but this is a little too granular and I'm not sure what to make of the output19:37
+ josch_noreform (~josch_nor@2a02:590:501:c00:ccd8:8d58:7e1b:de51)19:39
josch_noreformpotatoespotatoes: note that the offset in the file you linked is the offset of the blob produced by the MNT CI -- it is not the offset of u-boot itself on rk358819:40
josch_noreformpotatoespotatoes: are you building your own u-boot or are you flashing the blob from MNT gitlab CI?19:40
josch_noreformnote also, that your device probably comes with u-boot already on eMMC, so you don't need to flash another u-boot onto your sd-card19:41
josch_noreformwhether your script generates one or two partitions doesn't matter -- the important bit is that the first partition on your sd-card contains either a boot.scr or an extlinux/extlinux.conf19:42
josch_noreformit would also help what you mean by "running into trouble"19:43
potatoespotatoesI'm building u-boot from source (using the mnt-reform gitlab build script)19:46
josch_noreformOkay. It of course does not matter whether you built the blob yourself or let the CI build it for you. :)19:47
potatoespotatoeshmm... I think there is extlinux/extlinux.conf in that drive. I'll check now19:47
josch_noreformdo you have a uart adapter to see what is going on on serial?19:47
potatoespotatoesI can pull that up19:47
potatoespotatoesthe problem I run into is just that I get a panic at boot time19:48
josch_noreformwho panicsc?19:49
potatoespotatoes...wait a second19:50
potatoespotatoesI just booted and it worked19:50
potatoespotatoeswtf!19:50
josch_noreformno worries, that's usually what happens when people want to show me their ccomputer problems ;)19:52
josch_noreformcongrats! :)19:52
potatoespotatoeslols, I can finally finish this PR19:52
potatoespotatoesI do occasionally get this error about some ext4 inode being the wrong number19:53
potatoespotatoesbut it seems to work for the most part19:53
potatoespotatoesthanks again!19:54
- colinsane (QUIT: Ping timeout: 265 seconds) (~colinunin@97-126-11-220.tukw.qwest.net)19:57
potatoespotatoesoh, hey josch_noreform: one last question on these offsets. Because FLASHBIN_OFFSET is set to 0, does this mean that there is no space for MBR on the mntreform images?20:02
josch_noreformno, the flashbin_offset is the offset where copying from the file flash.bin starts20:03
potatoespotatoesIf I go with the guix defaults it always seems to set 2048 for the first offset20:03
potatoespotatoesahhhhhh20:03
josch_noreformit's like the two offsets of dd20:03
josch_noreformflasbin_offset is the input offset20:03
josch_noreformand uboot_offset is the output offset20:03
potatoespotatoesgood to know! thank you!20:04
josch_noreformand if you look at mkimage.sh that's exactly how they are used:20:04
josch_noreformhttps://source.mnt.re/reform/reform-system-image/-/blob/main/mkimage.sh?ref_type=heads#L76720:04
josch_noreformi probably should run dd with iseek/oseek instead of skip/seek -- the former is a bit more readable i think20:05
potatoespotatoesah, yeah, and there is a sanity check to prevent the mbr from getting overwritten here as well20:07
potatoespotatoeshttps://source.mnt.re/reform/reform-system-image/-/blob/main/mkimage.sh?ref_type=heads#L749-75320:07
potatoespotatoesso when I have the final sd card for rk3588, is it fair to say that it technically could have the partition (assuming there is only one) located at 32768?20:08
potatoespotatoeslike: if the partition starts lower than that then the space is really just going to be ignored?20:08
potatoespotatoesthat's the same as left-padding the image?20:09
+ colinsane (~colinunin@97-113-87-111.tukw.qwest.net)20:11
- colinsane (QUIT: Client Quit) (~colinunin@97-113-87-111.tukw.qwest.net)20:11
josch_noreformyou don't left-pad the image20:12
josch_noreformyou create a partition table that leaves X bytes free before the first partition starts so that u-boot and the mini loaders before it have enough spacce20:12
josch_noreformin debian we agreed on leaving 16MBit of space before the first partition beccause that's what it says in some collabora doccument20:13
josch_noreformtechnically you can get lower then that depending on your actual size of u-boot20:13
potatoespotatoescool!20:17
chorcHi everyone! I'm trying to debug an issue with HDMI port, and I'd like to see some dev_dbg logs. I know how to set log level in kernel args with Grub, but I'm a bit lost with U-boot. Could someone give me some pointers? I think I need to update /etc/flash-kernel/bootscript/bootscr.uboot-generic, and then run mkflash to prep new boot.scr? Is there a simpler method?20:28
josch_noreformchorc: I tried to leave some docs about how to do it in /boot/boot.scr20:30
josch_noreformsearch the file for "Default bootargs for Linux are set here and can be overwritten using"20:31
josch_noreformand yes, after you are done editing /etc/default/flash-kernel, run flash-kernel to update /boot/boot.scr20:32
josch_noreformunfortunately vagrantc isn't here20:32
josch_noreformi opened this MR against flash-kernel because i thought it might be valuable to have the top of the file say how it's regenerated: https://salsa.debian.org/installer-team/flash-kernel/-/merge_requests/5320:34
josch_noreformthe text i wrote for that MR might be interesting for you as well20:34
chorcjosch_noreform: thanks! Yep, found it in boot.scr, will proceed further.20:35
- GNUmoon (QUIT: Remote host closed the connection) (~GNUmoon@gateway/tor-sasl/gnumoon)20:54
+ GNUmoon (~GNUmoon@gateway/tor-sasl/gnumoon)20:55
chorcgot debug messages from other drivers, but silence from HDMI, I guess I'll have to file that support ticket :-(21:10
- xha (QUIT: Ping timeout: 244 seconds) (~xha@user/xha)21:50
austriancoderjosch_noreform: great - will do22:56
- aperezdc (QUIT: Remote host closed the connection) (~aperezdc@46.23.89.43)23:09
+ aperezdc (~aperezdc@2a03:6000:6e61:633::43)23:13
- aperezdc (QUIT: Remote host closed the connection) (~aperezdc@2a03:6000:6e61:633::43)23:14

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