intel-aero / meta-intel-aero

Yocto layer to support Intel Aero platform
https://github.com/intel-aero/meta-intel-aero
GNU General Public License v2.0
218 stars 119 forks source link

System Time and Hardware Time won't keep after reboot #351

Closed trgiman closed 6 years ago

trgiman commented 6 years ago

Hi all,

1.I tried to setup hardware time in bios. Than I did continue with boot cycle. Than called timedatectl and values were correct.

2.Than I powered off the board. Than I booted Yocto again and. timedatectl is showing wrong values.

3.Any suggestions please how to keep the correct time without Network time on? Or does it mean, that Aero Board does not have Real Time Circuit?

Or should I modify rcS scripts somewhere?

trgiman commented 6 years ago

Hi @avinash-palleti I noticed you released new bios updat. I am wondering can it help with issue, that Aeroboard can not maintain correct time after disconnected from power or it is missing real time clock circuit that maintaines actual time? My comments in previous comment. Could you help to clarify it please?

broody commented 6 years ago

Hi @trgiman, that's correct, Aero is missing RTC and so will not keep system time across reboots. The only alternative I can think is what you've already stated - network time. We have an M.2 modem installed and the drone grabs network time after each boot.

zehortigoza commented 6 years ago

Other option would be use the time received from GPS satellites

trgiman commented 6 years ago

@zehortigoza @broody thanks for confirmation.Got it. It is for indoor operations so we will use WIFI than. In case, that there would be some expansion RTC module like for Raspberry PI it would be interesting. I think we can close the issue.