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.

DDR Size changes in U-boot level in Custom K2E board

Hi Sir/Madam


We are working on a custom K2E board using EVMK2E Evaluation Module as reference.

There is a DDR changes in our custom board

1. DDR3 is 2GB whereas in EVMK2E is a 4GB DDR3 memory

So I am starting to work on DDR changes now U-boot level

Can you guys help me in guiding, "what and all changes is required to do the necessary changes and where we can do that exactly"

As i am running out of time I can't able to look into the complete code.

I saw some u-boot coding flow but I didnt know where to change the size, row, column and whatever the other changes is needed.

Thanks & Regards

Sarjoon.

  • Hi Sarjoon,

    The uboot DDR memory size is defined by the CONFIG_MAX_RAM_BANK_SIZE macro. See board file dram_init function.
    In other hand the CONFIG_MAX_RAM_BANK_SIZE macro is defined as: #define CONFIG_MAX_RAM_BANK_SIZE (2 << 30) /* 2GB */
    You should change it according your memory size.

    BR
    Tsvetolin Shulev
  • Hi Tsvetolin Shulev,


    Thanks for the reply I found the place and I can change it.

    One more question I need to ask is, Is this the only change that need to be done ??

    As I said DDR3 in our custom DDR3 is 2GB whereas in K2E its 4GB.

    So changing the size alone is enough or some other configuration changes is required.

    Generally I heard from ppl that there is a ROW, COLUMN change in DDR3 config, whether any thing like that ROW,COLUMN is there to change ??

    Sorry, I didn't know that DDR3 memory architecture of Keystone II so got this doubt

    Please clarify me on this.

    Thanks & Regards,

    Sarjoon.