What is the correct way to set the system clock on Drive AGX
Are you asking about changing system time or frequency clocks of cpu/gpu?
The issue i have is time/date synchronization between the SoC and AURIX.
When i turn things off the time resets on the Aurix.
uname -r = 4.9.111-rt76-tegra
my current work around, each time i power cycle,
#Quick date setup
timedatect1 set-ntp 0
sudo dpkg-reconfigure tzdata
sudo date -s XXXXX
Are you not able to synchronise Tegra and Aurix using the steps provided in documentation? If so, could you share where you have issue?
I followed the guide lines and managed to find phc2sys at ~/drive-t186ref-linux/samples/nvavb/daemons
nvidia@tegra-ubuntu:~/drive-t186ref-linux/samples/nvavb/daemons$ sudo ./phc2sys -s /dev/ptp0 -w -S 1.0 -O 0 & ./ptp4l -f ./gPTP_slave.cfg -p /dev/ptp0 -i eth0.200 -m -l 7
ptp4l[4762.210]: selected /dev/ptp0 as PTP clock
ptp4l[4762.210]: ioctl SIOCGIFHWADDR failed: No such device
failed to generate a clock identity
Could you please refer to below link for this topic? Thanks.
Thanks Steve, this work around, worked, thanks