Hi,
i am getting error in my LTIB. is there a way to create .ko modules without using LTIB???
LTIB error link:https://community.freescale.com/thread/317021
i have build kernel separately. So if i can create modules i will insert it without using LTIB. i need to build for USB_web CAM, v4l and UVC.
Any help is appreciated.
Please read carefully the README in the enclosed example package how to provide stand-alone module cross compilation.
For our case PATH should be set properly for the toolchain, somewhat as following :
PATH=$PATH:/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin
The next command builds the module assuming the module sources and makefile are in current directory.
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
Again, it is assumed that kernel is already prepatched and built after the first LTIB running.
./ltib -m prep -p kernel@
./ltib -m scbuild -p kernel
The next general link regarding module compilation may be useful :