I'm using ArmStoneA9r2 Dual board with the Linux Buildroot fsimx6B2020.04. For the managing the system clock, I've connected a CR2032 3.3V battery for RTC at the power connector.
I'm using the command hwclock -w to set the time to RTC.
After disconnecting the power abruptly, the system clock is getting rest to 1969 occasionally. This reset of time is causing a problem for the application we run which depends hugely on local time.
Please help me with this issue.