uboot 2014 source refer: NXP (Freescale) Public Git
Introuction
U-Boot, the Universal Boot Loader is an open source, boot loader used in embedded devices. It is available for many computer architectures (68k, ARM, AVR32, Blackfin, MicroBlaze, MIPS, Nios, SuperH, PPC and x86).
Boot Console Message
There are many ways to know the uboot architecture better. We will start from the debug message since it is easiler to trace from the source code.
|
|
I. Message trace
1. “U-Boot 2014.04-00008-g2f63f77 (Jul 26 2015 - 17:08:56)”
|
|
|
|
2. “CPU: Freescale …”
Freescale i.MX6DL rev1.2 at 792 MHz”
CPU: Temperature 30 C, calibration data: 0x5a95205f”
Reset cause: POR
|
|
|
|
3. Board: ebx-taurus”
|
|
|
|
4. “I2C: ready”
|
|
|
|
5. “DRAM: 1 GiB”
|
|
|
|
6. “MMC: FSL_SDHC: 0, FSL_SDHC: 1”
|
|
|
|
7. “* Warning - bad CRC, using default environment”
|
|
|
|
8. “No panel detected: … “
No panel detected: default to Hannstar-XGA
Display: Hannstar-XGA (1024x768)
|
|
9. “In: serial …”
In: serial
Out: serial
Err: serial
|
|
10. “Found PFUZE100 deviceid=10,revid=21”
|
|
11. “JEDEC ID: 0xef:0x40:0x17”
|
|
12. “check_and_clean: reg 0, flag_set 0”
|
|
13. “Fastboot: Normal”
|
|
14. “flash target is MMC:0”
|
|
15. “Net: FEC [PRIME]”
|
|
|
|
16. “Normal Boot”
|
|
17. “Hit any key to stop autoboot: 0”
|
|
II. uboot init function list
~: uboot-root-folder
Two important file for uboot init.
|
|