i.mx8mq with 4GB RAM boot error found for upper 32bits

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

i.mx8mq with 4GB RAM boot error found for upper 32bits

跳至解决方案
1,969 次查看
rlach
Contributor II

Hi,

We want to customize the board based on i.mx8mq with LPDDR4 4GB but it failed to boot with 4GB configuration in u-boot.

Here are the codes that we updated:

In this header file: uboot-imx/include/configs/imx8mq_evk.h

Changed from #define PHYS_SDRAM_SIZE 0xC0000000 to #define PHYS_SDRAM_SIZE 0x100000000

And in this folder: uboot-imx/board/freescale/imx8mq_evk/ddr

Replaced ddr_init.c and ddrphy_train.c by files generated from MSCALE DDR Tool for 4GB RAM.  

It would be appreciated if you could give some idea about anywhere else to update.

Note: It worked fine with 2GB RAM.

Best Regards,

Ratha

标签 (1)
1 解答
1,440 次查看
rlach
Contributor II

Hi Yuri, 

Thanks for your reply. I'll try to use new U-boot. 

Best Regards,

Ratha 

在原帖中查看解决方案

0 项奖励
4 回复数
1,440 次查看
Yuri
NXP Employee
NXP Employee

Hello,

  Have You tested memory parameters with the memory test?

https://community.nxp.com/docs/DOC-340179 

 

Have a great day,

Yuri

 

 

-------------------------------------------------------------------------------

Note:

- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored

Please open a new thread and refer to the closed one, if you have a related question at a later point in time.

0 项奖励
1,440 次查看
rlach
Contributor II

Hi, 

Yes, I have tested memory parameters with DDR Tool. Actually, I searched and found some topics related to this issue in order to support 4GB DRAM. Maybe it is caused by using old version of Kernel. Is it possible to make old version of Kernel work with 4GB DRAM?  

Best Regards,

Ratha  

0 项奖励
1,440 次查看
Yuri
NXP Employee
NXP Employee

Hello,

  generally "MSCALE_DDR_Tool_User_Guide.pdf", Chapter 4 (How to bring up a new

MX8MSCALE board) describes how generate DDR initial code.

Files ddr_init.c and ddrphy_train.c are used with old version of u-boot;

lpddr4_timing.c - for new U-boot.

Regards,

Yuri.

1,441 次查看
rlach
Contributor II

Hi Yuri, 

Thanks for your reply. I'll try to use new U-boot. 

Best Regards,

Ratha 

0 项奖励