how to generat kernel.itb file with kernel Image & kernel.dtb files

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

how to generat kernel.itb file with kernel Image & kernel.dtb files

10,204 Views
srinivasreddyre
Contributor III

I am working on  NXP board Model: LS1012A RDB Board, RevB  and I was able to boot LS1012ARB from the SD card with yocto build. But for my further development, I am using buildroot and build the buildroot to get my board image (uboot, Image and rootfs in output/image ). But to boot the LS1012ARDB board, I need the kenel.itb file (with Image + kenel.dtb file).  So could any one, let me know the procedure, to generate kenel.itb file with kernel Image + kernel.dtb files.

2 Replies

5,634 Views
Pavel
NXP Employee
NXP Employee

Look at the following pages:

http://code.metager.de/source/xref/denx/u-boot/doc/uImage.FIT/howto.txt

and

http://manpages.ubuntu.com/manpages/xenial/man1/mkimage.1.html

 

Use the following command:

mkimage -f kernel.its kernel.itb


Have a great day,

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

0 Kudos
Reply

5,634 Views
srinivasreddyre
Contributor III

Thanks for your inputs.. I was able to generate kernel-ls1012a-rdb.itb and

boot LS1012ARDB with this image..

Procedure to generate kernel-ls1012a-rdb.itb

1. Enable and build to get mkimage and dtc tools

2. Add above tools paths to PATH variable

3. execute $mkimage -f kernel-ls1012a-rdb.its kernel-ls1012a-rdb.itb

0 Kudos
Reply