Differences between zimage and uimage

Source: Internet
Author: User

Zimage:

Vmlinux is the kernel file, and zimage is the default kernel image file compressed by default. It is obtained by compressing vmlinux with a piece of unzipping startup code.

Uimage:

Uimage is produced by using the mkimage tool to process common compressed kernel image files (zimage. It is a uboot-specific image file. It is added with a 64-Byte "Header" before zimage, indicating the kernel version, loading location, generation time, size, and other information. It is no different from zimage after 0x40.

 

With the uimage header description, U-boot will know the corresponding image information. If there is no header, You need to manually set those parameters.

 

How to generate uimage:

Find the mkimage file in the/tools directory of uboot and copy it to the/usr/local/bin directory. Then run make uimage in the kernel directory. If it succeeds, you can find the uimage file in the arch/ARM/boot/directory, which is 64 bytes larger than zimage.

 

Differences between zimage and uimage

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.