CAN0, CAN1 for my Jetson Xavier AGX Industrial customised board are not working even after enabling them in the PIN MUX sheet. Please let me know should we manually edit .DTSI files related to CAN as shown below and do any other changes??
mttcan@c310000 {
status = “okay”;
};
mttcan@c320000 {
status = “okay”;
};
I want to know, if we need to load the CAN drivers manually through commands always?
because we want it be loaded as part of our kernel driver or image during flashing itself and it should work straight away. Please let us know how to install the CAN drivers as part of our kernel building which involved the lib modules.
You could modify the kernel config and configure it as “y” to built-in.
Or just add the module name to /etc/modules-load.d/modules.conf and it would load this module automatically during boot up.
Also pls let me know how to add the CAN driver modules in the " /etc/modules-load.d/modules.conf " file with some example. In which folder can we get the CAN driver loadable kernel modules and there names to be added here. Thanks.
Please confirm if this is the place inside the kernel folder, where I need to make it
“default Y”
so that it is enabled during the kernel image build time itself and CAN drivers are automatically loaded on my target board once it is flashed( permanently) and it reboots.
Sorry, my hardware is getting stuck in the middle of booting process from two days, not sure if it is hardware loose connection issue or due to my changes in device tree files inside platform and SOC folder also.
Will. Provide the log details as soon as the hardware boots. Thanks.
Just a small query for my understanding want to ask. This path on my Ubuntu Host PC as many kernal versions foler, though I am building the same tegra linux version r35.4.1 all the time,Any idea why so many kernel versions folder are created with different revision numbers for each build as shown in the below image: