Code Flow of X-Loader
reset -> start.s
-> boot mode,
relocate uboot to ram(after cpu_crit_init completes)
stack setup
cpu_crit_init
-> Invalidate ITLBs , Icache , BP Array
Disable MMU & Caches (MMU is disable during reset)
lowlevel_init -> platform.s
s_init -> cpu/omap4/cpu.c
mux configuration -> Mux configuration for all the pins
voltage core setup -> set voltages of the voltage domains
sdram init -> configuring the clock , power .. of the memory controller
prcm init -> configure the Main System clock & dpll
_start_armboot ->lib/board.c
init_sequence
cpu_init -> omap revision
set L2 Cache Controller prefetch
Enable data prefetch
Voltage controls
board_init
serial_init
enable_ap_uart -> gpio settings for uart
print_info
nandinfo
Read U-boot from the selected device (size of u-boot -> 0x140000).
start uboot @ 0x80008000...
Nice work , but some more explanation might require
ReplyDelete