Creating Modules

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Creating Modules

998件の閲覧回数
vishvapathi
Contributor V

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.

DaianeAngolini

LeonardoSandovalGonzalez

YuriMuhin_ng

ラベル(2)
0 件の賞賛
返信
1 返信

830件の閲覧回数
Yuri
NXP Employee
NXP Employee

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 :

http://tldp.org/LDP/lkmpg/2.6/html/index.html

0 件の賞賛
返信