AnsweredAssumed Answered

LPDDR2 configuration for i.MX6Q with uBoot

Question asked by Benedikt Franz on Sep 26, 2017

Valued i.MX community,


I have a problem with the LPDDR2 configuration on a custom i.MX6Q board with 1 GiB of RAM, using uBoot. I used the LPDDR2 Script Aid (v0.06) to get the correct configuration values for the MMDCs, but uBoot recognises only half the RAM which is on the board. Please see bdinfo.txt (it appears to recognise only one bank). Also, during startup of uBoot, it shows the message: "DRAM:  512 MiB" where it should read 1 GiB. Can you please help me ensure that all the parameters in the Excel sheet are set correctly? Even when uBoot recognises only half the RAM, a mtest performed on the last 64k of RAM makes the system crash...


I have attached a snippet from the schematic for the board which contains the LPDDR2 Chips (which are Micron EDB4432BBBJ) and the RAM controller on the imx6q. Please note that although the schematic contains nets for two chip select lines per channel, only one is used per channel (the LPDDR2 chips have only one CS pin each). So the "Number of Chip Selects used per Channel" should be one, correct?!


The way I use the configuration data generated by the Excel sheet (in the tab is I simply paste it to the .cfg file which uBoot uses as DCD data when I build uBoot.


Any help is appreciated! Thanks a lot!

Original Attachment has been moved to:

Original Attachment has been moved to: