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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
1,904 Views
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

Labels (1)
1 Solution
1,375 Views
rlach
Contributor II

Hi Yuri, 

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

Best Regards,

Ratha 

View solution in original post

0 Kudos
4 Replies
1,375 Views
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 Kudos
1,375 Views
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 Kudos
1,375 Views
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,376 Views
rlach
Contributor II

Hi Yuri, 

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

Best Regards,

Ratha 

0 Kudos