This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Custom board AM335x u-boot DDR size

Dear all,

We are developing a custom board based on the AM335x processor. Memory test through JTAG are ok, we modified u-boot to handle our DDR3 RAM Chip (2GB).

After some days of work, linux boot well and our device tree is ready.

However, I've a DDR memory size problem.

U-Boot says :

U-Boot 2014.07 (Feb 16 2015 - 15:35:23)

I2C:   ready
DRAM:  256 MiB
NAND:  0 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1

I don't understand why u-boot only see 256MB RAM instead of 2GB. I spent a lot of time by looking how and where is the ram size defined for the AM335x, without success. If I boot with my SD card on a beaglebone black, U-boot detect 512MB RAM.

So my question is, how to set the board RAM size and be able to use the whole memory !

Thank you in advance for your precious help !

Best regards

Steve