Hi, Issue in RTC reset for different BSP versions mention below.
Case 1:
nvidia@nvidia-desktop:~$ cat /etc/nv_tegra_release
R32 (release), REVISION: 6.1, GCID: 27863751, BOARD: t186ref, EABI: aarch64, DATE: Mon Jul 26 19:36:31 UTC 2021
nvidia@nvidia-desktop:~$ uname -a
Linux nvidia-desktop 4.9.253-tegra #1 SMP PREEMPT Mon Jul 26 12:19:28 PDT 2021 aarch64 aarch64 aarch64 GNU/Linux
nvidia@nvidia-desktop:~$
I have executed below commands for setting date and time:
nvidia@nvidia-desktop:~$ timedatectl set-local-rtc 1 ##for enabling rtc1
nvidia@nvidia-desktop:~$ timedatectl ##for checking current date and time
nvidia@nvidia-desktop:~$ timedatectl set-time ‘2023-03-14 17:05:15’ ##sets current date and time
nvidia@nvidia-desktop:~$ timedatectl ##verify the time and date changed accordingly
Note: RTC connected. voltage 3.0v.
observation: After reboot the system keeps the current date and time properly. not resetting to random value.
Case 2:
nvidia@nvidia-desktop:~$ cat /etc/nv_tegra_release
R35 (release), REVISION: 1.0, GCID: 31250864, BOARD: t186ref, EABI: aarch64, DATE: Thu Aug 11 03:40:29 UTC 2022
nvidia@nvidia-desktop:~$ uname -a
Linux nvidia-desktop 5.10.104-tegra #1 SMP PREEMPT Fri Nov 18 05:49:02 EST 2022 aarch64 aarch64 aarch64 GNU/Linux
nvidia@nvidia-desktop:~$
Note: RTC connected. voltage 3.0v.
I have executed the above commands in this BSP version.
Observation: The RTC is resetting. that is time and date resets to some random value.