Due to the limit of can channels on xavier, I need to use kvaser on xavier. My kvaser type is “Kvaser USBcan Light 4xHS”, which is not in kernel_src/kernel/kernel-4.4/drivers/net/can/usb/Kconfig. So I followed the below link to update kvsaser_usb.ko.
When I ran “make”, it said “No rule to make target ‘modules’”. Looks like it is due to miss the kernel header files. My kernel version is 4.14.102-rt53-tegra. Can anyone tell me how to address this issue?
Here is my make file:
obj-m += kvaser_usb.o
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
In your https://devtalk.nvidia.com/default/topic/1070277/-lib-modules-4-14-102-rt53-tegra-build-no-such-file-or-directory/, we discussed about DRIVE Software kernel source availability. So if you are still not able to install kvaser drivers, I would suggest you to get the support from kvaser or you can do internet search if any other kvaser users have relevant experience on this. Thanks!
Thank you Vick! It works.
Good to hear you fixing your problem!
If you can share in details how you fixed your issue and other developers may benefit from it, it will better. Thanks!