I'm developing on a custom i.MX6Q-Board and we want to use a 2-Channel LPDDR2 configuration with two Micron MT42L128M32D1TK chips (512MB per chip).
But I'm nearly running mad with this because either u-boot shows only the half size of the RAM, crashes at RAM-calculation or doesn't even start. Oh, and I forgot the fourth case: I can even start Linux and everything tells me that the system now has 1GB, but I can't believe that because my system crashes when I test the RAM with
memtester 300 1
I also think this is the reason why I can see the login-screen, but X-Server crashes when I try to login.
Short summary of my environment:
Bootloader: U-Boot 2015.01
Distribution: Debian 8
I hope, the connections between CPU and RAM are OK. I attached the schematic in a pdf-file.
I used the LPDDR2 Script Aid to get a somehow working configuration. I think everything is adjusted correctly, but if I use it the way it is now configured, U-Boot and Linux tell me that there are only 512MB RAM.
I also tried to set "Number of Chip Selects used per Channel" to 2, but this already crashes at boot of u-boot.
The resulting .cfg-file is sie_mx6q_ScriptAid.cfg.
I tried to configure a .cfg-file for U-Boot by my own. With this, the i.MX6 "thinks" it has 1GB of Memory and even boots to Login-Screen, but crashes on memtester (see above).
My own try is in sie_mx6q.cfg.
What am I doing wrong? Or what didn't I understood?
Do you need further information?
Original Attachment has been moved to: sie_mx6q.cfg.zip
Original Attachment has been moved to: sie_mx6q-ScriptAid.cfg.zip