This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to create uImage using Yocto build system

Other Parts Discussed in Thread: AM3517

Hi All,

I am working on AM3517 custom board. For that i have created a my own yocto BSP layer and i am using latest kernel 3.13.6. When the  yocto build completes it is generated MLO and u-boot.img and zImage. 

Please let me know how to create uImage instead of zImage using yocto? 

I tried to convert the zImage to uImage using the following command

mkimage -A arm -O linux -T kernel -C gzip -a 80200000 -e 80200000 -n myuImage -d zImage uImage

But uboot is not loading this uImage file, Below is the errors from uboot promt 

Error:

Uncompressing Kernel Image ... Error: Bad gzipped data
GUNZIP: uncompress, out-of-mem or overwrite error - must RESET board to recover

Thanks,

P.Ashok