Im a student from Germany, i want to add some kernel modules to the existing kernel from the Jetpack. I tried the tutorial from elinux http://elinux.org/Jetson/Tutorials/Program_An_Arduino.
i get an error from modprobe:
modprobe: ERROR: could not insert 'ftdi_sio': Exec format error
modprobe -f shows the same error.
i compiled the newest source 3.10.40 and add the ftdi as module.
the command make module shows a warning:
WARNING: Symbol version dump /home/ubuntu/L4T_Kernel_R21.3/kernel/Module.symvers
is missing; modules will have no dependencies and modversions.
This ānewest sourceā for the kernelā¦I assume it is the one that is available with R21.3 on its download page (versus something from git). Is this correct?
Also, was this configured with a working /proc/config.gz prior to adding the ftdi module? Was the entire kernel installed separate from the default R21.3 install, or just the module?
I use the kernels source from: [url]https://developer.nvidia.com/linux-tegra-r213[/url] Kernel version 3.10.40 there are two different versions available on the website!
The board is flashed with the Jetpack; I used the config.gz from the jetson root fs. I think this should work. Only the module is newly installed.
The version from the web link provided, label āKernel sources [sha1sum:34ae773bf3a32aceb9bef4ce05cda852fea15cbf]ā, is correct. However, there is one minor config detail often overlooked when using /proc/config.gz. Thatās the ālocal versionā. The /proc/config.gz will be a perfect start point for kernel build, except for that one setting. If CONFIG_LOCAL_VERSION is not set to the working āuname -rā (with an added left hyphen), versioning might break.
i solved the problem, the modinfo shows only version 3.10.40. I had to add ā-gc017b03ā in the .config file. Next step I write a tutorial an post it.
The other method is make with label āKERNELVERSIONā instead of modify .config as below. It should be workable.
āmake modules KERNELVERSION=3.10.40-gc017b03ā