Tool/software: Linux
Hi
Team
As I am trying to analyze eeprom driver code at24.c
I have taken the source code from the the following link
https://eewiki.net/display/linuxonarm/BeagleBone+Black
I am able to succesfully boot the board and as a next step I am trying to insert the kernel module
I have taken the driver file at24.c of eeprom and added to seprate folder and have compiled using make file an i am confident that i have given the correct cross compiler path linarao and i have generated
the .ko
I have copied the .ko file on my beagle bone black am335x and when i try doing
insmod at24.ko
I get error invalid format
INSMOD:EEROR AT24.KO INVALID FORMAT
Not sure ehats wrong i have used the cross compiler that is downloaded from the link
Kindly let me knw what could be going wrong i adding the library modules!
Thank you
Deepak R