Is the driver part of upstream kernel? if yes, can you please give me the config that enables the driver?
If not, possible to share the location of driver?
Also, how did you compile the driver? If it is not compiled on target, probably you can give that a try.
I compiled it on the tx1 board itself. Compilation went fine but the generated module cannot be loaded, complaining about “unsupported RELA relocation : 275”. I did some research and it “seems” to be an issue between the kernel version and the gcc compiler. If you could confirm this, it would be great and it would definetely help me to find a way to resolve the issue. I will try a more recent version of gcc as soon as i can.
This is not the expected result but I had this issue while compiling the driver. I resolved it by running make modules_prepare in the kernel source directory (/usr/src/linux). This is required to build out of kernel tree modules. The problem occurs after once it is compiled, when loading the module
I’m trying to work with a gigEVision camera for what I need to compile and load a ebUniversalProEthernet kernel to speed up communications with the camera. I’m working with the TX2, kernel version 4.4.38.
I managed to compile the kernel in the same way m.radigue did, with the modules_prepare. But when I try to load the kernel I get the same error he gets:
insmod: ERROR: could not insert module ./<kernel_name>.ko: Invalid module format
Then I looked into the dmesg and had the following: unsupported RELA relocation:275