2025-09-30.log

gordon1there is an onboard emmc00:04
- rodion_goritskov (QUIT: Remote host closed the connection) (~rodion_go@mail.goritskov.com)00:04
gordon1that's where it takes u-boot, atf and other stuff00:04
gordon1it is located on the actual firefly icore00:05
+ rodion_goritskov (~rodion_go@mail.goritskov.com)00:05
gordon1speaking of that, is there any chance that some day in future rcore adapter board will get interal bootable microsd slot not related to the external one or at least bootable SPI NOR?00:06
gordon1just purely on the basis that emmc retention lifetime is what limits the lifetime of the whole rk3588 module00:07
gordon1and it would be absolute PITA to swap it out00:08
- manis (QUIT: Ping timeout: 255 seconds) (01a66df340@185.72.67.185)00:11
- aloo_shu (QUIT: Ping timeout: 260 seconds) (~aloo_shu@90.166.193.247)00:25
+ aloo_shu (~aloo_shu@90.166.99.203)00:26
- colinsane (QUIT: Quit: bye) (~colinunin@97-113-128-166.tukw.qwest.net)00:43
+ colinsane (~colinunin@97-113-128-166.tukw.qwest.net)00:44
+ paperManu_ (~paperManu@64.58.44.160)00:52
kfxgordon1: why would it be a pain to swap out?  I've done it a couple times, seemed to work fine01:14
+ Gooberpatrol66 (~Gooberpat@user/gooberpatrol66)01:19
- GNUmoon2 (QUIT: Ping timeout: 272 seconds) (~GNUmoon@gateway/tor-sasl/gnumoon)01:31
- RandyK (QUIT: Ping timeout: 272 seconds) (~RandyK@user/randyk)01:31
+ RandyK (~RandyK@user/randyk)01:31
+ GNUmoon2 (~GNUmoon@gateway/tor-sasl/gnumoon)01:34
- paperManu (QUIT: Ping timeout: 244 seconds) (~paperManu@64.58.44.160)01:53
minutekfx: ok weird. how exactly did you modify the kbd firmware? does this also happen with the default backlight rgb color?01:58
minutegordon1: emmc retention lifetime? you think that could become an issue even if you use the emmc for booting only?!02:00
- mjw (QUIT: Ping timeout: 256 seconds) (~mjw@gnu.wildebeest.org)02:05
- colinsane (QUIT: Quit: bye) (~colinunin@97-113-128-166.tukw.qwest.net)02:11
+ colinsane (~colinunin@97-113-128-166.tukw.qwest.net)02:14
- nsc (QUIT: Ping timeout: 264 seconds) (~nicolas@82-98-142-46.pool.kielnet.net)03:48
+ nsc (~nicolas@181-99-142-46.pool.kielnet.net)03:49
- kop316 (QUIT: Read error: Connection reset by peer) (m-6f6zq6@static.138.159.90.157.clients.your-server.de)04:05
+ kop316 (m-6f6zq6@static.138.159.90.157.clients.your-server.de)04:06
- kop316 (QUIT: Remote host closed the connection) (m-6f6zq6@static.138.159.90.157.clients.your-server.de)04:06
+ kop316 (m-6f6zq6@static.138.159.90.157.clients.your-server.de)04:07
- paperManu_ (QUIT: Ping timeout: 264 seconds) (~paperManu@64.58.44.160)04:09
- AnimaInvicta (PART: !!unknown attribute: msg!!) (~AnimaInvi@88-120-179-216.subs.proxad.net)04:22
kfxminute: this happens with 'stock' firmware too, default purple, tested with 66dffa8304:26
kfxminute: in the video all I've changed is the color04:26
- Gooberpatrol66 (QUIT: Remote host closed the connection) (~Gooberpat@user/gooberpatrol66)05:54
+ Gooberpatrol66 (~Gooberpat@user/gooberpatrol66)05:59
gordon1kfx: reworking bga is not fun, especially when it is so tightly packed with other stuff around07:45
gordon1minute: i mean we don't know, do we? there are couple of vague accounts on how to calculate flash retention time, it is likely dependent on temperature, and firefly runs a bit hot, definitely not room temp, there supposed to be background ops on emmc to take care of retention, it should rewrite sectors that are getting old, but i'm not 100% sure it is enabled, at least mmc utils show07:50
gordon1BKOPS_STATUS=0x0007:50
gordon1need to read on extcsd to make sure i understand what it means07:51
gordon1with backops enabled i think we definitely can relax about data retention07:52
- dodo (QUIT: Remote host closed the connection) (~dodo@user/dodo)07:52
+ dodo (~dodo@user/dodo)07:52
- BAndiT1983 (QUIT: Remote host closed the connection) (~quassel@46.101.193.235)07:53
- se6astian (QUIT: Remote host closed the connection) (~quassel@46.101.193.235)07:53
+ gustav2 (~gustav@c-78-82-53-184.bbcust.telenor.se)07:54
- plomtest (QUIT: Ping timeout: 245 seconds) (~plom@user/plomtest)07:54
+ BAndiT1983 (~quassel@46.101.193.235)07:54
+ se6astian (~quassel@46.101.193.235)07:54
kfxgordon1: I meant you can just pry off the firefly SOM from the rcore adapter and slap another one in08:33
gordon1i mean yes, but that's like few hundred €s08:38
gordon1and emmc chip is hardly a €10008:39
gordon1probably more like €2008:39
dormitogordon1: thanks. Any idea if there's a mechanism to force boot order, say if a bad u-boot/atf image is programmed onto the module?08:48
gordon1i'm not too familiar with how rk3588 boots, but i assume so08:56
gordon1it definitely can boot from SPI on my radxa rock5b and if it has empty spi it will try to boot from microsd08:59
gordon1i think it searches for magic value or something08:59
dormitoah, if the on-board mmc was last in the rom's boot list that would work out well. thanks09:07
joschgordon1: i have the same fear as you. My approach is that since (in theory) what destroys the emmc are repeated writes to the same block, i just never change the really important bits of the eMMC: the first 16 MiB where u-boot (or edk2) is located09:17
joschi have a /boot partition after that but should those blocks ever corrupt then u-boot on emmc will pick the boot partition from my sd-card instead09:18
gordon1josch: problem with data retention is the opposite, bits that are never written to lose the charge after some time (years), so you have to re-write those09:18
joschoh you mean the opposite problem09:19
gordon1emmc should handle it on its own in background using background ops, but i did not yet confirm that it is working09:19
dormitojosch: as far as I know all eMMC chips are not raw flash (since the mmc protocol basically precludes that), and thus have on-board wear leveling09:19
joschoh? i can remember as far back as the openmoko where i was told that there was *no* wear leveling for the emmc -- but maybe this changed since then?09:20
joschwe have a professor of flash and memory technology down the hallway -- i can ask later for details if i don't forget09:21
gordon1i'm pretty sure there is09:22
joschthe reason i just came online is this: https://paste.debian.net/1398705/09:23
joschmy trackball module reset09:23
joschthis happens very rarely (2-3 months) but i wonder if there is a way to reset it without a reboot?09:23
gordon1right, so according to JEDEC spec host needs to manually trigger background ops09:28
gordon1josch: maybe try to unauthorize/authorize it in sysfs?09:30
gordon1or remove it and bind it again09:31
gordon1right, so looks like linux kernel supports running urgent bkops on emmc 09:37
- anuejn (QUIT: Remote host closed the connection) (~quassel@46.101.193.235)09:41
+ anuejn (~quassel@46.101.193.235)09:43
joschgordon1: how would i go about finding the right /sys path in case you know?09:54
gordon1josch: you can either match it using idVendor/idProduct from the /sys/bus/usb/devices/*/ or just look at lsusb, Bus 005 Device 004: ID 1209:6d04 MNT Research Reform Trackball (RP2040) means ($bus-$device) /sys/bus/usb/devices/5-1.4/09:56
joschright but it doesn't even show up in lsusb anymore09:57
gordon1oh09:57
gordon1that's odd09:57
joschthe usb id will be a different one for me because this is trackball v1, so it should be 03eb for the atmel lufa trackball09:59
joschbut cat /sys/bus/usb/devices/*/idVendor only has one entry for that vendor and that's for the keyboard09:59
+ thelounge7995 (~thelounge@148.168.138.88.rev.sfr.net)09:59
joschi guess i just toggle the reset button again :)09:59
gordon1josch: try echo 5-1 > /sys/bus/usb/driver/usb/unbind ; echo 5-1 > /sys/usb/driver/usb/bind that should unplug-plug the port (ofc if that's the same port where the trackball is, also make sure you do that in one command because i bet keyboard is also there)10:00
joschah okay, sec10:00
joschthe bus will also be different for me because this is all old hardware here :)10:01
gordon1potentially10:01
joschi did this:10:04
joschecho 1-2 > /sys/bus/usb/drivers/usb/unbind ; echo 1-2 > /sys/bus/usb/drivers/usb/bind10:04
joschand i got:10:04
joschusb 1-2.1.4: device descriptor read/64, error -3210:04
joschusb 1-2.1.4: device not accepting address 18, error -7110:04
joschusb 1-2.1-port4: unable to enumerate USB device10:04
joschit's dead jim :)10:05
joschbut the command was correct insofar it did try to get it back from life again -- it just failed :D10:05
gordon1yeah, probably reboot then10:06
gordon1i mean reset10:06
- jahkosha (QUIT: Ping timeout: 245 seconds) (~jahkosha@user/jahkosha)10:09
+ jahkosha_ (~jahkosha@user/jahkosha)10:09
joschand we are back :)10:19
* jahkosha_ -> jahkosha11:19
+ mjw (~mjw@gnu.wildebeest.org)11:21
- lanodan (QUIT: Ping timeout: 248 seconds) (~lanodan@2a01:e0a:d6:9930::35)11:33
+ lanodan (~lanodan@2a01:e0a:d6:9930::35)11:34
- mjw (QUIT: Ping timeout: 240 seconds) (~mjw@gnu.wildebeest.org)12:58
erleis there a trick to make the external SD card not pop out as easily? has happened to me accidentally several times when touching that side of the reform2.13:13
erleand yes, i am more careful now.13:14
* Guest5591 -> mjw13:30
- laumann (QUIT: Remote host closed the connection) (~quassel@user/laumann)13:30
+ laumann (~quassel@2a0a-e5c0-2-2-0-c8ff-fe68-bef1.loves.ipv6.at.ungleich.ch)13:31
joscherle: yes, take a file or sandpaper and make the sd-card shorter13:37
joschi've opened up some old and broken sd-cards and there often is no electronics at all at the end13:38
joschin the forum i also have a openscad file which adds a "bulge" around the slot with just about the height of an inserted sd-card13:39
joschfor other uses (but i'm not using that right now) i have an internal usb-hub where i can attach one of these miniscule micro-sd card readers to13:39
- GNUmoon2 (QUIT: Remote host closed the connection) (~GNUmoon@gateway/tor-sasl/gnumoon)14:25
+ GNUmoon2 (~GNUmoon@gateway/tor-sasl/gnumoon)14:25
+ paperManu (~paperManu@64.58.44.160)14:39
+ paperManu_ (~paperManu@64.58.44.160)14:44
- GNUmoon2 (QUIT: Remote host closed the connection) (~GNUmoon@gateway/tor-sasl/gnumoon)15:20
+ GNUmoon2 (~GNUmoon@gateway/tor-sasl/gnumoon)15:21
- RandyK (QUIT: Remote host closed the connection) (~RandyK@user/randyk)15:27
+ RandyK (~RandyK@user/randyk)15:27
- S0rin (QUIT: Ping timeout: 252 seconds) (~S0rin@user/s0rin)17:00
+ robin_ (~robin@user/terpri)17:14
- robin (QUIT: Ping timeout: 244 seconds) (~robin@user/terpri)17:14
- colinsane (QUIT: Quit: bye) (~colinunin@97-113-128-166.tukw.qwest.net)17:18
+ wakest (m-a7d6fe@45.77.48.108)18:17
* jahkosha -> jahkosha_18:24
* jahkosha_ -> jahkosha18:25
* robin_ -> robin18:27
- thelounge7995 (QUIT: Quit: The Lounge - https://thelounge.chat) (~thelounge@148.168.138.88.rev.sfr.net)18:55
- erle (QUIT: Quit: K-lined) (~erle@user/erle)19:09
+ wielaard (~mjw@gnu.wildebeest.org)19:22
* mjw -> Guest968419:40
- Guest9684 (QUIT: Killed (uranium.libera.chat (Nickname regained by services))) (~mjw@2001:1c06:2486:a800:7602:5eff:dc71:a72c)19:40
* wielaard -> mjw19:40
+ Guest9684 (~mjw@2001:1c06:2486:a800:7602:5eff:dc71:a72c)19:41
+ aloo_shu_ (~aloo_shu@85.51.17.200)20:33
- aloo_shu (QUIT: Ping timeout: 260 seconds) (~aloo_shu@90.166.99.203)20:35
* aloo_shu_ -> aloo_shu20:35
+ aloo_shu_ (~aloo_shu@85.51.17.129)20:38
- aloo_shu (QUIT: Ping timeout: 264 seconds) (~aloo_shu@85.51.17.200)20:40
* aloo_shu_ -> aloo_shu20:40
- cobra (QUIT: Ping timeout: 244 seconds) (~cobra@user/Cobra)20:43
+ cobra (~cobra@user/Cobra)20:43
- cobra (QUIT: Quit: ZNC 1.8.2 - https://znc.in) (~cobra@user/Cobra)20:54
+ cobra (~cobra@user/Cobra)20:58
- cobra (QUIT: Quit: ZNC 1.8.2 - https://znc.in) (~cobra@user/Cobra)21:10
+ cobra (~cobra@user/Cobra)21:14
- cobra (QUIT: Client Quit) (~cobra@user/Cobra)21:16
+ cobra (~cobra@user/Cobra)21:19
joschminute: about three months ago we talked about openrgb upstreaming -- would you like me to create a pull request from the code in https://source.mnt.re/reform/reform-openrgb and submit it upstream?21:34
joschcontext: https://community.mnt.re/t/keyboard-backlight-rainbow-animation/390321:34
joschin that case, plomlompom would be the correct author for these commits, right?21:35
- gustav2 (QUIT: Quit: Quit) (~gustav@c-78-82-53-184.bbcust.telenor.se)22:15
minutejosch: cool yeah, and that's correct22:23
- rodion_goritskov (QUIT: Remote host closed the connection) (~rodion_go@mail.goritskov.com)23:10
+ rodion_goritskov (~rodion_go@mail.goritskov.com)23:13
- paperManu (QUIT: Ping timeout: 264 seconds) (~paperManu@64.58.44.160)23:36
+ aloo_shu_ (~aloo_shu@90.166.99.102)23:39
- aloo_shu (QUIT: Ping timeout: 256 seconds) (~aloo_shu@85.51.17.129)23:40
* aloo_shu_ -> aloo_shu23:40

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