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

cancel
Showing results for 
Search instead for 
Did you mean: 

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

6,084 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

1,514 Views
Pavel
NXP TechSupport
NXP TechSupport

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

1,514 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