How to make CAN settings on Drive AGX persistent on reboot?

Hardware Platform
NVIDIA DRIVE™ AGX Xavier DevKit (E3550)
NVIDIA DRIVE™ AGX Pegasus DevKit (E3550)
other

DRIVE OS: 5.1.6.1-16902563
Hello

On the Drive AGX xavier I am facing an issue on SocketCAN.
I have set the baudrates to 250 kbps on the socket CAN using

sudo ip link set can0 type can bitrate 250000

Whenever, the Xavier is rebooted the CAN settings revert to a baudrate of 500kbps.

This causes a major error on my bus and I am looking for a method to ensure that the settings do not revert.

Dear @anil-kumar.chavali,
How about adding the command in ~.bash_profile or start up script? Did you check that?

Thanks for the advice.

I am using crontab to ensure the socket CAN is set on reboot. reference :linux - How to run a shell script at startup - Stack Overflow

I was expecting a more safe way to do so, such that default setting can be modified.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.