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.

DVRRDK 4.0 problem

Hi

I am trying to upgrade from DVRRDK_2.0 to DVRRDK_4.0 on our customized DM8168 platform.(env_1024_256)

run: init.sh

all is ok.

but when i run :load.sh   Hold on!

the log is like:

==========================BEGIN=============================

root@dm816x:/opt/dvr_rdk/ti816x# ./load.sh
Attached to slave procId 2.
Loaded file ../firmware/dvr_rdk_fw_m3vpss_1024M_256M.xem3 on slave procId 2.
Started slave procId 2.
After Ipc_loadcallback status [0x00000000]
 [m3vpss ] ***** VPSS Firmware build time 22:08:00 Sep 26 2013  EDG gcc 3.0 mode
 [m3vpss ] ***** SYSTEM  : Frequency <ORG> - 250000000, <NEW> - 279999968
 [m3vpss ] notify_attach  rtnVal  0
 [m3vpss ] initProxyServer  rtnVal  0
 [m3vpss ] 
After Ipc_startcallback status [0x00000000]
 [m3vpss ]  *** UTILS: CPU KHz = 559999 Khz ***
 [m3vpss ] 
 [m3vpss ]  35: SYSTEM: IPC init in progress !!!
 [m3vpss ]  35: SYSTEM: Attaching to [HOST] ...
 [m3vpss ]  38: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
Attached to slave procId 1.
 [m3vpss ]  1037: SYSTEM: Attaching to [DSP] ...
 [m3vpss ]  2037: SYSTEM: Attaching to [DSP] ...
 [m3vpss ]  3037: SYSTEM: Attaching to [DSP] ...
Loaded file ../firmware/dvr_rdk_fw_m3video_1024M_256M.xem3 on slave procId 1.
Started slave procId 1.
After Ipc_loadcallback status [0x00000000]
After Ipc_startcallback status [0x00000000]
 [m3video] ***** VIDEO Firmware build time 22:09:20 Sep 26 2013  EDG gcc 3.0 mode
 [m3video] ***** SYSTEM  : Frequency <ORG> - 250000000, <NEW> - 50000000
 [m3video] 
 [m3video]  *** UTILS: CPU KHz = 100000 Khz ***
 [m3video] 
 [m3video]  21166: SYSTEM: IPC init in progress !!!
 [m3video]  21166: SYSTEM: Attaching to [HOST] ...
 [m3video]  21180: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
Attached to slave procId 0.
 [m3video]  22180: SYSTEM: Attaching to [DSP] ...
 [m3vpss ]  4037: SYSTEM: Attaching to [DSP] ...
 [m3video]  23180: SYSTEM: Attaching to [DSP] ...
 [m3video]  24180: SYSTEM: Attaching to [DSP] ...
 [m3video]  25180: SYSTEM: Attaching to [DSP] ...
 [m3vpss ]  5037: SYSTEM: Attaching to [DSP] ...
 [m3video]  26180: SYSTEM: Attaching to [DSP] ...
 [m3video]  27180: SYSTEM: Attaching to [DSP] ...
 [m3video]  28180: SYSTEM: Attaching to [DSP] ...
 [m3video]  29180: SYSTEM: Attaching to [DSP] ...
 [m3video]  30180: SYSTEM: Attaching to [DSP] ...
 [m3video]  31180: SYSTEM: Attaching to [DSP] ...
Loaded file ../firmware/dvr_rdk_fw_c6xdsp_1024M_256M.xe674 on slave procId 0.
Started slave procId 0.
After Ipc_loadcallback status [0x00000000]
 [c6xdsp ] ***** VIDEO Firmware build time 22:03:09 Sep 26 2013  EDG gcc 3.0 mode
 [c6xdsp ] ***** SYSTEM  : Frequency <ORG> - 800000000, <NEW> - 813176448
 [c6xdsp ] 
 [c6xdsp ]  *** UTILS: CPU KHz = 813176 Khz ***
 [c6xdsp ] 
 [c6xdsp ]  5: SYSTEM: IPC init in progress !!!
 [c6xdsp ]  5: SYSTEM: Attaching to [HOST] ...
 [c6xdsp ]  9: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
