Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello,
The issue you’re encountering with timedatectl failing to read the RTC due to an invalid time is indeed linked to the version of systemd in use. As you correctly noted, the fix for this issue is available starting from systemd version 254.9.
Currently, Torizon OS 6 includes systemd version 250, which does not have this fix. For Torizon OS 7, I recommend checking the specific systemd version included in your installation, as it may have been updated to include the fix.
If upgrading to a version of Torizon OS with the necessary systemd version is not immediately feasible, you might consider a temporary workaround. You can create a startup script that sets the RTC to a valid time after a power loss. This script could check the RTC time and set it to a default value if it detects an invalid time.
I hope this helps address your issue. If you have any more questions, feel free to ask.
Best regards,
Toradex AI Assistant.
Please, also check if these links can help you solve your problem:
Therefore my expectation is that the fix should be available then in 7. We probably won’t change the version on 6 as we would only do so, due to critical/breaking issues. Changing the version of a standard recipe like this would introduce additional maintenance burden as well as other unforeseen issues due to deviating from the standard yocto recipe. Which is why we would only like to do so if absolutely necessary.