2024-07-18.log

minuteopenCL for valhall and thus rk3588 https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3008800:10
- natalie (QUIT: Ping timeout: 246 seconds) (~natalie@user/natalie)00:38
bkeysjosch: Alright, so something in the Fedora defaults must have been incompatible with the Reform config so now I'm just building a straight Fedora kernel with the exact config that Reform runs on debian01:29
bkeyswe are getting closer01:30
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:50)01:38
- brennen (QUIT: Server closed connection) (~brennen@user/brennen)01:40
+ brennen (~brennen@user/brennen)01:42
- bluerise (QUIT: Ping timeout: 258 seconds) (~bluerise@p5b0ac4d1.dip0.t-ipconnect.de)01:43
+ bluerise (~bluerise@pc19f8d58.dip0.t-ipconnect.de)01:44
- swivel (QUIT: Server closed connection) (~swivel@shells.gnugeneration.com)01:50
+ swivel (~swivel@shells.gnugeneration.com)01:50
- mtm (QUIT: Ping timeout: 244 seconds) (~textual@c-71-228-84-213.hsd1.fl.comcast.net)02:02
+ mtm (~textual@c-71-228-84-213.hsd1.fl.comcast.net)02:05
- vkoskiv (QUIT: Server closed connection) (~vkoskiv@87-100-167-110.bb.dnainternet.fi)02:37
+ vkoskiv (~vkoskiv@87-100-167-110.bb.dnainternet.fi)02:37
- schneider (QUIT: Server closed connection) (~schneider@irc2.xtort.eu)02:37
+ schneider (~schneider@irc2.xtort.eu)02:38
- anzu (QUIT: Server closed connection) (~anzu@melkki.cs.helsinki.fi)02:49
+ anzu (~anzu@melkki.cs.helsinki.fi)02:50
- mjw (QUIT: Ping timeout: 246 seconds) (~mjw@gnu.wildebeest.org)02:55
- wose (QUIT: Server closed connection) (wose@mail.zuendmasse.de)02:56
+ wose (wose@mail.zuendmasse.de)02:57
violetminute: alright removed D5 and it's still busted in the same way03:08
violetso that wasn't it unfortunately03:08
violetbut it was a fun learning experience!03:10
violeti dont think ill get very far trying to debug this board further so i'll wait until 2.6 is out and mess with the pocket reform in the meantime03:12
violetand in the mean time maybe someone in seattle happens to have a spare motherboard03:12
- jfred-linode (QUIT: Server closed connection) (quassel@libera/sponsor/jfred)03:15
+ jfred-linode (quassel@libera/sponsor/jfred)03:16
- shdw (QUIT: Server closed connection) (~shdw@static.218.156.216.95.clients.your-server.de)03:27
+ shdw (~shdw@static.218.156.216.95.clients.your-server.de)03:27
- nsc (QUIT: Ping timeout: 258 seconds) (~nicolas@i5C74DC43.versanet.de)03:53
+ nsc (~nicolas@i5C74DCE7.versanet.de)03:55
- Manis (QUIT: Quit: Gateway shutdown) (01a66df340@84-73-19-122.dclient.hispeed.ch)04:04
+ Manis (01a66df340@84-73-19-122.dclient.hispeed.ch)04:08
kop316minute: I have my hyper pocket reform! but it looks like there isn't a TB ssd HD in there?04:22
- sknebel (QUIT: Server closed connection) (~quassel@v22016013254630973.happysrv.de)04:32
+ sknebel (~quassel@v22016013254630973.happysrv.de)04:33
kop316whoops, nevermind I see it, the install just wasn't on the SSD04:37
- yankcrime (QUIT: Server closed connection) (~nick@gw.tetromino.io)04:41
+ yankcrime (~nick@gw.tetromino.io)04:44
- dozens (QUIT: Server closed connection) (~dozens@tilde.town)06:24
+ dozens (~dozens@tilde.town)06:24
- eschaton (QUIT: Server closed connection) (eschaton@2600:3c01::f03c:91ff:fefd:5d92)06:31
+ eschaton (~eschaton@li541-49.members.linode.com)06:31
- dominicm (QUIT: Server closed connection) (45ee0d70e9@2a03:6000:1812:100::3e6)06:34
+ dominicm (45ee0d70e9@2a03:6000:1812:100::3e6)06:35
- jnerula (QUIT: Server closed connection) (~jnerula@li1009-93.members.linode.com)06:52
+ jnerula (~jnerula@li1009-93.members.linode.com)06:53
- b0 (QUIT: Server closed connection) (~b0@user/b0)07:13
+ b0 (~b0@user/b0)07:13
- cmahns (QUIT: Server closed connection) (8fe824803c@2a03:6000:1812:100::10cd)07:19
+ cmahns (8fe824803c@2a03:6000:1812:100::10cd)07:20
- svp (QUIT: Server closed connection) (sid537750@id-537750.uxbridge.irccloud.com)07:23
+ svp (sid537750@id-537750.uxbridge.irccloud.com)07:23
- kuno (QUIT: Server closed connection) (sid299442@id-299442.helmsley.irccloud.com)07:39
+ kuno (sid299442@id-299442.helmsley.irccloud.com)07:39
- henesy (QUIT: Server closed connection) (d7619ffbc2@2a03:6000:1812:100::143)07:57
+ henesy (d7619ffbc2@2a03:6000:1812:100::143)07:57
- jfred (QUIT: Server closed connection) (sid534649@libera/sponsor/jfred)08:05
+ jfred (sid534649@libera/sponsor/jfred)08:05
- dook (QUIT: Server closed connection) (c9db4a6425@2a03:6000:1812:100::1222)08:25
+ dook (c9db4a6425@2a03:6000:1812:100::1222)08:26
+ chomwitt (~chomwitt@2a02:587:7a2b:1b00:1ac0:4dff:fedb:a3f1)09:00
- iank (QUIT: Server closed connection) (~iank@fsf/staff/iank)09:06
+ iank (~iank@fsf/staff/iank)09:06
- gsora (QUIT: Server closed connection) (~gsora@user/gsora)09:07
+ gsora (~gsora@user/gsora)09:07
- chomwitt (QUIT: Ping timeout: 244 seconds) (~chomwitt@2a02:587:7a2b:1b00:1ac0:4dff:fedb:a3f1)09:17
+ chomwitt (~chomwitt@2a02:587:7a17:e800:1ac0:4dff:fedb:a3f1)09:20
- violet (QUIT: Server closed connection) (~vi@user/meow/violet)09:26
+ violet (~vi@user/meow/violet)09:26
- pandora (QUIT: Server closed connection) (uid585533@id-585533.ilkley.irccloud.com)09:33
+ pandora (uid585533@id-585533.ilkley.irccloud.com)09:33
- robin (QUIT: Server closed connection) (~robin@user/terpri)09:40
+ robin (~robin@user/terpri)09:41
- amk (QUIT: Server closed connection) (~amk@user/amk)09:42
+ amk (~amk@user/amk)09:42
- chomwitt (QUIT: Ping timeout: 248 seconds) (~chomwitt@2a02:587:7a17:e800:1ac0:4dff:fedb:a3f1)09:43
+ chomwitt (~chomwitt@2a02:587:7a0f:c800:1ac0:4dff:fedb:a3f1)09:45
minuteviolet: ok, thanks for trying! did you see there's a seattle meetup being organized?09:50
joschminute: already ahead of you :) https://community.mnt.re/t/mnt-seattle-meetup-pocket-edition-summer-2024/2269/409:53
minutejosch: violet: hah, just saw that too09:58
joschcompletely unrelated, when is the next berlin reform meetup? ;)10:00
chartreuseMessed up my testing by accidentally disconnecting the charger and let the reform run flat and turn off. But haddn't had a lockup yet using brightnessctl but that was only a day or two10:11
chartreuseDo need to track down one more JGNE 1800 cell as one consistently runs flat before the rest. I should have just bought more than two replacements while the store I ordered them from had them10:12
- chomwitt (QUIT: Ping timeout: 264 seconds) (~chomwitt@2a02:587:7a0f:c800:1ac0:4dff:fedb:a3f1)10:13
- austriancoder (QUIT: Server closed connection) (sid152545@id-152545.hampstead.irccloud.com)10:14
+ austriancoder (sid152545@id-152545.hampstead.irccloud.com)10:14
+ natalie- (~natalie@user/natalie)10:25
- _alice (QUIT: Server closed connection) (sid544964@id-544964.ilkley.irccloud.com)10:33
+ _alice (sid544964@id-544964.ilkley.irccloud.com)10:33
+ chomwitt (~chomwitt@2a02:587:7a0f:c800:1ac0:4dff:fedb:a3f1)11:15
- chomwitt (QUIT: Ping timeout: 265 seconds) (~chomwitt@2a02:587:7a0f:c800:1ac0:4dff:fedb:a3f1)11:30
- lexik (QUIT: Server closed connection) (~lexik@93.185.97.218)11:38
+ lexik (~lexik@93.185.97.218)11:38
- Aard (QUIT: Server closed connection) (~bwachter@edna-edison.lart.info)11:40
+ Aard (~bwachter@edna-edison.lart.info)11:40
+ skipwich_ (~skipwich@user/skipwich)11:54
- skipwich (QUIT: Ping timeout: 252 seconds) (~skipwich@user/skipwich)11:54
+ mjw (~mjw@gnu.wildebeest.org)12:18
- Zaba (QUIT: Server closed connection) (80b9b4b35e@2a03:6000:1812:100::116)12:31
+ Zaba (80b9b4b35e@2a03:6000:1812:100::116)12:31
minutejosch: ha, good question, we should organize one at some point12:31
minutethe next planned appearances are me @ kicon in bochum in september (i think 19th/20th sth like that) and chaos communication congress in december12:32
joschthat is good to know, thanks!12:34
joschi just installed kicad 8 which got uploaded to bookworm-backports a few days ago12:35
joschfinally i can have a look at the kicad files in the reform git again \o/12:35
minuteyaaay12:36
minutei will now try and see if i can access the nvme in a311d in uboot12:36
minutebecause i wasted many hours yesterday to make emmc work reliably in uboot... i just couldn't figure it out why it wouldn't work sometimes12:36
minutebizarre because the ROM can always load uboot from that same emmc12:37
minuteso something is wrong with the driver in uboot12:37
minute> PCIE-0: Link up (Gen2-x1, Bus0)12:38
minute> 01.00.00   0x10ec     0x5765     Mass storage controller 0x0812:38
minuteok :312:38
joschpromising!12:39
minuteok, need to compile in nvme support 12:39
joschminute: any chance for you and your team at MNT to catch some breath some time soon? There seems to have been a *lot* going on in the past weeks and it's crazy you are still pumping out content under so much pressure12:40
+ chomwitt (~chomwitt@2a02:587:7a0f:c800:1ac0:4dff:fedb:a3f1)12:44
minutejosch: well, that's an ongoing discussion... 12:47
minutein the meantime the team has prepared 30 more hyper pockets that are ready for shipping :012:47
minutemy main nagging issue is that we are very behind on reform shipments12:47
minuteincl rk358812:47
minuteit's a double whammy of me needing to finish respins of mb and especially rk358812:47
minutefor future proofing12:48
joschuff... :/ i hope you do not take people critizing you and your team for taking so long to solve issue X to heart -- there is no way to do everything at once...12:49
minuteyeah, but it has unavoidable financial ramifications too. people are cancelling their reform orders from time to time and we have to refund big sums12:50
minutei don't blame them. but it puts extra pressure on me to hurry up12:50
- chomwitt (QUIT: Ping timeout: 265 seconds) (~chomwitt@2a02:587:7a0f:c800:1ac0:4dff:fedb:a3f1)12:53
minute=> nvme info12:54
minuteDevice 0: Vendor: 0x10ec Rev: VC2S038E Prod: 2310VC2S038E002112:54
minutenice12:54
joschreminds me a bit of the first 3 years with my daughter: "just a few more weeks and then we can finally breathe a bit and relax... riiight?" -- in any case i hope that you manage to find a plateau on which things end up being a bit smoother and more regular12:54
minutejosch: thank you! i hope so too12:54
joschwow, nvme support in u-boot would be really nice!12:54
minutejosch: nvme seems to work at least with a311d!12:55
joschi'll have to adjust reform-tools to put /boot on nvme then12:55
minutebut i have to create a boot partition :D12:55
- nocko (QUIT: Server closed connection) (~nock@user/nocko)12:56
+ nocko (~nock@user/nocko)12:56
- mjw (QUIT: Ping timeout: 255 seconds) (~mjw@gnu.wildebeest.org)13:01
joschin ./include/configs/meson64.h there is already BOOT_TARGET_NVME(func) in #define BOOT_TARGET_DEVICES, so distro_boot may find boot.scr on nvme out-of-the-box13:02
* Guest8052 -> mjw13:03
minutejosch: yeah, i just noticed it tried to boot from nvme after failing emmc boot13:09
joschXD13:10
minuteyes, it just loaded boot.scr13:10
joschwoah nice!13:10
minutehmm but that seems to hang13:10
joschall that was needed was to enable nvme support in the u-boot config?13:10
minutejosch: yeah. but it doesn't work all the way yet13:11
minutei need to remember the command for boot.scr tracing13:11
minuteah yeah, setenv xtrace13:12
minuteoh it loads stuff, it's just very very very slow13:13
minute33499648 bytes read in 37113 ms (880.9 KiB/s)13:13
minute> Starting kernel ...13:14
minuteit works!13:14
josch\o/13:14
minutetakes over a minute to load kernel + initramfs13:15
joschthat's concerning...13:15
minuteah, it's a general problem13:16
minutejust benchmarked this disk in linux. read rate 754kB/s loool 13:16
minutewrite rate 68.9MB/s :D13:16
joscho013:17
minutei didn't know that nvme can be so slow :D13:17
noam_minute: in case you didn't notice, the line you posted above shows it running in PCI gen 2?13:20
noam_and with an x1 link??13:20
noam_I could be wrong but that tells me it has like, 1/16th the intended bandwidth, at best?13:21
noam_I could be totlly misreading ofc :)13:21
minutenoam_: that's still 5GT/s13:21
minutenoam_: these socs only have x1 lanes13:21
minutethe first one that has more is rk3588 :313:22
minutegen2 x1 link should still give around 500MB/s, certainly not 1MB/s :D13:22
minuteaha!13:23
minuteit was because i had used an old rmc4 that didn't have pcie reset wired up13:23
noam_rmc4?13:23
minute> 37161806 bytes read in 104 ms (340.8 MiB/s)13:23
minutenoam_: sorry, rcm413:23
noam_rcm4? :D13:23
minutenoam_: https://shop.mntre.com/spree/products/390/large/rcm4-bpi-levels2.jpg?169089813913:23
noam_Compute module?13:23
minutercm4 is the reform cm4 adapter13:24
noam_Ahh, old adapter?13:24
noam_gotcha13:24
minuteyeah development version13:24
minutethat'll have to go to the trash ;__;13:24
noam_:(13:27
joschon the plus side, i now added another column to this table: https://reform.debian.net/d-i/#manual-partitioning-for-boot13:27
noam_minute: is it not usable without pcie?13:28
minutenoam_: it is. but that requires microsd booting13:28
minuteand i wanted to get rid of that13:28
noam_Sure, but that doesn't need to be garbage? :P13:28
joschi always do microsd booting on my a311d :D13:28
minutenoam_: ah, i don't want to keep too many half broken things around, it turns out to be costly to deal with them13:29
joschmaybe a "Fundgrube" section in the shop where you sell things that still work well enough with a few limitations?13:30
minutenoooo ahaha13:31
minutei mean, that's a nice romantic idea but the support for that would be a nightmare13:32
minutewe might do this for mechanical parts though13:32
minutewith some dings and dents13:32
noam_minute: I mean I'd totally accept it on the provision that no support would be offered whatsoever :D13:33
minutejosch: while i have your attention, do you know how one can configure boot device order in uboot?13:33
minutenoam_: what could people do with that stuff? soldering/electronics bug hunting practice?13:33
joschyes, it's BOOT_TARGET_DEVICES13:33
minutejosch: oh oh13:34
joschthat's the distro_boot boot order13:34
noam_minute: cheaper way to play with getting 9front running on the rpi4 compute module in the reform :P13:34
minutehalf-broken :D13:34
noam_If it's just PCIe then it doesn't really matter :)13:34
joschminute: you have to define that before including config_distro_bootcmd.h, see ./include/configs/meson64.h for example13:35
noam_but also also I could genuinely use bug hunting practice :P13:35
minutejosch: ah, it's not a config setting?13:36
+ chomwitt (~chomwitt@2a02:587:7a22:1700:1ac0:4dff:fedb:a3f1)13:36
noam_Hmm, I might tape one of the trackball buttons on temporarily >_<13:37
jfredWoo I just got my hyper pocket shipping notification! :D13:37
noam_Snapped one of the connectors when cleaning the ball, oops13:37
minutejfred: niiice13:37
noam_not going to be able to fix it properly for a while :/13:37
minutenoam_: oh no, you mean the stems of the keycap?13:37
joschminute: yes, it's not a config setting but a board-specific hard-coded thing13:38
noam_yea13:38
noam_it's fine, who needs a left click anyways? :D13:38
minutenoam_: oof oof13:39
noam_I cn just leave the keycap off i guess13:40
noam_button works fine :D13:40
joschminute: yes, for example for imx8mq it's defined in include/configs/nitrogen8m_som.h13:41
joschah i had already answered, sorry13:42
joschthe little one just came home, my brain switched off13:42
joschi should go afk for a bit _o/13:42
minutejosch: enjoy!13:50
- mtm (QUIT: Ping timeout: 252 seconds) (~textual@c-71-228-84-213.hsd1.fl.comcast.net)14:04
+ mtm (~textual@c-71-228-84-213.hsd1.fl.comcast.net)14:05
- noam_ (QUIT: Server closed connection) (81879d1ffa@2a03:6000:1812:100::dfc)14:07
+ noam (81879d1ffa@2a03:6000:1812:100::dfc)14:07
grimmwareSeen a couple of people on masto get their hyper shipping notifications14:12
grimmwareI do not have mine yet ;_;14:12
grimmwarejfred: can’t wait to see your pocket with the custom backplate14:13
rahis there a limit on the current that a particular USB port on the MNT Reform 2 can provide or is there a total limit for all ports?14:26
+ ericsfraga (~user@2.28.216.207)14:45
+ mark_ (~mjw@gnu.wildebeest.org)14:51
jfredgrimmware: :)14:51
- Gooberpatrol66 (QUIT: Ping timeout: 248 seconds) (~Gooberpat@user/gooberpatrol66)14:53
minutegrimmware: we have here 30 more to ship out, just need to prepare customs docs etc :314:58
- midfavila (QUIT: Server closed connection) (midfavila@sdf.org)15:02
+ midfavila (midfavila@sdf.org)15:03
[tj]do they still travel across the atlantic and back?15:08
- mark_ (QUIT: Ping timeout: 272 seconds) (~mjw@gnu.wildebeest.org)15:15
minute[tj]: sure they do!15:30
[tj]:D15:31
minuteinto mouser's texas warehouse and back15:31
bkeysWoo, I finally figured out how to set custom kernel configs in the Fedora kernel15:31
gsorawait, even for europe? o.O15:31
[tj]gsora: yeah15:32
[tj]I think all crowdsupply stuff does this15:32
bkeysIt's building with the exact same config as what's in the system image15:32
gsorai don't think my precursor did that15:32
gsorait came from a CS EU warehouse iirc15:33
minuteCS doesn't have a EU warehouse15:40
minutemaybe it was routed on the way back via mouser munich?15:40
minutebut we can't send stuff there15:41
minutejosch: ok, i edited the boot sequence in meson64.h, very nice15:42
minuteok, 11 seconds to kernel output on screen from cold boot15:46
- jjbliss (QUIT: Server closed connection) (~jjbliss@1464766-static.elnsmiaa.metronetinc.net)15:58
+ jjbliss (~jjbliss@1464766-static.elnsmiaa.metronetinc.net)15:58
gsoraminute: oh i see, to be fair it might've been imported by CS/mouser first and then shipped to me... thankfully my reform2 has been bought from you folks directly, no messing up!16:07
- plomlompom (QUIT: Server closed connection) (~plom@play.plomlompom.com)16:31
+ plomlompom (~plom@play.plomlompom.com)16:31
- aperezdc (QUIT: Server closed connection) (~aperezdc@46.23.89.43)16:42
+ aperezdc (~aperezdc@46.23.89.43)16:42
- sterni (QUIT: Server closed connection) (~quassel@user/sterni)16:47
+ sterni (~quassel@user/sterni)16:47
rahminute: is there a limit on the current that a particular USB port on the MNT Reform 2 can provide or is there a total limit for all ports?16:49
+ mark_ (~mjw@gnu.wildebeest.org)17:09
- Twodisbetter (QUIT: Server closed connection) (2cc0e4ea1c@irc.cheogram.com)17:38
- chartreuse (QUIT: Server closed connection) (~chartreus@S0106908d78501d1d.cg.shawcable.net)17:49
+ chartreuse (~chartreus@S0106908d78501d1d.cg.shawcable.net)17:49
- mark_ (QUIT: Ping timeout: 252 seconds) (~mjw@gnu.wildebeest.org)17:51
minutei finally have a well working mouse again :017:51
minuterah: depends on whether you have mb2.0 or 2.517:52
minuterah: for mb2.5 it is limited by a fuse and by the max amps of the 5v regulator17:52
minuterah: mb2.0 had individual current limiters on the usb ports17:52
bluerisehttps://lore.kernel.org/ath12k/d44fdc0b-b4a7-4f36-9961-c5c042ed43df@quicinc.com/T/#u17:53
blueriseARGH17:53
blueriseI'm going to order an RK3588 SoM now, can't be arsed with that Qualcomm shit.17:53
minutebluerise: wtf!17:54
minuterah: the fuse is 4A combined17:55
minuterah: and the 5V rail is designed for 5A total, but it is shared between SOM, backlight and USB devices, so your USB power budget is more likely to be between 2-3A17:56
minute(total)17:56
bluerise> Your order has been processed successfully17:56
minuterah: on motherboard 2.0 we had TPS2561 on the ports, which would trip at around 2A per port17:59
- murphnj (QUIT: Server closed connection) (~murph@user/murphnj)18:07
+ murphnj (~murph@user/murphnj)18:07
chartreusebare USB hub and some 4 pin JST connectors finally arrived so I can add more internal USB ports as needed. Though don't have any in mind *yet*18:20
chartreuseDid also have a thought of how to maybe add a third speaker as a "subwoofer" type setup. At least with jack detection removed I was able to drive both the headphones and speaker. I suspect I could put an amp on one of the headphone outputs, set that volume in alsamixer when in speaker mode, and then use the jack detect to also disable the amp when headphones are plugged in18:22
chartreuseProbably just a silly idea but kinda want to try it, got a little mono class d amp board18:25
minutechartreuse: neat!18:26
minuteboombox reform18:26
chartreuseHeh, I was going to try first with a little 2W exciter speaker attached to the bottom case as the driver. Didn't sound too bad testing with an external lm386 based amp and aligator clips to it just holding it in place18:27
rahminute: I see, thanks18:47
rahI believe I have a 2.0 motherboard and only need 1A so it looks like I'll be OK18:47
- cwebber (QUIT: Server closed connection) (~Christine@user/cwebber)18:49
+ cwebber (~Christine@user/cwebber)18:51
minutebluerise: thanks for grabbing a rk3588!18:54
kop316If i may ask, is there a channel for MNT that is more like for support/new to reform requests? In lurking here, it looks like this is more development, and I would rather not spam this channel for things like that19:01
minutekop316: it's fine to ask about support stuff here!19:02
kop316minute: ok, thanks! I'm still getting used to the pocket reform so there will likely be silly questions (like yesterday) asked19:03
joschkop316: we also have a lot of "i'm new to debian" quesitons here and i think that's fine :)19:15
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:50)19:20
+ Twodisbetter (2cc0e4ea1c@irc.cheogram.com)19:46
minutehttps://source.mnt.re/reform/reform-a311d-uboot/-/merge_requests/319:51
minutenvme as first boot medium is debatable, we could still put the sd card in front for emergency situations19:52
chartreusesd or something external as first does make sense, like mine I updated the kernel to 6.9.9, and it wouldn't boot complaining about the dtb not being found (not certain if that would normally happen or if it was because I originally pointed /boot/dtb to my custom one from 6.9.7 before trying to point it back)19:53
chartreuseNeed to try again, it might be because the 6.9.9 image didn't seem to include the non-hdmi dtb anymore (missing from /boot/dtbs/6.9.9*/19:54
chartreuseHaving nvme or emmc first would be fine though on the imx8mq theoretically since you can have a visible boot and prompt on there, but the a311d is blank until linux inits it right?19:55
chartreuseminute: Yep just checked and after installing the 6.9.9 package the new boot.scr is trying to load the non-hdmi dtb, (in /boot) /dtbs/6.9.9-mnt-reform-arm64/freescale/imx8mq-mnt-reform2.dtb. But only the -hdmi.dtb exists there. Also it's ignoring the /dtb or /dtb-6.9.9-mnt-reform-arm64 symlink20:01
chartreuseSince both of those point to the -hdmi.dtb20:01
+ gustav28 (~gustav@c-1134524e.019-141-67626730.bbcust.telenor.se)20:02
joschchartreuse: no, because at the point where you get the prompt it already decided for the /boot partition and used extlinux.conf to load that prompt20:04
joschminute: what's the speed difference between putting nvme first or sd-card first?20:05
minutejosch: maybe 1 second20:05
chartreuseShould be negligable20:05
minutei guess i'll comment out that patch or sth20:06
chartreuseIs there a way of maybe making it so holding down a key at boot would boot the sd card?20:07
minutethat would require usb init which takes a while20:07
chartreuseNot sure why the 6.9.9 is missing the dtb when installed (linux-image-mnt-reform-arm64 from the apt repo). There was no changes besides the backlight fix to the reform-debian-packages repo since the 6.9.7 package which had no issue on my end (and was messing with locally to hack the dts for jack detect)20:11
- digitalrayne (QUIT: Quit: じゃまたね) (~digitalra@vps-446f4f39.vps.ovh.ca)20:19
+ digitalrayne (~digitalra@vps-446f4f39.vps.ovh.ca)20:19
chartreuseNo difference in the boot.scr besides the kernel version, seems like the only thing is that the linux-image package didn't install the non-hdmi dtb even though /boot/dtb-6.9.9-mnt-reform-arm64 is a symlink to the hdmi one20:22
joschminute: but maybe the other boot options after sd-card and before nvme add a lot more?20:22
chartreuseHmm /usr/lib/linux-image-6.9.9-mnt-reform-arm64/freescale/imx8mq-mnt-reform2.dtb does exist though, not sure why the post install or whatever didn't copy that as well, or why boot.scr is defaulting to that one...20:26
+ mark_ (~mjw@gnu.wildebeest.org)20:28
* mjw -> Guest353620:28
- Guest3536 (QUIT: Killed (tantalum.libera.chat (Nickname regained by services))) (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)20:28
* mark_ -> mjw20:28
+ Guest3536 (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)20:28
joschchartreuse: please ping me about this issue in about 2 hours -- we'll get to the bottom of this :)20:33
joschthe thing that copies the dtb is flash-kernel20:33
joschand it uses the information in /etc/flash-kernel/machine to decide which dtb to copy20:34
chartreuseAlright, I think the main issue was something with reform-display-config not being run after that new kernel or such, I think maybe since I had it set to dual and updated the kernel which doesn't re-run it, or something else20:37
chartreuseI re-ran reform-display-config --emmc dual and now it did boot with the correct one. I'm guessing flash-kernel didn't get run after updating the kernel? It's not in postinst of the deb package20:38
- robin (QUIT: Quit: Leaving) (~robin@user/terpri)20:43
joschchartreuse: flash-kernel does not get run by the postinst of the deb package itself but by a hook of mkinitramfs in /etc/initramfs/post-update.d/flash-kernel21:25
joschchartreuse: theoretically you should only have to run reform-display-config once you want to switch between single and dual21:25
joschchartreuse: maybe "sudo reform-check" shows anything funny?21:25
chartreuseE: your currently loaded dtb is not the one referenced by flash-kernel22:13
chartreuseWhich is odd since this is a boot just after changing to dual display config (again)22:13
chartreusereform-check does 404 on trying to get the boundary-uboot flash.bin file as well (jobs/4745/artifacts/raw/flash.bin)22:14
- gustav28 (QUIT: Quit: Quit) (~gustav@c-1134524e.019-141-67626730.bbcust.telenor.se)22:15
chartreuseI wonder if it was something odd from me install the raw deb from the artifacts you had built before while testing the jack (before I just setup the kernel to make dtbs myself)22:15
chartreuseThe system could have also been running a really old kernel before that from last year (6.1.0 as I don't see any previous kernels in the /boot, and this was from the older v3 system image from 2023 or such22:16
chartreuseAlso noticed I was missing the headers package and that built some dkms module sbut that shouldn't have been the issue here22:17
joschyes, the concerning thing is the error you got -- it means that you have something configured in /etc/flash-kernel/machine which is not reflected in /proc/device-tree/model of your booted system22:18
joschin the past, this sometimes meant that the /boot as it got mounted by the system and on which flash-kernel operates is a different partition from the one that gets found by u-boot22:18
joschso maybe you have a boot.scr on sd-card but you are mounting the partition on emmc?22:20
chartreuse /boot is /mmcblk0p1 which is the emmc, and I have no sd card inserted. 22:20
chartreuseAnd my nvme drive has no boot partition22:20
joschu-boot of imx8mq currently can not read nvme, so that is not a concern22:22
chartreuseI'm just manually running the commands from reform-check to see what is different22:22
joschif you do not have an sd-card inserted, and if your /boot is mmcblk0p1 then the mystery intensifies22:22
joschit will just be "Reform 2" versus "Reform 2 HDMI"22:22
joschprobably reform-check should print this -- let me add that22:23
chartreuse /etc/flash-kernel/machine is "MNT Reform 2 HDMI" and /proc/device-tree/model is "MNT Reform 2"  oddly...22:23
chartreuseI could have sworn I just checked before and it was the HDMI one before..22:23
joschchartreuse: suppose you run "sudo flash-kernel" manually, what happens?22:23
chartreuseNo errors and is using the -hdmi dtb22:24
chartreuseleft me restart to see what it loads then22:24
chartreuseI wonder if I copied my custom dtb into /etc/flash-kernel/dtbs and somehow got the two backwards? Though the package should have overwritten that manual copy22:25
joschchartreuse: no, flash-kernel does not overwrite your dtbs in /etc (and it should not)22:25
chartreuseIt doesn't but I think I might have when I copied the jack detect one in there to stop it overwriting my custom one.22:26
chartreuseRebooting after that flash-kernel and same thing the proc one is the non-hdmi22:27
chartreuseI can remove my ones from /etc/flash-kernel/dtbs because maybe something is wrong with the -hdmi one in there though and use the kernel one22:27
chartreuseBut those were copied straight from the kernel source tree for 6.9.7 after I built the jack detect22:28
joschchartreuse: what do you have in /etc/flash-kernel/dtbs right now?22:28
chartreuseimx8mq-mnt-reform2.dtb  imx8mq-mnt-reform2-hdmi.dtb  README.dtbs22:28
chartreuseInstalling /etc/flash-kernel/dtbs/imx8mq-mnt-reform2-hdmi.dtb into /boot/dtbs/6.9.9-mnt-reform-arm64/freescale/imx8mq-mnt-reform2-hdmi.dtb22:29
chartreuseSo it's picking the hdmi one from there22:29
joschgood22:29
joschwhat do you get when you run readlink /boot/dtb22:29
chartreusedtbs/6.9.9-mnt-reform-arm64/freescale/imx8mq-mnt-reform2-hdmi.dtb22:30
joschor readlink /boot/dtb-$(uname -r)22:30
chartreuseSame for the dtb-6.9.9... file22:30
joschhuh22:30
joschthen how does it load the non-hdmi one o022:30
joschcould you maybe inspect your /boot/dtbs/6.9.9-mnt-reform-arm64/freescale/imx8mq-mnt-reform2-hdmi.dtb and have a look whether it is *really* the HDMI version?22:31
joschor whether the hdmi is maybe only in its name?22:31
chartreuseThose symlinks were pointing to the hdmi one when I first noticed the issue too, when the non hdmi one was missing from that boot directory22:31
chartreuseThe files differ though22:31
chartreuseAnd when I was missing the non-hdmi one I had that boot issue from earlier where it was trying to load it22:32
chartreuseI can remove the non-hdmi one again and try and boot22:32
chartreuse$ strings imx8mq-mnt-reform2-hdmi.dtb  | grep HDMI22:32
chartreuse,MNT Reform 2 HDMI22:32
joschhuh22:33
joschi'm starting to run out of ideas22:33
chartreuseWhen I looked at printenv in uboot it did say the fdt(something) was the non-hdmi one before. Let me check it again22:33
joschyeah, trying to remove the non-hdmi one from /etc/flash-kernel/dtbs sounds like a good next step but your flash-kernel output said it was copying /etc/flash-kernel/dtbs/imx8mq-mnt-reform2-hdmi.dtb so that should not change anything22:33
chartreuseI can remove the /etc ones so it uses the kernel ones too22:34
chartreuseCase the dtbs broke between 6.9.7 and 6.9.922:34
chartreuseOkay so in uboot's printenv fdtfile is freescale/imx8mq-mnt-reform2.dtb for some reason22:36
joschyou figured it out \o/22:36
chartreuseBut how does that get set? Shouldn't reform-display-config change that?22:36
joschno, reform-display-config changes nothing in u-boot only /etc/flash-kernel/machine and then re-runs mkinitramfs22:37
joschon the contrary minute even changed u-boot such that you can no longer saveenv22:37
joschto avoid accidentally messing up u-boot environment22:38
chartreuseBecause I've not manually set that uboot variable before, doesn't that variable come from somewhere in the system22:38
joschthe u-boot variables do not come from the linux root file system but are stored in flash somewhere22:38
chartreuseAnd looking at the text part of boot.scr there's nothing overriding it there (and since the env is set before boot.scr is run)22:39
- q66 (QUIT: Quit: WeeChat 4.0.2) (~q66@q66.moe)22:39
joschmaybe somebody else with imx8mq can run printenv to see how it should look like?22:39
chartreuseI'm running U-Boot 2018.07 MNT Reform 2023-01-25 (Jan 25 2023 - 10:32:55 +0000) so maybe I just need to flash a newer version22:40
joschchartreuse: here is one from the past: http://45.76.26.151/env22:40
chartreuseI think this was one of the first versions that had the screen and boot messages actually working22:40
chartreusefdtpath=dtb-6.8.11-mnt-reform-arm64 22:41
chartreuseSeems weird for that env to have a hardcoded kernel version?22:41
joschprominently, that u-boot env by noam does not have ${fdtfile} set at all22:42
chartreuseI would have thought it'd point to dtb or such22:42
noamWhat about me?22:42
noamAh, the newer vendor env? :/22:42
joschnoam: i'm currently happy that you shared your printenv output with everybody about a month ago :)22:42
noam<3 of course :)22:43
joschchartreuse: yes, i have no idea what could've set that22:43
chartreuseIf I run strings on flash.bin in my /boot I do see that freescale/imx8mq-mnt-reform2.dtb22:43
joschyes, that is normal22:44
chartreuseI've never actually used the HDMI output and only recently tried switching to that kernel so perhaps this older flash.bin had it hard coded for some reason22:44
chartreuseAre you sure though? there's no freescale/imx8mq-mnt-reform2-hdmi.dtb string in that file22:44
chartreuseI suspect that's the line setting the fdtfile variable22:45
joschsec...22:45
+ Jonas___ (~Jonas@82-65-231-86.subs.proxad.net)22:45
chartreuseIf I check around that match the next line after that path is fdtfile, 22:45
chartreuseMNT Reform 2.022:46
chartreuseimx8mq22:46
chartreusefreescale/imx8mq-mnt-reform2.dtb22:46
chartreusefdtfile22:46
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:50)22:46
joschchartreuse: yes, same on current flash.bin22:46
joschsame order of strings22:46
+ Gooberpatrol66 (~Gooberpat@user/gooberpatrol66)22:47
chartreuseHas anyone tried using the HDMI on a imx8mq with the current flash.bin? 22:47
chartreuseChecking arandr I don't see a second output22:48
chartreuseJust wondering how many people actually upgraded their uboot boot sector that are using a imx8mq and are also using hdmi22:50
chartreuseJust downloaded the latest flash.bin and yeah you're right that that line is still there, perhaps this is a regresion that's over a year old22:59
chshouldnt flash-kernel write a new fdtfile name into the list it generates anyway?23:00
chartreusehttps://source.mnt.re/reform/reform-boundary-uboot/-/commit/19a4cf7978acb16fcf594530fd1922c3b90c9b7923:01
chartreuseThe whole uboot around that seems to be ignoring the possibility of a -hdmi.dtb existing23:01
joschchartreuse: but that's not a versioned one23:02
joschchartreuse: you have fdtpath=dtb-6.8.11-mnt-reform-arm6423:02
chartreuseIt sounds like for -hdmi to work it needs to be named as the non-hdmi version in the /dtbs/<kernel version>/freescale/23:02
joschand it's not fdtpath but fdtfile in that commit23:02
chartreuseNo I don't that's noams23:02
chartreuseI don't have a fdtpath23:03
joschoh a few messages ago you said fdtpath=dtb-6.8.11-mnt-reform-arm6423:03
chartreuseYeah I was quoting that from noam's as something odd23:03
chartreuseSince it had a hardcoded kernel version23:03
noamum23:03
chartreuseSorry for the ping23:04
noamthere's a nonzero chance that env wasn't entirely clean23:04
noamno, no23:04
noamdon't be23:04
noamI never get attention!!!!23:04
noam/s23:04
chartreuseWhich version of uboot are you running btw? Is it a pre Jan 2023 one?23:04
noamThe um was me realizing I don't remember if I'd set anything manually for that :/23:04
chartreuseThe commit I linked is the blame for the fdtfile line that's still in the current one, which was only added in Jan 202323:05
chartreuseIt feels like fdtfile and/or the boot.scr should be looking for /dtb or /dtb-${fk_kvers} rather than the full absolute path23:06
chartreuse(Notices the commit  was done by josch XD)23:07
joschyes, sorry i was confused about fdtfile versus fdtpath23:08
chartreuseboot.scr is setting fdt path to be dtbs/${fk_kvers}/${fdtfile} IF fdfile is set, otherwise setting fdtpath to be dtb-${fkkvers}, and presumably that later would go to the correct symlink23:10
joschchartreuse: the magic comes later in boot.scr -- read the comment starting with "We need to set ${fdtfile} in uboot"23:10
chartreuseYes, but the boot.scr fallback seems sensible? `setenv fdtpath dtb-${fk_kvers}`23:11
joschyes, that's what should select the symlink set up by flash-kernel23:11
chartreuseThat's only used if fdtfile is NOT set though23:12
chartreuse 72 if test -n "${fdtfile}"; then23:12
chartreuse 73    setenv fdtpath dtbs/${fk_kvers}/${fdtfile}23:12
chartreuse 74 else23:12
chartreuse 75    setenv fdtpath dtb-${fk_kvers}23:12
chartreuse 76 fi23:12
chartreuseOr wait..23:12
joschyes, it's below what you quoted23:12
noamchartreuse: thatwas a vendor u-boot from a module purchased a few months go23:13
noamago*23:13
noamI don't recall the timestamp23:13
noamprobably post-202323:13
chartreuseAlso the commit comment is wrong for the first point, flash-kernel is not making that symlink23:13
- rah (PART: !!unknown attribute: msg!!) (rah@verain.settrans.net)23:13
chartreuselrwxrwxrwx 1 root root   37 Jul 18 14:29 imx8mq-mnt-reform2-hdmi.dtb -> freescale/imx8mq-mnt-reform2-hdmi.dtb23:13
chartreuseThere's this symlink but not a imx8mq-mnt-reform2.dtb one23:14
chartreuseIn dtbs/6.9.9-mnt-reform-arm64/23:14
chartreuseI've got a copy backed up of the boot.scr, I'm going to try commenting out the if and doing just the else case which I suspect will work23:15
joschchartreuse: the interesting symlink is the one set up by boot.scr as dtb-${fk_kvers} which is /boot/dtb-$(uname -r) which, in your case, points to dtbs/6.9.9-mnt-reform-arm64/freescale/imx8mq-mnt-reform2-hdmi.dtb which is how it should work23:16
chartreuseYes, but that's in the else case of that if statement isn't it? For when ftbfile isn't set? Or am I reading the script wrong there23:18
chartreuse(Also forgot that boot.scr isn't just a text file and has a crc I need to recompute23:19
chartreuseI feel it's doing that top path fdtpath dtbs/${fk_kvers}/${fdtfile} which is a non-existant file assuming fdtfile is imx8mq-mnt-reform2.dtb23:20
joschchartreuse: you mean the else case in line 75? that one is irrelevant because fdtpath gets set in line 9723:20
chartreuseI don't see fdtpath being set on line 97 (or near since I'm just opening boot.scr directly). 97 is part of the long load && load, etc line23:21
joschoooh?23:21
chartreuseThe last time fdtpath is set is that line at 76 in boot.scr23:21
joschchartreuse: https://paste.debian.net/1323674/23:22
joschyou have that part?23:22
chartreusehttps://pastebin.com/ZtKwucAJ23:22
chartreuseThat's not part of the boot.scr I'm getting from the reform package23:23
joschchartreuse: your boot.scr is missing a very important bit23:23
joschchartreuse: you have /usr/share/flash-kernel/preboot.d/00reform2_preboot right?23:23
joschdo you also have /etc/flash-kernel/preboot.d/00reform2_preboot ?23:23
chartreuseThat boot scr was the one generated when I installed 6.9.9, I have a backup of my 6.9.7 one which only differs by the kernel name.23:24
chartreuseThat file does exist with those contents in the usr share path yes, let me check the other23:24
chartreuseIn the /etc one it's blank with just a comment to add any u-boot commands to be executed before boot23:24
chartreuseLikely from the v3 system image I started with23:25
joschchartreuse: did you not get a error about that from reform-check?23:25
joschchartreuse: what is your reform-tools version?23:25
joschchartreuse: the reform-check utility checks for precisely those things as you are not the only one who upgraded from before sysimage-v3 :)23:25
chartreusehttps://pastebin.com/sEHTsvXX23:26
joschooooh reform-check quits early because the download failed23:26
joschso you never get the error message23:26
chartreuseReform check is failing because it can't get flash.bin (since the file isn't called flash.bin anymore IIRC in the latest builds but imx8mq-mnt-reform2-flash.bin23:26
joschyes23:27
chartreuseOkay I changed the url to match the correct filename and got a longer one23:29
joschchartreuse: this should be the right patch fixing the issue: https://paste.debian.net/1323675/23:30
chartreusehttps://pastebin.com/cgiw22xE23:30
joschchartreuse: these are the magic lines for you:23:30
joschE: /etc/flash-kernel/preboot.d/00reform2_preboot contains default content overriding /usr/share/flash-kernel/preboot.d/00reform2_preboot23:30
joschE: consider deleting /etc/flash-kernel/preboot.d/00reform2_preboot in favour of /usr/share/flash-kernel/preboot.d/00reform2_preboot23:30
chartreuseYeah that makes sense23:30
chartreuseThat flash.bin error was hiding those23:30
joschindeed23:31
joschnice, we found a bug and fixed it :)23:31
chartreuseEven if it wasn't the one I thought there was XD23:32
chartreuseLet's see if flash-kernel fixes it now without my override23:32
+ q66 (~q66@q66.moe)23:33
chartreuseOkay no more error about the loaded dtb being wrong23:34
chartreuseI still only see one output in arandr but I also don't have a monitor plugged in so maybe that's something else23:34
joschi also made it now so that being offline does not make the script quit early23:35
joschcould've saved a lot of time if this was already fixed :D23:35
chartreuseHeh might have caught it there23:35
chartreuseDoes seem like maybe the script is being a bit strict with "E: the reform repository is not known to apt" since I have the line  but without the arch=arm64, which isn't ideal but works the same23:37
chartreuseAnd the last check for the reform2_lpc.ko module isn't counting a compressed .xz of it in the same location23:38
joschthe compressed .xz is a very new thing23:39
joschthat one is indeed missing23:39
joschokay, fixed the xz thing23:40
joschnow for the other23:40
chartreuseAlso found another bug with the -hdmi. reform-flash-uboot is using the dtb name instead of the dtb name without -hdmi23:40
joschslower please23:40
joschotherwise it gets confusing which bug we are at23:40
joschabout "not known to apt"23:40
chartreuseAh yeah23:40
chartreuseI have deb [trusted=yes] http://mntre.com/reform-debian-repo reform main23:40
joschwhat output do you get if you run this:23:40
joschapt-get indextargets 'Created-By: Packages' 'Repo-URI: https://mntre.com/reform-debian-repo/' --format '$(RELEASE)'23:40
chartreuseNothing23:41
joschhuh23:41
joschthat's odd23:41
chartreuseI am multiarch if that might break something23:41
chartreuseI am multiarch if that might break somethingAh 23:41
chartreuseAh it's http vs https23:41
chartreuseI've got plaintext http apt repos being used which the command and script wants https23:42
joschfor mntre.com you should use https because http is just a http 302 to the https version23:43
joschso i think that error message is correct23:43
joschdoes the error go away once you fix that?23:43
chartreuseI guess, though maybe a bit confusing if someone doesn't spot http/https.  And yep no error with https set, so not related to the architecture just the protocol23:46
chartreuseProbably not worth patching unless there's a way for the Repo-URI to take a wildcard protocol23:46
joschi don't think i want to patch it -- i think http is wrong because mntre.com is https-only23:47
joschi agree that it's hard to spot the http versus https difference23:47
joschbut on the other hand, the script prints the line that it expects to see23:47
joschso if in doubt, one can just copypaste that23:48
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:20)23:48
chartreuseFair, could be another warning, but that works. I don't think I hand typed http in there so likely was how the v3 image was shipped23:48
joschyes, i would not be surprised23:48
chartreuseShouldn't be an issue though23:48
chartreuseI suspect the patch https://paste.debian.net/1323675/ might have an error I just noticed with reform-flash-uboot as well. $(basename "$DTBPATH" .dtb) gives imx8mq-mnt-reform2-hdmi instead of imx8mq-mnt-reform223:53
chartreuseThe uboot flash doesn't differentiate by hdmi23:53
chartreuseLine 81 of reform-flash-uboot does the same substitution23:55
- Jonas___ (QUIT: Ping timeout: 252 seconds) (~Jonas@82-65-231-86.subs.proxad.net)23:57
joschchartreuse: thank you there is indeed a bug but i do not think it's in reform-check or reform-flash-uboot23:57
joschthe fact that *-hdmi exists in the first place is an ugly hack23:57
joschto fix this in reform-tools, i'd need to add yet another field into the machines/*.conf files containing the u-boot filename23:58
joschthese filenames would be identical to the dtb names except for the reform 2 hdmi variant23:58
chartreuseWell yeah, though it exists becuase -hdmi adds a non-free blob23:58
+ jacobk (~quassel@2601:380:837e:24e0:b413:1241:5e3:eebd)23:58
joschchartreuse: the u-boot binary is the same independent on what dtb linux boots23:59

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