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.

DM8127 IPNC 1G memory configuration

I have modified the memory of DM8127 from 512M to 1G on ipnc rdk 3.8. But there are some errors on the runnung.
The modified steps are as follows:
1. Modify the PHYS_DRAM
#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 0x10000000 /* 256 MB */
#define PHYS_DRAM_1_SIZE 0x20000000 /* 512 MB */
#define PHYS_DRAM_2 0xA0000000 /* DRAM Bank #2 */
//#define PHYS_DRAM_2_SIZE 0x10000000 /* 256 MB */
#define PHYS_DRAM_2_SIZE 0x20000000 /* 512 MB */
2. modify the PG2_1_DMM_LISA_MAP
#define PG2_1_DMM_LISA_MAP__2 0x0 //0x805C0300
#define PG2_1_DMM_LISA_MAP__3 0x806C0300//0xA05C0300
3. modify the memory configure file
var DDR3_ADDR = 0x80000000;
var DDR3_SIZE = 1 * GB;
var DDR3_ADDR_256_REG0_START = 0x80000000;
var DDR3_ADDR_256_REG0_END = 0xA0000000;
var DDR3_ADDR_256_REG1_START = 0xA0000000;
var DDR3_ADDR_256_REG1_END = 0xC0000000;

var OCMC0_ADDR = 0x40300000;
var OCMC1_ADDR = 0x40400000;
var OCMC_SIZE = 256*KB;

/* first 512MB */
var LINUX_SIZE = 80*MB;
var CMEM_SIZE = 48*MB;
var SR1_SIZE = 70*MB;
var VIDEO_M3_CODE_SIZE = 3 * MB;
var VIDEO_M3_DATA_SIZE = 14 * MB;
var DSS_M3_CODE_SIZE = 3*MB;
var DSS_M3_DATA_SIZE = 25*MB;
var DSP_CODE_SIZE = 3*MB;
var DSP_DATA_SIZE = 10*MB;
var TILER_SIZE = 256*MB; /* Reducing this to fix Vid Frame Alloc failures. Need to fix */ /* MUST be aligned on 128MB boundary */

/* second 512MB */
var SR2_FRAME_BUFFER_SIZE = 489*MB;
var SR0_SIZE = 16*MB;
var HDVPSS_DESC_SIZE = 2*MB;
var HDVPSS_SHARED_SIZE = 2*MB;
var NOTIFY_SHARED_SIZE = 2*MB;
var REMOTE_DEBUG_SIZE = 1*MB;

4.modify the cache configuration

/* Config/EDMA registers cache disabled */
Cache.MAR64_95 = 0x00000000;
Cache.MAR96_127 = 0x00000000;
/* cache settings for 1st 512MB DDR */
Cache.MAR128_159 = 0xFFFFFFFF;
/* cache settings for 2nd 512MB DDR */
Cache.MAR160_191 = 0x3FFFFFFF;

The running result is :
[host] Loaded file ../firmware/ipnc_rdk_fw_c6xdsp.xe674 on slave procId 0.

[host] Started slave procId 0.

[host] After Ipc_loadcallback status [0x00000000]
[c6xdsp ] ***** SYSTEM : Frequency <ORG> - 500000000, <NEW> - 500000000
[m3vpss ] 682: SYSTEM: Attaching to [DSP] ...
[c6xdsp ]
[c6xdsp ] *** UTILS: CPU KHz = 500000 Khz ***
[c6xdsp ]
[c6xdsp ] 1: SYSTEM : System Common Init in progress !!!
[c6xdsp ] 1: SYSTEM: IPC init in progress !!!
[c6xdsp ] 1: SYSTEM: Attaching to [HOST] ...
[m3video] 698: SYSTEM: Attaching to [DSP] ...
[c6xdsp ] 51: SYSTEM: Attaching to [HOST] ...
[c6xdsp ] 54: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
[c6xdsp ] 54: SYSTEM: Attaching to [VIDEO-M3] ...

