我现在用的版本为DVR_RDK01.08.00.15包,现在运行总是出现问题,我想确认下是我的参数设置是否存在问题.
1,启动参数:
setenv bootargs 'mem=128M console=ttyO2,115200n8 root=/dev/nfs rw nfsroot=192.168.47.197:/work/DVRRDK_01.08.00.15/target/rfs ip=192.168.47.211:192.168.47.197:192.168.47.1:255.255.255.0::eth0:off vram=20M notifyk.vpssm3_sva=0xBFD00000'
这个地方MEM=128M或者256M我都试过, 当设置为256M时将编译处也设置为256M系统启动会崩溃.
notifyk.vpssm3_sva=0xBFD00000 0xA0000000
2,编译参数:
# Default linux mem
ifeq ($(LINUX_MEM), )
LINUX_MEM := LINUX_MEM_128M
# LINUX_MEM := LINUX_MEM_256M
endif
我现在运行时会出现
[m3video] 8086: MEM: ERROR: SharedRegion_setEntry (3, 0x8e031260) FAILED !!! (status=-1)
完整的串口输出信息如下:
numid=1,iface=MIXER,name='PCM Playback Volume'
; type=INTEGER,access=rw—R–,values=2,min=0,max=127,step=0
: values=127,127
| dBscale-min=-63.50dB,step=0.50dB,mute=0
[c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
[m3video] Remote Debug Shared Memory @ 0xbff05020
[m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
SysLink version : 2.00.04.83
SysLink module created on Date:Jan 3 2012 Time:22:28:02
Trace enabled
Trace SetFailureReason enabled
Setting DMM priority for [DUCATI ] to [0] ( 0x4e000624 = 0x08000000 )
Setting DMM priority for [HDVICP0 ] to [2] ( 0x4e000634 = 0x0000000a )
Setting DMM priority for [HDVICP1 ] to [2] ( 0x4e000634 = 0x000a0000 )
Setting DMM priority for [HDVICP2 ] to [2] ( 0x4e000634 = 0x00a00000 )
Attached to slave procId 2.
Loaded file ../firmware/dvr_rdk_fw_m3vpss.xem3 on slave procId 2.
Started slave procId 2.
[m3vpss ] ***** SYSTEM : Frequency <ORG> – 250000000, <NEW> – 250000000
[m3vpss ] notify_attach rtnVal 0
[m3vpss ] initProxyServer rtnVal 0
[m3vpss ]
[m3vpss ] *** UTILS: CPU KHz = 500000 Khz ***
[m3vpss ]
[m3vpss ] 73: SYSTEM : System Common Init in progress !!!
[m3vpss ] 73: SYSTEM: IPC init in progress !!!
[m3vpss ] 73: SYSTEM: Attaching to [HOST] …
After Ipc_loadcallback status [0x00000000]
[m3vpss ] 1073: SYSTEM: Attaching to [HOST] …
[m3vpss ] 1075: SYSTEM: Attaching to [HOST] … SUCCESS !!!
[m3vpss ] 1075: SYSTEM: Attaching to [DSP] …
After Ipc_startcallback status [0x097d2000]
Attached to slave procId 1.
Loaded file ../firmware/dvr_rdk_fw_m3video.xem3 on slave procId 1.
Started slave procId 1.
After Ipc_loadcallback status [0x00000000]
[m3video] ***** SYSTEM : Frequency <ORG> – 250000000, <NEW> – 250000000
[m3vpss ] 2075: SYSTEM: Attaching to [DSP] …
[m3video]
[m3video] *** UTILS: CPU KHz = 500000 Khz ***
[m3video]
[m3video] 1303: SYSTEM : System Common Init in progress !!!
[m3video] 1303: SYSTEM: IPC init in progress !!!
[m3video] 1303: SYSTEM: Attaching to [HOST] …
[m3video] 2303: SYSTEM: Attaching to [HOST] …
[m3video] 2306: SYSTEM: Attaching to [HOST] … SUCCESS !!!
[m3video] 2306: SYSTEM: Attaching to [DSP] …
After Ipc_startcallback status [0x00000000]
Attached to slave procId 0.
Loaded file ../firmware/dvr_rdk_fw_c6xdsp.xe674 on slave procId 0.
Started slave procId 0.
After Ipc_loadcallback status [0x00000000]
[c6xdsp ] ***** SYSTEM : Frequency <ORG> – 800000000, <NEW> – 800000000
[m3video] 3305: SYSTEM: Attaching to [DSP] …
[m3vpss ] 3075: SYSTEM: Attaching to [DSP] …
[c6xdsp ]
[c6xdsp ] *** UTILS: CPU KHz = 800000 Khz ***
[c6xdsp ]
[c6xdsp ] 5: SYSTEM : System Common Init in progress !!!
[c6xdsp ] 5: SYSTEM: IPC init in progress !!!
[c6xdsp ] 5: SYSTEM: Attaching to [HOST] …
[c6xdsp ] 1029: SYSTEM: Attaching to [HOST] …
[c6xdsp ] 1031: SYSTEM: Attaching to [HOST] … SUCCESS !!!
[c6xdsp ] 1031: SYSTEM: Attaching to [VIDEO-M3] …
After Ipc_startcallback status [0x00000000]
[c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
[m3video] Remote Debug Shared Memory @ 0xbff05020
[m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
[m3vpss ] 4075: SYSTEM: Attaching to [DSP] …
[m3video] 4305: SYSTEM: Attaching to [DSP] …
[c6xdsp ] 2055: SYSTEM: Attaching to [VIDEO-M3] …
[m3vpss ] 5075: SYSTEM: Attaching to [DSP] …
[c6xdsp ] 2532: SYSTEM: Attaching to [VIDEO-M3] … SUCCESS !!!
[m3video] 5305: SYSTEM: Attaching to [DSP] …
[c6xdsp ] 2532: SYSTEM: Attaching to [VPSS-M3] …
[m3video] 5306: SYSTEM: Attaching to [DSP] … SUCCESS !!!
[m3video] 5306: SYSTEM: Attaching to [VPSS-M3] …
[m3vpss ] 6075: SYSTEM: Attaching to [DSP] …
[c6xdsp ] 3555: SYSTEM: Attaching to [VPSS-M3] …
[m3video] 6305: SYSTEM: Attaching to [VPSS-M3] …
[c6xdsp ] 4354: SYSTEM: Attaching to [VPSS-M3] … SUCCESS !!!
[m3vpss ] 7075: SYSTEM: Attaching to [DSP] …
[c6xdsp ] 4354: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] …
[m3vpss ] 7076: SYSTEM: Attaching to [DSP] … SUCCESS !!!
[m3vpss ] 7076: SYSTEM: Attaching to [VIDEO-M3] …
[m3video] 7305: SYSTEM: Attaching to [VPSS-M3] …
[c6xdsp ] 5377: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] …
[m3video] 8076: SYSTEM: Attaching to [VPSS-M3] … SUCCESS !!!
[m3vpss ] 8075: SYSTEM: Attaching to [VIDEO-M3] …
[m3video] 8076: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] …
[m3vpss ] 8076: SYSTEM: Attaching to [VIDEO-M3] … SUCCESS !!!
[m3video] 8076: SYSTEM: Creating MsgQ [VIDEO-M3_MSGQ] …
[m3vpss ] 8076: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP] …
[m3video] 8076: SYSTEM: Creating MsgQ [VIDEO-M3_ACK_MSGQ] …
[m3vpss ] 8076: SYSTEM: Creating MsgQ [VPSS-M3_MSGQ] …
[m3video] 8078: SYSTEM: Notify register to [HOST] line 0, event 12 …
[m3vpss ] 8076: SYSTEM: Creating MsgQ [VPSS-M3_ACK_MSGQ] …
[m3video] 8078: SYSTEM: Notify register to [DSP] line 0, event 12 …
[m3vpss ] 8078: SYSTEM: Notify register to [HOST] line 0, event 12 …
[m3video] 8078: SYSTEM: Notify register to [VPSS-M3] line 0, event 12 …
[m3vpss ] 8078: SYSTEM: Notify register to [DSP] line 0, event 12 …
[m3video] 8079: SYSTEM: IPC init DONE !!!
[m3vpss ] 8078: SYSTEM: Notify register to [VIDEO-M3] line 0, event 12 …
[m3vpss ] 8078: SYSTEM: IPC init DONE !!!
[m3video] 8086: MEM: Shared Region 3: Base = 0xa0000000, Length = 0x1e900000 (489 MB)
[m3vpss ] 8086: MEM: Shared Region 3: Base = 0xa0000000, Length = 0x1e900000 (489 MB)
[m3video] 8086: MEM: ERROR: SharedRegion_setEntry (3, 0x8e031260) FAILED !!! (status=-1)
[m3vpss ] 8087: MEM: Shared Region 1: Base = 0x88000000, Length = 0x05780000 (87 MB)
[m3vpss ] 8087: MEM: Shared Region 2: Base = 0x90000000, Length = 0x10000000 (256 MB)
[m3vpss ] 8089: SYSTEM : System Common Init Done !!!
[m3vpss ] 8089: SYSTEM : System VPSS Init in progress !!!
[m3vpss ] === HDVPSS Clocks are enabled ===
[m3vpss ] === HDVPSS is fully functional ===
[m3vpss ] === HDVPSS module is not in standby ===
[m3vpss ] === I2C1 Clk is active ===
[m3vpss ] 8093: SYSTEM : HDVPSS Drivers Version: HDVPSS_01_00_01_33
[m3vpss ] 8094: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_0] in region 0 …
[m3vpss ] 8094: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_0] in region 0 …
[m3video] 8095: MEM: Shared Region 1: Base = 0x88000000, Length = 0x05780000 (87 MB)
[m3vpss ] 8094: SYSTEM: ListElem Shared Addr = 0xbeb0b280
[m3video] 8096: MEM: Shared Region 2: Base = 0x90000000, Length = 0x10000000 (256 MB)
[m3vpss ] 8096: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_1] in region 0 …
[m3video] 8098: SYSTEM : System Common Init Done !!!
[m3vpss ] 8096: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_1] in region 0 …
[m3video] 8098: SYSTEM : System Video Init in progress !!!
[m3vpss ] 8096: SYSTEM: ListElem Shared Addr = 0xbeb0e380
[m3video] 8098: SYSTEM : System Video Init Done !!!
[m3video] 8098: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_0] in region 0 …
[m3video] 8098: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_0] in region 0 …
[m3video] 8099: SYSTEM: ListElem Shared Addr = 0xbeb11480
[m3video] 8101: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_1] in region 0 …
[m3video] 8101: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_1] in region 0 …
[m3video] 8101: SYSTEM: ListElem Shared Addr = 0xbeb14580
[m3video] 8110: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_28] in region 0 …
[m3vpss ] 8108: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_24] in region 0 …
[m3video] 8110: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_28] in region 0 …
[m3vpss ] 8108: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_24] in region 0 …
[m3video] 8110: SYSTEM: ListElem Shared Addr = 0xbeb36c80
[m3vpss ] 8108: SYSTEM: ListElem Shared Addr = 0xbeb17680
[m3video] 8112: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_29] in region 0 …
[m3vpss ] 8111: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_25] in region 0 …
[m3video] 8113: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_29] in region 0 …
[m3vpss ] 8111: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_25] in region 0 …
[m3video] 8113: SYSTEM: ListElem Shared Addr = 0xbeb6db80
[m3vpss ] 8111: SYSTEM: ListElem Shared Addr = 0xbeb4e580
[m3video] 8114: HDVICP: Doing PRCM for IVAHD[0] …
[m3video] 8121: HDVICP: WARNING: RM_IVAHD_RSTST Timed OUT [0x7]
[m3video] 8121: HDVICP: PRCM for IVAHD[0] … DONE.
[m3video] 8121: HDVICP: Doing PRCM for IVAHD[1] …
[m3video] 8128: HDVICP: WARNING: RM_IVAHD_RSTST Timed OUT [0x7]
[m3video] 8128: HDVICP: PRCM for IVAHD[1] … DONE.
[m3video] 8128: HDVICP: Doing PRCM for IVAHD[2] …
[m3video] 8135: HDVICP: WARNING: RM_IVAHD_RSTST Timed OUT [0x7]
[m3video] 8135: HDVICP: PRCM for IVAHD[2] … DONE.
[m3video] 8136: SYSTEM : Initializing Links !!!
[m3video] 8136: SYSTEM : Heap Free Space (System = 2087936 bytes, FrmBuf = 512753536 bytes,
[m3video] BitBuf = 91750272 bytes, Mbx = 10240 msgs)
[m3video] 8180: SYSTEM : Initializing Links … DONE !!!
[m3vpss ] 8196: SYSTEM : System VPSS Init Done !!!
[m3vpss ] 8196: SYSTEM : Initializing Links !!!
[m3vpss ] 8196: SYSTEM : Heap Free Space (System = 26488 bytes, FrmBuf = 508443520 bytes,
[m3vpss ] BitBuf = 91750272 bytes, Mbx = 10240 msgs)
[m3vpss ] 8307: SYSTEM : Initializing AVsync ********************** !!!
[m3vpss ] Received character 's'
[m3vpss ] AVsync AVSYNC_M3_Init********************** !!!
[m3vpss ] 8236 : AVsync AVSYNC_Init_WallTimer********************** !!!
[m3vpss ] 8308: SYSTEM : Initializing Links … DONE !!!
[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 ] 6401: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] …
[c6xdsp ] 6401: SYSTEM: Creating MsgQ [DSP_MSGQ] …
[c6xdsp ] 6401: SYSTEM: Creating MsgQ [DSP_ACK_MSGQ] …
[c6xdsp ] 6402: SYSTEM: Notify register to [HOST] line 0, event 12 …
[c6xdsp ] 6402: SYSTEM: Notify register to [VIDEO-M3] line 0, event 12 …
[c6xdsp ] 6402: SYSTEM: Notify register to [VPSS-M3] line 0, event 12 …
[c6xdsp ] 6402: SYSTEM: IPC init DONE !!!
[c6xdsp ] 6404: MEM: Shared Region 3: Base = 0xa0000000, Length = 0x1e900000 (489 MB)
[c6xdsp ] 6404: MEM: SVPSS_FVID2: M3 firmware version 0x1000133 is newer,driver may not work properly.
hared Region 1: Base = 0x88000000, Length = 0x05780000 (87 MB)
[c6xdsp ] 6404: MEM: Shared Region 2: Base = 0x90000000, Length = 0x10000000 (256 MB)
[c6xdsp ] 6405: SYSTEM : System Common Init Done !!!
[c6xdsp ] 6251: SYSTEM : System DSP Init in progress !!!
[c6xdsp ] 6251: SYSTEM : System DSP Init Done !!!
[c6xdsp ] 6407: SYSTEM: Creating ListMP [DSP_IPC_OUT_24] in region 0 …
[c6xdsp ] 6407: SYSTEM: Creating ListMP [DSP_IPC_IN_24] in region 0 …
[c6xdsp ] 6407: SYSTEM: ListElem Shared Addr = 0xbeb86880
[c6xdsp ] 6408: SYSTEM: Creating ListMP [DSP_IPC_OU[module] vpss probe done.
T_25] in region 0 …
[c6xdsp ] 6408: SYSTEM: Creating ListMP [DSP_IPC_IN_25] in region 0 …
[c6xdsp ] 6408: SYSTEM: ListElem Shared Addr = 0xbeba5e80
[c6xdsp ] !!WARNING.Resource already registered:2
[c6xdsp ] 6255: SYSTEM : Initializing Links !!!
[c6xdsp ] Received character 's'
/opt/dvr_rdk/ti816x
[c6xdsp ] 6409: SYSTEM : Heap Free Space (System = 2089832 bytes, FrmBuf = 505333120 bytes,
[c6xdsp ] BitBuf = 91[module] ti81xxfb probe done.
750272 bytes, Mbx = 10240 msgs)
[c6xdsp ] 6264: SYSTEM : Initializing Links … DONE !!!
HDMI W1 rev 2.0
[module] ti81xx_hdmi probe done.
ORG 0x46c00524: 0
NEW 0x46c00524: 2
root@dvr:/opt/dvr_rdk/ti816x#
[dvrmain info]
main: HDMI0, sub: HDMI1, video_in: NTSC, video_out: 1080p60gVIDEOMOTION_ctrl.bufSize = 21120
gVIDEOMOTION_ctrl.bufNum = 16
app_pb: app_playback_init … success
[host] APP_WRITER:WRITER_videoRecvFxn:Entered…
[host] APP_WRITER:WRITER_recordFxn:Entered… 0: SYSTEM: System Common Init in progress !!!
0: SYSTEM: IPC init in progress !!!
9: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] …
10: SYSTEM: Creating MsgQ [HOST_MSGQ] …
12: SYSTEM: Creating MsgQ [HOST_ACK_MSGQ] …
13: SYSTEM: Opening MsgQ [DSP_MSGQ] …
14: SYSTEM: Opening MsgQ [VIDEO-M3_MSGQ] …
14: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] …
15: SYSTEM: Notify register to [DSP] line 0, event 12 …
16: SYSTEM: Notify register to [VIDEO-M3] line 0, event 12 …
16: SYSTEM: Notify register to [VPSS-M3] line 0, event 12 …
16: SYSTEM: IPC init DONE !!!
17: STemp_hsync = 280, temp_vsync = 280, timing_hsync = 280, timing_vsync = 45YSTEM: Creating Hdmi_code = 16 mode = 1
ListMP [HOST_IPCTiming Info:
_OUT_28] in regi pixel_clk = 148500
on 0 …
19: S x_res = 1920
YSTEM: Creating y_res = 1080
ListMP [HOST_IPC hfp = 88
_IN_28] in regio hsw = 44
n 0 …
21: SY hbp = 148
STEM: ListElem S vfp = 4
hared Addr = 0x4 vsw = 5
83ab480
22: SY vbp = 36
STEM: Creating ListMP [HOST_IPC_OUT_29] in region 0 …
24: SYSTEM: Creating ListMP [HOST_IPC_IN_29] in region 0 …
25: SYSTEM: ListElem Shared Addr = 0x483c2d80
27: SYSTEM: Creating ListMP [HOST_IPC_OUT_24] in region 0 …
29: SYSTEM: Creating ListMP [HOST_IPC_IN_24] in region 0 …
30: SYSTEM: ListElem Shared Addr = 0x483da680
31: SYSTEM: Creating ListMP [HOST_IPC_OUT_25] in region 0 …
33: SYSTEM: Creating ListMP [HOST_IPC_IN_25] in region 0 …
35: SYSTEM: ListElem Shared Addr = 0x483f9c80
35: SYSTEM: System Common Init Done !!!
********* Entered usecase 16CH Progressive <816x> Cap/Enc/Dec/Dis
36: MCFW : CPU Revision [ES1.1] !!!
36: MCFW : Detected [(null)] Board !!!
36: MCFW : Base Board Revision [DVR] !!!
36: MCFW : Daughter Card Revision [DVR] !!!
[m3vpss ] 14171: HDMI: Starting HDMI Transmitter … !!!
[m3vpss ] System_hdmiCreate: Error 0 @ line 135
[m3vpss ] System_hdmiStart: Error -2 @ line 159
[m3vpss ] 14171: CAPTURE: Create in progress !!!
[m3vpss ] 14171: CAPTURE: VIP 0: VID DEC 1024 (0x5c): Video Standard Detect in Progress !!!
[m3vpss ] 14271: Assertion @ Line: 1800 in links_m3vpss/capture/captureLink_drv.c: status == FVID2_SOK : failed !!!
Feng Dong:
This maybe module versions dont match with the uImage version. Also, the memory address for the region for VPSS driver between M3 and A8 might not be correct.
Haijun Guo:
回复 Feng Dong:
首先,Rules.make里面设置了128M linux,bootargs就应该设置128M。
另外,关于 [m3video] 8086: MEM: ERROR: SharedRegion_setEntry (3, 0x8e031260) FAILED !!! (status=-1)
请参见下面答复:
Its ok to get this error 1 or 2 twice during load.sh
This is because Video M3 and DSP try to "open" the shared memory owned by VPSS.
Until VPSS does setEntry, setEntry by Video M3 and DSP will fail.
Depending on speed of execution it could happen that you see this print 1 or 2 times and then system continues.
This is fine.所以这个错误并不会导致应用程序错误。
请问您是在使用816x EVM还是DVR参考设计?看log应该是使用了DVR参考设计?
usecase失败的原因
[m3vpss ] System_hdmiCreate: Error 0 @ line 135
[m3vpss ] System_hdmiStart: Error -2 @ line 159
看上去是off-chip HDMI创建失败,请提供具体的硬件环境。
sheng zhou:
回复 Haijun Guo:
Guo,
十分感谢您的回答,我是按照DVR的参考设计自己做的板子,现在我们取掉了off-chip HDMI,我们是采用两片TVP5158,只用了ON CHIP的HDMI接口,我是不是可以在程序里将这个给屏蔽掉,如在程序里将"system.h"里面的#define SYSTEM_USE_OFF_CHIP_HDMI屏蔽掉,这样是否可以呢,但程序还是会停在这里,
numid=1,iface=MIXER,name='PCM Playback Volume'
; type=INTEGER,access=rw—R–,values=2,min=0,max=127,step=0
: values=127,127
| dBscale-min=-63.50dB,step=0.50dB,mute=0
[c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
[m3video] Remote Debug Shared Memory @ 0xbff05020
[m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
SysLink version : 2.00.04.83
SysLink module created on Date:Dec 30 2011 Time:23:45:44
Trace enabled
Trace SetFailureReason enabled
Setting DMM priority for [DUCATI ] to [0] ( 0x4e000624 = 0x08000000 )
Setting DMM priority for [HDVICP0 ] to [2] ( 0x4e000634 = 0x0000000a )
Setting DMM priority for [HDVICP1 ] to [2] ( 0x4e000634 = 0x000a0000 )
Setting DMM priority for [HDVICP2 ] to [2] ( 0x4e000634 = 0x00a00000 )
Attached to slave procId 2.
Loaded file ../firmware/dvr_rdk_fw_m3vpss.xem3 on slave procId 2.
Started slave procId 2.
[m3vpss ] ***** SYSTEM : Frequency <ORG> – 250000000, <NEW> – 250000000
[m3vpss ] notify_attach rtnVal 0
[m3vpss ] initProxyServer rtnVal 0
[m3vpss ]
[m3vpss ] *** UTILS: CPU KHz = 500000 Khz ***
[m3vpss ]
[m3vpss ] 74: SYSTEM : System Common Init in progress !!!
[m3vpss ] 74: SYSTEM: IPC init in progress !!!
[m3vpss ] 74: SYSTEM: Attaching to [HOST] …
After Ipc_loadcallback status [0x00000000]
[m3vpss ] 1073: SYSTEM: Attaching to [HOST] …
[m3vpss ] 1075: SYSTEM: Attaching to [HOST] … SUCCESS !!!
[m3vpss ] 1076: SYSTEM: Attaching to [DSP] …
After Ipc_startcallback status [0x097d2000]
Attached to slave procId 1.
Loaded file ../firmware/dvr_rdk_fw_m3video.xem3 on slave procId 1.
Started slave procId 1.
After Ipc_loadcallback status [0x00000000]
After Ipc_startcallback status [0x00000000]
[m3video] ***** SYSTEM : Frequency <ORG> – 250000000, <NEW> – 250000000
[m3vpss ] 2075: SYSTEM: Attaching to [DSP] …
[m3video]
[m3video] *** UTILS: CPU KHz = 500000 Khz ***
[m3video]
[m3video] 1399: SYSTEM : System Common Init in progress !!!
[m3video] 1399: SYSTEM: IPC init in progress !!!
[m3video] 1399: SYSTEM: Attaching to [HOST] …
[m3video] 2399: SYSTEM: Attaching to [HOST] …
[m3video] 2402: SYSTEM: Attaching to [HOST] … SUCCESS !!!
[m3video] 2402: SYSTEM: Attaching to [DSP] …
Attached to slave procId 0.
Loaded file ../firmware/dvr_rdk_fw_c6xdsp.xe674 on slave procId 0.
Started slave procId 0.
After Ipc_loadcallback status [0x00000000]
[c6xdsp ] ***** SYSTEM : Frequency <ORG> – 800000000, <NEW> – 800000000
[m3video] 3401: SYSTEM: Attaching to [DSP] …
[m3vpss ] 3075: SYSTEM: Attaching to [DSP] …
[c6xdsp ]
[c6xdsp ] *** UTILS: CPU KHz = 800000 Khz ***
[c6xdsp ]
[c6xdsp ] 5: SYSTEM : System Common Init in progress !!!
[c6xdsp ] 5: SYSTEM: IPC init in progress !!!
[c6xdsp ] 5: SYSTEM: Attaching to [HOST] …
[c6xdsp ] 1029: SYSTEM: Attaching to [HOST] …
[c6xdsp ] 1031: SYSTEM: Attaching to [HOST] … SUCCESS !!!
[c6xdsp ] 1031: SYSTEM: Attaching to [VIDEO-M3] …
After Ipc_startcallback status [0x00000000]
[c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
[m3video] Remote Debug Shared Memory @ 0xbff05020
[m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
[m3vpss ] 4075: SYSTEM: Attaching to [DSP] …
[m3video] 4401: SYSTEM: Attaching to [DSP] …
[c6xdsp ] 2055: SYSTEM: Attaching to [VIDEO-M3] …
[m3vpss ] 5075: SYSTEM: Attaching to [DSP] …
[c6xdsp ] 2974: SYSTEM: Attaching to [VIDEO-M3] … SUCCESS !!!
[m3video] 5401: SYSTEM: Attaching to [DSP] …
[c6xdsp ] 2974: SYSTEM: Attaching to [VPSS-M3] …
[m3video] 5402: SYSTEM: Attaching to [DSP] … SUCCESS !!!
[m3video] 5402: SYSTEM: Attaching to [VPSS-M3] …
[m3vpss ] 6075: SYSTEM: Attaching to [DSP] …
[c6xdsp ] 3998: SYSTEM: Attaching to [VPSS-M3] …
[m3video] 6401: SYSTEM: Attaching to [VPSS-M3] …
[c6xdsp ] 4698: SYSTEM: Attaching to [VPSS-M3] … SUCCESS !!!
[m3vpss ] 7075: SYSTEM: Attaching to [DSP] …
[c6xdsp ] 4698: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] …
[m3vpss ] 7076: SYSTEM: Attaching to [DSP] … SUCCESS !!!
[m3vpss ] 7076: SYSTEM: Attaching to [VIDEO-M3] …
[m3video] 7401: SYSTEM: Attaching to [VPSS-M3] …
[c6xdsp ] 5721: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] …
[m3video] 8076: SYSTEM: Attaching to [VPSS-M3] … SUCCESS !!!
[m3vpss ] 8075: SYSTEM: Attaching to [VIDEO-M3] …
[m3video] 8076: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] …
[m3vpss ] 8076: SYSTEM: Attaching to [VIDEO-M3] … SUCCESS !!!
[m3video] 8076: SYSTEM: Creating MsgQ [VIDEO-M3_MSGQ] …
[m3vpss ] 8076: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP] …
[m3video] 8077: SYSTEM: Creating MsgQ [VIDEO-M3_ACK_MSGQ] …
[m3vpss ] 8076: SYSTEM: Creating MsgQ [VPSS-M3_MSGQ] …
[m3video] 8078: SYSTEM: Notify register to [HOST] line 0, event 12 …
[m3vpss ] 8076: SYSTEM: Creating MsgQ [VPSS-M3_ACK_MSGQ] …
[m3video] 8078: SYSTEM: Notify register to [DSP] line 0, event 12 …
[m3vpss ] 8078: SYSTEM: Notify register to [HOST] line 0, event 12 …
[m3video] 8079: SYSTEM: Notify register to [VPSS-M3] line 0, event 12 …
[m3vpss ] 8078: SYSTEM: Notify register to [DSP] line 0, event 12 …
[m3video] 8079: SYSTEM: IPC init DONE !!!
[m3vpss ] 8079: SYSTEM: Notify register to [VIDEO-M3] line 0, event 12 …
[m3vpss ] 8079: SYSTEM: IPC init DONE !!!
[m3video] 8086: MEM: Shared Region 3: Base = 0xa0000000, Length = 0x1e900000 (489 MB)
[m3vpss ] 8087: MEM: Shared Region 3: Base = 0xa0000000, Length = 0x1e900000 (489 MB)
[m3video] 8086: MEM: ERROR: SharedRegion_setEntry (3, 0x8e031260) FAILED !!! (status=-1)
[m3vpss ] 8087: MEM: Shared Region 1: Base = 0x88000000, Length = 0x05780000 (87 MB)
[m3vpss ] 8087: MEM: Shared Region 2: Base = 0x90000000, Length = 0x10000000 (256 MB)
[m3vpss ] 8089: SYSTEM : System Common Init Done !!!
[m3vpss ] 8089: SYSTEM : System VPSS Init in progress !!!
[m3video] 8096: MEM: Shared Region 1: Base = 0x88000000, Length = 0x05780000 (87 MB)
[m3vpss ] === HDVPSS Clocks are enabled ===
[m3video] 8097: MEM: Shared Region 2: Base = 0x90000000, Length = 0x10000000 (256 MB)
[m3vpss ] === HDVPSS is fully functional ===
[m3video] 8098: SYSTEM : System Common Init Done !!!
[m3vpss ] === HDVPSS module is not in standby ===
[m3video] 8099: SYSTEM : System Video Init in progress !!!
[m3vpss ] === I2C1 Clk is active ===
[m3video] 8099: SYSTEM : System Video Init Done !!!
[m3vpss ] 8093: SYSTEM : HDVPSS Drivers Version: HDVPSS_01_00_01_33
[m3video] 8099: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_0] in region 0 …
[m3vpss ] 8094: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_0] in region 0 …
[m3video] 8099: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_0] in region 0 …
[m3vpss ] 8094: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_0] in region 0 …
[m3vpss ] 8094: SYSTEM: ListElem Shared Addr = 0xbeb0b280
[m3vpss ] 8096: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_1] in region 0 …
[m3vpss ] 8096: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_1] in region 0 …
[m3vpss ] 8097: SYSTEM: ListElem Shared Addr = 0xbeb0e380
[m3video] 8099: SYSTEM: ListElem Shared Addr = 0xbeb11480
[m3vpss ] 8108: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_24] in region 0 …
[m3video] 8101: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_1] in region 0 …
[m3vpss ] 8108: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_24] in region 0 …
[m3video] 8102: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_1] in region 0 …
[m3vpss ] 8109: SYSTEM: ListElem Shared Addr = 0xbeb17680
[m3video] 8102: SYSTEM: ListElem Shared Addr = 0xbeb14580
[m3video] 8111: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_28] in region 0 …
[m3vpss ] 8111: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_25] in region 0 …
[m3video] 8111: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_28] in region 0 …
[m3vpss ] 8111: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_25] in region 0 …
[m3video] 8111: SYSTEM: ListElem Shared Addr = 0xbeb36e80
[m3vpss ] 8111: SYSTEM: ListElem Shared Addr = 0xbeb4e580
[m3video] 8113: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_29] in region 0 …
[m3video] 8113: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_29] in region 0 …
[m3video] 8114: SYSTEM: ListElem Shared Addr = 0xbeb6db80
[m3video] 8115: HDVICP: Doing PRCM for IVAHD[0] …
[m3video] 8122: HDVICP: WARNING: RM_IVAHD_RSTST Timed OUT [0x7]
[m3video] 8122: HDVICP: PRCM for IVAHD[0] … DONE.
[m3video] 8122: HDVICP: Doing PRCM for IVAHD[1] …
[m3video] 8129: HDVICP: WARNING: RM_IVAHD_RSTST Timed OUT [0x7]
[m3video] 8129: HDVICP: PRCM for IVAHD[1] … DONE.
[m3video] 8129: HDVICP: Doing PRCM for IVAHD[2] …
[m3video] 8135: HDVICP: WARNING: RM_IVAHD_RSTST Timed OUT [0x7]
[m3video] 8136: HDVICP: PRCM for IVAHD[2] … DONE.
[m3video] 8137: SYSTEM : Initializing Links !!!
[m3video] 8137: SYSTEM : Heap Free Space (System = 2087936 bytes, FrmBuf = 512753536 bytes,
[m3video] BitBuf = 91750272 bytes, Mbx = 10240 msgs)
[m3video] 8182: SYSTEM : Initializing Links … DONE !!!
[c6xdsp ] 6745: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] …
[c6xdsp ] 6745: SYSTEM: Creating MsgQ [DSP_MSGQ] …
[c6xdsp ] 6745: SYSTEM: Creating MsgQ [DSP_ACK_MSGQ] …
[c6xdsp ] 6746: SYSTEM: Notify register to [HOST] line 0, event 12 …
[c6xdsp ] 6746: SYSTEM: Notify register to [VIDEO-M3] line 0, event 12 …
[c6xdsp ] 6746: SYSTEM: Notify register to [VPSS-M3] line 0, event 12 …
[c6xdsp ] 6746: SYSTEM: IPC init DONE !!!
[c6xdsp ] 6748: MEM: Shared Region 3: Base = 0xa0000000, Length = 0x1e900000 (489 MB)
[c6xdsp ] 6748: MEM: Shared Region 1: Base = 0x88000000, Length = 0x05780000 (87 MB)
[c6xdsp ] 6748: MEM: Shared Region 2: Base = 0x90000000, Length = 0x10000000 (256 MB)
[c6xdsp ] 6749: SYSTEM : System Common Init Done !!!
[c6xdsp ] 6587: SYSTEM : System DSP Init in progress !!!
[c6xdsp ] 6587: SYSTEM : System DSP Init Done !!!
[c6xdsp ] 6751: SYSTEM: Creating ListMP [DSP_IPC_OUT_24] in region 0 …
[c6xdsp ] 6751: SYSTEM: Creating ListMP [DSP_IPC_IN_24] in region 0 …
[c6xdsp ] 6751: SYSTEM: ListElem Shared Addr = 0xbeb85480
[c6xdsp ] 6752: SYSTEM: Creating ListMP [DSP_IPC_OUT_25] in region 0 …
[c6xdsp ] 6752: SYSTEM: Creating ListMP [DSP_IPC_IN_25] in region 0 …
[c6xdsp ] 6752: SYSTEM: ListElem Shared Addr = 0xbeba4a80
[c6xdsp ] !!WARNING.Resource already registered:2
[c6xdsp ] 6591: SYSTEM : Initializing Links !!!
[c6xdsp ] 6752: SYSTEM : Heap Free Space (System = 2089832 bytes, FrmBuf = 512753536 bytes,
[c6xdsp ] BitBuf = 91750272 bytes, Mbx = 10240 msgs)
[c6xdsp ] 6600: SYSTEM : Initializing Links … DONE !!!
[m3vpss ] I2C1: Passed for address 0x5c !!!
[m3vpss ] I2C1: Passed for address 0x5d !!!
[m3vpss ] 10790: SYSTEM : System VPSS Init Done !!!
[m3vpss ] 10790: SYSTEM : Initializing Links !!!
[m3vpss ] 10790: SYSTEM : Heap Free Space (System = 25920 bytes, FrmBuf = 508443520 bytes,
[m3vpss ] BitBuf = 91750272 bytes, Mbx = 10240 msgs)
[m3vpss ] 10902: SYSTEM : Initializing AVsync ********************** !!!
[m3vpss ] Received character 's'
[m3vpss ] AVsync AVSYNC_M3_Init********************** !!!
[c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
[m3video] Remote Debug Shared Memory @ 0xbff05020
[m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
[m3vpss ] 10830 : AVsync AVSYNC_Init_WallTimer********************** !!!
[m3video] Received character 's'
[m3vpss ] 10903: SYSTEM : Initializing Links … DONE !!!
[c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
[m3video] Remote Debug Shared Memory @ 0xbff05020
[m3vpss ] Remote Debug ShareVPSS_FVID2: M3 firmware version 0x1000133 is newer,driver may not work properly.
d Memory @ 0xbff0a040
[c6xdsp ] Received character 's'
/opt/dvr_rdk/ti816x
[module] vpss probe done.
[module] ti81xxfb probe done.
HDMI W1 rev 2.0
[module] ti81xx_hdmi probe done.
ORG 0x46c00524: 0
NEW 0x46c00524: 2
root@dvr:/opt/dvr_rdk/ti816x#
[dvrmain info]
main: HDMI0, sub: HDMI1, video_in: NTSC, video_out: 1080p60gVIDEOMOTION_ctrl.bufSize = 21120
gVIDEOMOTION_ctrl.bufNum = 16
app_pb: app_playback_init … success
[host] APP_WRITER:WRITER_videoRecvFxn:Entered…
[host] APP_WRITER:WRITER_recordFxn:Entered… 0: SYSTEM: System Common Init in progress !!!
0: SYSTEM: IPC init in progress !!!
8: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] …
10: SYSTEM: Creating MsgQ [HOST_MSGQ] …
11: SYSTEM: Creating MsgQ [HOST_ACK_MSGQ] …
12: SYSTEM: Opening MsgQ [DSP_MSGQ] …
13: SYSTEM: Opening MsgQ [VIDEO-M3_MSGQ] …
13: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] …
14: SYSTEM: Notify register to [DSP] line 0, event 12 …
15: SYSTEM: Notify register to [VIDEO-M3] line 0, event 12 …
15: SYSTEM: Notify register to [VPSS-M3] line 0, event 12 …
15: SYSTEM: IPC init DONE !!!
17: SYSTEM: Creating ListMP [HOST_IPC_OUT_28] in region 0 …
19: SYSTEM: Creating Temp_hsync = 280, temp_vsync = 280, timing_hsync = 280, timing_vsync = 45ListMP [HOST_IPCHdmi_code = 16 mode = 1
_IN_28] in regioTiming Info:
n 0 …
20: SY pixel_clk = 148500
STEM: ListElem S x_res = 1920
hared Addr = 0x4 y_res = 1080
87a2480
21: SY hfp = 88
STEM: Creating L hsw = 44
istMP [HOST_IPC_ hbp = 148
OUT_29] in regio vfp = 4
n 0 …
23: SY vsw = 5
STEM: Creating L vbp = 36
istMP [HOST_IPC_IN_29] in region 0 …
25: SYSTEM: ListElem Shared Addr = 0x487b9d80
26: SYSTEM: Creating ListMP [HOST_IPC_OUT_24] in region 0 …
28: SYSTEM: Creating ListMP [HOST_IPC_IN_24] in region 0 …
30: SYSTEM: ListElem Shared Addr = 0x487d1680
31: SYSTEM: Creating ListMP [HOST_IPC_OUT_25] in region 0 …
33: SYSTEM: Creating ListMP [HOST_IPC_IN_25] in region 0 …
34: SYSTEM: ListElem Shared Addr = 0x487f0c80
35: SYSTEM: System Common Init Done !!!
********* Entered usecase 16CH Progressive <816x> Cap/Enc/Dec/Dis
35: MCFW : CPU Revision [ES1.1] !!!
35: MCFW : Detected [(null)] Board !!!
35: MCFW : Base Board Revision [DVR] !!!
35: MCFW : Daughter Card Revision [DVR] !!!
[m3vpss ] 15014: HDMI: Starting HDMI Transmitter … !!!
我应怎么修改,十分感谢您的回复.
sheng zhou:
回复 sheng zhou:
另外请教下DVRRDK_01.08.00.15\DVRRDK_01.08.00.15\ti_tools\hdvpss\HDVPSS_01_00_01_33\packages\ti\psp\examples这个文件夹下怎么编译,我想在这个文件夹里的文件里加打印信息.谢谢您的帮忙!
Haijun Guo:
回复 sheng zhou:
[m3vpss ] 15014: HDMI: Starting HDMI Transmitter … !!!
从log看,还是停留在了启动off-chip HDMI上,看上去屏蔽SYSTEM_USE_OFF_CHIP_HDMI还不足够。建议在代码中搜索一下off-chip HDMI相关的操作,全部关掉再试一下。
Haijun Guo:
回复 sheng zhou:
在HDVPSS_UserGuide.pdf中有一个Compiling HDVPSS Drivers章节,里面描述了如何编译HDVPSS,gmake -s examples 这个命令 incrementally builds HDVPSS drivers and all examples。examples需要在ccs下运行。
sheng zhou:
回复 Haijun Guo:
examples需要在ccs下运行,那这些打印信息是怎么来的,我搜索这些打印信息都是在examples文件夹下面。
Haijun Guo:
回复 sheng zhou:
打印信息在CCS里运行时也可以看到。
sheng zhou:
回复 Haijun Guo:
Guo,我的意思是讲现在终端运行的打印信息感觉是examples里面的代码生成的,所以我想在examples加打印信息,但我发现我编译不了examples,gmake -s examples也有错误,第一我想明确终端打印的错误信息是不是examples里代码生成的,如果是我就会考虑重新编译。
Haijun Guo:
回复 sheng zhou:
现在终端运行的打印信息应该不是从HDVPSS examples里生成的,能具体说一下哪条打印信息吗?