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.

how to run the function System_proStart(),which function send the char 'T'?

dear all:

    I use the IPNC_RDK_GA_Release3.5.0 for DM8127.I don't know how to run the function System_proStart().the output logo:   

[host] Attached to slave procId 1.

[host] Loaded file ./firmware/ipnc_rdk_fw_m3vpss.xem3 on slave procId 2.

[host] Started slave procId 2.

[host] After Ipc_loadcallback status [0x00000000]

[host] Loaded file ./firmware/ipnc_rdk_fw_m3video.xem3 on slave procId 1.

[host] Started slave procId 1.

[host] After Ipc_loadcallback status [0x00000000]
[m3video] ***** SYSTEM : Frequency <ORG> - 200000000, <NEW> - 200000000
[m3vpss ] ***** SYSTEM : Frequency <ORG> - 200000000, <NEW> - 200000000
[m3video]
[m3vpss ] notify_attach rtnVal 0
[m3video] *** UTILS: CPU KHz = 400000 Khz ***
[m3vpss ] initProxyServer rtnVal 0
[m3video]
[m3vpss ]
[m3video] 56: SYSTEM : System Common Init in progress !!!
[m3vpss ] *** UTILS: CPU KHz = 400000 Khz ***
[m3video] 56: SYSTEM: IPC init in progress !!!
[m3vpss ]
[m3video] 56: SYSTEM: Attaching to [HOST] ...
[m3vpss ] 96: SYSTEM : System Common Init in progress !!!
[m3vpss ] 96: SYSTEM: IPC init in progress !!!
[m3vpss ] 96: SYSTEM: Attaching to [HOST] ...
[m3video] 1056: SYSTEM: Attaching to [HOST] ...

[host] After Ipc_startcallback status [0x00000000]
[m3video] 1063: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
[m3video] 1063: SYSTEM: Attaching to [VPSS-M3] ...

[host] After Ipc_startcallback status [0x00000000]
[m3vpss ] 1095: SYSTEM: Attaching to [HOST] ...
[m3vpss ] 1098: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
[m3vpss ] 1098: SYSTEM: Attaching to [VIDEO-M3] ...
[m3video] 2063: SYSTEM: Attaching to [VPSS-M3] ...
[m3vpss ] 2098: SYSTEM: Attaching to [VIDEO-M3] ...
[m3video] 2099: SYSTEM: Attaching to [VPSS-M3] ... SUCCESS !!!
[m3vpss ] 2099: SYSTEM: Attaching to [VIDEO-M3] ... SUCCESS !!!
[m3video] 2099: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
[m3vpss ] 2099: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
[m3vpss ] 2100: SYSTEM: Creating MsgQ [VPSS-M3_MSGQ] ...
[m3vpss ] 2100: SYSTEM: Creating MsgQ [VPSS-M3_ACK_MSGQ] ...
[m3vpss ] 2102: SYSTEM: Notify register to [HOST] line 0, event 12 ...
[m3vpss ] 2102: SYSTEM: Notify register to [VIDEO-M3] line 0, event 12 ...
[m3vpss ] 2103: SYSTEM: IPC init DONE !!!
[m3vpss ] Received character 's'
[m3vpss ] 2112: MEM: Shared Region 2: Base = 0xb8000000, Length = 0x06900000 (105 MB)
[m3vpss ] 2112: MEM: Shared Region 1: Base = 0x89000000, Length = 0x03c00000 (60 MB)
[m3vpss ] 2115: SYSTEM : System Common Init Done !!!
[c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
[m3video] Remote Debug Shared Memory @ 0xbff05020
[m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
[m3video] 3100: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
[m3video] 3100: SYSTEM: Creating MsgQ [VIDEO-M3_MSGQ] ...
[m3video] 3100: SYSTEM: Creating MsgQ [VIDEO-M3_ACK_MSGQ] ...
[m3video] 3102: SYSTEM: Notify register to [HOST] line 0, event 12 ...
[m3video] 3103: SYSTEM: Notify register to [VPSS-M3] line 0, event 12 ...
[m3video] 3103: SYSTEM: IPC init DONE !!!
[m3video] 3113: MEM: Shared Region 2: Base = 0xb8000000, Length = 0x06900000 (105 MB)
[m3video] 3113: MEM: Shared Region 1: Base = 0x89000000, Length = 0x03c00000 (60 MB)
[m3video] 3115: SYSTEM : System Common Init Done !!!
[m3video] Received character 's'
queue id:65538

CPU is TI812x
Error: SemWait: Invalid Semaphore handler
Error: SemRelease: Invalid Semaphore handler

*****************************************************************

IPNC BUILD VERSION: DM8127 IPNC RDK VERSION 03.50.00.08

*****************************************************************

./bin/ipnc_rdk_mcfw.out TRISTREAM TRIPLE_H264 TI2A AEWB 1080P_D1 H264 HIGH_SPEED1 H264 HIGH_SPEED2 MJPEG 80 &
[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
[m3video] 3215: SYSTEM : System Video Init in progress !!!
[m3vpss ] 3214: SYSTEM : System VPSS Init in progress !!!

my question:

   which function to send the char 'T' to m3vpss_mian() and run the System_proStart()?

my analyze:

1.[host] Loaded file ./firmware/ipnc_rdk_fw_m3vpss.xem3 on slave procId 2.

the above logo outputed by under function:and i don't find to send the char 'T' to run System_proStart()

#ifdef TEARDOWN_LOAD_UNLOAD

system("./scripts/load_vpss.sh");

#endif

2.if define TEARDOWN_LOAD_UNLOAD,then the function  system_main()  to run the system_init(),but the logo not been outputed .so the function system_init() must called by System_proStart(),but i fund not which function to send the char "T"

3.the macro TEARDOWN_LOAD_UNLOAD if defined? i found the file Rules.make TEARDOWN_LOAD_UNLOAD:=NO,but check above logos,the macro is defined. why?