Hi
When I use DM8168 EVM with DVRRDK_v01.06.00.11. I have some problems.
The operating step as follows
1. init.sh
2. load.sh
3. open /dev/fb0
Question describe as below
In step 2. it should have signal output on Monitor, but Monitor still show "No signals"
In step 3. the opening of frame buffer fail with error message as below
VPSS_FVID2: create handle is NULL ti81xxfb ti81xxfb: fvid2 create failed.
But, when I modify load.sh
from
insmod ./kermod/vpss.ko omx=1 sbufaddr=0xbfb00000 debug=1
to
insmod ./kermod/vpss.ko sbufaddr=0xbfb00000 debug=1
All problems above are resolved.
message output as bellow
1. init.sh
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.03.82
SysLink module created on Date:Nov 11 2011 Time:14:29:04
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.
After Ipc_loadcallback status [0x00000000]
After Ipc_startcallback status [0x097d2000]
[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 ] 91: SYSTEM : System Common Init in progress !!!
[m3vpss ] 92: SYSTEM: IPC init in progress !!!
[m3vpss ] 92: SYSTEM: Attaching to [HOST] ...
[m3vpss ] 1092: SYSTEM: Attaching to [HOST] ...
[m3vpss ] 1094: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
[m3vpss ] 1094: SYSTEM: Attaching to [DSP] ...
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 ] 2094: SYSTEM: Attaching to [DSP] ...
[m3video]
[m3video] *** UTILS: CPU KHz = 500000 Khz ***
[m3video]
[m3video] 1300: SYSTEM : System Common Init in progress !!!
[m3video] 1300: SYSTEM: IPC init in progress !!!
[m3video] 1300: SYSTEM: Attaching to [HOST] ...
[m3video] 2300: SYSTEM: Attaching to [HOST] ...
[m3video] 2303: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
[m3video] 2303: 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
[c6xdsp ]
[c6xdsp ] *** UTILS: CPU KHz = 800000 Khz ***
[c6xdsp ]
[c6xdsp ] 2: SYSTEM : System Common Init in progress !!!
[c6xdsp ] 2: SYSTEM: IPC init in progress !!!
[c6xdsp ] 2: SYSTEM: Attaching to [HOST] ...
[c6xdsp ] 513: SYSTEM: Attaching to [HOST] ...
[c6xdsp ] 516: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
[c6xdsp ] 516: 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 ] 3094: SYSTEM: Attaching to [DSP] ...
[m3video] 3302: SYSTEM: Attaching to [DSP] ...
[c6xdsp ] 1027: SYSTEM: Attaching to [VIDEO-M3] ...
[m3vpss ] 4094: SYSTEM: Attaching to [DSP] ...
[c6xdsp ] 1944: SYSTEM: Attaching to [VIDEO-M3] ... SUCCESS !!!
[m3video] 4302: SYSTEM: Attaching to [DSP] ...
[c6xdsp ] 1944: SYSTEM: Attaching to [VPSS-M3] ...
[m3video] 4303: SYSTEM: Attaching to [DSP] ... SUCCESS !!!
[m3video] 4303: SYSTEM: Attaching to [VPSS-M3] ...
[c6xdsp ] 2455: SYSTEM: Attaching to [VPSS-M3] ...
[m3vpss ] 5094: SYSTEM: Attaching to [DSP] ...
[c6xdsp ] 2967: SYSTEM: Attaching to [VPSS-M3] ...
[m3video] 5302: SYSTEM: Attaching to [VPSS-M3] ...
[c6xdsp ] 3788: SYSTEM: Attaching to [VPSS-M3] ... SUCCESS !!!
[m3vpss ] 6094: SYSTEM: Attaching to [DSP] ...
[c6xdsp ] 3788: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
[m3vpss ] 6094: SYSTEM: Attaching to [DSP] ... SUCCESS !!!
[m3vpss ] 6094: SYSTEM: Attaching to [VIDEO-M3] ...
[m3video] 6302: SYSTEM: Attaching to [VPSS-M3] ...
[c6xdsp ] 4300: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
[c6xdsp ] 4812: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
[m3video] 7094: SYSTEM: Attaching to [VPSS-M3] ... SUCCESS !!!
[m3vpss ] 7094: SYSTEM: Attaching to [VIDEO-M3] ...
[m3video] 7094: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
[m3vpss ] 7094: SYSTEM: Attaching to [VIDEO-M3] ... SUCCESS !!!
[m3video] 7095: SYSTEM: Creating MsgQ [VIDEO-M3_MSGQ] ...
[m3vpss ] 7094: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
[m3video] 7095: SYSTEM: Creating MsgQ [VIDEO-M3_ACK_MSGQ] ...
[m3vpss ] 7095: SYSTEM: Creating MsgQ [VPSS-M3_MSGQ] ...
[m3video] 7097: SYSTEM: Notify register to [HOST] line 0, event 12 ...
[m3vpss ] 7095: SYSTEM: Creating MsgQ [VPSS-M3_ACK_MSGQ] ...
[m3video] 7097: SYSTEM: Notify register to [DSP] line 0, event 12 ...
[m3vpss ] 7097: SYSTEM: Notify register to [HOST] line 0, event 12 ...
[m3video] 7097: SYSTEM: Notify register to [VPSS-M3] line 0, event 12 ...
[m3vpss ] 7097: SYSTEM: Notify register to [DSP] line 0, event 12 ...
[m3video] 7097: SYSTEM: IPC init DONE !!!
[m3vpss ] 7097: SYSTEM: Notify register to [VIDEO-M3] line 0, event 12 ...
[m3vpss ] 7097: SYSTEM: IPC init DONE !!!
[m3video] 7105: MEM: Shared Region 3: Base = 0xa0000000, Length = 0x1e900000 (489 MB)
[m3vpss ] 7105: MEM: Shared Region 3: Base = 0xa0000000, Length = 0x1e900000 (489 MB)
[m3video] 7105: MEM: Shared Region 1: Base = 0x88000000, Length = 0x05780000 (87 MB)
[m3vpss ] 7105: MEM: Shared Region 1: Base = 0x88000000, Length = 0x05780000 (87 MB)
[m3video] 7107: SYSTEM : System Common Init Done !!!
[m3vpss ] 7107: SYSTEM : System Common Init Done !!!
[m3video] 7107: SYSTEM : System Video Init in progress !!!
[m3vpss ] 7107: SYSTEM : System VPSS Init in progress !!!
[m3video] 7107: SYSTEM : System Video Init Done !!!
[m3vpss ] === HDVPSS Clocks are enabled ===
[m3video] 7107: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_0] in region 2 ...
[m3vpss ] === HDVPSS is fully functional ===
[m3video] 7107: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_0] in region 2 ...
[m3vpss ] === HDVPSS module is not in standby ===
[m3video] 7108: SYSTEM: ListElem Shared Addr = 0x8d780280
[m3vpss ] === I2C1 Clk is active ===
[m3video] 7110: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_1] in region 2 ...
[m3vpss ] 7112: SYSTEM : HDVPSS Drivers Version: HDVPSS_01_00_01_28
[m3video] 7110: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_1] in region 2 ...
[m3vpss ] 7112: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_0] in region 2 ...
[m3video] 7110: SYSTEM: ListElem Shared Addr = 0x8d783380
[m3vpss ] 7112: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_0] in region 2 ...
[m3vpss ] 7113: SYSTEM: ListElem Shared Addr = 0x8d786480
[m3video] 7119: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_28] in region 0 ...
[m3vpss ] 7115: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_1] in region 2 ...
[m3video] 7119: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_28] in region 0 ...
[m3vpss ] 7115: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_1] in region 2 ...
[m3video] 7120: SYSTEM: ListElem Shared Addr = 0xbeb0b280
[m3vpss ] 7115: SYSTEM: ListElem Shared Addr = 0x8d789580
[m3video] 7122: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_29] in region 0 ...
[m3video] 7122: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_29] in region 0 ...
[m3video] 7122: SYSTEM: ListElem Shared Addr = 0xbeb1ed00
[m3video] 7124: HDVICP: Doing PRCM for IVAHD[0] ...
[m3vpss ] 7126: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_24] in region 0 ...
[m3video] 7124: HDVICP: PRCM for IVAHD[0] ... DONE.
[m3vpss ] 7127: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_24] in region 0 ...
[m3video] 7124: HDVICP: Doing PRCM for IVAHD[1] ...
[m3vpss ] 7127: SYSTEM: ListElem Shared Addr = 0xbeb32780
[m3video] 7124: HDVICP: PRCM for IVAHD[1] ... DONE.
[m3vpss ] 7129: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_25] in region 0 ...
[m3video] 7124: HDVICP: Doing PRCM for IVAHD[2] ...
[m3vpss ] 7129: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_25] in region 0 ...
[m3video] 7124: HDVICP: PRCM for IVAHD[2] ... DONE.
[m3vpss ] 7129: SYSTEM: ListElem Shared Addr = 0xbeb51d80
[m3video] 7126: SYSTEM : Initializing Links !!!
[m3video] 7126: SYSTEM : Heap Free Space (System = 2087936 bytes, FrmBuf = 512753536 bytes,
[m3video] BitBuf = 91750272 bytes, Mbx = 10240 msgs)
[m3video] 7169: SYSTEM : Initializing Links ... DONE !!!
[c6xdsp ] 5324: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
[c6xdsp ] 5324: SYSTEM: Creating MsgQ [DSP_MSGQ] ...
[c6xdsp ] 5324: SYSTEM: Creating MsgQ [DSP_ACK_MSGQ] ...
[c6xdsp ] 5324: SYSTEM: Notify register to [HOST] line 0, event 12 ...
[c6xdsp ] 5324: SYSTEM: Notify register to [VIDEO-M3] line 0, event 12 ...
[c6xdsp ] 5324: SYSTEM: Notify register to [VPSS-M3] line 0, event 12 ...
[c6xdsp ] 5324: SYSTEM: IPC init DONE !!!
[c6xdsp ] 5327: MEM: Shared Region 3: Base = 0xa0000000, Length = 0x1e900000 (489 MB)
[c6xdsp ] 5327: MEM: Shared Region 1: Base = 0x88000000, Length = 0x05780000 (87 MB)
[c6xdsp ] 5327: SYSTEM : System Common Init Done !!!
[c6xdsp ] 10406: SYSTEM : System DSP Init in progress !!!
[c6xdsp ] 10406: SYSTEM : System DSP Init Done !!!
[c6xdsp ] 5330: SYSTEM: Creating ListMP [DSP_IPC_OUT_24] in region 0 ...
[c6xdsp ] 5330: SYSTEM: Creating ListMP [DSP_IPC_IN_24] in region 0 ...
[c6xdsp ] 5330: SYSTEM: ListElem Shared Addr = 0xbeb71380
[c6xdsp ] 5330: SYSTEM: Creating ListMP [DSP_IPC_OUT_25] in region 0 ...
[c6xdsp ] 5331: SYSTEM: Creating ListMP [DSP_IPC_IN_25] in region 0 ...
[c6xdsp ] 5331: SYSTEM: ListElem Shared Addr = 0xbeb90980
[c6xdsp ] !!WARNING.Resource already registered:2
[c6xdsp ] 10414: SYSTEM : Initializing Links !!!
[c6xdsp ] 5331: SYSTEM : Heap Free Space (System = 2089832 bytes, FrmBuf = 512753536 bytes,
[c6xdsp ] BitBuf = 91750272 bytes, Mbx = 10240 msgs)
[c6xdsp ] 10415: SYSTEM : Initializing Links ... DONE !!!
[m3vpss ] I2C1: Passed for address 0x20 !!!
[m3vpss ] I2C1: Passed for address 0x21 !!!
[m3vpss ] I2C1: Passed for address 0x23 !!!
[m3vpss ] I2C1: Passed for address 0x39 !!!
[m3vpss ] I2C1: Passed for address 0x3b !!!
[m3vpss ] I2C1: Passed for address 0x3d !!!
[m3vpss ] I2C1: Passed for address 0x5c !!!
[m3vpss ] I2C1: Passed for address 0x5d !!!
[m3vpss ] I2C1: Passed for address 0x60 !!!
[m3vpss ] 9926: SYSTEM : System VPSS Init Done !!!
[m3vpss ] 9927: SYSTEM : Initializing Links !!!
[m3vpss ] 9927: SYSTEM : Heap Free Space (System = 26072 bytes, FrmBuf = 508145536 bytes,
[m3vpss ] BitBuf = 91750272 bytes, Mbx = 10240 msgs)
[m3vpss ] 13036: 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
[m3video] Received character 's'
[m3vpss ] 12946 : AVsync AVSYNC_Init_WallTimer********************** !!!
[c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
[m3video] Remote Debug Shared Memory @ 0xbff05020
[m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
[c6xdsp ] Received character 's'
/opt/dvr_rdk/ti816x
[m3vpss ] 13037: SYSTEM : Initializing Links ... DONE !!!
[module] vpss probe done.
[module] ti81xxfb probe done.
HDMI W1 rev 2.0
[module] ti81xx_hdmi probe done.
ORG 0x46c00524: 0
NEW 0x46c00524: 2
Any suggestion???
thanks