The "roughly valid time" feature is something Spacerat implemented in OpenATV, which doesn't fix anything, it is a dirty workaround that replaces one problem with another one.
So given the fact that the box boots with epoch time, how do you suggest it will find and set the correct time, and keeps the time correct during operation. And very important: how to determine what is "correct"?
Actually it's a bit more complex:
I have seen myself and got reports of things failing at boot due to the lack of a proper time.
And the fake-hwclock script is just a slightly more Debian/Raspbian variant of the save-rtc script that is by default part of yocto and which gets removed/invalidated by some bbappend.
So actually I haven't added a workaround, I removed one.
The second quoted part contains the relevant point: How to determine what's correct?
You can't, but the dvbtime.cpp code contains (or rather contained) a wild assumption, which is simply invalid in multiple scenarios.
The quirky dvbtime.cpp code is the problem.
You will notice if OpenPLi really ever does systemd builds, as systemd advances the time to build time if it currently is 1970.
And the current code "relies" on some bug in yocto that makes the one-shot NTP sync on ifup fail.
Normally I would expect OpenPLi to be more into real solutions than workarounds.
Personally I prefer clean solutions. And crippling the base OS in multiple ways just to keep some silly assumption valid is definitely NOT clean.
Gesendet von meinem SM-N910F mit Tapatalk