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.

dm8168 ddr3 use in u-boot_40010.

We plan only use 1 ddr3 controller(4 pcs of ddr3 chip instead of 8 pcs). Do we need reconfigure it in u-boot or just modify the header of u-boot bin file.

I have modify USE_EMIF1, CONFIG_TI816X_TWO_EMIF and CONFIG_NR_DRAM_BANKS in u-boot, and it can not bootup. Could anyone help me? Thanks.

  •  Dear Deng,

     You can modify u-boot source to reconfigure to use one DDR controller. Please follow the below steps

    1. Modify the macro USE_EMIF1 value to 0 in the file "arch/arm/include/asm/arch-ti81xx/ddr_defs_ti816x.h"     

    2.  Modify the macro CONFIG_TI816X_TWO_EMIF value to 0 in the file "include/configs/ti8168_evm.h"

    3.  Reconfigure the DMM_LISA_MAP_0/4  in  the file "include/configs/ti8168_evm.h"  give bellow is as example of 1G contiguous non-interleaved configuration

            __raw_writel(0x0, DMM_LISA_MAP__0);
            __raw_writel(0x0, DMM_LISA_MAP__1);
            __raw_writel(0x0, DMM_LISA_MAP__2);
            __raw_writel(0x80600100, DMM_LISA_MAP__3); /* 1G contiguous non-interleaved configuration   */

     

    Regards,

    Deepu Raj