2023-06-30.log

+ klardotsh (~klardotsh@98.97.112.82)00:44
- robin_ (QUIT: Read error: Connection reset by peer) (~robin@user/terpri)00:51
+ robin (~robin@user/terpri)00:53
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:50)01:40
- mtm (QUIT: Ping timeout: 252 seconds) (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)02:04
- mjw (QUIT: Ping timeout: 240 seconds) (~mjw@gnu.wildebeest.org)02:05
- S0rin (QUIT: Ping timeout: 245 seconds) (~S0rin@user/s0rin)02:26
+ S0rin (~S0rin@user/s0rin)02:28
- gnou_liber (QUIT: Read error: Connection reset by peer) (~gnou_libe@223.pool85-50-3.static.orange.es)03:17
+ gnou_liber (~gnou_libe@223.pool85-50-3.static.orange.es)03:28
- nsc (QUIT: Ping timeout: 250 seconds) (~nicolas@251-49-142-46.pool.kielnet.net)03:29
+ nsc (~nicolas@96-49-142-46.pool.kielnet.net)03:31
+ mtm (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)04:09
joschc-keen[m]: what is your booting setup? /boot on emmc and / on nvme?04:15
joschc-keen[m]: can you boot a rescue system from an sd-card for some analysis?04:16
joschc-keen[m]: once you did boot from an sd-card, i'd be interested in your contents of /boot as well as /etc/fstab04:16
joschc-keen[m]: also, which u-boot version are you using?04:17
joschc-keen[m]: and since you said that this was after an upgrade, i'd also be very interested to see your /var/log/apt/term.log and /var/log/apt/history.log -- but those two might contain sensitive data so either only select the parts that are interesting for this case before pastebin them or send them to me privately04:23
+ sl (~sl@contrib.inri.net)04:24
- sl (QUIT: Quit: Leaving...) (~sl@contrib.inri.net)04:37
- jacobk (QUIT: Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) (~quassel@47-186-122-163.dlls.tx.frontiernet.net)04:48
- S0rin (QUIT: Ping timeout: 250 seconds) (~S0rin@user/s0rin)05:23
+ S0rin (~S0rin@user/s0rin)05:52
- gnou_liber (QUIT: Ping timeout: 245 seconds) (~gnou_libe@223.pool85-50-3.static.orange.es)06:06
- GNUmoon (QUIT: *.net *.split) (~GNUmoon@gateway/tor-sasl/gnumoon)06:08
+ gnou_liber (~gnou_libe@223.pool85-50-3.static.orange.es)06:32
- gnou_liber (QUIT: Ping timeout: 240 seconds) (~gnou_libe@223.pool85-50-3.static.orange.es)06:38
+ gnou_liber (~gnou_libe@90.174.4.76)06:39
- gnou_liber (QUIT: Read error: Connection reset by peer) (~gnou_libe@90.174.4.76)06:41
+ gnou_liber (~gnou_libe@223.pool85-50-3.static.orange.es)06:42
- gnou_liber (QUIT: Ping timeout: 245 seconds) (~gnou_libe@223.pool85-50-3.static.orange.es)06:55
+ gnou_liber (~gnou_libe@90.174.4.76)07:01
- sbp (QUIT: Server closed connection) (~sbp@apache/doge/sbp)07:04
+ sbp (~sbp@2001:19f0:6800:1102:5400:ff:fe11:39a1)07:04
- gnou_liber (QUIT: Read error: Connection reset by peer) (~gnou_libe@90.174.4.76)07:04
+ gnou_liber (~gnou_libe@223.pool85-50-3.static.orange.es)07:04
- gnou_liber (QUIT: Ping timeout: 250 seconds) (~gnou_libe@223.pool85-50-3.static.orange.es)07:09
joschminute: you extended the table at https://mntre.com/modularity.html#table with the rcm4 rpi but in the text above it still says "Subsequently, we have made four additional processor modules" (but it's five additional ones) and the list below that only has four entries and misses the rpi07:28
+ jacobk (~quassel@47-186-122-163.dlls.tx.frontiernet.net)07:31
+ Assassink786[m] (~assassin7@2001:470:69fc:105::2:ac85)09:12
+ GNUmoon (~GNUmoon@gateway/tor-sasl/gnumoon)09:20
- klardotsh (QUIT: Ping timeout: 240 seconds) (~klardotsh@98.97.112.82)10:03
minutejosch: thanks for spotting that!10:13
+ gnou_liber (~gnou_libe@223.pool85-50-3.static.orange.es)11:01
violetminute: ordered batteries from that site you linked and they came in, and they're all at 3.29v by my multimeter! popped them in and they appear to be working11:02
violetnow i just need to update the battery controller firmware or w/e11:02
- gnou_liber (QUIT: Read error: Connection reset by peer) (~gnou_libe@223.pool85-50-3.static.orange.es)11:04
+ gnou_liber (~gnou_libe@223.pool85-50-3.static.orange.es)11:05
- gnou_liber (QUIT: Read error: Connection reset by peer) (~gnou_libe@223.pool85-50-3.static.orange.es)11:11
+ gnou_liber (~gnou_libe@223.pool85-50-3.static.orange.es)11:12
+ mjw (~mjw@gnu.wildebeest.org)11:13
minuteviolet: great11:14
violetwith the banana pi cm4 module, is the HDMI something you can swap between the HDMI port and the internal display with like a software command, or is it a device tree thing you'd need to reboot for, or is it like actually swapping the physical connection11:17
- S0rin (QUIT: Ping timeout: 250 seconds) (~S0rin@user/s0rin)11:33
- mjw (QUIT: Ping timeout: 264 seconds) (~mjw@gnu.wildebeest.org)11:38
+ S0rin (~S0rin@user/s0rin)11:41
* mark_ -> mjw11:41
minuteviolet: it's in software. just it hasn't been figured out yet how to drive both at the same time. afaik it is possible though, but i didn't want to overpromise11:47
violetah rad. i personally never find myself using both anyhow so that'd work for me11:55
violetthe perf cores are rather appealing ngl11:56
minuteviolet: it is a very different experience compared to imx8mq11:56
- plomlompom (QUIT: Server closed connection) (~plom@play.plomlompom.com)12:45
+ plomlompom (~plom@play.plomlompom.com)12:45
- mtm (QUIT: Ping timeout: 250 seconds) (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)14:03
+ mark_ (~mjw@gnu.wildebeest.org)14:13
- mark_ (QUIT: Ping timeout: 258 seconds) (~mjw@gnu.wildebeest.org)14:19
+ mtm (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)14:22
+ bkeys (~Thunderbi@c-67-191-106-248.hsd1.fl.comcast.net)14:34
minuteok, today i'm gonna work a bit on a311d integration 14:41
minutejosch: i would like to integrate a311d patches and dts here: https://source.mnt.re/reform/reform-debian-packages/-/tree/main/linux what do you think about creating subdirectories for the SoCs in the patches directory? just for some orderliness14:45
minutealso i see a draft MR here https://source.mnt.re/reform/reform-debian-packages/-/merge_requests/6 josch: is this OK to merge or are there problems?14:45
minutefor now i will just prefix them14:49
joschminute: MR !6 was something that sigrid suggested and i tested but unfortunately did not work :(14:53
minuteohh ok14:54
joschminute: i have a local branch which creates these subdirectories for the pocket reform14:55
joschminute: i didn't push that one because it depends on linux 6.4 which is only in experimental still14:56
minuteah hmmmmmmmm14:56
joschminute: putting the patches into subdirectories requires some changes of the patching machinery -- would you like me to push the unfinished stuff?14:56
minutei'm not sure how to proceed with making a system image for a311d14:56
minutejosch: if i can build on that it would be cool, yes14:57
joschokay, one sec...14:57
minutei'm not sure if it makes sense for me to build on top of the old debian kernel now hmm14:57
minuteor if we need to go with a custom kernel until the debian one is new enough14:57
minute(for a311d)14:57
minutewhy is our hardware always so bleeding edge :D14:58
joschminute: there is now a branch called imx8mplus with two wip commits in it14:59
joschminute: the stuff in that branch already builds and i sent you the result some time ago14:59
minuteah cool14:59
joschso it should be safe to build the a311d stuff on top of that14:59
joschonce i finish up the integration once 6.4 is released i can then rebase your a311d changes15:00
minuteahh i see, very nice15:00
minutei have now merged your imx8mplus branch into my new branch a311d15:00
+ mark_ (~mjw@82-217-174-174.cable.dynamic.v4.ziggo.nl)15:00
minutenow the question is, should we call this meson-g12b or a311d15:01
joschhah :D15:01
minutei think a311d would be easier to identify for most people...15:01
minuteah, lets see what the dts name is that neil submitted15:01
minutehttps://lore.kernel.org/all/20230512-amlogic-v6-4-upstream-dsi-ccf-vim3-v5-17-56eb7a4d5b8e@linaro.org/15:02
minute> meson-g12b-bananapi-cm4-mnt-reform2.dts15:02
minutequite the mouthful15:02
minutebut i will use that, then15:03
joschthe string "MNT Reform 2 with BPI-CM4 Module" also does not match the format you recently suggested, sadly15:03
minutemaybe this can still be changed15:05
minutebecause that huge MR is not yet final15:05
minutedoes someone know about a tool with which one can auto-download a patch series that from lore, cleanly?15:10
minuteit's quite a hassle to do all of this manually15:10
minutehmm https://people.kernel.org/monsieuricon/introducing-b4-and-patch-attestation15:10
minutesudo apt install b415:11
minute:315:11
minuteha > b4 am 20230512-amlogic-v6-4-upstream-dsi-ccf-vim3-v5-0-56eb7a4d5b8e@linaro.org15:12
minuteamazing15:12
minutejosch: sorry if this is a lazy question, but where can i see debian's default kernel configuration?15:20
minutejosch: i want to check what is already included in terms of CONFIG_MESON_... etc15:20
minuteCONFIG_*_MESON15:20
- mark_ (QUIT: Ping timeout: 245 seconds) (~mjw@82-217-174-174.cable.dynamic.v4.ziggo.nl)15:32
minutejosch: now checking if the patches will apply on debian's kernel :315:34
minutejosch: we should perhaps add some requirements for building linux to the README, like python3-jinja and quilt15:35
minuteoh > Patch debian/patches/reform/imx8mq-mnt-reform2/0005-imx8mq-import-HDMI-driver-and-make-DCSS-compatible-w.patch does not apply (enforce with -f)15:36
minutei guess i should merge main?15:36
joschminute: /boot/config-*-reform2-arm64 contains the config of the kernel you are running15:38
joschminute: 0005-imx8mq-import-HDMI-driver-and-make-DCSS-compatible-w.patch needing a rebase has to be done all the time...15:39
joschi'd wish somebody who knows how what the patch does could finally get it upstreamed...15:39
minutejosch: the patch will never be upstreamed in this form as it is straight from the vendor kernel. i heard that lucas stach has an official hdmi patch brewing for a long time but i haven't seen it15:40
joschyes, lucas told me the same15:41
joschsaid that there is a way to have a single dtb offering both things15:41
minutenot sure what's blocking that15:42
minuteTIL "git checkout --theirs"15:42
minuteok, so the HDMI patch for imx8mq from main still works fine.15:43
minutea311d patch reject seem to be small15:44
minuterejects15:44
minutehmm it says > 1 out of 1 hunk FAILED -- rejects in file Documentation/devicetree/bindings/arm/amlogic.yaml15:45
minutenormally i know patch saying filename with a .rej ending15:46
joschthe patching is done using "patch" but with the tool quilt around15:47
minuteok, so not sure how i can find the actual rejects15:47
minutehow did you do it when you had rejects?15:48
joschi applied the patches in a git tree, fixed rejects and then used git-format-patch to create the working patch stack15:48
minuteah hm15:48
minutei'll try to do that then15:49
minuteok, patches apply quite cleanly now16:06
joschoh funny you are in contact with Neil from Linaro -- i know him from Debian all the way back when I was working on Debian integration for the Openmoko Neo1973 and Freerunner :)16:11
minutejosch: ah cool! so yeah he did all the mipi-dsi work16:11
minutejosch: ah, is fuzz illegal when patching?16:12
minute> dpkg-source: info: the patch has fuzz which is not allowed, or is malformed16:12
joschyup16:12
minutedamn16:12
minutesad because so far i didn't have to touch the patches :D16:12
joschit's a lot of fun to do this every time a new kernel comes out ;)16:13
josch0005-imx8mq-import-HDMI-driver-and-make-DCSS-compatible-w.patch is the worst offender because it's so large and because the drm subsystem changed so much (including file moves and splits) in the past year16:13
joschoh and variable renames...16:14
joschi'm surprised it still works after all this patch has been through with me...16:14
minuteyeah :316:16
minuteactually16:17
minutehttps://lore.kernel.org/all/cover.1686729444.git.Sandor.yu@nxp.com/16:17
minuteinteresting > Fix HDMI scrambling is not enable issue when driver working in 4Kp6016:18
minute  mode16:18
minuteso NXP is actually contributing this. so we can test this soon and move to that patch series16:19
joschwow, that makes me very happy :D16:20
BoostisbetterI wonder if NXP recognizes the impact the Reform and Librem 5 have on their chip being seen as a good purchase. 16:22
Boostisbetterand the soon to be Pocket Reform as well. 16:22
Boostisbetterminute: the amount of support the Pocket crowd funding got was more than the Reform initially right? Were you surprised by this or did you kind of expect it at this point?16:23
joschI fear NXP sells orders of magnitude more of their devices to other industry customers ;)16:23
minutejosch: yep16:25
minutebut we have a good relationship with laird/boundary devices now16:26
minuteso there is some visibility 16:26
BoostisbetterI think that is great. Really happy for MNT. 16:26
BoostisbetterDo we have any thoughts on Red Hat this past week? I admit at first I thought people were being ridicolous, and I thought RH was in their right for doing what they did and protecting their revenue stream. 16:28
BoostisbetterHowever, I have come to see that people are more upset about all of the software that RHEL uses that they do not send any of their profits back to. 16:29
BoostisbetterAnd from this point of view it makes sense to me the disappointment and anger. 16:29
BoostisbetterI think Debian is going to see a nice influx of users in the coming weeks, which is good. 16:29
minuteBoostisbetter: what do you mean? i haven't been following what RH is doing16:36
BoostisbetterOne other thing I'll throw in here this fine Friday is that I think the Reform implements the NXP SoC the best out of the products using it for Linux, simply because it is afforded as many resources as it can handle. 4gb instead of 3. And because of the PCIe lane, it is able have a bigger swap and you barely feel slow downs due to swapping. 16:37
Boostisbetterminute: they officially stopped downstreaming the RHEL source to the Centos repo. The only way to get it now is to be a customer. 16:37
minutehmm? what about the GPL?16:39
Boostisbetterapparently v2, and I guess they can do that with v2. 16:39
minutealso, what's interesting in RHEL? the only interesting product that comes to mind from RH is fedora16:40
Boostisbetterin a project I'm developing for work we are using RHEL. 16:41
BoostisbetterIt matter to most organizations that there is a support structure and certainties for the prducts that are required. 16:41
Boostisbetterlets not forget that systemd and pipewire, pulseaudio, etc. all came from there. 16:41
minuteah. but then you are a customer?16:42
minuteyes, but these are not enterprise only things, right?16:43
Boostisbetternot by choice. That wasn't my decision. I would have gone with Debian or Ubuntu16:43
Boostisbetterright, but what I mean is, that even though this is sucky for many people, RH contributes still via upstreaming to many Linux projects. 16:43
sknebelI dont think there is going to be that much that's not upstreamed to CentOS (although I havent seen anything conclusive about that yet)16:45
sknebelso while I dont like the weirdness of selling people GPLed software under expectations they dont share the source (as I understand it they do that, kinda like grsecurity does for their patches), I feel like its kind of overblown?16:46
minutesounds like16:46
Boostisbettersame here. There is a lot of overreacting going on. 16:46
sknebela bunch of projects are going to stop officially testing with RHEL, thats a downside for RedHat16:47
sknebel(*RHEL or compatible distros - clearly the latter are the target here)16:47
sknebeland the entire "we have to stop people building on some aspects of our work for free" squares not so well with "a linux distro thats builds on lots of other peoples work for free"...16:49
+ mark_ (~mjw@gnu.wildebeest.org)16:50
sknebelI feel like the noise was predicatable and I dont really see this stopping the compatible distros that effectively, so I'm not sure it makes strategic sense for them, but *shrug*16:52
jfredWhen the Pocket Reform is open flat, are both sides flush with the table? I.e. are they both the same thickness?17:04
minutejfred: no, the top part is a bit thinner17:07
minuteok, patches sorted out, now > Error creating chroot17:07
Boostisbetterminute: can't wait for the pocket. If you need any help with debugging or working on them, please let me know. Hahaha17:07
minuteBoostisbetter: thanks!17:08
jfredminute: Ah, got it - would have been a bit like a Dynabook with a hinge if they were the same, but admittedly the top being thinner does make more sense for a mini laptop haha17:09
minutejfred: you can surely use it at 180 degrees though17:09
jfredAnd I suppose if I wanted to make the lid thicker that's easier than the reverse :P17:10
minutejfred: yep17:10
minutejosch: do i have to do anything special in schroot.conf, like set an architecture or something? is users=rleigh supposed to be my username?17:11
minutehmm > chroot:unstable chroot does not exist17:12
minutetrying sudo sbuild-createchroot sid /srv/chroot/sid17:15
- mark_ (QUIT: Ping timeout: 252 seconds) (~mjw@gnu.wildebeest.org)17:15
joschminute: as the sbuild maintainer i'd recommend using the unshare backend17:17
minutejosch: no idea what that means!17:18
joschminute: the advantage is, that in contrast to the schroot backend, you don't need to be superuser17:18
joschand there is no configuration in /etc17:18
joschfirst, make sure you have these packages installed: sbuild mmdebstrap uidmap17:18
joschthen:17:19
joschmkdir -p ~/.cache/sbuild17:19
joschmmdebstrap --variant=buildd unstable ~/.cache/sbuild/unstable-amd64.tar.xz17:19
josch(assuming you are on amd64, right?)17:19
minutecorrect!17:19
joschand then put this in your ~/.sbuildrc:17:19
josch$chroot_mode = 'unshare';17:19
minuteok, it's downloading stuff17:19
joschfrom that point onward, you are not needing schroot anymore and it should use the tarball in your home directory instead17:19
josch(which you can also create without superuser privileges)17:19
minutecool17:19
minutei will copy this to the README in reform-debian-packages then17:20
joschACTION is afk now for ~1h -- hope everything works!17:20
minutejosch: thank you!17:20
minutesigh > newuidmap: Target process 64220 is owned by a different user: uid:1000 pw_uid:1000 st_uid:1000, gid:131 pw_gid:1000 st_gid:13117:23
minuteah hm > /usr/bin/fakechroot: 87: Cannot fork17:27
minutehm, i was already in some kind of container or sth :317:31
minute> I: success in 120.4871 seconds17:32
minutei did, in a fresh terminal > mmdebstrap --variant=buildd --mode=unshare unstable ~/.cache/sbuild/unstable-amd64.tar.xz17:32
minuteok, sbuild is springing to life17:34
minute> E: Build failure (dpkg-buildpackage died)17:36
minuteah, pocket reform issue17:38
minuteError: /<<PKGBUILDDIR>>/arch/arm64/boot/dts/freescale/imx8mp-mnt-pocket-reform.dts:795.1-8 Label or path lcdif1 not found17:38
minuteFATAL ERROR: Syntax error parsing input tree17:38
minute> Error: /<<PKGBUILDDIR>>/arch/arm64/boot/dts/freescale/imx8mp-mnt-pocket-reform.dts:755.1-10 Label or path mipi_dsi not found17:38
minutecommenting pocket dts out for now17:39
- gnou_liber (QUIT: Read error: Connection reset by peer) (~gnou_libe@223.pool85-50-3.static.orange.es)17:47
+ gnou_liber (~gnou_libe@223.pool85-50-3.static.orange.es)17:55
minuteStatus: successful18:10
minuteVersion: 6.3.7-1+reform20230630T153953Z118:10
minutenice. i'm just missing the reprepro command18:10
- bkeys (QUIT: Read error: Connection reset by peer) (~Thunderbi@c-67-191-106-248.hsd1.fl.comcast.net)18:20
noamRealllllllly liking the Reform :D18:20
BoostisbetterReaaaalllly happy for you Noam!18:23
+ mark_ (~mjw@gnu.wildebeest.org)18:45
- deflated8837 (QUIT: Ping timeout: 240 seconds) (~deflated8@50.53.206.61)18:45
joschminute: you are building the entire kernel in 20 minutes????18:49
minutejosch: it's a i9-9900k, but also running at half speed (HT turned off)18:53
minute(well, HT probably doesn't really give the same perf as 2x the cores)18:53
- mjw (QUIT: Killed (NickServ (GHOST command used by mark_!~mjw@gnu.wildebeest.org))) (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)19:06
* mark_ -> mjw19:06
+ mark_ (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)19:06
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:50)19:23
noamIt gets surprisingly close, tbh, at least on my ryzen19:27
joschwell... and here i am spending 6+ hours to build the thing on my reform XD19:29
noamHeh, I just don't run Linux and that problem is solved ;)19:41
noam~121s to build 9front on the reform for me :D [though, in fairness, I removed ghostscript from my branch, or it would be another minute or three probably]19:42
Boostisbetterthat is pretty nice! So does Plan 9 work completelty on the Reform? 19:46
noamAFAIK, yeah19:47
noam...except external displays, probably?19:47
Boostisbetternice, I don't think I have ever tried to use one on Debian either. 19:51
- ndufresne (QUIT: Quit: The Lounge - https://thelounge.chat) (~ndufresne@gyros.collabora.co.uk)20:06
+ ndufresne (~ndufresne@gyros.collabora.co.uk)20:07
minutei just discovered something20:14
minutea311d and imx8mq ddrc firmware blob(s) are almost identical20:14
minuteat least they contain some identical data20:14
minuteso they're both synopsys ddrc20:14
* cwebber`` -> cwebber20:25
- cwebber (QUIT: Changing host) (~user@2600:6c64:7e3f:fdb0::6db)20:25
+ cwebber (~user@user/cwebber)20:25
+ bkeys (~Thunderbi@c-67-191-106-248.hsd1.fl.comcast.net)20:59
+ deflated8837 (~deflated8@50.53.206.61)21:03
minuteok, built mainline u-boot (with at-f blobs from amlogic) and that boots on rcm4-bpi21:36
minutehmm, which .deb contains the dtb21:41
joschprobably linux-image-6.3.0-0-reform2-arm6421:43
minuteah yes, but it is in /usr/lib21:43
minuteok, so the new dtb isn't there, hmmmm21:44
joschdid you add it to the Makefile?21:44
minutethe .dts ended up in the tree at least, and i made a patch to add it to the makefile, lets see21:45
joschthey are added using a sed one-liner in build.sh21:45
minutenope, did not end up in the makefile21:45
joschlike this for the pocket reform:21:45
joschsed -i '/imx8mq-mnt-reform2.dtb/a dtb-$(CONFIG_ARCH_MXC) += imx8mp-mnt-pocket-reform.dtb' linux/arch/arm64/boot/dts/freescale/Makefile21:45
minutejosch: yeah, i've seen that, and... ahhh21:46
minutei made a patch 0002-add-dts-to-makefile21:46
minutebut forgot to call it .patch21:46
minute:D21:46
joschah okay :)21:47
minutebefore i rebuild all of this i will test with another dtb first21:48
minuteok, > Starting kernel ...21:58
minuteand then no more output :D i guess i have to tweak the kernel commandline...21:58
minuteok cool, kernel has booted22:04
minute[    0.000000] Linux version 6.3.0-1-reform2-arm64 (debian-kernel@lists.debian.org) (aarch64-linux-gnu-gcc-12 (Debian 12.3.0-4) 12.3.0, GNU ld (GNU Binutils for Debian) 2.40.50.20230625) #1 SMP Debian 6.3.7-1+reform20230630T153953Z1 (2023-06-30)22:04
minute[    0.000000] Machine model: MNT Reform 2 with BPI-CM4 Module22:04
vkoskivIf I want some in-stock bits, as well as the banana pi + adapter board, would it make more sense for me to put in two orders?22:05
minutevkoskiv: which bits are those?22:05
vkoskivI want the protected bat board, laird antenna, homing caps and the cm4 adapter + A311D22:06
vkoskivI'm fine with paying shipping twice, if I can get the other stuff a bit sooner22:06
minuteyeah, then do two orders i would say22:07
minuteapparently, there are still over 600 bpi cm4 in stock at sinovoip22:07
minutelast time they took a little to ship, like 2 weeks at least. i will contact them to see if we can do that quicker22:08
vkoskivAnd is the A311D just a swap-in replacement?22:12
vkoskivAs in, will my existing sysv3 install boot up on it?22:12
noamDifferent SoC, IIUC, so probably needs a different kernel build + u-boot firmware, for Linux22:12
joschvkoskiv: in the near future you will not need to swap out the kernel22:13
joschvkoskiv: but you will need a different u-boot and a different dtb22:13
minutethe kernel will be unified22:14
minuteu-boot goes to offset 512 bytes with this machine btw22:14
minutehere is the current status of the kernel integration josch https://source.mnt.re/reform/reform-debian-packages/-/commits/a311d22:15
minutei have to make feierabend now, next week i have to sort out the modules22:15
minutejosch: here are my current notes on how the bootloader is built. i wonder how we can integrate this with reform-system-image. i'm thinking to modify the existing image after the fact, i.e. just write this different bootloader to the .img file. but no idea how to integrate the dtb, initrd (?) etc. 22:19
minutejosch: https://source.mnt.re/-/snippets/322:19
vkoskivjosch: Sounds doable. It's not like I'll be swapping between modules on the regular.22:22
noamheck, could just keep two tiny uSD cards :P22:22
vkoskivAll my data is on encrypted lvm on the nvme, so I can keep that and modify the boot stuff when I swap modules22:23
noamOr, wait, there's eMMC isn't there? Yeah22:23
vkoskivnoam: Yeah. I'm using the emmc to boot, so I could just have 2 images I can flash in case I want to swap back for whatever reason22:23
noamJust flash eMMC with u-boot for the given module, and it should JustWork if the kernel's on NVMe :)22:23
vkoskivOr well, if the emmc is *on* the module, won't that just... work?22:23
noamyeah22:33
noamthat's what I was saying ;)22:33
joschno, this will work once but not for long22:39
joschthe problem is, that the next kernel upgrade will then destroy your setup22:39
noam...why's that? 22:39
joschbecause even though your kernel and dtb might be on a different partition, the information which dtb to choose is in your /etc22:39
noamShouldn't the firmware still be fine?22:39
vkoskivAh22:39
joschso even if you have your / on nvme and /boot on emmc, you have to adapt stuff in /etc when you swap modules22:40
vagrantcwell, if you copy *all* the dtb files for a given kernel, and use the mechanisms u-boot provides to select a .dtb ... you should be ok?22:40
joschvagrantc: but flash-kernel only selects a single dtb to copy, no?22:40
vagrantcthat is true. there are hooks in u-boot-menu to copy all the .dtbs now22:41
vagrantcand also not hard to implement as a one-off script in /etc/kernel*.d22:41
joschyes *if* you switch to u-boot-menu22:42
joschwhich requires a recent u-boot22:42
joschwhich we cannot automatically upgrade ;)22:42
vagrantcisn't this talking about systems with the cm4 adapters ... which have not yet even shipped?22:42
joschyes, but we want to have the same userland on all platforms22:43
vagrantcu-boot is not userland22:43
joschbecause we have a single repo from which all of them upgrade22:43
joschbut the config is22:43
vagrantcthe config is unchangeable? :P22:43
joschlets discuss this another day -- i have to get up super early tomorrow :)22:43
vagrantcfair :)22:44
joschvagrantc: i'll surely consult you with what i'm coming up with ;)22:44
vagrantci will be happy to help22:44
joschthank you! :)22:44

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