2023-09-19.log

+ jacobk (~quassel@64.189.201.150)00:53
violetyeah thats probably what i meant01:17
violeti think i mashed up "3399" and "3588" in my head01:17
violeti always have a hard time keeping the rk numbers straight01:17
- mjw (QUIT: Ping timeout: 246 seconds) (~mjw@gnu.wildebeest.org)01:39
+ nocko (~nock@user/nocko)01:40
- mtm (QUIT: Ping timeout: 252 seconds) (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)02:03
unixpoetthat's fair, yeah. I have boards with both chips so the numbers stick in my head more02:05
- XYZ (QUIT: Ping timeout: 240 seconds) (~XYZ@37-48-33-138.nat.epc.tmcz.cz)02:18
abortretryfaili'm trying to make sense of this lpc nonsense with the ???. according to the manual, the communication from lpc shows up on /dev/ttymxc2, but i never see anything out of there except "wake\0" from pressing circle-space02:29
+ XYZ (~XYZ@37-48-33-138.nat.epc.tmcz.cz)02:39
- q66 (QUIT: Quit: WeeChat 4.0.2) (~q66@q66.moe)02:44
abortretryfaildoes the kernel driver interfere with that somehow?02:52
+ q66 (~q66@q66.moe)03:39
- nsc (QUIT: Ping timeout: 264 seconds) (~nicolas@12-48-142-46.pool.kielnet.net)03:48
+ nsc (~nicolas@103-99-142-46.pool.kielnet.net)03:50
+ mtm (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)04:09
- jacobk (QUIT: Ping timeout: 240 seconds) (~quassel@64.189.201.150)04:50
+ jacobk (~quassel@utdpat241106.utdallas.edu)05:00
- jacobk (QUIT: Quit: No Ping reply in 180 seconds.) (~quassel@utdpat241106.utdallas.edu)05:54
- svp (QUIT: Server closed connection) (sid537750@id-537750.uxbridge.irccloud.com)05:57
+ svp (sid537750@id-537750.uxbridge.irccloud.com)05:57
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:50)06:05
+ jacobk (~quassel@129.110.242.173)06:09
- jacobk (QUIT: Quit: No Ping reply in 180 seconds.) (~quassel@129.110.242.173)06:13
+ jacobk (~quassel@129.110.242.173)06:15
- jacobk (QUIT: Ping timeout: 240 seconds) (~quassel@129.110.242.173)07:35
BoostisbetterWhen you do circle + space that should wake the Reform from standby. Usually what I see here is waking and a percentage, which then disappears, and the screen is then blank. 08:14
violeti have this weird thing08:33
violet linux-headers-6.5.0-1-reform2-arm64 : Depends: gcc-13 but it is not installable08:33
violetwhy do the headers depend on gcc-13 lol08:33
+ jacobk (~quassel@108.218.212.124)08:34
- jacobk (QUIT: Ping timeout: 240 seconds) (~quassel@108.218.212.124)08:52
- klardotsh (QUIT: Ping timeout: 252 seconds) (~klardotsh@c-67-170-115-80.hsd1.wa.comcast.net)09:05
joschviolet: with which gcc would you like to compile it instead?09:10
+ jacobk (~quassel@64.189.201.150)09:15
violetah! 12 i think09:16
violeti think 12 is the latest in bookworm?09:16
violetthat or my system is configured wrong09:17
joschviolet: oh you want to compile unstable kernel on stable?09:17
violetright! well, sort of. i want to install the headers for it on stable09:18
violetso i can build the lpc dkms module09:18
joschokay, so are running stable with a 6.5 kernel, yes?09:18
violetyeah that's right09:18
joschviolet: you know about reform.debian.net?09:19
violeti dont think so09:19
joschaha! :D09:19
joschviolet: it's a service i maintain which might provide what you want :)09:19
joschthat is, an apt repository for the reform targetting Debian stable instead of unstable09:19
violetoh ok09:19
violetthat sounds great09:20
joschwhat you tried to do earlier is called backporting09:20
joschand it has been done for 6.4 (but not 6.5) and i'll incorporate backports into reform.d.net repos soon09:20
violetyeah i think i just have the unstable repo still in there from when i got this thing09:21
joschbut it's currently not super urgent because for imx8mq you don't really need 6.509:21
josch6.5 becomes necessary for the a311d, for example09:21
violeto.0 what's in 6.5 for the a311d09:22
joschviolet: the list of patches required for the banana pi is very long: https://source.mnt.re/reform/reform-debian-packages/-/tree/main/linux/patches/meson-g12b-bananapi-cm4-mnt-reform209:23
joschviolet: there would've been ~10 more but they have been integrated into 6.509:23
violetwow09:24
- XYZ (QUIT: Ping timeout: 260 seconds) (~XYZ@37-48-33-138.nat.epc.tmcz.cz)09:29
+ XYZ (~XYZ@37-48-2-164.nat.epc.tmcz.cz)09:42
+ ephase (~ephase@2a01:cb1a:74:673:ad65:dd17:d92d:7803)09:49
ephaseHi, there someone who manage wireless networks with iwd on the MNT Reform?09:50
ephaseI have an issue, iwd complain about lack of kernel options activated : CONFIG_CRYPTO_USER_SKCIPHER, CONFIG_CRYPTO_ECB, CONFOG_CRYPTO_CBC ... 09:53
ephaseant it refuse to start09:53
BoostisbetterSpeaking of the 6.5 kernel, I am having REALLY good success on resume from standby with it. I'm easily over 20 resumes at this point. 09:54
Boostisbetterand I should point out that this is without the dropping of the sway display on resume and reinitializing it. 09:55
BoostisbetterThis is all really good signs. 09:55
Boostisbetterjosch: I think you just need a new mainboard to get standby working for you. Although it seems like you have been making the most of your reform's processor time. 09:56
+ mjw (~mjw@gnu.wildebeest.org)10:14
- ephase (QUIT: Quit: WeeChat 4.0.2) (~ephase@2a01:cb1a:74:673:ad65:dd17:d92d:7803)10:43
joschephase: i just checked on an amd64 machine and those kernel options are not set there either, so i don't think it's reform specific. Or are you successfully running iwd on another system?10:49
joschBoostisbetter: i'll buy the reform motherboard 2.5 as soon as it's out and let you know if anything changed. :)10:50
joschah ephase left10:51
abortretryfailBoostisbetter: mine doesn't actually sleep, so i can't test it. I was expecting to see the LPC's responses on /dev/ttymxc2 like the manual says11:43
abortretryfailout of all of the functions the keyboard sends, wake is the only one i see a response for on the serial port.11:44
abortretryfailOh I take that back, apparently 6.5 fixed suspend. :D11:45
- mjw (QUIT: Ping timeout: 248 seconds) (~mjw@gnu.wildebeest.org)12:14
Boostisbetterhmm, that is interesting. 5.12 had good performance, but so far 6.5 has been flawless. I remain optimistic. 12:37
abortretryfailspoke too soon. sound is broken, lol12:47
* mark_ -> mjw12:50
minuteok, i need to understand where the bootcmd that our imx uboot uses comes from, because if i comment out the custom bootcmd of ls1028a, there's no bootcmd left at all12:57
joschminute: in 2dd6c0e7e2ee54784169d68933ab5b2e44881585 I removed bootcmd from reform-boundary-uboot13:00
minutejosch: aha? how does it find boot.scr?13:00
joschminute: the commit message has some hints what will happen instead13:00
joschit uses the distro_boot mechanism13:00
joschwhat i would write now is part of the commit message of that commit :)13:00
minutemhm https://source.mnt.re/reform/reform-boundary-uboot/-/commit/2dd6c0e7e2ee54784169d68933ab5b2e4488158513:01
joschminute: the BOOTENV define includes the important stuff13:02
minuteok, run distro_bootcmd doesn't work13:02
minutemaybe because it wants to load from mmc 113:02
minutebut sd card is mmc 0 on ls1028a13:02
joschyou can change this with DISTRO_BOOT_DEV_MMC13:02
josch(also part of that commit)13:02
minuteok, something is borked still, will need to look into this again later13:12
jfredThere's no widely available CHERI hardware yet but it would be super cool (albeit extremely niche at this point) to have a Morello or CHERI-RISC-V Reform module 13:59
jfredEven the possibility of that is probably years away though13:59
- mtm (QUIT: Ping timeout: 260 seconds) (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)14:04
+ mark_ (~mjw@gnu.wildebeest.org)14:40
- mlarkin (QUIT: Ping timeout: 244 seconds) (~mlarkin@047-036-115-056.res.spectrum.com)14:52
+ mlarkin (~mlarkin@047-036-115-056.res.spectrum.com)14:54
+ reform14743 (~cliffya@180-150-53-95.b49635.mel.static.aussiebb.net)14:55
- reform14743 (QUIT: Quit: reform14743) (~cliffya@180-150-53-95.b49635.mel.static.aussiebb.net)15:04
+ cliffya (~CliffyA@180-150-53-95.b49635.mel.static.aussiebb.net)15:05
- cliffya (QUIT: Client Quit) (~CliffyA@180-150-53-95.b49635.mel.static.aussiebb.net)15:05
+ cliffya (~CliffyA@180-150-53-95.b49635.mel.static.aussiebb.net)15:05
- mark_ (QUIT: Ping timeout: 252 seconds) (~mjw@gnu.wildebeest.org)15:28
- Boostisbetter (QUIT: Ping timeout: 240 seconds) (4a410829d7@irc.cheogram.com)15:37
+ Boostisbetter (4a410829d7@irc.cheogram.com)15:55
abortretryfailcould you make one with that FPGA board?16:00
+ mtm (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)16:10
- mtm (QUIT: Ping timeout: 258 seconds) (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)16:19
+ mtm (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)16:19
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:50)16:56
jfredPossibly, with of course a huge performance penalty haha17:02
- cliffya (QUIT: Quit: WeeChat 4.0.2) (~CliffyA@180-150-53-95.b49635.mel.static.aussiebb.net)17:18
abortretryfailmaybe it's my blackpill prescription talking, but at this point I'm skeptical of the value of new hardware security features.17:45
abortretryfailIt seems the threat model they're most effectively used to protect against is the owner/end-user of the machine.17:45
eeryNo more than any other hardware security feature (e.g. w^x pages, pointer tagging), in the sense it prevents exploitation past OS-enforced limitations17:59
eerynow, to really take advantage of it, you'd need an OS and software stack built around it, and I'm not holding my breath for that one...17:59
- jacobk (QUIT: Ping timeout: 240 seconds) (~quassel@64.189.201.150)18:26
+ mark_ (~mjw@gnu.wildebeest.org)18:34
- mjw (QUIT: Killed (NickServ (GHOST command used by mark_!~mjw@gnu.wildebeest.org))) (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)18:36
* mark_ -> mjw18:36
+ mark_ (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)18:36
- erle (QUIT: Quit: Just say no, then Putin can not legally invade your nation without your consent.) (~erle@2a02:8109:da40:c4:3b3a:3a:1200:b9a7)18:50
- sevan (QUIT: Quit: rebooting, wish me luck!) (~sevan@user/venture37)19:01
+ klardotsh (~klardotsh@c-67-170-115-80.hsd1.wa.comcast.net)19:05
+ sevan (~sevan@user/venture37)19:45
+ jacobk (~quassel@129.110.242.224)20:00
Zabaminute: out of curiosity, how exactly is the lcd panel held in place in the lid of the reform? the panel doesn't seem to have any mounting holes or lugs, is it basically just sandwiched between the back and the front of the lid?20:10
- jacobk (QUIT: Ping timeout: 248 seconds) (~quassel@129.110.242.224)20:13
+ ajr (uid609314@user/ajr)20:47
- jryans (QUIT: Server closed connection) (sid12941@id-12941.ilkley.irccloud.com)20:48
+ jryans (sid12941@id-12941.ilkley.irccloud.com)20:48
minuteZaba: sandwiched, and some small foam tape strips20:59
minuteok, back at ls1028a boot debug20:59
minutesomething is overwriting boot_scripts, with boot_scripts=ls1028ardb_boot.scr20:59
minuteah, ls1028ardb.h overwrites a lot of stuff21:01
+ jacobk (~quassel@129.110.242.224)21:06
- jacobk (QUIT: Ping timeout: 255 seconds) (~quassel@129.110.242.224)21:18
minuteit loads boot.scr now, and boot.scr boots the kernel, but it gets stuck, not sure where21:27
minuteit gives root=/dev/ram0 to the kernel21:28
minuteaha!21:32
minuteCONFIG_BOOTARGS also contained additional junk polluting the cmdline... turned that off and now we have boot and display comes up21:32
+ jacobk (~quassel@129.110.242.224)21:46
- jacobk (QUIT: Ping timeout: 248 seconds) (~quassel@129.110.242.224)21:55
minutejosch: this works https://source.mnt.re/reform/reform-ls1028a-uboot/-/commit/bb489fad7ed8a14e546a7e19edc8549f030b836122:02
joschuuuh, that's cool!22:06
minutejosch: (besides getting backlight PWM to work) i need to do only one more thing for a working system image, which is to drop ls1028a-mhdpfw.bin in /lib/firmware. how should i do that? build a package for it in reform-debian-packages?22:14
minutein the long term we can figure out how to pack it into + load it from uboot22:15
joschthe reform-tools package could build a firmware package as well22:15
joschhm... but you are already patching upstream u-boot -- would it be so much to add another patch to upstream uboot that loads the firmware?22:16
joschi don't know how much could that would be22:16
joschs/could/code/22:16
minutei am extremely low on time atm (that's why i still sit here at 22h), and i have a working setup, so i would rather just finish that first (only have to drop a file in the system image...) 22:17
minutei see some references to "hdp load" in mainline uboot...22:18
minutebut i don't see where the command is defined22:18
joschif you put the file into a .deb, how would that .deb get onto the system?22:18
joschwould it be an extra package installed by reform-system-image only for the ls1028a target?22:19
minutejosch: with reform-system-image's build process22:19
minutejosch: i'm also ok with just sticking it in reform-tools22:19
joschand if yes, then why have it in a package in the first place?22:19
minutebut that would pollute its license22:19
minuteso probably not good22:19
joschif it's in reform-tools, then all platforms would receive the firmware file22:19
minutejosch: yeah, i agree. 22:20
minutejosch: can i use a line similar to the existing "--customize-hook="upload flash-$PLATFORM.bin /boot/flash.bin" \ in mkimage.sh?22:20
joschyes, that would work22:20
joschit would be the easiest solution i think22:20
minuteok!22:20
violethmm switching to the reform.debian.net kernel broke my boot for some reason. probably the disk encryption stuff didnt make their way into the initramfs, not sure why yet22:21
joschand it would work if you accept that via that method, the firmware cannot get upgraded22:21
minutejosch: yeah, it doesn't need upgrades22:21
minutei think :D22:21
violetneed to do the ol swap over back to SD boot from eMMC whenever i feel like unscrewing this thing22:21
joschviolet: do you have boot messages that tell you what is wrong?22:21
joschviolet: is your u-boot new enough to have display output?22:21
violetoh it gets into the kernel and everything22:22
joschviolet: did you consider install u-boot-menu so that you can pick which kernel to load on each boot?22:22
violetand i get the initramfs rescue image eventually22:22
violetmy u-boot has display output but its not very useful because the display is extremely flickery/glitchy22:22
violetuntil it gets out of uboot and into the kernel22:22
violetnot backlight flicker mind you, LCD data flickery22:23
violetand it obscures the text22:23
joschuh i've never seen such an effect22:23
violetmine almost always does that22:23
violeti can take a video later22:23
violetanyways its doing the same thing that happened before i installed the initramfs crypto package the first time around which is that its waiting around for a boot disk to show up forever but the disk doesnt. 22:24
joschviolet: which steps did you take to replace your kernel with the one from reform.d.n?22:25
joschi'd like to find out where it broke for you to prevent this happening to others22:26
violeti followed https://reform.debian.net/repo/ using extrepo method. and then what i did was apt install the 6.4 kernel, and then apt remove the 6.5 kernel, and then reboot22:27
violetand i am in fact booted into the 6.4 kernel i installed  i believe because `uname -a` in the initramfs says Debian 6.4.1-~exp1+reform20230710Twhatever22:28
joschviolet: you mean the 6.1 kernel, right?22:28
violetno, i mean 6.422:28
joschthat's not from the reform.d.n repo22:28
violetwhere is it from then lol22:29
joschviolet: maybe you forgot to disable the old repo?22:29
violeti disabled it, i know this because before rebooting i tried to use my usb headphones and the driver was missing (because i removed the running kernel and this its modules). so i tried to reinstall the 6.5 kernel. but i couldnt because i had removed the repo22:30
violetso i know that the old repo was in fact disabled22:30
josch6.4.1-~exp1+reform20230710Twhatever is from experimental, so it definitely cannot come from reform.d.n which only contains stable kernels22:32
joschthat's what "exp1" means in the version string22:32
joschviolet: can you boot from sd card, mount everything and chroot into the broken system to investigate?22:32
violetyeah22:32
violetthat is the plan, i just need to get at the switch22:32
joschviolet: why do you need to get to the switch?22:32
violetdont i have to switch it back to SD booting?22:33
joschviolet: the switch chooses where u-boot comes from22:33
violetoh. well how do i tell u-boot to boot the SD22:33
joschbut independent on whether the imx loads u-boot from, u-boot will probe the sd-card before emmc22:33
violetAH22:33
violetok, cool22:33
joschthe boot order in u-boot is fixed22:33
joschfirst usb, then sd, then emmc22:33
violetthats very good to know. i am used to my own bad uboot installations where i dont set it up like that haha22:34
violetconveniently my SD card is configured to boot this system anyway so i dont even need to chroot, i can just boot 22:35
joschoh cool22:37
violeti wonder is there a way i can check to tell you specifically what repo a package i have installed came from22:38
violethmm yeah you are right about the repo only providing 6.122:44
violeti have no idea how i pulled off what i did22:47
violetbut i cant reproduce it22:47
- vagrantc (QUIT: Ping timeout: 240 seconds) (~vagrant@2600:3c01:e000:21:7:77:0:50)22:49
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:50)22:51
violetaaaaand boot works fine now22:51
violet*shrug* dunno what that was all about, but good to know i can just pop this SD whenever i break something 22:52
joschviolet: how did you fix it?22:52
violetuninstalled 6.4, installed 6.1 via linux-image-arm6422:54
violetthen rebooted22:54
joschoh wow22:55
joschremember that you can have multiple kernels installed at the same time22:55
violetayyy and now my battery indicator in my status bar finally works!22:55
joschyou do not necessarily remove the old one immediately22:55
joschpersonally, i use u-boot-menu which will boot the latest kernel22:55
joschbut will also let me choose an older one in case the newest kernel broke something22:56
violetyeah22:56
joschvagrantc: i have a flash-kernel question. Kernel 6.5 messed up caam_jr and another option to ${bootargs} is needed to avoid it. Would it be correct to temporarily add something to /usr/share/flash-kernel/ubootenv.d/00reform2_ubootenv which append that option to ${bootargs}?23:03
vagrantcjosch: what's caam_jr ?23:07
joschvagrantc: crypto stuff: https://community.mnt.re/t/changes-introduced-by-kernel-6-5-rc7-1-exp1-reform20230831t205634z1/165123:08
vagrantcah.23:08
vagrantcjosch: no strong opinion ... those hooks are there to fiddle with things :)23:09
joschvagrantc: i don't know how much shell i can do in u-boot shell -- can i do version comparison easily?23:10
vagrantcyou can do equality ... i think that is about it23:22
vagrantcbeen a while since i tried anything complicated23:23
- Gooberpatrol66 (QUIT: Ping timeout: 245 seconds) (~Gooberpat@user/gooberpatrol66)23:47
joschminute: this should limit passing cryptomgr.notests only for the affected kernel version: https://source.mnt.re/reform/reform-tools/-/merge_requests/5223:48

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