Hi everyone,
I'm using an i.MX6S on custom hardware and Yocto fido with kernel 3.14.28_1.0.0. If I set the date like this: "date 040314301984" and then run "hwclock --systohc" everything looks good. If I type hwclock after that I get the correct time: Tue Apr 3 14:30:05 1984 0.000000 seconds
However, when I unplug my board and plug it back in, the clock does not keep the correct time.
If I run the poweroff command first, the correct time is kept, but this does not work for our product as the user will not be shutting it down but simply unplugging it.
Does anyone know how to fix this?
Thanks
Marlon