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/AM3352: DDR configuration in Processor SDK

Part Number: AM3352

Tool/software: Linux

Hi Sir,

My customer built a custom am3352 board and designed in Samsung K4B2G1646F-BMK0 DDR3-DRAM.

I have completed the DDR3 software leveling and got the OPTIMUM numbers.

I'm following the procedure as processors.wiki.ti.com/.../Sitara_Linux_Training:_Tuning_the_DDR3_Timings_on_BeagleBoneBlack

When I want to follow the Lab Steps, I figure out some problems.

a. I can't find out s_init function in Board.c file which folder locate in board/ti/am335x/

b. When I open ddr_defs.h which locate in arch/arm/include/asm/arch-am33xx/, I can't figure out samsung part list into the file. Should I create a new name as K4B2G1646F-BMK0?

c. If I create a new name, how to implement the DDR3 structure into the board? I figure out the am33xx_spl_board_init function don't locate around line '306'

I think the wiki don't update new information. Where can I get the latest tuning procedure?

I attached my tuning result for your reference.

Please give me some ideas.

Regards,

David

  • Here is my configuration files and log.

    Please refer it if you need.

    DDR3_configuration.tar.gz

  • Hi David,

    The wiki page Sitara Linux Training: Tuning the DDR3 Timings on BeagleBoneBlack which you are follow is not updated but you should search for void sdram_init(void) instead of s_init in the same file board/ti/am335x/board.c.
    If there is no defined K4B2G1646F-BMK0 related configuration in macros you can create such configuration as it is do for similar DDR memories. See K4B2G1646EBIH9 related configuration for example. You should use the Samsung K4B2G1646F-BMK0 DDR3-DRAM datasheet to get the proper values for all settings.
    Also look at the structures related to MT41K256M16HA125E configuration and use them as reference.

    BR
    Tsvetolin Shulev