NXP LS1046ARDB Bringup through CodeWarrior studio U-Boot hang on DDR

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

NXP LS1046ARDB Bringup through CodeWarrior studio U-Boot hang on DDR

871 次查看
Rinke
Contributor II

Hi,

 

I am in the process of trying to learn bringing up a new board. I have a LS1046ARDB board and another LS1046 custom board. For both I have working files etc. But im going through the process to learn it. 

I am able to use CodeWarrior studio to create DDR initialization files etc. Using the ARMv8_Targeting_Manual.pdf and AN12081 im getting pretty far. I am have copied over the DDR intialization files to a new c++ hello world project. Which i can run on both boards. When I follow the instructions and write U-Boot into memory I can release the core and start U-Boot. But U-Boot hangs on DDR initialization. I am unable to get any further then this. I have tried to remove/uncomment some of the U-Boot code for initializing DDR, but this doesnt really fix anything. Any help to this? 

Thanks

Rinke_0-1734552840053.png

 

0 项奖励
回复
1 回复

836 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please build u-boot without option "CONFIG_TFABOOT".

In u-boot source file board/freescale/ls1046ardb/ddr.c, please modify fsl_initdram definition as the following.

int fsl_initdram(void)
{
gd->ram_size = 0x400000000;

return 0;
}

0 项奖励
回复