gordon1 | there is an onboard emmc | 00:04 |
---|---|---|
- rodion_goritskov (QUIT: Remote host closed the connection) (~rodion_go@mail.goritskov.com) | 00:04 | |
gordon1 | that's where it takes u-boot, atf and other stuff | 00:04 |
gordon1 | it is located on the actual firefly icore | 00:05 |
+ rodion_goritskov (~rodion_go@mail.goritskov.com) | 00:05 | |
gordon1 | speaking 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 |
gordon1 | just purely on the basis that emmc retention lifetime is what limits the lifetime of the whole rk3588 module | 00:07 |
gordon1 | and it would be absolute PITA to swap it out | 00: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 | |
kfx | gordon1: why would it be a pain to swap out? I've done it a couple times, seemed to work fine | 01: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 | |
minute | kfx: ok weird. how exactly did you modify the kbd firmware? does this also happen with the default backlight rgb color? | 01:58 |
minute | gordon1: 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 | |
kfx | minute: this happens with 'stock' firmware too, default purple, tested with 66dffa83 | 04:26 |
kfx | minute: in the video all I've changed is the color | 04:26 |
- Gooberpatrol66 (QUIT: Remote host closed the connection) (~Gooberpat@user/gooberpatrol66) | 05:54 | |
+ Gooberpatrol66 (~Gooberpat@user/gooberpatrol66) | 05:59 | |
gordon1 | kfx: reworking bga is not fun, especially when it is so tightly packed with other stuff around | 07:45 |
gordon1 | minute: 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 show | 07:50 |
gordon1 | BKOPS_STATUS=0x00 | 07:50 |
gordon1 | need to read on extcsd to make sure i understand what it means | 07:51 |
gordon1 | with backops enabled i think we definitely can relax about data retention | 07: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 | |
kfx | gordon1: I meant you can just pry off the firefly SOM from the rcore adapter and slap another one in | 08:33 |
gordon1 | i mean yes, but that's like few hundred €s | 08:38 |
gordon1 | and emmc chip is hardly a €100 | 08:39 |
gordon1 | probably more like €20 | 08:39 |
dormito | gordon1: 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 |
gordon1 | i'm not too familiar with how rk3588 boots, but i assume so | 08:56 |
gordon1 | it definitely can boot from SPI on my radxa rock5b and if it has empty spi it will try to boot from microsd | 08:59 |
gordon1 | i think it searches for magic value or something | 08:59 |
dormito | ah, if the on-board mmc was last in the rom's boot list that would work out well. thanks | 09:07 |
josch | gordon1: 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 located | 09:17 |
josch | i 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 instead | 09:18 |
gordon1 | josch: 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 those | 09:18 |
josch | oh you mean the opposite problem | 09:19 |
gordon1 | emmc should handle it on its own in background using background ops, but i did not yet confirm that it is working | 09:19 |
dormito | josch: 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 leveling | 09:19 |
josch | oh? 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 |
josch | we have a professor of flash and memory technology down the hallway -- i can ask later for details if i don't forget | 09:21 |
gordon1 | i'm pretty sure there is | 09:22 |
josch | the reason i just came online is this: https://paste.debian.net/1398705/ | 09:23 |
josch | my trackball module reset | 09:23 |
josch | this happens very rarely (2-3 months) but i wonder if there is a way to reset it without a reboot? | 09:23 |
gordon1 | right, so according to JEDEC spec host needs to manually trigger background ops | 09:28 |
gordon1 | josch: maybe try to unauthorize/authorize it in sysfs? | 09:30 |
gordon1 | or remove it and bind it again | 09:31 |
gordon1 | right, 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 | |
josch | gordon1: how would i go about finding the right /sys path in case you know? | 09:54 |
gordon1 | josch: 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 |
josch | right but it doesn't even show up in lsusb anymore | 09:57 |
gordon1 | oh | 09:57 |
gordon1 | that's odd | 09:57 |
josch | the usb id will be a different one for me because this is trackball v1, so it should be 03eb for the atmel lufa trackball | 09:59 |
josch | but cat /sys/bus/usb/devices/*/idVendor only has one entry for that vendor and that's for the keyboard | 09:59 |
+ thelounge7995 (~thelounge@148.168.138.88.rev.sfr.net) | 09:59 | |
josch | i guess i just toggle the reset button again :) | 09:59 |
gordon1 | josch: 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 |
josch | ah okay, sec | 10:00 |
josch | the bus will also be different for me because this is all old hardware here :) | 10:01 |
gordon1 | potentially | 10:01 |
josch | i did this: | 10:04 |
josch | echo 1-2 > /sys/bus/usb/drivers/usb/unbind ; echo 1-2 > /sys/bus/usb/drivers/usb/bind | 10:04 |
josch | and i got: | 10:04 |
josch | usb 1-2.1.4: device descriptor read/64, error -32 | 10:04 |
josch | usb 1-2.1.4: device not accepting address 18, error -71 | 10:04 |
josch | usb 1-2.1-port4: unable to enumerate USB device | 10:04 |
josch | it's dead jim :) | 10:05 |
josch | but the command was correct insofar it did try to get it back from life again -- it just failed :D | 10:05 |
gordon1 | yeah, probably reboot then | 10:06 |
gordon1 | i mean reset | 10:06 |
- jahkosha (QUIT: Ping timeout: 245 seconds) (~jahkosha@user/jahkosha) | 10:09 | |
+ jahkosha_ (~jahkosha@user/jahkosha) | 10:09 | |
josch | and we are back :) | 10:19 |
* jahkosha_ -> jahkosha | 11: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 | |
erle | is 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 |
erle | and yes, i am more careful now. | 13:14 |
* Guest5591 -> mjw | 13: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 | |
josch | erle: yes, take a file or sandpaper and make the sd-card shorter | 13:37 |
josch | i've opened up some old and broken sd-cards and there often is no electronics at all at the end | 13:38 |
josch | in the forum i also have a openscad file which adds a "bulge" around the slot with just about the height of an inserted sd-card | 13:39 |
josch | for 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 to | 13: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_ -> jahkosha | 18:25 | |
* robin_ -> robin | 18: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 -> Guest9684 | 19:40 | |
- Guest9684 (QUIT: Killed (uranium.libera.chat (Nickname regained by services))) (~mjw@2001:1c06:2486:a800:7602:5eff:dc71:a72c) | 19:40 | |
* wielaard -> mjw | 19: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_shu | 20: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_shu | 20: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 | |
josch | minute: 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 |
josch | context: https://community.mnt.re/t/keyboard-backlight-rainbow-animation/3903 | 21:34 |
josch | in 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 | |
minute | josch: cool yeah, and that's correct | 22: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_shu | 23:40 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!