kernel build how to in LTIB

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

kernel build how to in LTIB

935件の閲覧回数
garimella
Contributor I

I could port the linux kernel into MPC8309 custom board. Wish to write applications and also develop device driver. Not able to start it even with read me file. Practical advise will be appreciated.

0 件の賞賛
返信
2 返答(返信)

621件の閲覧回数
garimella
Contributor I

Hi Pavel,

Yes I could do all the porting with the commands recommended by you in LTIB. Having some trouble with developing applications on the kernel. Since 2.6.34 is ported to MPC8309 board, I wish to run some simple applications beginning with hello world to writing some custom device drivers. Where to start. What commands in LITB will assist cross compilation for kernel applications and how to go about writing device drivers in LTIB environment?

0 件の賞賛
返信

621件の閲覧回数
Pavel
NXP Employee
NXP Employee

NXP offers LTIB Linux BSP for the MPC8309KIT and for TWR-MPC8309 boards:

https://www.nxp.com/webapp/Download?colCode=MPC8309-KIT_Linux_BSP&appType=license&location=null&Pare...

and

http://www.nxp.com/webapp/sps/download/license.jsp?colCode=TWRMPC8309_LINUX_BSP&location=null&fsrch=...

Use this LTIB under Ubuntu 10.04 or 12.04.

See also Reference Manuals in these BSP.

Usually the following command sequence is used for kernel building under LTIB.

  1. 1. ./ltib – This command is used for LTIB building

2. ./ltib -m prep -p kernel - This command is used for getting kernel source.
Change the kernel configuration.
 
3. ./ltib -m scbuild -p kernel - This command is used for building the kernel.
 
4. ./ltib -m scdeploy -p kernel - This command provides deploying the kernel.
 
See please the following pages (http://www.bitshrine.org/autodocs/LtibFaq.html).


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信