Tuesday, July 13, 2010

Raw kernel (zImage) to u-boot bootable kernel (uImage.bin)

With all the configurations done as previously discussed, I was able to successfully compile a zImage. But in order to boot this image using u-boot, I had to convert this raw compressed kernel image to an u-boot bootable kernel image.
This is achieved using mkimage tool that comes with the u-boot. The following was the command used:
mkimage -A arm -O linux -T kernel -C none -a 0x80008000 -e 0x80008000 -n "Puppy Linux"
-d zImage uImage.bin

No comments:

Post a Comment