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.

DM8148 2GB DDR



Hello TI,

I have custom board of DM8148 with 2GB of DDR, I can see that uboot has detected 2GB off DDR ram, but when I give mem=1024M@0xC0000000 In bootargs, the kernel booting fails(linux hangs after uncompressing the image), I can see it only detects only 1GB, of RAM are there any changes to be done in linux side to detect the changes ?

Thanks and Regards,

Mike

  • Hello,

    You could check these topics also:

    BR

    Margarita

  • Hello,

    My uboot does detect 2gb of ddr ram, following is the log:

    DRAM:  2 GiB
    DCACHE:  Off
    MMC:   OMAP SD/MMC: 0
    Using default environment

    Hit any key to stop autoboot:  0
    reading u-boot.bin

    But the linux kernel does not detect the 2GB are there are any changes in the linux kernel to be done to detect 2GB ?

    Thanks And Regards,

    Mike

  • Hello,

    I have DDR3 (mt41k256M16HA) 16*8 banks,

    My settings are:
    /*
    * TI814X PG1.0 DMM LISA MAPPING
    * Two 256MB sections with 128-byte interleaved(hole in b/w)
    */
    #define PG1_0_DMM_LISA_MAP__0 0x0
    #define PG1_0_DMM_LISA_MAP__1 0x0
    #define PG1_0_DMM_LISA_MAP__2 0x80440300
    #define PG1_0_DMM_LISA_MAP__3 0xC0440300

    /**
    * Physical Memory Map
    */
    #define CONFIG_NR_DRAM_BANKS 2 /* we have 2 banks of DRAM */
    #define PHYS_DRAM_1 0x80000000 /* DRAM Bank #1 */
    #define PHYS_DRAM_1_SIZE 0x40000000 /* 1 GB */
    #define PHYS_DRAM_2 0xC0000000 /* DRAM Bank #2 */
    #define PHYS_DRAM_2_SIZE 0x40000000 /* 1GB*/

    Are these settings correct ?

    Thanks And Regards,
    Mike
  • /*
    * TI814X PG2.1 DMM LISA MAPPING
    * 1G contiguous section with 128-byte interleaving
    */
    #define PG2_1_DMM_LISA_MAP__0 0x0
    #define PG2_1_DMM_LISA_MAP__1 0x0
    #define PG2_1_DMM_LISA_MAP__2 0x0
    #define PG2_1_DMM_LISA_MAP__3 0x80640300

    My bad above defs are used for ddr3.

    I have 2 ddr3 banks, What are the LISA_MAP configs to be updated to mention it as 2GB ?

    Any help appreciated.

    Thanks And Regards,
    Mike

  • Hello,

    You need to update the following registers:

    #define PG2_1_DMM_LISA_MAP__2 0x80640300
    #define PG2_1_DMM_LISA_MAP__3 0xC0640320

    Cheers,
    --Prabhakar Lad
  • Hi,

    I did try this, and set mem=1024M@0xC0000000 in bootargs this doesnt work, although setting mem=960M@0xC0000000 works.

    Can anyone point me to why it doesn’t take entire 1GB ?

    Thanks And Regards,
    Mike