How to rebuild the kernel after some changes in the source code.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to rebuild the kernel after some changes in the source code.

1,024 次查看
SyedRafiulHussa
Contributor II

Hi,

I am new to the kernel programming and also to the iMX53 QSB. I would like to change some part of the kernel and rebuild the image. I would be very much happy if someone could give me some pointer how to do that.

Thanks.

Syed Rafiul Hussain

标签 (1)
0 项奖励
回复
3 回复数

832 次查看
WeiWeiBo
Contributor II

Hi  Florent Auger 

I also met the same problem after some change in the android source code (in order to add some driver rebuild the uImage)

so,, the LTIB is necessary tool in i.MX53QSB when rebuild the kernel?

or any other kind of methods can solve?

thx your help



Florent Auger said:

Hello,

I would suggest you to go through the Linux BSP documentation that you can find here:

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX...

IMX53_QSB_1101_LINUXDOCS_BUNDLE

0 项奖励
回复

832 次查看
FlorentAuger
Contributor V

Hello,

I would suggest you to go through the Linux BSP documentation that you can find here:

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX536&fpsp=1&tab=Documentation_Tab

IMX53_QSB_1101_LINUXDOCS_BUNDLE

0 项奖励
回复

832 次查看
Yuri
NXP Employee
NXP Employee
To get kernel sources (in <LTIB>/rpm/BUILD/) under LTIB : 

./ltib -m prep -p kernel

After changes in kernel sources in order to build the kernel :
 

./ltib -m scbuild -p <package>

To deploy it 

./ltib -m scdeploy -p kernel

The next are useful links :
 

http://www.imxdev.org/wiki/index.php?title=All_Boards_LTIB

http://www.imxdev.org/wiki/index.php?title=All_Boards_Linux

0 项奖励
回复