Introduction to Start_armboot Functions
(1) This function is very long, uboot/lib_arm/board.c from 444 lines to 908 lines end
(2) This function also calls other functions, why such a long function is not divided into multiple functions, because this function as a whole constitutes the second part of the Uboot start, from a structural point of view, not separate. This does not match the C language function, so it is not followed.
(3) Uboot The second stage will do what kind of things, the first phase of Uboot has initialized some parts of the SOC, and then initialize the DDR and to complete the relocation, then the second phase will initialize the hardware is not initialized, mainly external hardware, such as Inand, Nic Chip, And so on a series of things, there are some commands of uboot itself, environment variables and so on. After the final initialization of the necessary things, enter the Uboot command line to prepare to accept the command.
①
Uboot Launch Phase II