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.

PROCESSOR-SDK-AM335X: Build .ko file for at24.c driver

Part Number: PROCESSOR-SDK-AM335X

Hii,

I want to build .ko file for at24.c driver to access eeprom memroy chip. I am trying to build but not happening from SDK v04.

And now  I forgot where I put at24.o file to generate .ko file.

And In SDK v08,  Previously I did .ko file but I am trying to load to access eeprom memory chip but it is not happening.

I have attached what I am getting when I am trying to load at24.ko file.I hav built through SDK v08.

root@am335x-evm:/home# insmod at24.ko
[ 9571.128720] at24: disagrees about version of symbol module_layout
insmod: ERROR: could not insert module at24.ko: Invalid module format

Regards

Niraj Kumar