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.

Linux/AM5728: Custom board with 4GB DDR

Part Number: AM5728

Tool/software: Linux

Hi ,

We have a custom board, based on the IDK reference schematic (and a few modifications), that has 4GB DDR. Please can you let me know what file in u-boot would change to allow access to the entire 4GB space. We are using 4 x MUT421K512M16HA. Also, if I have to load some TI-RTOS or bare metal code and debug it, will the existing GEL files work? Do you have GEL files to initialize 4GB DDR?

Would you also have some code to perform a memory test?

Thanks very much.

Regards,

Shaunak

  • Hi Shaunak,

    Please can you let me know what file in u-boot would change to allow access to the entire 4GB space

    You should focus on the lisa_map settings & the ddr/emif timings in board/ti/am57xx/board.c.

    Also, if I have to load some TI-RTOS or bare metal code and debug it, will the existing GEL files work? Do you have GEL files to initialize 4GB DDR?


    As far as I know, there isn't official TI reference design with 4GB DDR. So you may need to modify the GEL files to initialize the whole DDR.
    You could refer to the DRA7xx_ddr_config.gel, which are similar to the AM57xx devices, BUT NOTE THAT you may have different distribution of your ddr chips between the EMIFs. You should use this file JUST as a reference when/if it is necessary to modify your am57xx gel file.

    Best Regards
    Yordan
  • We have 4GB DDR3L in DRA75x TI EVM:

    www.ti.com/.../j6evm5777

    For how to set these 4GB in u-boot, see u-boot/board/ti/dra7xx/evm.c, lisa_map_dra7_2GB

    Regards,
    Pavel
  • Regarding CCS file see:

    ccsv6/ccs_base/emulation/gel/DRA75x_DRA74x/DRA7xx_ddr_config.gel - Support RevG/H with 4GB

    Regards,
    Pavel
  • Thank you Pavel and Yordan for your responses. I'll go through the resources and get back to you either on this or a separate thread.

    Regards,

    Shaunak