2024-06-07.log

joschkhm: you are not planning on using the standard Debian image that comes with the reform, right?00:00
khmI am.  I'm planning on using the debian image on the emmc, and I'm hoping to upstream changes to the boot script such that if a plan 9 kernel is detected it presents a menu00:01
khmso that I can run the debian image or boot into plan 9 without fiddling with hardware00:02
joschthe debian boot.scr has nothing to do with upstream u-boot00:03
joschit is generated by flash-kernel00:03
khmyes, I was hoping to upstream it to *you* :)00:03
khmthe current way people do this is by putting a custom boot.scr in the emmc, but that wouldn't survive an update on the debian side00:04
joschvagrantc: something for you to look at ^00:04
joschkhm: why would you put a custom boot.scr onto the emmc?00:04
khmin order to boot plan 900:07
joschjust throw whatever you need into /etc/flash-kernel/preboot.d00:07
joschthen flash-kernel will pick that up and put it into the boot.scr it generates00:07
joschand would survive the updates00:07
khmI don't see a way to invoke a bootmenu via preboot.d, since it inserts before the kernels are detected 00:15
joschthat's the beauty: you would not do kernel detection at all so you do not have to re-implement that00:16
joschyou only would need to do whatever is needed to check whether plan9 is there or not00:16
joschand then ask the user whether they want to boot plan9 or continue to linux00:16
khmI'll give it a shot00:17
joschand the other thing you could look into is to utilize extlinux.conf to boot plan9 -- i do not know if that can be done or not but extlinux.conf has the advantage of being declarative instead of turing-complete shell00:22
joschand you get a menu for free00:22
khmand, just so I'm sure:  reform's u-boot does not support nvme, correct?00:26
joschkhm: i heard it should work with upstream u-boot on imx8mq00:27
joschbluerise might know more00:27
joschkhm: but the u-boot that MNT ships do not support it unless i missed this00:27
- natalie (QUIT: Remote host closed the connection) (~natalie@user/natalie)00:31
khmno, that's consistent with what I see00:33
+ natalie (~natalie@user/natalie)00:33
khmwoops, our u-boot doesn't support bootmenu (CONFIG_CMD_BOOTMENU is not set) ... probably should've checked that before I got started!00:49
khmok, got it working with extlinux.conf, with the provisio that u-boot-menu generates entries that won't boot -- you must add an `fdt` line so it can find the device tree01:31
joschthe fdt line is needed for linux as well01:34
joschhere is how mine looks like: https://paste.debian.net/hidden/8f4d09ff/01:34
joschhow does an entry for 9front look?01:34
khmlike this, but it's not really fully functional right now http://okturing.com/src/19984/body01:56
khmwhen not using the extlinux.conf method, we do this in boot.scr  http://okturing.com/src/19985/body01:57
khmwith the extlinux.conf version, 9front doesn't find the plan9.ini, so I'll need to fix that somehow...01:58
joschor maybe change ${ramdisk_addr_r} to 0x40010000 so that plan9.ini gets loaded into the same location as it does with your boot.scr02:02
joschu-boot doc/develop/distro.rst lists the variables that extlinux uses02:02
josch <= bed02:02
- cobra (QUIT: Ping timeout: 246 seconds) (~cobra@user/Cobra)02:18
- vagrantc (QUIT: Ping timeout: 268 seconds) (~vagrant@2600:3c01:e000:21:7:77:0:50)02:22
- Ar|stote|is (QUIT: Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) (~linx@149.210.16.81)03:16
+ Ar|stote|is (~linx@149.210.16.81)03:16
- nsc (QUIT: Ping timeout: 268 seconds) (~nicolas@150-98-142-46.pool.kielnet.net)03:17
+ nsc (~nicolas@181-96-142-46.pool.kielnet.net)03:18
- skipwich (QUIT: Quit: DISCONNECT) (~skipwich@user/skipwich)05:02
+ skipwich (~skipwich@user/skipwich)05:05
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:50)05:18
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:50)05:39
+ cobra (~cobra@user/Cobra)05:48
+ chomwitt (~chomwitt@2a02:587:7a09:6800:1ac0:4dff:fedb:a3f1)06:13
- GNUmoon2 (QUIT: Remote host closed the connection) (~GNUmoon@gateway/tor-sasl/gnumoon)06:34
+ GNUmoon2 (~GNUmoon@gateway/tor-sasl/gnumoon)06:35
- chomwitt (QUIT: Ping timeout: 255 seconds) (~chomwitt@2a02:587:7a09:6800:1ac0:4dff:fedb:a3f1)07:30
joschminute: https://source.mnt.re/reform/reform-debian-packages/-/issues is the best place to collect reform kernel-related issues?07:54
+ jaume (~user@user/jaume)08:06
- GNUmoon2 (QUIT: Remote host closed the connection) (~GNUmoon@gateway/tor-sasl/gnumoon)08:07
+ GNUmoon2 (~GNUmoon@gateway/tor-sasl/gnumoon)08:08
minutejosch: sure, why not09:38
joschfrom time to time somebody comes along and asks "i want to help, what is there to do?" and even if chances are very little, i wanted to start collect at least some of the long-standing issues10:10
joschlike flaky usb on ls1028a10:10
joschas over time you get used to the status quo and then at least i forget about all the bugs and todo items for which we implemented workarounds...10:10
minutejosch: true10:12
- nybble (QUIT: Ping timeout: 268 seconds) (~sprang@user/csprng)10:16
- GNUmoon2 (QUIT: Read error: Connection reset by peer) (~GNUmoon@gateway/tor-sasl/gnumoon)10:52
+ GNUmoon2 (~GNUmoon@gateway/tor-sasl/gnumoon)10:53
- buckket (QUIT: Quit: buckket) (~buckket@vps.buckket.org)10:54
+ buckket (~buckket@vps.buckket.org)10:54
- mjw (QUIT: Ping timeout: 246 seconds) (~mjw@gnu.wildebeest.org)12:08
- jaume (QUIT: Remote host closed the connection) (~user@user/jaume)12:20
* Guest3713 -> mjw12:23
- ndufresne (QUIT: Quit: Ping timeout (120 seconds)) (~ndufresne@apple.collaboradmins.com)12:34
+ ndufresne (~ndufresne@apple.collaboradmins.com)12:34
- sir-photch (QUIT: Remote host closed the connection) (~m-hy5poy@2a01:4f8:1c1b:4579::1)12:37
+ sir-photch (~m-hy5poy@2a01:4f8:1c1b:4579::1)12:42
+ pr8dan (~pr8dan@pub151248192164.dh-hfc.datazug.ch)13:45
- pr8dan (QUIT: Changing host) (~pr8dan@pub151248192164.dh-hfc.datazug.ch)13:45
+ pr8dan (~pr8dan@user/pr8dan)13:45
pr8danfyi, with apt-get update I am getting a "N:Missing Signed-by in the sources.list(5) entry for https:/mntre.com/reform-debian-repo" 13:52
joschpr8dan: the reason for that is that the repository is indeed not signed at all: https://community.mnt.re/t/strategy-for-apt-upgrade/2010/714:02
minutehttps://lore.kernel.org/linux-arm-kernel/20240506124836.3621528-3-heiko@sntech.de/14:42
- pr8dan (QUIT: Ping timeout: 260 seconds) (~pr8dan@user/pr8dan)14:42
+ mark_ (~mjw@gnu.wildebeest.org)14:49
joschthe rk3588 being able to power the display directly via mipi dsi without going through a hdmi adapter would be so hype!14:54
+ chomwitt (~chomwitt@2a02:587:7a09:6800:1ac0:4dff:fedb:a3f1)14:57
- mark_ (QUIT: Ping timeout: 260 seconds) (~mjw@gnu.wildebeest.org)15:21
- chomwitt (QUIT: Ping timeout: 272 seconds) (~chomwitt@2a02:587:7a09:6800:1ac0:4dff:fedb:a3f1)15:32
mjwplomlompom, minute, sorry to be a broken record, but if you could update support ticket #3488 that would be really appreciated. I am fine with you saying it is too much work to do right away, but having some estimate whether it will be days, weeks, months, would be nice.15:34
+ andreas-e (~Andreas@2001:861:c4:f2f0::c64)15:46
+ pr8dan (~pr8dan@user/pr8dan)16:30
pr8dan@josch: thx16:31
minutejosch: not really because the display is eDP.... :D16:35
minutejosch: but it would be nice in pocket reform of course16:35
sigridluckily there is programming manual for rk3588 which describes how to drive display via various configurations, just one being hdmi16:50
sigridkinda hoping I will be able to figure it out when the module comes ^__^""""16:51
- pr8dan (QUIT: Ping timeout: 256 seconds) (~pr8dan@user/pr8dan)17:13
+ chomwitt (~chomwitt@2a02:587:7a09:6800:1ac0:4dff:fedb:a3f1)17:41
- chomwitt (QUIT: Ping timeout: 256 seconds) (~chomwitt@2a02:587:7a09:6800:1ac0:4dff:fedb:a3f1)18:06
+ mark_ (~mjw@gnu.wildebeest.org)18:06
* mjw -> Guest985918:23
- Guest9859 (QUIT: Killed (tungsten.libera.chat (Nickname regained by services))) (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)18:23
* mark_ -> mjw18:23
+ Guest9859 (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)18:23
+ amk (~amk@user/amk)18:27
- amk (QUIT: Remote host closed the connection) (~amk@user/amk)18:34
+ amk (~amk@user/amk)18:35
+ nybble (~sprang@user/csprng)18:35
- amk (QUIT: Remote host closed the connection) (~amk@user/amk)18:41
+ amk (~amk@user/amk)18:41
- amk (QUIT: Remote host closed the connection) (~amk@user/amk)18:46
+ amk (~amk@user/amk)18:46
+ pr8dan (~pr8dan@user/pr8dan)19:10
minutemjw: hey, it's already in my list > take care of mjw's reform (package is here), ticket 348819:36
minutemjw: i'm gonna get to it in the coming week. i had to prioritize some critical stuff first19:37
bluerisejosch, khm: upstream U-Boot doesn't yet support Reform with NVMe19:37
bluerisethey upstreamed i.MX8MP PCIe support, which is similar to MQ and can probably be adjusted for the MQ19:37
bluerisebut even upstream Linux doesn't actually support both PCIe ports on the MQ...19:38
bluerise(because of some ext/non-ext clock things)19:38
minuteit needs a tiny patch... that will never get accepted upstream for unknown reasons19:38
bluerisehaha19:38
blueriseIt's sad that Linux is the upstream for DT bindings19:38
bluerisebut at least there's one place with active discussion/feedback/bikeshedding19:39
minuteyeah19:40
mjwminute, thanks19:40
Twodisbetterminute: do you know if the rk3385 already works in the pcket reform? 19:41
mjwminute, to make it better, I also need a way to pay for your time/repairs. I only paid for the parts and shipping. So please do update the ticket with how I can get more money to you :)19:44
khmbluerise: does upstream u-boot otherwise work?  like video out, emmc/sd support, and so forth?  would be nice to use bootmenu19:48
bluerisewithout LCD19:49
bluerisedid have a working tree here https://github.com/bluerise/u-boot/commits/mnt/19:49
minuteTwodisbetter: don't know yet because i couldn't test DSI yet (lack of drivers), but there's something on lkml19:59
Twodisbetterminute: ok. Can you imagine that beast in the pocket? Would be amazing!20:00
- pr8dan (QUIT: Ping timeout: 240 seconds) (~pr8dan@user/pr8dan)20:02
+ gustav28 (~gustav@c-0c35524e.019-141-67626730.bbcust.telenor.se)20:02
khmbluerise: thanks20:03
minuteTwodisbetter: yes it will be awesome (if not too hot lol)20:03
TwodisbetterYeah, I really can't wait to get the pocket! Great work and please thank the team for their hardwork as well! 20:04
- amk (QUIT: Remote host closed the connection) (~amk@user/amk)20:08
+ amk (~amk@user/amk)20:08
+ pr8dan (~pr8dan@user/pr8dan)20:09
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:50)20:26
- pr8dan (QUIT: Remote host closed the connection) (~pr8dan@user/pr8dan)22:02
- andreas-e (QUIT: Quit: Leaving) (~Andreas@2001:861:c4:f2f0::c64)22:05
- gustav28 (QUIT: Quit: Quit) (~gustav@c-0c35524e.019-141-67626730.bbcust.telenor.se)22:15
- robin (QUIT: Quit: Leaving) (~robin@user/terpri)22:56
+ robin (~robin@user/terpri)23:05

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