2 ms·
Yeah, I was thinking this too. The benefit of making the STM32 look like a real RTC to the kernel would mean that userspace would Just Work when it came to sav
by kelnos 2y ago
Yeah, I was thinking this too. The benefit of making the STM32 look like a real RTC to the kernel would mean that userspace would Just Work when it came to saving and restoring the time. The kernel would restore it on boot using its normal mechanism, and the 'hwclock' command would actually work properly, like someone unfamiliar with this particular quirk of the hardware would expect.
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.