- ndufresne (QUIT: Quit: Ping timeout (120 seconds)) (~ndufresne@apple.collaboradmins.com) | 00:46 | |
+ ndufresne (~ndufresne@apple.collaboradmins.com) | 00:47 | |
minute | josch: funny, some builds worked, but not all! https://source.mnt.re/mntmn/reform-debian-packages/-/pipelines/3731 | 01:54 |
---|---|---|
minute | ah, my fault, > No rule to make target 'arch/arm64/boot/dts/rockchip/rk3588-mnt-reform-dsi.dtb | 01: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_noreform | minute: 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 pull | 09:30 |
josch_noreform | the .deb from the respective job | 09: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_ -> arminweigl | 12: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 | |
potatoespotatoes | Hi 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 this | 19:33 |
potatoespotatoes | I'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#L19 | 19:34 |
potatoespotatoes | But I'm still running into trouble | 19:34 |
+ colinsane (~colinunin@97-126-11-220.tukw.qwest.net) | 19:36 | |
potatoespotatoes | so 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 output | 19:37 |
+ josch_noreform (~josch_nor@2a02:590:501:c00:ccd8:8d58:7e1b:de51) | 19:39 | |
josch_noreform | potatoespotatoes: 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 rk3588 | 19:40 |
josch_noreform | potatoespotatoes: are you building your own u-boot or are you flashing the blob from MNT gitlab CI? | 19:40 |
josch_noreform | note 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-card | 19:41 |
josch_noreform | whether 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.conf | 19:42 |
josch_noreform | it would also help what you mean by "running into trouble" | 19:43 |
potatoespotatoes | I'm building u-boot from source (using the mnt-reform gitlab build script) | 19:46 |
josch_noreform | Okay. It of course does not matter whether you built the blob yourself or let the CI build it for you. :) | 19:47 |
potatoespotatoes | hmm... I think there is extlinux/extlinux.conf in that drive. I'll check now | 19:47 |
josch_noreform | do you have a uart adapter to see what is going on on serial? | 19:47 |
potatoespotatoes | I can pull that up | 19:47 |
potatoespotatoes | the problem I run into is just that I get a panic at boot time | 19:48 |
josch_noreform | who panicsc? | 19:49 |
potatoespotatoes | ...wait a second | 19:50 |
potatoespotatoes | I just booted and it worked | 19:50 |
potatoespotatoes | wtf! | 19:50 |
josch_noreform | no worries, that's usually what happens when people want to show me their ccomputer problems ;) | 19:52 |
josch_noreform | congrats! :) | 19:52 |
potatoespotatoes | lols, I can finally finish this PR | 19:52 |
potatoespotatoes | I do occasionally get this error about some ext4 inode being the wrong number | 19:53 |
potatoespotatoes | but it seems to work for the most part | 19:53 |
potatoespotatoes | thanks again! | 19:54 |
- colinsane (QUIT: Ping timeout: 265 seconds) (~colinunin@97-126-11-220.tukw.qwest.net) | 19:57 | |
potatoespotatoes | oh, 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_noreform | no, the flashbin_offset is the offset where copying from the file flash.bin starts | 20:03 |
potatoespotatoes | If I go with the guix defaults it always seems to set 2048 for the first offset | 20:03 |
potatoespotatoes | ahhhhhh | 20:03 |
josch_noreform | it's like the two offsets of dd | 20:03 |
josch_noreform | flasbin_offset is the input offset | 20:03 |
josch_noreform | and uboot_offset is the output offset | 20:03 |
potatoespotatoes | good to know! thank you! | 20:04 |
josch_noreform | and if you look at mkimage.sh that's exactly how they are used: | 20:04 |
josch_noreform | https://source.mnt.re/reform/reform-system-image/-/blob/main/mkimage.sh?ref_type=heads#L767 | 20:04 |
josch_noreform | i probably should run dd with iseek/oseek instead of skip/seek -- the former is a bit more readable i think | 20:05 |
potatoespotatoes | ah, yeah, and there is a sanity check to prevent the mbr from getting overwritten here as well | 20:07 |
potatoespotatoes | https://source.mnt.re/reform/reform-system-image/-/blob/main/mkimage.sh?ref_type=heads#L749-753 | 20:07 |
potatoespotatoes | so 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 |
potatoespotatoes | like: if the partition starts lower than that then the space is really just going to be ignored? | 20:08 |
potatoespotatoes | that'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_noreform | you don't left-pad the image | 20:12 |
josch_noreform | you 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 spacce | 20:12 |
josch_noreform | in debian we agreed on leaving 16MBit of space before the first partition beccause that's what it says in some collabora doccument | 20:13 |
josch_noreform | technically you can get lower then that depending on your actual size of u-boot | 20:13 |
potatoespotatoes | cool! | 20:17 |
chorc | Hi 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_noreform | chorc: I tried to leave some docs about how to do it in /boot/boot.scr | 20:30 |
josch_noreform | search the file for "Default bootargs for Linux are set here and can be overwritten using" | 20:31 |
josch_noreform | and yes, after you are done editing /etc/default/flash-kernel, run flash-kernel to update /boot/boot.scr | 20:32 |
josch_noreform | unfortunately vagrantc isn't here | 20:32 |
josch_noreform | i 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/53 | 20:34 |
josch_noreform | the text i wrote for that MR might be interesting for you as well | 20:34 |
chorc | josch_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 | |
chorc | got 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 | |
austriancoder | josch_noreform: great - will do | 22: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/!