2023-10-09.log

ephasegood night!00:12
- ephase (QUIT: Quit: WeeChat 4.0.5) (~ephase@2a01:e0a:2a:5300:f8d4:1fb6:b769:4362)00:12
- stites (QUIT: Ping timeout: 260 seconds) (~stites@130.44.147.204)00:29
+ stites (~stites@2607:fb91:dc3:1267:8194:4057:3670:88d7)00:29
- mjw (QUIT: Ping timeout: 255 seconds) (~mjw@gnu.wildebeest.org)00:33
- stites (QUIT: Read error: Connection reset by peer) (~stites@2607:fb91:dc3:1267:8194:4057:3670:88d7)01:05
+ stites (~stites@130.44.147.204)01:05
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:50)01:18
+ GNUmoon (~GNUmoon@gateway/tor-sasl/gnumoon)01:55
- GNUmoon (QUIT: Client Quit) (~GNUmoon@gateway/tor-sasl/gnumoon)01:57
- mtm (QUIT: Ping timeout: 264 seconds) (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)02:02
+ GNUmoon (~GNUmoon@gateway/tor-sasl/gnumoon)02:19
- eery (QUIT: Ping timeout: 240 seconds) (~eery@139.55.3.210)02:53
+ eery (~eery@139.55.3.210)02:54
- eery (QUIT: Client Quit) (~eery@139.55.3.210)02:58
+ eery (~eery@172.97.103.152)02:58
+ bkeys1 (~Thunderbi@134.22.115.162)03:09
- bkeys (QUIT: Ping timeout: 272 seconds) (~Thunderbi@199.226-24.cm.ptn.tftn.dynamic.friendlycity.net)03:13
* bkeys1 -> bkeys03:13
- nsc (QUIT: Ping timeout: 255 seconds) (~nicolas@201-98-142-46.pool.kielnet.net)04:01
+ nsc (~nicolas@129-97-142-46.pool.kielnet.net)04:02
+ mtm (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)04:08
- jacobk (QUIT: Ping timeout: 272 seconds) (~quassel@utdpat241106.utdallas.edu)04:50
+ jacobk (~quassel@64.189.201.150)05:11
- klardotsh (QUIT: Ping timeout: 245 seconds) (~klardotsh@c-67-170-115-80.hsd1.wa.comcast.net)08:25
vkoskivAny recommendations for a good bluetooth management UI? AirPods work great with the A311D Reform, but since switching to linux, I've just been using bluetoothctl08:33
- GNUmoon (QUIT: Remote host closed the connection) (~GNUmoon@gateway/tor-sasl/gnumoon)08:37
+ GNUmoon (~GNUmoon@gateway/tor-sasl/gnumoon)08:38
joschvkoskiv: blueman and its applet?08:54
vkoskivI think I tried that at some point, but moved back to using bluetoothctl. But now I forget why, so I'll give it another go.09:00
vkoskivMaybe I was just going through a TUI phase :]09:01
minutevkoskiv: blueman https://mastodon.social/@mntmn/11118238009392297309:24
vkoskivAh, nice, that looks very nice09:24
vkoskivDid I just say nice twice? I guess I haven't woken up fully yet09:25
- mark_ (QUIT: Ping timeout: 258 seconds) (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)09:39
minutedouble nice10:01
+ mjw (~mjw@gnu.wildebeest.org)10:54
+ mark_ (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)11:47
- mark_ (QUIT: Quit: Leaving) (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)12:12
josch20 files changed, 347 insertions(+), 207 deletions(-)12:17
joschanybody willing to thrash their system with another update of reform-tools?12:18
joschi'm going to put my ls1028a back in now to do tests that do not affect my working system12:18
joschthese are mostly changes that make reform-tools work on the other SoMs12:18
vkoskivI'll give it a go after work12:19
joschit would be sweet to have an a311d user test this :)12:19
joschbecause half the scripts have a "don't touch emmc" in them for a311d ;)12:19
vkoskivIs it in the repo, or do I build from your branch?12:20
joschit is very much not in the repo because there will be bugs!12:20
joschi'm only about to test everything now12:20
joschif you are only testing things later, i'm going to test first, weed out some of the bugs and then create a MR12:21
minutejosch: solution for flicker is here https://mastodon.social/@mntmn/11120460840711496412:37
joschoh lol12:38
joschand i hoped i could already get rid of it by removing my wifi card, for example :D12:39
+ mark_ (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)12:41
- mjw (QUIT: Killed (NickServ (GHOST command used by mark_!~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae))) (~mjw@gnu.wildebeest.org)12:42
minutejosch: we will send you a ferrite, just need to decide the best location & attach it (probably with tape)12:42
* mark_ -> mjw12:42
+ mark_ (~mjw@gnu.wildebeest.org)12:42
joschminute: it's not urgent because i'm only doing tests right now and need to switch to imx during the semester aryways because of hdmi output12:43
joschminute: maybe just put it into the box when i order my second mainboard12:43
minutejosch: ok!12:54
+ reform1962 (~josch@ip1f12fe3b.dynamic.kabel-deutschland.de)13:13
reform1962hah... of course the disk is not named 13:13
reform1962dev/nvme on ls1028a13:14
reform1962but yes i have a /dev/sda13:14
- marty_mcfly88 (QUIT: Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) (~quassel@2603-6000-8c01-0f3e-7dac-14c7-19c1-fd5c.res6.spectrum.com)13:19
+ marty_mcfly88 (~quassel@2603-6000-8c01-0f3e-7dac-14c7-19c1-fd5c.res6.spectrum.com)13:19
- marty_mcfly88 (QUIT: Client Quit) (~quassel@2603-6000-8c01-0f3e-7dac-14c7-19c1-fd5c.res6.spectrum.com)13:21
+ marty_mcfly88 (~quassel@2603-6000-8c01-0f3e-7dac-14c7-19c1-fd5c.res6.spectrum.com)13:21
- GNUmoon (QUIT: Ping timeout: 252 seconds) (~GNUmoon@gateway/tor-sasl/gnumoon)13:21
+ GNUmoon (~GNUmoon@gateway/tor-sasl/gnumoon)13:33
- mtm (QUIT: Ping timeout: 240 seconds) (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)14:02
- reform1962 (QUIT: Remote host closed the connection) (~josch@ip1f12fe3b.dynamic.kabel-deutschland.de)14:12
joschgreat, ls1028a boots just fine with /boot and / on emmc :)14:24
joschinstalling the heatsink was much easier this time but it's also obvious that the holes now have quite some wear and one can see the thread that ate into the hole borders14:26
joschat least the screws were stronger than the pcb and not tor way round14:26
joschnow i'm only afraid to braking the fragile display cable14:26
joschi think the next operation i'll be doing exclusively via serial14:26
joschminute: when was the last time you tried reform-flash-rescue on imx8mq? The LABEL=reformsd* change might've broken reform-boot-config as findmint --evaluate comes back empty. Maybe I got this because there were still bugs in my tools (i'm fixing those right now) but having another person confirm whether it works for them or not would be helpful to figuring out what i just had happen on ls1028a.14:37
minutesorry, we have some issues with some of the ls1028a modules here (won't boot from sd) and i'm scrambling to understand what's up.14:52
joschoh dear :(14:53
joschthen i'll just be content that mine boots just fine XD14:54
- jacobk (QUIT: Ping timeout: 255 seconds) (~quassel@64.189.201.150)14:56
minuteyeah!14:59
joschwell then, once you have a lot of free time again: https://source.mnt.re/reform/reform-tools/-/merge_requests/58/diffs15:02
joschi'll try again myself as well but not very soon because it takes a long time to swap modules around15:03
joschvkoskiv: that MR contains the stuff you can try out if you like, thank you!15:03
joschworst bugs already fixed :)15:03
+ jacobk (~quassel@129.110.242.224)15:09
minute40% failure rate so far with ls1028a modules15:41
minutei hope i can still find out where this comes from15:41
vkoskivOuch. Any clues yet?15:42
[tj]ouch, I'm sorry to hear that15:42
minutevkoskiv: nope15:42
joschwow that sucks so much :(15:52
joschwill you get any money back in case it turns out to be a manufacturing problem?15:53
q66minute: failure in what way?15:53
q66the hardware dying?15:53
+ murphnj (~murph@user/murphnj)15:54
minutejosch: doubtful15:57
minuteq66: no, not booting or rarely booting15:57
minutesometimes only 100khz clock on sd card, not going to high speed15:57
q66ah15:58
- jacobk (QUIT: Ping timeout: 240 seconds) (~quassel@129.110.242.224)16:00
q66sounds like something on the module then16:02
+ mtm (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)16:08
+ jacobk (~quassel@utdpat241106.utdallas.edu)16:12
minuteq66: yip16:12
q66with a bit of luck you'll solve that with a resistor somewhere or something :p16:14
vkoskivjosch: Maybe bug, reform-check from ~a week ago suggested I delete /etc/flash-kernel/preboot.d/00reform2_preboot, but running it again after deleting notifies that it's missing17:07
vkoskivIs the intent of 'consider deleting X in favour of Y' to replace X with Y?17:08
joschvkoskiv: i don't see where it warns if /etc/flash-kernel/preboot.d/00reform2_preboot does *not* exist -- what does it print?17:35
joschvkoskiv: yes17:35
vkoskivmissing   c /etc/flash-kernel/preboot.d/00reform2_preboot17:38
vkoskivLast line in the printout is that17:38
vkoskivSo I should copy the file from /usr/share to replace that file?17:39
vkoskivunrelated: With my kbd backlight fix, the PWM frequency is now actually in the human hearing range at 3906 hertz, I can hear a faint tone from the backlight chip with the brightness cranked up! :D17:40
vkoskivI'll see if I can push up the frequency higher, without going over the 20kHz limit17:40
vkoskivOr lower, too, as the ti chip isn't very acoustically performant at low frequencies, I bet.17:41
vkoskivAnd, I also noticed that the lowest brightness isn't actually quite fully off, I'll fix that too.17:43
vkoskivOnly noticed these in a dark and quiet room17:43
vkoskivI'll kick it down to a /64 prescale, that should take it down to ~488Hz17:46
- stites (QUIT: Ping timeout: 260 seconds) (~stites@130.44.147.204)17:59
+ stites (~stites@2607:fb91:dcf:5265:c7a5:8dfc:6762:14b0)18:00
- stites (QUIT: Read error: Connection reset by peer) (~stites@2607:fb91:dcf:5265:c7a5:8dfc:6762:14b0)18:24
+ stites (~stites@130.44.147.204)18:25
vkoskivThat makes it blink, for reasons I do not understand. Valid PWM at a valid frequency, should work.18:47
vkoskivti spec for the backlight chip does mention a pull-down resistor of 800kohm for the PWM line, I don't see that in the schematic, but I have no idea if that would matter19:05
vkoskivI know I'm putting in pwm at valid frequencies, but at 976 and 7812 hertz it blinks, when I think it shouldn't19:05
vkoskivCorrection, at 7812 it works, but there is one bigger jump between 2 and 3 on the brightness level.19:06
vkoskivSo my current setting is the best so far, but that 3kHz whine is irritating, now that I noticed it19:06
vkoskivI couldn't find a prescale+mode permutation where it works better than this, so far.19:07
+ ajr (uid609314@user/ajr)19:14
sigridcould have static setting for each brightness level19:14
sigridand choose those by trial19:14
minuteyeah19:14
+ klardotsh (~klardotsh@c-67-170-115-80.hsd1.wa.comcast.net)19:17
- mjw (QUIT: Killed (NickServ (GHOST command used by mark_!~mjw@gnu.wildebeest.org))) (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)19:27
* mark_ -> mjw19:28
+ mark_ (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)19:28
joschvkoskiv: you found a bug, thank you!19:28
joschvkoskiv: what do you get when you run this: dpkg --verify reform-tools19:31
Boostisbetterwell it looks like my Reform after a recent update was hit with the failed lcd_controller connect issue. The Reform boots, but acts real weird, and can't hold a wifi connection. Why oh why did I update?19:51
minutei don't seem to be able to figure out why some of the ls1028a can't reliably boot. so i think i'm giving up on these. lets hope that enough modules of the 36 remaining from the batch will work so we can ship 'em, and then that's the end of this path20:27
- Ar|stote|is (QUIT: Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) (~linx@149.210.32.204)20:28
Boostisbetterminute: I am on the normal imx820:29
Boostisbetterif you were meaning me as well20:29
minuteBoostisbetter: i was talking about something completely different.20:29
+ Ar|stote|is (~linx@149.210.32.204)20:29
minuteyield issues with ls1028a20:30
minuteBoostisbetter: so you can't boot? how do you know about any lcd controller issue then? via serial?20:31
minuteBoostisbetter: or does the display work and is just stuck?20:31
- jacobk (QUIT: Ping timeout: 272 seconds) (~quassel@utdpat241106.utdallas.edu)20:37
- ndufresne (QUIT: Quit: The Lounge - https://thelounge.chat) (~ndufresne@apple.collaboradmins.com)20:45
Boostisbetterminute: the system boots and I can get into sway. Both wifi will not connect, or if it does it disconnects almost immediately. I have visual glitching that is significant. 20:47
+ ndufresne (~ndufresne@apple.collaboradmins.com)20:47
Boostisbetterthe lcd controller error is what I see on boot. Maybe it is a recent change meant to work with it, but my oled is still on old firmware. 20:48
minutehmm, these are a bunch of unrelated things.20:49
minutelinux does not know anything about the oled, for example.20:49
Boostisbetterwas a real bummer, because before I updated, I was on my 100+ resume from suspend, and the system had been running perfectly. 20:49
minutewhat kind of glitching do you get? can you make screenshots/video?20:49
minuteBoostisbetter: and can you share the output of `cat /proc/cmdline` ?20:50
Boostisbetteri will try to in about 5 minutes20:51
+ jacobk (~quassel@utdpat241040.utdallas.edu)20:52
- jacobk (QUIT: Ping timeout: 248 seconds) (~quassel@utdpat241040.utdallas.edu)20:58
+ jacobk (~quassel@utdpat241040.utdallas.edu)20:59
Boostisbetterhttps://upload.im.boosterfive.com:5281/upload/wrQwsovMZwOf5ylNfESLYCw-/85vSuTmtSVGS6ZJPK8yrYw.jpg21:02
Boostisbetterthat was during boot21:02
BoostisbetterThe product of cat is root=/dev/nvme0n1p1 ro quiet21:03
Boostisbetternow that I am logged in, the biggest issue is huge graphical glitches on sway, such that the system doesn't seem to be responsive. I mean I can change workspaces but things don't seem to work on them. 21:09
- jacobk (QUIT: Ping timeout: 255 seconds) (~quassel@utdpat241040.utdallas.edu)21:10
BoostisbetterVS Codium, for examples, open and it is just dark grey background and nothing every shows. However, when moving the cursor the cursor icons changes as if over text. So I think things are working. The display is just really hosed. 21:11
+ jacobk (~quassel@utdpat241040.utdallas.edu)21:12
- Boostisbetter (QUIT: Ping timeout: 252 seconds) (4a410829d7@irc.cheogram.com)21:32
- ethulhu (QUIT: Excess Flood) (ethulhu@nora.ethulhu.co.uk)21:40
+ Boostisbetter (4a410829d7@irc.cheogram.com)21:44
minuteBoostisbetter: your cmdline is missing important things, that's the problem21:44
minuteBoostisbetter: can you pastebin the contents of your /boot/boot.scr please? this should shed some light on where this came from21:46
- jacobk (QUIT: Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) (~quassel@utdpat241040.utdallas.edu)21:47
+ ethulhu (ethulhu@nora.ethulhu.co.uk)21:50
- Boostisbetter (QUIT: Ping timeout: 240 seconds) (4a410829d7@irc.cheogram.com)21:50
+ Boostisbetter (4a410829d7@irc.cheogram.com)21:59
Boostisbetterhttps://pastebin.com/cYkJwmbw21:59
Boostisbetteralso there a bak file from today there, should I just restore that?21:59
vkoskivjosch: with that dpkg command I get:22:08
vkoskiv??5??????   /var/lib/alsa/asound.state22:08
vkoskivmissing   c /etc/flash-kernel/preboot.d/00reform2_preboot22:08
minuteBoostisbetter: hmm, i don't see how the cmdline you wrote earlier could be produced by this boot.scr22:11
vkoskivsigrid: I think I'll just have to read the ti chip doc more closely to understand why it's not behaving the way I expect22:12
vkoskivIt's not very long anyway22:12
minuteBoostisbetter: for example, "root=nvme0n1p1" does not appear in this file22:12
BoostisbetterThe system was shutdown with a power out as it hung. 22:12
BoostisbetterIs there a command I can run to get the right cmdline to populate? 22:13
vkoskivminute: if you happen to remember, is the max brightness of the keyboard roughly the max current the backlight chip can supply? I haven't checked if the keyboard blinking is just exceeding the max current, or something wrong with the pwm signal22:13
minuteBoostisbetter: are you booting via sd card?22:13
minuteBoostisbetter: normally this boot.scr should do the right thing! so something is set up differently than expected around your uboot or boot partition22:13
minuteBoostisbetter: maybe there's extlinux.conf on your /boot ? 22:14
sigridvkoskiv: you have an oscilloscope or some kind of logic analyzer?22:14
sigridit could help22:14
minutevkoskiv: sorry, idk right now22:14
Boostisbetterminute: yes booting through the sd card, but then running off the nvme22:14
vkoskivI've been wanting to buy a scope for some time, this project is *not* helping :D22:14
vkoskivminute: yeah, no worry, I'll read the doc and find the answer22:14
minuteBoostisbetter: yep, ok, but something is non-standard with your uboot or /boot. can you list the contents of /boot (first partition of the sd card)? is there extlinux.conf by any chance?22:15
vkoskivI've been reading a lot of technical docs lately, for various diferent things.22:15
minuteBoostisbetter: or perhaps you have some kind of custom uboot build?22:15
vkoskivsigrid: Would certainly help if I could actually see the pwm signal. But I have a pretty strong confirmation that at least the frequency is what I expect - I can hear the chip whine, and it matches the predicted frequency well.22:16
minuteBoostisbetter: 1. check if there is extlinux.conf on your /boot, if so, move it aside 2. try to restore to a known good uboot by running `reform-flash-uboot sd` as root22:17
vkoskivIt's surprising to me that the supplier sent modules with a 40% defect rate, and you can't get reimbursement/replacements? Or would it just take months?22:18
Boostisbetterminute: the boot folder on the sd card has nothing in it. 22:18
vkoskivEither way, sucky situation, I really hope you find some reliable fix22:18
minutevkoskiv: there's no supplier. i'm kind of the supplier22:18
minuteBoostisbetter: not the folder. the first partition22:18
vkoskivBut some company supplied them to you, no?22:18
minutevkoskiv: well, multiple companies are involved. 22:19
vkoskivWell, either way, you know the situation the best22:19
Boostisbetterminute: but on the nvme in boot there is a extlinux directory22:19
minutevkoskiv: there's a company who soldered the modules22:19
vkoskivAh, so they are custom made22:19
minutevkoskiv: yes22:19
Boostisbetteron weird thing is that I have a 1tb encrypted and free thing that is mountable. In it there is the pocket firmware. 22:20
Boostisbetter1_1.bin22:20
minuteBoostisbetter: i can't follow. 22:21
minuteBoostisbetter: do you have your reform booted at the moment and the first partition of sd card is mounted as /boot?22:21
BoostisbetterYes it is booted. By mounted, I have thunar open and I have clicked on the sd card22:22
BoostisbetterI am able to look at the contents of the sd card through there. 22:22
minuteBoostisbetter: sorry, that way i can't understand what is going on. can you use a terminal please? and type lsblk22:23
minuteBoostisbetter: do you see the device mmcblk1p0 and is it mounted at /boot ?22:23
Boostisbetterhttps://upload.im.boosterfive.com:5281/upload/KZHMYHnkEQy6MSUgEWLTNz_R/Ae31EwdQQJiDz3f7YXRcmQ.jpg22:23
minuteBoostisbetter: i can't see what i need to see there, sorry22:23
Boostisbetterhttps://upload.im.boosterfive.com:5281/upload/tFMXm-9NeWq1pnnK7lrebEBY/Yem9NJwfTeGxTTNdreILzA.jpg22:24
Boostisbetterso no, I don't see that the sd card is mounted in the way you would like. 22:25
Boostisbetterhowever, the MNTREFORMROOT is mounted under /media/committed88/22:25
minuteBoostisbetter: but the photo shows that the sd card is mounted on /boot22:25
minuteBoostisbetter: the line with mmcblk1p1 shows /boot 22:26
Boostisbetterok, you just mentioned mmcblk1p022:26
Boostisbetterthrew me off22:26
minuteBoostisbetter: indeed! sorry for that22:26
Boostisbetterok, well in that case, I have the extlinux directory in /boot with the extlinux.conf file in it22:27
Boostisbetterso am I at the point now where I can use the reform tool?22:27
minuteBoostisbetter: delete that directory22:27
minuterm -rf /boot/extlinux22:28
Boostisbetterdone22:28
Boostisbetteralthough without the f flag, as i did it before seeing that22:29
minuteBoostisbetter: ok, please try to reboot!22:29
Boostisbetterok no need to force it with the tool, just see if it works better on reboot?22:29
minuteyeah, lets try that first22:30
joschBoostisbetter: if your extlinux.conf is causing you trouble, you also need to uninstall u-boot-menu or otherwise it will be regenerated on the next kernel upgrade22:32
minuteah, u-boot-menu is where that comes from, i didn't have that memorized22:32
joschvkoskiv: thank you, what you see there is a leftover config file from a very old reform-tools version22:32
BoostisbetterI was really liking being able to select the kernel on boot22:33
minuteah, that's the custom thing you have that i'm not familiar with22:33
Boostisbetterbut so far the reboot fixed it. Didn't get to select the kernel, but it booted normal and wifi is working. No visual glitches either. 22:33
joschvkoskiv: essentially, this can be fixed by reform-tools itself deleting that file in /etc because it got moved to /usr22:33
joschBoostisbetter: if you want to use u-boot-menu, make sure that /boot/extlinux/extlinux.conf contains the correct "append" values22:34
joschBoostisbetter: do you have a /etc/default/u-boot?22:34
Boostisbetterjosch: actually now that 6.5 has fixed suspended for real, I guess I don't really need it anymore. 22:34
joschokay22:35
Boostisbetterjosch: but to answer your question, yes there is a u-boot file in there22:35
joschwhat does it contain?22:35
joschit should contain this line:22:36
joschU_BOOT_PARAMETERS="ro no_console_suspend cma=512M pci=nomsi console=ttymxc0,115200 console=tty1"22:36
minutejosch: how could we make the update process robust against this problem? or maybe it's enough to mention that currently we're incompatible with having u-boot-menu installed?22:36
joschit was never supported22:37
joschbecause there is no common cmdline22:37
minutehmm, but Boostisbetter was booting with it before22:37
joschand u-boot-menu ignores ${bootargs} from u-boot22:37
Boostisbetterminute: thank you very much, especially so late, for helping me rescue my Reform. 22:37
minuteand certainly had a good cmdline22:37
minuteBoostisbetter: you're welcome, i'm happy it is fixed22:37
joschindeed22:37
Boostisbetterjosch: that line is absolutely not there. I think an update replaced the files and removed those options and this is why u-boot was an issue. 22:37
joschit's a file in /etc22:38
Boostisbetterbecause before the update it worked great. 22:38
joschreform-tools stopped messing with files in /etc a long while ago22:38
joschprecisely for this reason22:38
joschvkoskiv is seeing some leftovers still22:38
Boostisbetteralthough sometimes the screen would flicker until the kernel started tro boot. 22:38
joschBoostisbetter: if you want u-boot-menu back, add that line to your /etc/default/u-boot and make sure that the generated /boot/extlinux/extlinux.conf contains those values in "append"22:39
BoostisbetterI will keep that in mind in case we have a kernel regression affecting suspend again, but for now I'll just not use u-boot. 22:41
BoostisbetterShould I uninstall it from the system, or without the folder in boot it wont get started anyway? 22:41
minutei don't know anything about u-boot-menu, but maybe josch can answer this22:47
Boostisbetterno worries, it's late, and not urgent. My reform is up and running and suspending. I will probably not fresh boot for quite some time. 22:52
joschBoostisbetter: if you have u-boot-menu installed, it will regenerate /boot/extlinux/extlinux.conf next time you install or upgrade a kernel22:53
joschBoostisbetter: if you want that, make sure your /etc/default/u-boot is set up correctly22:53
joschand to make extra sure, inspect /boot/extlinux/extlinux.conf after it got generated22:53
joschif you do not want /boot/extlinux/extlinux.conf to get generated, remove u-boot-menu22:53
abortretryfailBoostisbetter: did you get bit by the u-boot-menu making your Reform unbootable after an update too? 23:08
abortretryfailI might take another crack at that, since I personally prefer the extlinux.conf being a normal text file versus the boot.scr that's a binary thing you can't really edit if things need fixing.23:09
joschtheoretically you could also not install u-boot-menu and hand-edit extlinux.conf yourself adding the entries you like23:10
joschi really like the convenience to select the kernel on boot which allows me to install even wonky kernels because i know i can easily recover23:11
joschit just frustrates me a lot how it ignores ${bootargs} that makes it a show-stopper on the reform23:11
abortretryfailYeah. Tbh what I really want is the ability to edit the kernel cmdline on the fly from the bootloader the way I can do with syslinux and grub.23:11
joschunless of course we accept that each user crafts their own /etc/default/u-boot23:11
joschabortretryfail: if you do not use u-boot-menu but boot.scr you can do that by entering the u-boot console and setting bootargs23:12
abortretryfailIgnores ${bootargs}?23:12
joschyes, the kernel will be booted with exactly the cmdline that is written in the "append" line in extlinux.conf23:12
joschindependent on what u-boot itself sets for ${bootargs}23:13
abortretryfaili don't even think it reads boot.scr at all if it finds extlinux.conf23:13
abortretryfailbeen meaning to test that too, but i have had a busy weekend and not much time for tinkering23:14
joschyes, it first tries extlinux.conf and if that does not exist, falls back to boot.scr23:14
abortretryfailwhat can or can't be done from the u-boot prompt is kind of unclear to the uninitiated tbh.23:15
abortretryfailthe help scrolls off the screen and the docs are very much geared towards embedded use23:15
abortretryfailI'm not even totally new to this (used it a bunch with openwrt over the years) and I still dont have a clue how to boot a kernel unless it was preconfigured.23:16
abortretryfailMemory addresses to load the kernel and initrd to? Beats me. No clue. This thing's bricked. \o/23:16
abortretryfailSo yeah, big value in having a rescue memory option. :D23:17
abortretryfails/memory/menu/23:17
joschone sec... the internet says that extlinux.conf "append" line supports variables23:18
joschcan we maybe make this work after all?23:18
abortretryfailooh neat23:18
joschi'll try out tomorrow23:18
joschthen successful booting "just" relies on u-boot being recent enough such that it exports the important ${bootargs}23:19
joschah and of course the most recent reform-boundary-uboot doesn't do that23:22
joschhave to create a new tag for that23:22

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