Yocto: set date and time without ntp

1.5k views Asked by At

on my embedded device with YOCTO and none ethernet connection I would set a specific date and keep it udpdate after the device power-off. I tryed with :

date --set '2022-05-25 11:17:00'
hwclock --utc --systohc
poweroff

but at power on the dat&time are switched back to old value

The same result using :

timedatectl

where ntp is disable, RTC local in TZ is enable and system clock synchromized is enable.

Where is my mistake?

0

There are 0 answers