2024-02-06.log

sldigitalrayne: great, thanks00:01
slwill try it presently00:02
digitalrayne"host not halted after 16000 microseconds." and was not prompted for my encryption passphrase on the rebased version00:07
digitalrayneI posted a link to a precompiled working image on the community site00:09
+ juno (~juno@50.47.226.18)00:09
- juno (PART: !!unknown attribute: msg!!) (~juno@50.47.226.18)00:09
minutedigitalrayne: cool00:13
bluerisedigitalrayne: Maybe I'll just revert to the old version00:20
digitalraynei couldn't work out how to get access to gitlab, so I requested an account, not sure if I had an old account on there minute? either way I'll push up the working branch as a starting point00:20
bluerisethanks to reflog00:20
digitalraynebluerise: I was thinking it might make sense for us to try and bisect, but we can always do that on a separate branch too00:20
bluerisedigitalrayne: yeah, agreed00:21
bluerise + 61e45ce0ff...7d57d2f5b1 mnt -> mnt (forced update)00:21
bluerisepushed the old ref00:21
digitalrayneawesome, thank you00:21
digitalraynenothing is as exhilerating as a git push -f00:21
josch[insert "i also like to live dangerously" meme]00:22
- S0rin (QUIT: Ping timeout: 268 seconds) (~S0rin@user/s0rin)00:25
+ S0rin (~S0rin@user/s0rin)00:31
digitalraynejust confirming that the mnt branch works again as expected bluerise 00:42
minutedigitalrayne: i accepted your new acc a few minutes ago, worked?00:53
sllol, well, openbsd is booting, but the installer image does not detect my nvme00:54
slcan someone please link me to a v2 devian system image00:55
sl*debian00:55
slone that still uses /sbin/reform-init00:56
slthe latest one that does so, if possible00:56
digitalrayneminute: yes, all working, thank you!01:03
digitalrayneoh interesting! sl, if it's not too much trouble, could you share a dmesg? and do you know if it was detected during u-boot?01:04
sllet me see if there's any way i can get the dmesg off01:06
slfwiw, this nvme works fine with 9front 01:06
sli think the debian v2 images are not archived :/01:07
minutesl: no :/ why do you need one?01:07
minutesl: a possible workaround would be to override the init= kernel commandline argument01:08
slyeah, i'm trying to just boot successfully into my alpine install on nvme01:08
slthe v3 images ignore /sbin/reform-init01:08
sloh01:08
slsorry, i'm linux ignorant for the most part01:08
minuteaha mhm01:08
slwhere can i override init=01:08
minuteis that encrypted or just a normal fs on that nvme?01:09
slencrypted01:09
minuteif normal fs you can override... ah ok01:09
slbut it's a fresh install, i'm mainly just trying to get it to work01:09
sli had alpine on nvme waaaaaay back, but now i've got 9front on one partition and alpine on a second partiton01:09
slswap sdcard, boot into different os01:10
slbut i learned the hard way after much trial and error that /sbin/reform-init was being ignored01:10
slwith newest debian sdcard image01:10
minuteguessing you're still on imx, you can manipulate the kernel args in the uboot console by setting umm... bootargs i think. setenv bootargs init=/sbin/reform-init01:10
slah!01:11
minutebut idk if we still ship reform-init? (on a phone right now)01:11
sli'll try01:11
slyes, it's on the image01:11
minutethe cleaner way i think would be to set the root= to your nvme partition, but not sure from the to of my head if that automagically handles encrypted fs. i think not01:12
slyay, that worked01:12
sli had edited reform-init to halt the boot and print OKAY01:13
slbecause i thought i was going crazy01:13
sli think i can make it work from here, thanks01:13
slnow i will check openbsd dmesg01:13
minutereform-init was easier to understand for me (that's why i wrote it in the first place), the newfangled initramfs etc stuff i always can't keep the details in my head01:13
sldo i need to save that setenv for uboot on this sdcard01:13
slyean, this is all crazy to me01:13
sli am totally unfamiliar with linuxisms for a long time01:14
minutesl: yeah if you want to keep it that way, you have to saveenv next time01:14
sland the stuff completely changes all the time01:14
slok thanks01:14
minutesl: yeah i get you... i'm just also trying not to NIH too much and adopt the "mainstream" solutions01:14
slofc01:14
sldifferent context01:15
minutebut happy that helped01:15
sli did not realize uboot was talking directly to the mounted fs01:15
sli guess it does magic to find the file01:15
slsaveenv is not a valid command01:17
sldocs say saveenv is disabled by default.......... hooray 01:19
slwell, it got to the encryption password prompt, so success01:22
slthanks :)01:22
minuteyeah sooo there are 2 other ways to customize uboot environments, which are extlinux.conf or uboot.scr (the latter needs the mkimage tool on linux to add a silly binary header to a text file, the former is just plaintext)01:24
minutebut i really need to sleep unfortunately01:24
minutewe are working on handbook 2nd edition and will include this stuff in there01:25
slnp, i don't have much time to mess with this either01:25
slexcellent01:25
slsleep well!01:25
minutethx, n8n801:25
sldigitalrayne: http://mnt.stanleylieber.com/reform/openbsd/dmesg01:31
slusb stick *was* recognized01:31
- eibachd (QUIT: Ping timeout: 272 seconds) (~eibachd@p200300dcf7353e011c742a70949d7c63.dip0.t-ipconnect.de)01:32
slbut no nvme and no wifi01:32
+ eibachd (~eibachd@p200300dcf7353e00ae564e2c8481239e.dip0.t-ipconnect.de)01:32
- jacobk (QUIT: Ping timeout: 260 seconds) (~quassel@utdpat241106.utdallas.edu)02:22
- nsc (QUIT: Ping timeout: 260 seconds) (~nicolas@103-49-142-46.pool.kielnet.net)03:20
+ nsc (~nicolas@236-121-142-46.pool.kielnet.net)03:22
- f_ (QUIT: Read error: Connection reset by peer) (~f_@fases/developer/funderscore)03:38
+ f_ (~f_@fases/developer/funderscore)03:39
- S0rin (QUIT: Ping timeout: 256 seconds) (~S0rin@user/s0rin)04:05
+ S0rin (~S0rin@user/s0rin)04:06
- sl (QUIT: Quit: leaving) (~sl@vpn.inri.net)05:02
+ jacobk (~quassel@utdpat241106.utdallas.edu)05:16
joschminute: would you like me to remove /sbin/reform-init in the next reform-tools release to avoid this confusion?05:23
joschi think extlinux.conf is the way to go for sl and i already recommended that to them yesterday05:26
- erle (QUIT: Quit: Democracy must always be better armed than tyranny.) (~erle@89.205.129.99)05:51
- hairu (QUIT: Remote host closed the connection) (m-uotkmd@user/hairu)05:51
+ hairu (m-uotkmd@user/hairu)05:52
- jacobk (QUIT: Ping timeout: 260 seconds) (~quassel@utdpat241106.utdallas.edu)05:55
- laumann__ (QUIT: Changing host) (~quassel@2a0a-e5c0-2-2-0-c8ff-fe68-bef1.loves.ipv6.at.ungleich.ch)06:04
+ laumann__ (~quassel@user/laumann)06:04
* laumann__ -> laumann06:04
- hairu (QUIT: Remote host closed the connection) (m-uotkmd@user/hairu)06:05
+ hairu (m-uotkmd@user/hairu)06:07
+ jacobk (~quassel@utdpat241033.utdallas.edu)06:28
- S0rin (QUIT: Ping timeout: 260 seconds) (~S0rin@user/s0rin)06:58
+ S0rin (~S0rin@user/s0rin)07:02
+ chomwitt (~chomwitt@2a02:587:7a10:cd00:1ac0:4dff:fedb:a3f1)07:33
- jacobk (QUIT: Ping timeout: 260 seconds) (~quassel@utdpat241033.utdallas.edu)07:51
- chomwitt (QUIT: Remote host closed the connection) (~chomwitt@2a02:587:7a10:cd00:1ac0:4dff:fedb:a3f1)07:53
- eibachd (QUIT: Ping timeout: 246 seconds) (~eibachd@p200300dcf7353e00ae564e2c8481239e.dip0.t-ipconnect.de)08:02
+ eibachd (~eibachd@2a01:599:319:5d68:9b0d:c081:cc41:e8d6)08:02
- eibachd (QUIT: Ping timeout: 256 seconds) (~eibachd@2a01:599:319:5d68:9b0d:c081:cc41:e8d6)08:19
+ eibachd (~eibachd@2a01:599:30d:21df:323a:4d10:e29e:894c)08:19
+ chomwitt (~chomwitt@2a02:587:7a10:cd00:1ac0:4dff:fedb:a3f1)09:02
minutejosch: yeah but we need some kind of little guide that explains how to point to custom installations incl env vars using extlinux.conf that i can link to during such discussions (i haven't yet memorized the details). and i want to include such a text in the handbook09:05
joschminute: do you think more than ${bootargs} needs to be set for custom installations and extlinux.conf?09:08
+ mjw (~mjw@gnu.wildebeest.org)09:12
- chomwitt (QUIT: Remote host closed the connection) (~chomwitt@2a02:587:7a10:cd00:1ac0:4dff:fedb:a3f1)09:14
+ jacobk (~quassel@64.189.201.150)09:18
minutejosch: no, but i would need some working example/template to start with and in the handbook i'll explain the most useful bootargs overrides, like root, init etc.09:22
minuteidk from the top of my head how to specify an encrypted root there though09:23
- eibachd (QUIT: Read error: Connection reset by peer) (~eibachd@2a01:599:30d:21df:323a:4d10:e29e:894c)09:25
+ eibachd (~eibachd@p200300dcf7353e01ffd848d63b839cf6.dip0.t-ipconnect.de)09:26
+ chomwitt (~chomwitt@2a02:587:7a10:cd00:1ac0:4dff:fedb:a3f1)09:31
- chomwitt (QUIT: Remote host closed the connection) (~chomwitt@2a02:587:7a10:cd00:1ac0:4dff:fedb:a3f1)09:31
- eibachd (QUIT: Ping timeout: 276 seconds) (~eibachd@p200300dcf7353e01ffd848d63b839cf6.dip0.t-ipconnect.de)09:31
+ eibachd (~eibachd@2a01:599:30d:21df:323a:4d10:e29e:894c)09:32
joschif the partition is encrypted you either need a partition with a mini-rootfs somewhere or an initramfs (same thing but packed as a cpio), right?09:38
joschminute: here is the Debian default extlinux.conf: https://paste.debian.net/1306452/09:39
joschother distros shall just change the paths for linux image, initramfs and dtb09:40
joschi think grub is able to decrypt luks by itself?09:40
joschso another option would probably be to chainload a grub from somewhere09:41
joschfor encrypted root i mean09:41
+ chomwitt (~chomwitt@2a02:587:7a10:cd00:1ac0:4dff:fedb:a3f1)09:45
- chomwitt (QUIT: Remote host closed the connection) (~chomwitt@2a02:587:7a10:cd00:1ac0:4dff:fedb:a3f1)09:47
- klardotsh (QUIT: Ping timeout: 264 seconds) (~klardotsh@c-67-170-115-80.hsd1.wa.comcast.net)09:49
minutejosch: ok, i should probably try booting some other distros using that mechanism to get a feel09:53
joschit's probably important to document that if both boot.scr and extlinux.conf exist, u-boot will prefer extlinux.conf09:54
minuteok09:58
- senzilla (QUIT: Ping timeout: 260 seconds) (sid151180@id-151180.hampstead.irccloud.com)10:07
+ senzilla (sid151180@id-151180.hampstead.irccloud.com)10:10
* sterni_ -> sterni10:42
digitalraynejosch: grub can decrypt luks yeah, luks1 and luks2, it's much slower than doing it in an initramfs with the userspace tools, but you can have fully-encrypted /boot this way. to do it with u-boot you'd probably have to have a separate partition for EFI grub, so /boot/efi on an unencrypted partition11:21
digitalraynei had it running for a while and when i say it's slower, it's like, a few seconds slower, hardly a big problem11:22
digitalraynesl: I think the interesting line in the dmesg you provided is "dwpcie0 at simplebus0: no config registers" - I don't see this on my Reform11:29
digitalrayneinstead I see "dwpcie0 at simplebus0" followed by "pci0 at dwpcie0"11:30
digitalraynei wonder if it has anything to do with motherboard revisions, I know there have been changes to clocking for pcie right?11:30
bluerise"no config registers" means that the device tree is old11:35
blueriseefi0: Das U-Boot rev 0x2023100011:36
bluerisethis looks fresh though11:36
bluerise        config = OF_getindex(faa->fa_node, "config", "reg-names");11:37
bluerise        if (config < 0 || config >= faa->fa_nreg) {11:37
bluerise                printf(": no config registers\n");11:37
bluerise                return;11:37
bluerise        }11:37
blueriseU-Boot's DT has that, so it's probably loading 'an old one' from the disk11:38
bluerisetry breaking in the shell and to 'run bootcmd_usb' or something like that11:39
bluerisedigitalrayne: oh and I can see why the WiFi PCIe doesn't show up, it's because the U-Boot doesn't have the second PCIe in the device tree11:40
blueriseI can patch U-Boot to make that happen11:40
digitalraynei was wondering if sl might have a device tree or something somewhere that u-boot was picking up, that would have been with the flash.bin I built though so I was confused11:41
digitalraynebluerise: that's awesome, that would be a super easy fix, this has been a most excellent crash course on DTs for me11:41
digitalraynei had suspected it was something like that, or maybe a missing clock11:42
digitalrayneit's actually totally possible sl has an old DT on a partition somewhere though - I think they were saying there were some other installs on the nvme, not sure if there's anything on their eMMC also11:43
blueriseYeah, that's why when you break in and to something like this "run bootcmd_something", it only runs that single storage device11:44
blueriseotherwise it might try emmc first, load a dtb there, then switch to nvme and get the EFI11:44
- eibachd (QUIT: Ping timeout: 272 seconds) (~eibachd@2a01:599:30d:21df:323a:4d10:e29e:894c)12:01
+ eibachd (~eibachd@2a01:599:416:44df:981f:5dd:676b:c41f)12:01
digitalraynebluerise: i patched pcie0 into the dts and can see the wifi card now, will do some more testing but I think that was all that was wrong, as you suspected 12:10
hramrachthere is however a problem with relying on grub for the decrytion. it lags behind the userspace tools in crypto support, and iirc the shiny new crypto scheme is not supported by it, whatever it is right now12:14
hramrachif you wanted secure boot it's easier with grub than signing the ramdisk, somewhat12:15
hramrachalso the few (5~10) seconds to decrypt with grub make it difficult to diagnose when things do go wrong12:16
hramrachjosch: how do you specify a custom device tree with extlinux.conf?12:18
digitalrayneyeah you have to use pbkdf2 if you want to use luks212:18
joschhramrach: that's the fdt line in https://paste.debian.net/1306452/12:19
digitalraynebluerise: I have working wifi :) I'll push the dts patch somewhere in morning12:31
digitalrayne*in the morning12:31
minutedigitalrayne: there were no changes to pcie on the motherboard.12:33
digitalrayneok cool - I must have been thinking of something else, thanks! it seems most likely it's just an old DTB sometime then12:35
digitalrayne*somewhere12:35
digitalraynetoo sleepy to type good12:35
hramrachjosch: thanks, is there some documentation for that other than random files in random distros?13:09
joschhramrach: none that i know of13:09
hramrachthe pxelinux.conf part of u-boot seems to be particularly badly documented13:09
joschmaybe bluerise knows some extlinux.conf docs in u-boot?13:10
hramrachor extlinux or whatever syslinux variant13:10
hramrachI don't think syslinux itself suports DTBs so this is an u-boot extension, and there are probably other differences13:13
- mjw (QUIT: Ping timeout: 272 seconds) (~mjw@gnu.wildebeest.org)13:29
* Guest7217 -> mjw14:08
bluerisewhat is extlinux.conf?14:13
joschwell, that answers that question :D14:18
joschbluerise: instead of using boot.scr, distro_bootcmd first tries opening and interpreting ${prefix}extlinux/extlinux.conf which contains something along the lines of this: https://paste.debian.net/1306452/14:20
joschthe only docs I know are in the u-boot source under doc/README.distro14:20
joschah there is a bit more now14:23
joschhramrach: doc/develop/distro.rst and doc/develop/bootstd.rst14:23
- pandora (QUIT: Quit: Connection closed for inactivity) (uid585533@id-585533.ilkley.irccloud.com)15:34
hramrachjosch: thanks, did not find it in u-boot docs before, also doc/README.pxe15:55
hramrachprobably looked at one of the rendered doc websites where these text files may not be included15:55
hramrachor maybe it's recently added15:56
joschyou are right -- they were added in october 202315:59
joscherrr. no that's wrong16:01
joschnovember 202116:02
joschi was familiar with 16:03
joschdoc/README.distro16:03
joschand that got moved in https://github.com/u-boot/u-boot/commit/37c5195dfcd15781db9e9f7f414611dc1af3bd2e16:03
minuteone more thing for the todo list: reduce ls1028a uboot timeout to like 2 seconds instead of 516:49
- jacobk (QUIT: Ping timeout: 240 seconds) (~quassel@64.189.201.150)17:02
minutereform-migrate now spits out a lot of warnings at the end about the use of "-n" with cp17:09
minute"use --update none instead"17:09
minute--update=none17:09
- eibachd (QUIT: Read error: Connection reset by peer) (~eibachd@2a01:599:416:44df:981f:5dd:676b:c41f)17:19
+ eibachd (~eibachd@p200300dcf7353e008ef01b44b00404fc.dip0.t-ipconnect.de)17:20
- murphnj (QUIT: Quit: Leaving) (~murph@user/murphnj)18:03
joschminute: you mean when the initramfs is getting generated?18:07
joschif yes, then i already submitted a patch to prevent this from happening here: https://salsa.debian.org/kernel-team/klibc/-/merge_requests/1418:12
joschif you found a place that generates these messages other than update-initramfs, just ping me :)18:12
joschminute: are you sure you have the latest u-boot for ls1028a? Because you already made this change in 4a71519d90bfa3a7128e7dd00d4ed4e8b2b8c637 which requires reform-ls1028a-uboot version 2023-10-10 or newer18:31
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:20)18:41
joschvagrantc: do you know of any good docs for extlinux.conf other than doc/develop/distro.rst and doc/develop/bootstd.rst in u-boot?18:49
vagrantcthe format comes from syslinux ... so maybe there?18:58
vagrantcthough that might have more features than are implemented ... the u-boot docs are ... authoratative for u-boot's implementation :)18:59
vagrantci think fedora had some documentation about it as well, if i recall, but i forget what they called it18:59
vagrantcsupport was originally implemented in u-boot by one of the fedora folks19:00
+ chomwitt (~chomwitt@2a02:587:7a10:cd00:1ac0:4dff:fedb:a3f1)19:05
minuteah, ls1028a sd card is probably so slow because bus-width = <1>;19:12
+ klardotsh (~klardotsh@c-67-170-115-80.hsd1.wa.comcast.net)19:44
+ wielaard (~mjw@gnu.wildebeest.org)20:01
- eibachd (QUIT: Ping timeout: 272 seconds) (~eibachd@p200300dcf7353e008ef01b44b00404fc.dip0.t-ipconnect.de)20:14
* mjw -> Guest320520:16
- Guest3205 (QUIT: Killed (lead.libera.chat (Nickname regained by services))) (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)20:16
* wielaard -> mjw20:16
+ eibachd (~eibachd@p200300dcf7353e0075303ca99dcd3f68.dip0.t-ipconnect.de)20:16
+ Guest3205 (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)20:16
+ murphnj (~murph@user/murphnj)20:21
hramrachjosch: vagrantc the format specification is in doc/README.pxe in the u-boot tree, and is fairly complete, and I suspect it has extensions over what syslinux supports so their description would not do. It's in README.pxe for extlinux so not exactly easy to find, meh22:08
joschminute: then that would be your docs to write something for extlinux.conf which is not just made up :)22:15
minutejosch: ok :D22:24
minutei just designed a custom flex pcb/cable for the eDP connection of LS1028A, hopefully to combat 2.4ghz wifi interference22:24
minutethis is my first flex pcb so not sure if it'll fit on first try22:25
minutebut i tried everything in the design, ground layer, reshuffled the pinout so the lane n/p pins actually stay together (not the case with how the connector is designed on ls1028a atm), and ordered with grounded emi shielding film22:25
joschis that the thing we see on the last photo you posted on mastodon?22:33
joschah sorry you said you only designed it :)22:40
joschi thought the flat display cable on your last photo looked weird -- way too long22:40
joschare you sending those out to existing ls1028a customers? I remember that you only had about three unsold ls1028a left22:42
- murphnj (QUIT: Ping timeout: 256 seconds) (~murph@user/murphnj)22:52
- chomwitt (QUIT: Ping timeout: 268 seconds) (~chomwitt@2a02:587:7a10:cd00:1ac0:4dff:fedb:a3f1)22:52
+ erle (~erle@89.205.137.201)22:53
minutejosch: if these cables will mitigate this problem then yes. so far it's theoretical22:57
- GNUmoon (QUIT: Remote host closed the connection) (~GNUmoon@gateway/tor-sasl/gnumoon)23:03
+ GNUmoon (~GNUmoon@gateway/tor-sasl/gnumoon)23:04
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:20)23:37
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:50)23:54

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