Upgrading my Chumby 8 kernel part 10: RTC
downtowndougbrown.com
downtowndougbrown.com
For something like the Chumby, where userland is basically fixed and doesn't have a half dozen distros building on top of it, I agree. But if this were commodity hardware that Debian, Ubuntu, Arch, Mint, etc wanted to pull in support for, the extra time spent making /dev/rtc0 would mean the distros don't have to implement their own non-standard implementation of setting the clock.
It would definitely be an interesting challenge to figure out how to multiplex the UART between being a normal UART and accesses from an RTC driver in order to allow it to be a real RTC!
Likely this was a bit easier and faster to implement from the perspective of the Chumby folks who were building the system. But I've seen enough weird non-standard things done on embedded Linux systems (and have unfortunately been involved in maintaining one or two of them) to believe that this sort of crap is annoying, and wish developers at the manufacturer would do things in ways that the platform expects.
We couldn't figure out how to monetize it, but that's alright with me; not all returns on investment are measurable in dollars.
I was thinking about the brief life of the dedicated flash video cameras. They were more capable than phones of the era, but they couldn’t share on their own.
Those are still used in environments where that is a feature, not a bug.
It never really got enough software for it to ever get out of the "janky and promising" stage.
Upgrading my Chumby 8 kernel part 7: touchscreen - https://news.ycombinator.com/item?id=38136590 - Nov 2023 (1 comment)
Upgrading my Chumby 8 kernel part 5: graphics - https://news.ycombinator.com/item?id=36287963 - June 2023 (13 comments)
Upgrading my Chumby 8 kernel part 4: reboot/poweroff - https://news.ycombinator.com/item?id=35184917 - March 2023 (10 comments)
Upgrading my old Chumby 8 Linux kernel - https://news.ycombinator.com/item?id=34063931 - Dec 2022 (32 comments)
To that last point: reading this file is one of the very first things systemd does after being started right in main, so time is set before any services are brought up. Whereas time for the OP isn't set until the `500datetime` service is loaded.
[0]: https://terinstock.com/post/2021/12/Systemds-clock-epoch-for...
To be clear, my init script is named S00datetime, not 500datetime. It's actually the very first one that runs from rcS. So the date is restored very, very early in the boot process before pretty much everything else.
Someone has bought the chumby domain and runs a service for it, if you subscribe you can get a bunch of apps that run on it.
That one was fun to write.