i.MX8Mmini EVK SNVS RTC can't backup

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX8Mmini EVK SNVS RTC can't backup

724 Views
Danube
Contributor IV

Hi

We test CPU SNVS RTC backup function. When we set "reboot" command.

We see CPU date in first login time.

BSP is Linux-4.14.78

We use 4.14.78 default demo image

Log file

NXP i.MX Release Distro 4.14-sumo imx8mmevk ttymxc1

imx8mmevk login: root
Last login: Fri May 10 10:22:35 UTC 2019 on tty7
[   10.340923] audit: type=1006 audit(1557483758.779:3): pid=3700 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=2 res=1
root@imx8mmevk:~# date
Fri May 10 10:22:41 UTC 2019

~~~ Wait about 1 min

root@imx8mmevk:~# date
Fri May 10 10:23:42 UTC 2019


NXP i.MX Release Distro 4.14-sumo imx8mmevk ttymxc1

imx8mmevk login: root
Last login: Fri May 10 10:22:35 UTC 2019 on tty7
[   10.118980] audit: type=1006 audit(1557483758.671:3): pid=3703 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=2 res=1
root@imx8mmevk:~# date
Fri May 10 10:22:39 UTC 2019

0 Kudos
1 Reply

532 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello Apollo,

  Operate RTC hardware, you should use "hwclock" command to update time in RTC.

Try it, please!
Have a nice day!

BR,

Weidong

0 Kudos