2025-06-22.log

+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:50)00:57
joschvagrantc: i have linux 6.12.32 boot successfully on rk3588 pocket01:04
joschvagrantc: i had to push another fix into ./linux/patches6.12 for that to work: https://source.mnt.re/reform/reform-debian-packages/-/commit/240a971740c9f9bb2d40ffe72a6d32f066d34bc801:06
vagrantcjosch: will try it, thanks! :)01:18
- mjw (QUIT: Ping timeout: 276 seconds) (~mjw@gnu.wildebeest.org)01:21
- robin (QUIT: Quit: Leaving) (~robin@user/terpri)01:42
- svp (QUIT: Quit: Gateway shutdown) (~svp@host-79-7-240-189.business.telecomitalia.it)01:54
+ robin (~robin@user/terpri)01:55
+ svp (~svp@host-79-7-240-189.business.telecomitalia.it)01:57
- AnimaInvicta (PART: !!unknown attribute: msg!!) (~AnimaInvi@88-120-179-216.subs.proxad.net)02:03
kfxif I'm booting via extlinux.conf from u-boot, and I set fdtdir as normal02:25
kfxhow does u-boot know whether to load rk3588-mnt-reform2 or rk3588-mnt-reform2-dsi?02:25
vagrantcfor it to work correctly, your u-boot should know which platform you're using ... unless there is some auto-detection login inside u-boot, in which case it should set the appropriate environment variable (fdtfile?)02:32
vagrantcauto-detection logic ...02:33
vagrantcit is possible to run a preboot script or soemthing too ... not sure how it is supposed to work on mnt/reform at the moment02:33
kfxah I see02:37
kfxthere are two different u-boot builds02:37
kfxso, no autodetect, you have to switch builds.  makes sense now, thanks02:37
vagrantcthat's the simple old-school way02:39
kfxsimple is good.  it keeps me from having to sift through thousands of nearly-identical commits in some abandoned bsp tarball02:40
vagrantcthere are a handful of platforms that are able to detect between variants if there is in fact some way to detect the difference, but most u-boot builds have a pretty 1-to-1 correspondence02:40
vagrantcjosch: hrm. fails to build rk3588-mnt-reform2.dtb with an syntax error ... Label or path hdptxphy_hdmi0 not found03:08
vagrantcit seems to keep building despite the failure, though :/03:08
vagrantchttps://paste.debian.net/1381510/03:10
vagrantci guess with 8 cores and 9 build jobs ... "drivers" takes forever to finish03:21
- paperManu (QUIT: Ping timeout: 268 seconds) (~paperManu@72.10.128.164)03:51
- nsc (QUIT: Ping timeout: 272 seconds) (~nicolas@204-96-142-46.pool.kielnet.net)03:53
+ nsc (~nicolas@14-97-142-46.pool.kielnet.net)03:55
- op_4 (QUIT: Remote host closed the connection) (~tslil@user/op-4/x-9116473)04:05
+ op_4 (~tslil@user/op-4/x-9116473)04:05
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:50)04:22
- Giraut (QUIT: Remote host closed the connection) (~Giraut@84-230-5-4.elisa-mobile.fi)06:44
+ reform24306 (~jamie@s207-81-194-51.bc.hsia.telus.net)06:59
reform24306Just got my pocket reform today and I love the flexability! Keyboard a tad weird so I cannot type as fast yet.07:00
- reform24306 (QUIT: Client Quit) (~jamie@s207-81-194-51.bc.hsia.telus.net)07:00
joschminute: i recently reported that display backlight does not come up with linux 6.15 until gdm (or the setup wizard) starts. Turns out, this is not deterministic. Sometimes, display backlight come on already when just the tty is showing the boot messages.07:18
joschminute: but that behaviour apparently also existed before 6.15: https://community.mnt.re/t/screen-needs-several-attempts-to-turn-on-a311d/308107:18
joschI'm running 6.12 so i'm not experiencing these issues. It's likely, that when I tested the kernel versions after 6.12 I just got lucky and since I didn't test booting multiple times I failed to notice that even before there was a bug making the backlight not come on reproducibly?07:19
joschThis is of course even more nasty for users of tuigreet because they don't get to see their login prompt. Switching to gdm would be a workaround for that.07:20
+ Giraut (~Giraut@84-230-5-4.elisa-mobile.fi)08:07
- Giraut (QUIT: Ping timeout: 248 seconds) (~Giraut@84-230-5-4.elisa-mobile.fi)09:08
+ AnimaInvicta (~AnimaInvi@88-120-179-216.subs.proxad.net)09:46
+ My-Bosnian-mom-M (~My-Bosnia@109.175.50.243)10:10
- My-Bosnian-mom-M (QUIT: Quit: Client closed) (~My-Bosnia@109.175.50.243)10:16
+ My-Bosnian-mom-M (~My-Bosnia@109.175.50.243)10:18
- My-Bosnian-mom-M (QUIT: Quit: Client closed) (~My-Bosnia@109.175.50.243)10:23
joschminute: gitlab outage?11:29
joschah HTTP 502: Waiting for GitLab to boot11:29
- antti (QUIT: Ping timeout: 244 seconds) (~antti@user/antti)11:48
+ antti (~antti@user/antti)11:51
joschdebian-installer on the pocket reform: https://mister-muffin.de/p/PN4L.jpg12:00
joschbut i don't understand the terminal font size and rotation despite having fbcon=rotate:3 fbcon=font:TER16x32 in the kernel cmdline: https://mister-muffin.de/p/8ghZ.txt12:03
+ mjw (~mjw@gnu.wildebeest.org)12:20
minutejosch: yes, outage apparently 12:25
minutejosch: backlight on classic? with a311d? rk3588? has "something is saving 0 backlight and system restores it" being ruled out?12:27
minutejosch: a workaround would be adding something to reform-hw-setup that checks if brightness is 0 and sets to 50% if that is the case12:28
bremneram I right that UBSAN error in rc80211_minstrel_h is a known problem on the 3588 pocket reform?12:36
bremnerunrelated, I wonder how my pocket reform managed to drain the battery while plugged in with the lid closed (and powered on)12:44
bremnerit's charging again, but it's just odd.12:45
joschminute: backlight on a311d classic reform. This is with a vanilla system image on first boot, so nothing could've saved the backlight before. Also, this is not deterministic. I flash the same content to the sd-card and boot it and get different results.13:02
minutejosch: btw gitlab outage was buckket installing security update13:12
joschah well, that's a good thing to happen :)13:12
minutejosch: aha, then i guess driver probing race13:47
minutejosch: i.e. depends on which module gets loaded first13:47
+ chomwitt (~chomwitt@2a02:85f:9a3f:9300:1ac0:4dff:fedb:a3f1)14:00
+ Guest51 (~Guest51@ip-062-143-164-159.um16.pools.vodafone-ip.de)14:07
- chomwitt (QUIT: Ping timeout: 272 seconds) (~chomwitt@2a02:85f:9a3f:9300:1ac0:4dff:fedb:a3f1)14:10
- L29Ah (QUIT: Ping timeout: 272 seconds) (~L29Ah@wikipedia/L29Ah)14:15
+ enwu (~enwu@user/enwu)14:27
+ paperManu (~paperManu@72.10.128.164)14:30
- murphnj (QUIT: Quit: Leaving) (~murph@user/murphnj)15:11
- Guest51 (QUIT: Ping timeout: 272 seconds) (~Guest51@ip-062-143-164-159.um16.pools.vodafone-ip.de)15:33
+ chomwitt (~chomwitt@2a02:85f:9a3f:9300:1ac0:4dff:fedb:a3f1)15:39
- chomwitt (QUIT: Ping timeout: 260 seconds) (~chomwitt@2a02:85f:9a3f:9300:1ac0:4dff:fedb:a3f1)15:49
qbithola :D - has anyone reprogrammed the keyboard to a different layout? 16:33
kfxqbit: look at matrix.h in the firmware source16:50
bkeysjosch: How would I go about getting your linux source tarball?16:53
kfxbkeys: the build script pulls debian source and then applies a series of patches depending on the board type16:55
kfxhttps://source.mnt.re/reform/reform-debian-packages/-/blob/main/linux/build.sh?ref_type=heads16:56
kfx(the patches are also in that repo)16:56
- exark (QUIT: Ping timeout: 252 seconds) (~exark@user/exark)16:56
bkeysThank you16:56
bkeysI'm hoping instead of me doing all this patching and stuff I can just use this script and feed the tarball he generates into the Fedora packaging16:56
joschbkeys: not quite16:57
joschbecause you have to actually *do* the packaging16:57
joscherr... patching16:57
joschthe patches in that repo are Debian packaging patches16:57
kfxthat's what I did to make an alpine package16:57
joschso i throw them into the Debian source package and then during the build they get applied16:58
kfxdownloaded vanilla kernel source, applied those patches, and pushed to a different repo16:58
joschat no point does a source package get created that has the patches applied16:58
kfxone of the patches doesn't apply to mainline kernel source because the debian kernel source is ... not mainline16:59
bkeyshttps://gitgud.io/bkeys/linux-reform-rk3588#17:00
bkeysHere is what I have, I applied the patches but for some reason I'm betting .dts files for the Reform in my dts folder instead of .dtb files17:01
joschkfx: oh? which one?17:02
joschkfx: the debian kernel source is from the stable linux branch, not from torvalds' branch17:03
bkeysWait, nevermind17:03
bkeysI guess they are there now17:03
bkeysMaybe copr took a while to update the package17:03
bkeysI am building off of the Collabara kernel for rk3588 with patches applied17:04
joschminute: the backlight behaviour is also present on a311d classic reform with the latest system image V5 tag. Thus this problem is not new in 6.15. It can be observed in system images with 6.14 and it was observed by users in the forum months ago.17:05
joschminute: thus, do you want to test linux 6.15 before merging or should I hit the merge button right way as I tested it on a311d, imx8mq and rk358817:06
kfxjosch: I can't get 0063 to cleanly apply on 6.14.11.  I haven't brought it up because 6.14 is EOL anyway and I was just going to try the 6.15 stuff soon17:06
- antti (QUIT: Quit: antti) (~antti@user/antti)17:16
+ antti (~antti@user/antti)17:18
joschkfx: ah the reason might be that the last release of 6.14 which I rebased the patches onto was 6.14.617:18
joschminute: here is an apt sources.list entry to try out linux 6.15: deb [trusted=yes arch=arm64] https://source.mnt.re/reform/reform-debian-packages/-/jobs/11327/artifacts/raw/repo reform main17:20
joschi have it running on my rk3588 pocket since last week17:20
joschon the other platforms i tested sound and wifi next to the obvious things like the display17:20
+ L29Ah (~L29Ah@wikipedia/L29Ah)17:33
- paperManu (QUIT: Ping timeout: 252 seconds) (~paperManu@72.10.128.164)17:47
+ chomwitt (~chomwitt@2a02:85f:9a3f:9300:1ac0:4dff:fedb:a3f1)17:53
bkeysjosch, minute: On rk3588 which set of pins do I hook a serial adapter up to? The ones that point at my face or the ones pointing towards the front of the laptop?18:09
bkeysnvm I got it figured out18:15
joschbkeys: it's probably documented somewhere but i always pull up the kicad schematics these days...18:22
bkeysI found it18:23
bkeysThe serial connection isn't showing anything I didn't already know18:23
bkeyskfx: Do you have a tarball of kernel source that's known to enable the rk3588 reform?18:24
joschbkeys: i can also tar the directory with patches applied18:26
bkeysThat works, hopefully18:26
bkeysAlthough in theory there is nothing wrong with my kernel source, the patches are applied there on top of the 6.15 collabara kernel18:27
+ Giraut (~Giraut@84-230-5-4.elisa-mobile.fi)18:29
bkeysjosch: I'm investigating the MNT Reform u-boot, the maintainer for Fedora for ARM seems to think edk2 is complicating things (I honestly don't know how) and am seeing about uboot booting my Fedora install, but uboot doesn't seem to see either my nvme drive or my USB drive18:37
bkeysAnd running usb start on uboot runs but it seems to just freeze18:37
- cow321 (QUIT: Remote host closed the connection) (~deflated8@user/meow/deflated8837)18:41
+ cow321 (~deflated8@user/meow/deflated8837)18:42
qbitkfx: thanks :D18:47
- SavagePeanut (QUIT: Quit: Gateway shutdown) (59eaa45ac7@irc.cheogram.com)18:51
- BoostisBetter (QUIT: Quit: Gateway shutdown) (4a410829d7@irc.cheogram.com)18:51
minutebkeys: serial pointing towards front (90 degrees), i.e. serial 118:54
minutejosch: merge away!18:54
bkeysYeah I got the serial part working18:54
bkeysminute: I can't remember, is setenv the evil command or saveenv?18:57
joschbkeys: maybe don't do either but just edit extlinux.conf?19:00
joschbkeys: (saveenv)19:01
joschsetenv sets, saveenv saves your settings19:01
bkeysWell the reform uboot doesn't see my NVME drive or USB drives19:11
bkeysBut I can try stuff from SD card, but I'll be afk so I will respond/mess with it further this evening19:11
joschbkeys: i don't think u-boot can do nvme (unless that was changed since the last time i checked)19:16
joschbkeys: we have a separate partition for /boot which is on eMMC or SD-card which contains linux and linux can then load the (potentially encrypted) rootfs from nvme19:16
kfxbkeys: is this the kernel I use https://git.sr.ht/~khm/linux-rcore/archive/6.14.11-2.tar.gz20:31
kfxjosch: I have u-boot written to emmc, and it's loading extlinux.conf off my nvme /boot directory20:32
kfxthis is reform2/rk3588... reform2/imx8mq can't do this20:32
- zeha (QUIT: Quit: reboot) (~ch@user/meow/ch)20:39
joschkfx: uuuuh sweet!20:53
+ ch (~ch@user/meow/ch)21:07
chjosch: feel like trying the build result from here? https://github.com/grml/grml-live/pull/374#issuecomment-299422153421:07
chjosch: also - should that boot on a pocket too?21:07
joschch: ** File not found /boot/grmlghaciarm64/dtbs/freescale/imx8mq-mnt-reform2.dtb **21:22
chhmm21:23
- hairu (QUIT: Remote host closed the connection) (m-uotkmd@user/hairu)21:29
joschch: this probably does not help: mount: /mnt: wrong fs type, bad option, bad superblock on /dev/mmcblk0p1, missing codepage or helper program, or other error.21:30
chso, issue 1 is that it copied only rk3588-mnt-reform2.dtb21:30
+ hairu (m-uotkmd@user/hairu)21:32
chthe mount error seems weirder21:33
joschch: issue 2 is your partition and filesystem size21:33
joschyour filesystem is 260000*4096 = 1064960000 bytes long21:33
joschand your partition is 2048000 * 512 = 1048576000 bytes large21:34
chright21:35
chand probably start 51221:35
chnot 3276821:35
joschno 32768 is correct because 16MiB offset21:36
joschch: in my parted call, just divide the numbers by 51221:36
chyou're telling me the partition offsets are from _after_ the mbr length?21:37
joschwait, sfdisk takes offsets not sizes?21:37
chiow isn't there now a 512byte hole somewhere?21:37
joschah that you mean21:37
joschi'm unsure about the sfdisk details21:37
joschi'd hope that the sfdisk offset is from zero21:38
chyeah i think it is from zero21:38
joschhow did you end up with 2048000 anyway?21:38
chunsure21:39
chforcepushed, i'll look at it with hexdump later21:39
chthanks21:40
joschch: and it should also work on pocket reform but without X1121:40
joschch: also instead of going via a temporary $MBRTMP you could use tee21:41
chwasnt sure about exit code propagation there21:42
chi'm not good with shell21:42
joschthen ignore what i said -- simple is also often better21:44
+ paperManu (~paperManu@72.10.128.164)22:59
- colinsane (QUIT: Remote host closed the connection) (~colinunin@97-126-5-139.tukw.qwest.net)23:31
+ colinsane (~colinunin@97-126-5-139.tukw.qwest.net)23:34

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