U-boot start (1), u-boot start

Source: Internet
Author: User

U-boot start (1), u-boot start

On a PC, the Boot program is generally executed by the BIOS, and then read the Bootloader (for example, LILO or GRUB) in the hard disk located in MBR (Main Boot Record) and then start booting the operating system.

However, in embedded systems, there are usually no firmware programs like BIOS, so the boot of the entire system is completely completed by bootloader. Its main function is to load and boot the kernel image.

U-Boot function:

The kernel Startup Process of U-Boot can be divided into two phases. The functions of these two phases are as follows:

(1) Functions of the first stage (generally implemented by Assembly)

Hardware Device Initialization

Load the second-stage U-Boot code to the RAM Space

Set Stack

Jump to Stage 2 code entry

(2) second-stage functions (generally implemented in C)

Initialize the hardware devices used in this phase

Detect System memory ing

Read the kernel from Flash to RAM

Set startup parameters for the kernel

Call the kernel



(To be continued ,,,)


What is the relationship between U-boot and linux? A detailed description

Basically, it doesn't matter. U-boot also knows that, to put it bluntly, it's like the dostoolbox. It's a simplified Linux system, mainly responsible for hardware initialization and guidance, it has some tools and is often used as a boot program for embedded devices. When the real system starts running, U-boot handed over the management permission.
Linux is a general operating system with multiple Release versions. This is generally the case.
Gao Qiang [authoritative expert]

U-Boot cannot be started due to USB-boot transplantation.

Private Sub commandementclick ()
Picture1.Cls
Picture1.ScaleMode = 0
Picture1.ScaleMode = 3
Picture1.Scale (-1, 12)-(2,-12)
Picture1.Line (-1, 0)-(2, 0), vbBlue
Picture1.Line (0, 10)-(0,-10), vbRed
End Sub

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.