[host] After Ipc_startcallback status [0x00000000]
[m3vpss ] 732: SYSTEM: Attaching to [DSP] ...
[m3video] 748: SYSTEM: Attaching to [DSP] ...
[c6xdsp ] 103: SYSTEM: Attaching to [VIDEO-M3] ...
[m3vpss ] 782: SYSTEM: Attaching to [DSP] ...
[c6xdsp ] 129: SYSTEM: Attaching to [VIDEO-M3] ... SUCCESS !!!
[m3video] 798: SYSTEM: Attaching to [DSP] ...
[c6xdsp ] 129: SYSTEM: Attaching to [VPSS-M3] ...
[m3video] 799: SYSTEM: Attaching to [DSP] ... SUCCESS !!!
[m3video] 799: SYSTEM: Attaching to [VPSS-M3] ...
[m3vpss ] 832: SYSTEM: Attaching to [DSP] ...
[c6xdsp ] 179: SYSTEM: Attaching to [VPSS-M3] ...
[m3video] 848: SYSTEM: Attaching to [VPSS-M3] ...
[c6xdsp ] 214: SYSTEM: Attaching to [VPSS-M3] ... SUCCESS !!!
[m3vpss ] 882: SYSTEM: Attaching to [DSP] ...
[c6xdsp ] 214: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
[m3vpss ] 883: SYSTEM: Attaching to [DSP] ... SUCCESS !!!
[m3vpss ] 883: SYSTEM: Attaching to [VIDEO-M3] ...
[m3video] 898: SYSTEM: Attaching to [VPSS-M3] ...
[m3video] 934: SYSTEM: Attaching to [VPSS-M3] ... SUCCESS !!!
[m3vpss ] 933: SYSTEM: Attaching to [VIDEO-M3] ...
[m3video] 934: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
[m3vpss ] 934: SYSTEM: Attaching to [VIDEO-M3] ... SUCCESS !!!
[m3video] 935: SYSTEM: Creating MsgQ [VIDEO-M3_MSGQ] ...
[m3vpss ] 934: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
[m3video] 935: SYSTEM: Creating MsgQ [VIDEO-M3_ACK_MSGQ] ...
[m3vpss ] 935: SYSTEM: Creating MsgQ [VPSS-M3_MSGQ] ...
[m3vpss ] 935: SYSTEM: Creating MsgQ [VPSS-M3_ACK_MSGQ] ...
[m3video] 937: SYSTEM: Notify register to [HOST] line 0, event 12 ...
[m3vpss ] 937: SYSTEM: Notify register to [HOST] line 0, event 12 ...
[m3video] 937: SYSTEM: Notify register to [DSP] line 0, event 12 ...
[m3vpss ] 937: SYSTEM: Notify register to [DSP] line 0, event 12 ...
[m3video] 938: SYSTEM: Notify register to [VPSS-M3] line 0, event 12 ...
[m3vpss ] 938: SYSTEM: Notify register to [VIDEO-M3] line 0, event 12 ...
[m3video] 938: SYSTEM: IPC init DONE !!!
[m3vpss ] 938: SYSTEM: IPC init DONE !!!
[m3video] 949: MEM: Shared Region 2: Base = 0xa0000000, Length = 0x1e900000 (489 MB)
[m3vpss ] 949: MEM: Shared Region 2: Base = 0xa0000000, Length = 0x1e900000 (489 MB)
[m3video] 949: MEM: Shared Region 1: Base = 0x88000000, Length = 0x04600000 (70 MB)
[m3vpss ] 949: MEM: Shared Region 1: Base = 0x88000000, Length = 0x04600000 (70 MB)
[m3video] 951: SYSTEM : System Common Init Done !!!
[m3vpss ] 951: SYSTEM : System Common Init Done !!!
[c6xdsp ] 313: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
[c6xdsp ] 313: SYSTEM: Creating MsgQ [DSP_MSGQ] ...
[c6xdsp ] 313: SYSTEM: Creating MsgQ [DSP_ACK_MSGQ] ...
[c6xdsp ] 314: SYSTEM: Notify register to [HOST] line 0, event 12 ...
[c6xdsp ] 314: SYSTEM: Notify register to [VIDEO-M3] line 0, event 12 ...
[c6xdsp ] 314: SYSTEM: Notify register to [VPSS-M3] line 0, event 12 ...
[c6xdsp ] 314: SYSTEM: IPC init DONE !!!
[c6xdsp ] 318: MEM: Shared Region 2: Base = 0xa0000000, Length = 0x1e900000 (489 MB)
[c6xdsp ] 318: MEM: Shared Region 1: Base = 0x88000000, Length = 0x04600000 (70 MB)
[c6xdsp ] 318: SYSTEM : System Common Init Done !!!
[c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
[m3video] Remote Debug Shared Memory @ 0xbff05020
[m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
[m3vpss ] Received character 's'
[c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
[m3video] Remote Debug Shared Memory @ 0xbff05020
[m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
[m3video] Received character 's'
[c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
[m3video] Remote Debug Shared Memory @ 0xbff05020
[m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
[c6xdsp ] Received character 's'
[c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
[m3video] Remote Debug Shared Memory @ 0xbff05020
[m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
[c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
[m3video] Remote Debug Shared Memory @ 0xbff05020
[m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
[c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
[m3video] Remote Debug Shared Memory @ 0xbff05020
[m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
[c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
[m3video] Remote Debug Shared Memory @ 0xbff05020
[m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
[m3vpss ] 1350: SYSTEM : System VPSS Init in progress !!!
[m3video] 1351: SYSTEM : System Video Init in progress !!!
[m3video] 1352: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_0] in region 0 ...
[m3video] 1352: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_0] in region 0 ...
[m3video] 1352: SYSTEM: ListElem Shared Addr = 0xbe98b680
[m3video] 1355: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_1] in region 0 ...
[m3video] 1355: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_1] in region 0 ...
[m3video] 1355: SYSTEM: ListElem Shared Addr = 0xbe98eb80
[m3video] 1365: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_29] in region 0 ...
[m3vpss ] 1369: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_0] in region 0 ...
[m3video] 1365: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_29] in region 0 ...
[m3vpss ] 1369: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_0] in region 0 ...
[m3video] 1365: SYSTEM: ListElem Shared Addr = 0xbe992080
[m3vpss ] 1370: SYSTEM: ListElem Shared Addr = 0xbe9c5980
[m3video] 1368: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_30] in region 0 ...
[m3video] 1368: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_30] in region 0 ...
[m3video] 1368: SYSTEM: ListElem Shared Addr = 0xbe9abd00
[m3video] 1370: HDVICP: Doing PRCM for IVAHD[0] ...
[m3video] 1371: HDVICP: PRCM for IVAHD[0] ... DONE.
[m3video] 1371: SYSTEM : Initializing Links !!!
[m3video] 1372: SYSTEM : FREE SPACE : System Heap = 6282072 B, Mbx = 10240 msgs)
[m3vpss ] 1372: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_1] in region 0 ...
[m3vpss ] 1372: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_1] in region 0 ...
[m3video] 1372: SYSTEM : FREE SPACE : SR0 Heap = 15955200 B (15 MB)
[m3vpss ] 1373: SYSTEM: ListElem Shared Addr = 0xbe9c8e80
[c6xdsp ] 717: SYSTEM : System DSP Init in progress !!!
[m3video] 1372: SYSTEM : FREE SPACE : Frame Buffer = 512753536 B (488 MB)
[m3vpss ] 1387: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_24] in region 0 ...
[m3vpss ] 1387: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_24] in region 0 ...
[m3video] 1373: SYSTEM : FREE SPACE : Bitstream Buffer = 73400192 B (69 MB)
[m3vpss ] 1388: SYSTEM: ListElem Shared Addr = 0xbe9cc380
[m3vpss ] 1390: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_25] in region 0 ...
[m3video] 1373: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...
[m3vpss ] 1391: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_25] in region 0 ...
[c6xdsp ] 723: SYSTEM: Creating ListMP [DSP_IPC_OUT_24] in region 0 ...
[m3video] 1374: SYSTEM : FREE SPACE : Tiler 8-bit = 134217728 B (128 MB) - TILER ON
[m3vpss ] 1391: SYSTEM: ListElem Shared Addr = 0xbe9ebd80
[c6xdsp ] 723: SYSTEM: Creating ListMP [DSP_IPC_IN_24] in region 0 ...
[m3video] 1374: SYSTEM : FREE SPACE : Tiler 16-

and then there is no print information on the sreen on the next.

What's wrong with that 1G memory configuration?

In the modification, I use @http://processors.wiki.ti.com/index.php/EZSDK_Memory_Map as the reference, But in IPNC rdk, I could not find the file MemSegmentDefinition.xs, memtbl_cfg.h, and etc.

I do not modify any bootarg, because the Linux memroy,  HDVPSS_DESC_ADDR, HDVPSS_SHARED_ADDR,NOTIFY_SHARED_ADDR, REMOTE_DEBUG_ADDR are the same as 512M memory configuration.