Linux kernel Boot

Source: Internet
Author: User

The Linux kernel has two types of images: a non-compressed kernel, called an image, and a compressed kernel called zimage. Depending on the kernel image, the startup of the Linux kernel is different at the beginning. Zimage is an image that has been formed by compression, so it is smaller than image size. However, before using the Zimage, the extracted code must be added at the beginning of the Zimage, and then it will execute slower than the image. Considering that the embedded system storage space is generally relatively small, the use of zimage can occupy less storage space, so sacrifice a bit of the cost of the performance is also worthwhile, so the general embedded systems are compressed kernel mode.

After the bootloader is started, control over the system boot is transferred to kernel. Kernel boot consists of initializing the kernel, initializing the device driver, booting the kernel, mounting the file system, and initiating the user-space process.

Kernel initialization is the configuration of each hardware device in the chest. Mainly include: Create exception vector table and initialize interrupt processing function, initialize system core process scheduler and clock interrupt processing mechanism; initialize serial console;

To create and initialize the system, the cache provides caching for various memory invocation mechanisms, initializes memory management, detects memory size and memory consumed by the kernel, and initializes the communication mechanism between the system processes.

Linux kernel Boot

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.