Hi All,
I'm working on the Freescale Layerscape Processor (LS2085A QDS) Board. I just want to know the u-boot source code flow in the Layerscape2-SDK-20150515-yocto SDK. If anybody has already worked on this, please help me out.
Thanks..
Naveen.
Hello naveennvn,
Please check whether the following information would be helpful for you.
LS2085 CPU
_start : arch/arm/cpu/armv8/start.S, setup exception vector table and each handler.
reset : Setup SCR_EL3=NS|IRQ|FIQ|EA; Initialize CNTFRQ; Enable FP/SIMD; Apply core errata.
lowlevel_init:
ccn504_set_qos: Configure CoreLink CCN-504, Cache Coherent Network
gic_init_secure:
gic_init_secure_percpu: Configure GIC-500
secondary_boot_func: Bootup secondary core
lowlevel_int: Return to reset
reset:
Board side:
_main:
board_init_f: Initialize hardware in flash DDR4
relocate_code: Setup C environment and run in RAM. Copy u-boot code/initialized data to RAM;Setup stack pointer;Clear bss
board_init_r: Initialize hardware in RAM, Flash initialization, init environment, PEX initialization, Console initialize, Enable Ethernet.
Main_loop
_main
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Yiping,
Now i got the U-boot source code flow. Thanks for your great support.
Thanks,
Naveen