LX2160A boot sequence

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

LX2160A boot sequence

跳至解决方案
1,956 次查看
Nikhiln
Contributor III

Hi,

We are using LX2160A processor in our custom board. Im facing issue in getting the processor to boot stage. Processor is unable to boot HRESET is high, but DDR reset from processor is low. What is the proper boot sequence of LX2160A? When processor starts DDR training?

My understanding is that the Processor loads RCW, then it looks for PBI image. If PBI or PBL image is not present it starts to boot (after RCW loading completion it should start DDR training). Is this correct?

Thanks

Nikhil N

标记 (2)
0 项奖励
回复
1 解答
1,914 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Processor loads RCW and execute commands in PBI image, then executes ATF BL2 image in OCRAM. BL2 initializes DDR controller and copies BL31 to DDR memory and jumps the execution to BL31.

So as normal you should get the output of BL2 on the target board before DDR initialization.

在原帖中查看解决方案

3 回复数
1,915 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Processor loads RCW and execute commands in PBI image, then executes ATF BL2 image in OCRAM. BL2 initializes DDR controller and copies BL31 to DDR memory and jumps the execution to BL31.

So as normal you should get the output of BL2 on the target board before DDR initialization.

1,868 次查看
Nikhiln
Contributor III

I have checked we are not getting any UART prints from UART 1, also no activity in UART 0 is observed. I have few doubts about this.

Does this mean Processor is not executing BL2 image or not reached that stage?

Do we get any output while executing PBI image?

HRESET is going high, this means RCW is correct and it has started executing PBI image, what if there is no PBI commands to execute? does it jump to executing BL2 or what happens?

how can I change the default UART port to UART 1 initially itself?

标记 (1)
0 项奖励
回复
1,853 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to the procedure I just provided in https://community.nxp.com/t5/Layerscape/Unable-to-boot-LX2160A-processor-out-of-PBI-and-DDR-reset-is...

to deploy ATF images on your target board to check whether there is output from the UART.

0 项奖励
回复