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 2G DDR

hi, all!

I can boot 8168(1G) sucess,  now ddr is 2G ,  what can i  modify uboot-code ?

Thank you! 

  • Hello,

    You could check these topics:

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/300680
    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/p/273238/955231
    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/290904

    Best Regards,
    Margarita
  • Hi Tian,

    See the below wiki page:

    In the default uboot program ( in file $(EZSDK_ROOT)/board-support/u-boot-<REL-TAG>/board/<ti8168 or ti8148>/ti/evm.c), 2GB physical memory is mapped using register 3 and 4. Register 1 and 2 are unused.

               System Address 0x80000000 is mapped to physical address 0x00000000

               System Address 0xC0000000 is mapped to physical address 0x20000000

       Following code programs the LISA registers for 2GB physical memory (default configuration).

           /* Program the DMM to for 2 GB (interleaved) configuration */

           __raw_writel(0x0, DMM_LISA_MAP__0); /* Register 0 is unused */

           __raw_writel(0x0, DMM_LISA_MAP__1); /* Register 1 is unused */

           __raw_writel(0x80640300, DMM_LISA_MAP__2); /* Register 2 maps 0x80000000 to 0x00000000, length 1GB */

           __raw_writel(0xC0640320, DMM_LISA_MAP__3); /* Register 3 maps 0xC0000000 to 0x20000000, length 1GB */

    See also the below u-boot patch:

    This patch switch from 2G to 1G. You should revert this patch to switch back to 2G.

    Best regards,
    Pavel