Part Number: TDA4VM
Is there anything that needs to be done different when cross compiling a module for the kernel mentioned above as compared to doing it on Ubuntu-18.04/WSL.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: TDA4VM
Is there anything that needs to be done different when cross compiling a module for the kernel mentioned above as compared to doing it on Ubuntu-18.04/WSL.
Yeah, I get the following:
root@j7-evm:/lib/modules# insmod durationTimer64.ko
insmod: ERROR: could not insert module durationTimer64.ko: Inval[ 78.386047] durationTimer64: disagrees about version of symbol module_layout
id module format
So we found the issue. Normally we compile in Docker. I was compiling outside of Docker and somehow the versions were not matching, I guess. When compiling the module inside docker, the artifacts were getting lost in the ether. We finally fixed M=${PWM} and things started working.
Now:
How hard would it be now to build the module ""in tree"? Do you have documentation on that?
Thanks,
Joe
How hard would it be now to build the module ""in tree"? Do you have documentation on that?
The SDK provides:
make linux --> Compiles kernel and modules
make linux_install --> Installs the compiled modules to filesystem pointed by you to /lib/modules
- Keerthy