After Ipc_startcallback status [0x00000000]
 [c6xdsp ]  10: SYSTEM: Attaching to [VIDEO-M3] ... SUCCESS !!!
 [m3video]  32137: SYSTEM: Attaching to [DSP] ... SUCCESS !!!
 [m3vpss ]  5740: SYSTEM: ADMA: Module install successful, device major num = 251
ttaching to [DSPDRV: Module install successful
] ... SUCCESS !!DRV: Module built on Sep 26 2013 21:46:27
!
 [c6xdsp ]  11: SYSTEM: Attaching to [VPSS-M3] ... SUCCESS !!!
 [m3video]  32152: SYSTEM: Attaching to [VPSS-M3] ... SUCCESS !!!
 [m3vpss ]  5741: SYSTEM: Attaching to [VIDEO-M3] ... SUCCESS !!!
 [c6xdsp ]  11: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP_0] ...
 [m3video]  Huanyiiiiiiiiiiiiiiiiiiii System_ipcIntraDucatiSrOpen
 [m3video]  32153: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP_1] ...
 [m3vpss ]  Huanyiiiiiiiiiiiiiiiiiiii System_ipcIntraDucatiSrOpen
 [m3vpss ]  5741: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP_2] ...
 [c6xdsp ]  11: SYSTEM: Creating MsgQ [DSP_MSGQ] ...
 [m3video]  32155: SYSTEM: Creating MsgQ [VIDEO-M3_MSGQ] ...
 [m3vpss ]  5741: SYSTEM: Creating MsgQ [VPSS-M3_MSGQ] ...
 [c6xdsp ]  11: SYSTEM: Creating MsgQ [DSP_ACK_MSGQ] ...
 [m3video]  32156: SYSTEM: Creating MsgQ [VIDEO-M3_ACK_MSGQ] ...
 [m3vpss ]  5742: SYSTEM: Creating MsgQ [VPSS-M3_ACK_MSGQ] ...
 [c6xdsp ]  12: SYSTEM: Notify register to [HOST] line 0, event 15 ...
 [m3video]  32165: SYSTEM: Notify register to [HOST] line 0, event 15 ...
 [m3vpss ]  5743: SYSTEM: Notify register to [HOST] line 0, event 15 ...
 [c6xdsp ]  12: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ...
 [m3video]  32166: SYSTEM: Notify register to [DSP] line 0, event 15 ...
 [m3vpss ]  5743: SYSTEM: Notify register to [DSP] line 0, event 15 ...
 [c6xdsp ]  12: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ...
 [m3video]  32166: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ...
 [m3vpss ]  5744: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ...
 [c6xdsp ]  12: SYSTEM: IPC init DONE !!!
 [m3video]  32167: SYSTEM: IPC init DONE !!!
 [m3vpss ]  5744: SYSTEM: IPC init DONE !!!
 [c6xdsp ]  14: MEM: Shared Region i=0,2: Base = 0xae000000, Length = 0x10900000 (265 MB) 
 [c6xdsp ]  14: MEM: ERROR: SharedRegion_setEntry (2, 0x9ffa7bbc) FAILED !!!  (status=-1) 
 [m3video]  32199: MEM: Shared Region i=0,2: Base = 0xae000000, Length = 0x10900000 (265 MB) 
 [m3vpss ]  5749: MEM: Shared Region i=0,2: Base = 0xae000000, Length = 0x10900000 (265 MB)
 [m3video]  32201: MEM: Shared Region i=1,1: Base = 0x90000000, Length = 0x0c600000 (198 MB)
 [m3vpss ]  5749: MEM: Shared Region i=1,1: Base = 0x90000000, Length = 0x0c600000 (198 MB)
 [ [m3video]  32214: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_0] in region 0 ...
 [m3vpss ] === HDVPSS Clocks are enabled ===
 [m3video]  32215: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_0] in region 0 ...
 [m3vpss ] === HDVPSS is fully functional ===
 [m3video]  32216: SYSTEM: ListElem Shared Addr = 0xbf273e00
 [m3vpss ] === HDVPSS module is not in standby ===
 [m3video]  32228: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_1] in region 0 ...
 [m3video]  32229: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_1] in region 0 ...
 [m3video]  32230: SYSTEM: ListElem Shared Addr = 0xbf277300
 [m3video]  32264: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_19] in region 0 ...
 [m3vpss ] === I2C1 Clk is active ===
 [m3video]  32265: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_19] in region 0 ...
 [m3vpss ]  5760: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_0] in region 0 ...
 [m3video]  32266: SYSTEM: ListElem Shared Addr = 0xbf27dd00
 [m3vpss ]  5760: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_0] in region 0 ...
 [m3video]  32280: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_20] in region 0 ...
 [m3vpss ]  5761: SYSTEM: ListElem Shared Addr = 0xbf27a800
 [m3video]  32281: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_20] in region 0 ...
 [m3vpss ]  5763: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_1] in region 0 ...
 [m3video]  32282: SYSTEM: ListElem Shared Addr = 0xbf2a6a00
 [m3vpss ]  5763: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_1] in region 0 ...
 [m3video]  32295: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_21] in region 0 ...
 [m3vpss ]  5763: SYSTEM: ListElem Shared Addr = 0xbf2a3500
 [m3video]  32297: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_21] in region 0 ...
 [m3vpss ]  5777: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_19] in region 0 ...
 [m3video]  32298: SYSTEM: ListElem Shared Addr = 0xbf2cc200
 [m3vpss ]  5777: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_19] in region 0 ...
 [m3video]  32377: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_24] in region 0 ...
 [m3vpss ]  5778: SYSTEM: ListElem Shared Addr = 0xbf2f1a00
 [m3video]  32379: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_24] in region 0 ...
 [m3vpss ]  5780: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_20] in region 0 ...
 [m3video]  32380: SYSTEM: ListElem Shared Addr = 0xbf33ca00
 [m3vpss ]  5780: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_20] in region 0 ...
 [m3video]  32392: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_25] in region 0 ...
 [m3vpss ]  5780: SYSTEM: ListElem Shared Addr = 0xbf317200
 [m3video]  32393: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_25] in region 0 ...
 [m3vpss ]  5783: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_21] in region 0 ...
 [m3video]  32394: SYSTEM: ListElem Shared Addr = 0xbf37fd00
 [m3vpss ]  5783: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_21] in region 0 ...
 [m3video]  32404: HDVICP: Doing PRCM for IVAHD[0] ...
 [m3vpss ]  5783: SYSTEM: ListElem Shared Addr = 0xbf35a500
 [m3video]  32405: HDVICP: PRCM for IVAHD[0] ... DONE.
 [m3vpss ]  5898: UTILS: DMA: HWI Create for INT63 !!!
 [m3video]  32405: HDVICP: Doing PRCM for IVAHD[1] ...
 [m3vpss ]  5899: SYSTEM  : Initializing Links !!!
 [m3video]  32406: HDVICP: PRCM for IVAHD[1] ... DONE.
 [m3video]  32406: HDVICP: Doing PRCM for IVAHD[2] ...
 [m3vpss ]  6015: SYSTEM  : Initializing Links ... DONE !!!
 [m3video]  32407: HDVICP: PRCM for IVAHD[2] ... DONE.
 [m3video]  32409: SYSTEM  : Initializing Links !!!
 [m3vpss ]  6016: SYSTEM  : Set Static L3 pressure for HDVPSS as High
 [c6xdsp ] Remote Debug Shared Memory @ 0xbf000000
 [m3video] Remote Debug Shared Memory @ 0xbf010820
 [m3vpss ] Remote Debug Shared Memory @ 0xbf021040
 [m3vpss ] Received character 's'
 [m3video]  32614: SYSTEM  : Initializing Links ... DONE !!!
 [c6xdsp ] Remote Debug Shared Memory @ 0xbf000000
 [m3video] Remote Debug Shared Memory @ 0xbf010820
 [m3vpss ] Remote Debug Shared Memory @ 0xbf021040
 [m3video] Received character 's'
 [c6xdsp ] Remote Debug Shared Memory @ 0xbf000000
 [m3video] Remote Debug Shared Memory @ 0xbf010820
 [m3vpss ] Remote Debug Shared Memory @ 0xbf021040
 [c6xdsp ]  1020: MEM: Shared Region i=1,1: Base = 0x90000000, Length = 0x0c600000 (198 MB)
 [c6xdsp ]  Huanyiiiiiiiiiiiiiiiiiiii Utils_memInit end
 [c6xdsp ]  1008: SYSTEM  : RpeServer_init() done... Ret Val 0!!!
 [c6xdsp ]  1023: SYSTEM: Creating ListMP [DSP_IPC_OUT_19] in region 0 ...
 [c6xdsp ]  1024: SYSTEM: Creating ListMP [DSP_IPC_IN_19] in region 0 ...
 [c6xdsp ]  1024: SYSTEM: ListElem Shared Addr = 0xbf39d800
 [c6xdsp ]  1024: SYSTEM: Creating ListMP [DSP_IPC_OUT_20] in region 0 ...
 [c6xdsp ]  1024: SYSTEM: Creating ListMP [DSP_IPC_IN_20] in region 0 ...
 [c6xdsp ]  1024: SYSTEM: ListElem Shared Addr = 0xbf3c3000
 [c6xdsp ]  1025: SYSTEM: Creating ListMP [DSP_IPC_OUT_21] in region 0 ...
 [c6xdsp ]  1025: SYSTEM: Creating ListMP [DSP_IPC_IN_21] in region 0 ...
 [c6xdsp ]  1025: SYSTEM: ListElem Shared Addr = 0xbf3e8800
 [c6xdsp ]  1026: SYSTEM: Creating ListMP [DSP_IPC_OUT_24] in region 0 ...
 [c6xdsp ]  1026: SYSTEM: Creating ListMP [DSP_IPC_IN_24] in region 0 ...
 [c6xdsp ]  1026: SYSTEM: ListElem Shared Addr = 0xbf40e000
 [c6xdsp ]  1026: SYSTEM: Creating ListMP [DSP_IPC_OUT_25] in region 0 ...
 [c6xdsp ]  1026: SYSTEM: Creating ListMP [DSP_IPC_IN_25] in region 0 ...
 [c6xdsp ]  1026: SYSTEM: ListElem Shared Addr = 0xbf42bb00
 [c6xdsp ] !!WARNING.Resource already registered:2
 [c6xdsp ]  1014: SYSTEM  : Initializing Links !!!
 [c6xdsp ]  ----- zpav ----- init
 [c6xdsp ]  ChNo: 0, InputSrc: 0

==========================END=============================

two days ago, the problem almost exist !

who can help me to resolve this?

thanks very much!

 

  • Share full logs from kernel boot onwards. Have you made any changes to DVR RDK code ?

    WHat are the prints

     [c6xdsp ]  ----- zpav ----- init  

    [c6xdsp ]  ChNo: 0, InputSrc: 0

    Also add Vps_printf in /dvr_rdk/mcfw/src_bios6/utils/src/remote_debug_server_c6xdsp.c

    RemoteDebug_getChar

     

            value = pCoreObj->serverFlags[0];

            Vps_printf("Remote value:%d",value );

     

  • Hi Badri Narayanan

      Thanks you!

    I will add code to remote_debug_server_c6xdsp.c.

    In SDK4.0, I add some code where it work ok in 2.0

    to do that, I change L2 from 128K to 256K

    1. modified file: config_1G_256MLinux.bld

       l2Mode:  "128k"--->l2Mode:  "256k"

    2. Add at file: link_algs.cmd

       .text:zpav8_int > DSP_L2_RAM  
       .data:zpav8_int > DSP_L2_RAM
      
       .far:zpav8_ext > DSP_CODE_MEM
       .text:zpav8_ext > DSP_CODE_MEM

     

    Is it cause

     [c6xdsp ]  14: MEM: ERROR: SharedRegion_setEntry (2, 0x9ffa7bbc) FAILED !!!  (status=-1) 

    ....

     [m3vpss ] === HDVPSS module is not in standby ===

     

    if is it cause, what can i do?

    thanks.

     

     

  • Try undoing the l2mode change and check . The SharedRegion_setEntry is not an issue and you can ignore that. Also are you placing any of your algorithm code in OCMC ? DVR RDK 4.0 supports Ethernet driver on c674 dsp and uses OCMC for EMAC driver descriptors and if you use OCMC for your algorithm it will cause issues.

  • Hi Badri Narayanan:

          Thanks for your reply!

         In my project, I am not place any code in OCMC.

          So what should I do?