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