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/TCI6630K2L: K2l DDR3L Interfacing

Part Number: TCI6630K2L


Tool/software: Linux

Hi ,

I am trying to interface 4GB DDR3L(AS4C1G8MD3L) RAM to K2L.There is a issue in DDR initialization from UBoot.

If  K2L EVM  configurations are used ( EMIF Configuration  register=0x21010000 ,data base address =0x8000 0000 and phy and control registers as used in EVM) then 2GB RAM is usable without any issues.

If Phy and control registers are changed according to newer 4GB DDR configuration, DDR  initialization fails . I am using KeyStone-II DDR3 Register Calculation tool to generate register configurations.

In  K2L  TRM there are two DDR3A EMIF Configuration  registers at 0x21010000   and 0x121010000 and two Data base address registers at  0x8000 0000(2GB space) and 0x8 0000 0000(8GB).

Which DDR3A EMIF Configuration  register should be used ?

I have tried using both the DDR3A EMIF Configuration  registers , behavior  remains same.

If   0x8000 0000  data base address is used then DDR  is out of reset and DDR3 clock is generated but stops in get_ram_size function when it tries to access to DDR  memory.

U-Boot 2013.01 (Feb 08 2019 - 16:46:29)
I2C:   ready

If   0x8 0000 0000  data base address is used then DDR3 clock is not generated but it proceeds further and stops at reset_ddr_data function.

U-Boot 2013.01 (Feb 08 2019 - 16:48:44)
I2C:   ready
Reseting entire DDR3 memory to 0 ...

 

Suggestions would be helpful.

Regards,

sandeep