I'm trying to run a ddr calibration test for an imx6slevk board with 512 MB lpddr2 Dram.
I found a script aid in this link: i.MX6SL LPDDR2 Script Aid however in the comments below, it is mentioned that this scripts is not compatible for 512 Mb Ram.
I tried going through the reference manual and looked at each of the registers mentioned in the .inc file but none of them mention the size.
Can anyone tell me what changes I need to make in the script for 512 MB ram?
I tried booting the board after making changes in the imximage.cfg file but the board doesn't flash beyond u-boot.
These were the logs:
U-Boot 2017.03-imx_v2017.03_4.9.88_2.0.0_ga+gb76bb1b (Sep 26 2019 - 11:25:23 +0530)
CPU: Freescale i.MX6SL rev1.2 996 MHz (running at 792 MHz)
CPU: Commercial temperature grade (0C to 95C) at 43C
Reset cause: POR
Model: Freescale i.MX6 SoloLite EVK Board
Board: MX6SLEVK
DRAM:
Even the DRAM size isn't printing now.
Hi Sujay
>Can anyone tell me what changes I need to make in the script for 512 MB ram?
in script enter number of rows and columns according to lpddr2 datasheet.
Use latest ddr test:
https://community.nxp.com/docs/DOC-105652
For ddr test usage one can look at presentation
DES-N1936 i.MX 6UltraLite DDR Tools Overview and Hardware Design Considerations
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Igor
I used latest stress tester and also entered rows and columns as per datasheet.
But still same issue persists, am I missing anything in u-boot source?
Hi Sujay
one can debug it, adding for example gpio toggle in uboot sources.
Check for example function dram_init():
mx6slevk.c\mx6slevk\freescale\board - uboot-imx - i.MX U-Boot
BTW what is exact memory size 512 MB or 512 Mb, they are both mentioned in post.
Best regards
igor