i.MX6 DDR Stress Test Tool V2.70 from U-BOOT

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

i.MX6 DDR Stress Test Tool V2.70 from U-BOOT

1,858 Views
Kazuma_Sasaki
Senior Contributor I

Hi Community,

 

Our target board does not have USB port. therefore, I am investigating method of DDR stress test tool from U-BOOT.

 

I have done DDR stress test tool with SABRE AI (i.MX6Q) board to confirm usage of this tool.

I suppose DDR stress test tool is almost working well. But, I found different result from both log files.

 

When I execute DDR stress test tool from U-BOOT, write leveling calibration worked by fixed setting as following log.

Is it okay? or, my procedures somethings wrong?

 

<test procedure>

1. Input Enter key to stop boot sequence.

2. Input following command to U-BOOT prompt to invoke tool.

=> dcache off

=> icache off

=> fatload mmc 1:1 0x00907000 ddr-test-uboot-jtag-mx6dq.bin

=> go 0x00907000

 

<From ddr_calibration_log_by_uboot.log>

Start write leveling calibration...
running Write level HW calibration
Write leveling calibration completed, update the following registers in your initialization script
    MMDC_MPWLDECTRL0 ch0 (0x021b080c) = 0x001F001F
    MMDC_MPWLDECTRL1 ch0 (0x021b0810) = 0x001F001F
    MMDC_MPWLDECTRL0 ch1 (0x021b480c) = 0x001F001F
    MMDC_MPWLDECTRL1 ch1 (0x021b4810) = 0x001F001F
Write DQS delay result:
   Write DQS0 delay: 31/256 CK
   Write DQS1 delay: 31/256 CK
   Write DQS2 delay: 31/256 CK
   Write DQS3 delay: 31/256 CK
   Write DQS4 delay: 31/256 CK
   Write DQS5 delay: 31/256 CK
   Write DQS6 delay: 31/256 CK
   Write DQS7 delay: 31/256 CK

 

<Regarding attached files>

a) ddr_calibration_20170904-20'28'3.log -> this log file got from GUI tool(DDR_Tester.exe).

b) ddr_calibration_log_by_uboot.log -> this log file got from U-BOOT tool(ddr-test-uboot-jtag-mx6dq.bin).

 

Best Regards,

Kazuma Sasaki.

Original Attachment has been moved to: ddr_calibration_log_by_uboot.log.zip

Original Attachment has been moved to: ddr_calibration_20170904-20'28'3.log.zip

Labels (1)
0 Kudos
3 Replies

967 Views
Yuri
NXP Employee
NXP Employee

Hello,

   Please check if the results of both tools (GUI and U-boot) are reproducible.

Difference between results may be observed because of different  memory initialization.

I hope the following threads help to clarify the issue :

DDR3 calibration tool write leveling issue 

imx6dl - ddr3 issues. 

DDR calibration on Imx6 

DDR3 calibration for i.MX6 

https://community.nxp.com/message/921930 

Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

967 Views
Kazuma_Sasaki
Senior Contributor I

Hello Yuri,


I appreciate your support.

How do we change initialization settings of DDR via U-BOOT tool?

When I use GUI tool, I can change initialization settings as script file.

e.g. MX6Q_SabreSD_DDR3_1GB_64bit.inc

Best Regards,

Kazuma Sasaki.

0 Kudos

967 Views
Yuri
NXP Employee
NXP Employee

Hello,

  If it is possible to get and test memory initialization parameters with GUI tool,

please use them. As for U-boot memory initialization - it is implemented in the DCD

table. You may look at U-boot chapter in "i.MX_BSP_Porting_Guide.pdf" for more 
details.

http://www.nxp.com/webapp/Download?colCode=L4.1.15_2.1.0_LINUX_DOCS&Parent_nodeId=133769948107170617... 

Regards,

Yuri.

0 Kudos