u-boot source code flow for LS2085A QDS Board

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

u-boot source code flow for LS2085A QDS Board

1,963 次查看
naveennvn
Contributor III

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.

标签 (1)
标记 (2)
0 项奖励
回复
2 回复数

1,444 次查看
yipingwang
NXP TechSupport
NXP TechSupport

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!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

1,444 次查看
naveennvn
Contributor III

Hi Yiping,

          Now i got the U-boot source code flow. Thanks for your great support.

Thanks,

Naveen

0 项奖励
回复