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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

988 Views
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

Labels (1)
0 Kudos
3 Replies

796 Views
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 Kudos

796 Views
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 Kudos

796 Views
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 Kudos