hartkopp / can-isotp

Linux Kernel Module for ISO 15765-2:2016 CAN transport protocol PLEASE NOTE: This module is part of the mainline Linux kernel since version 5.10
Other
248 stars 71 forks source link

How to install kernel module on Jetson TX2 (arm architecture)? #30

Closed kilianbr closed 4 years ago

kilianbr commented 4 years ago

Hi @hartkopp , first of all thanks for the library. I used on my RPI3 where I did not have any problems. Now I switched to a Jetson TX2 and got the known [OSError: [Errno 93] Protocol not supported] issue.

I read about the kernel module https://github.com/hartkopp/can-isotp-modules, but get the following error messages during the procedure:

ccd3@ccd3-desktop:~/can-isotp-modules/net/can$ ./make_isotp.sh

CAN ISO-TP has moved to https://github.com/hartkopp/can-isotp.git This repository is not maintained anymore. Are you sure you want to continue the build? (if so press ENTER)

make -C /lib/modules/4.9.140-tegra/build M=/home/ccd3/can-isotp-modules/net/can modules TOPDIR=/home/ccd3/can-isotp-modules/net/can/../.. make[1]: Entering directory '/usr/src/linux-headers-4.9.140-tegra-ubuntu18.04_aarch64/kernel-4.9' arch/arm64/Makefile:49: LSE atomics not supported by binutils make[1]: No rule to make target 'before'. Stop. make[1]: Leaving directory '/usr/src/linux-headers-4.9.140-tegra-ubuntu18.04_aarch64/kernel-4.9' Makefile:12: recipe for target 'modules' failed make: [modules] Error 2

I tried to find somethong about this issue and some information if it may is a NVIDIA TX2 issue but wasn't able to find anything about it.

I would be very happy about every hint, how to install the kernel module in my case. Best regards!

kilianbr commented 4 years ago

I should have read the error message, stupid mistake! Please feel free to delete this issue.