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.

about DVR demo

login:root 

//fallows is my uart print  message

root@dm816x-evm:~/dvr_rdk/ti816x# ./run_gui.sh                                                                               //then i type ./run_gui.sh to run the DVR GUI
*** Bootargs Validated for mem param ***
*** Bootargs Validated for notifyk.vpssm3 params ***
Kernel bootargs validated
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 31 2011 Time:02:47:31
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 ]
After Ipc_loadcallback status [0x00000000]
[m3vpss ] 53: SYSTEM : System Common Init in progress !!!
[m3vpss ] 53: SYSTEM: IPC init in progress !!!
[m3vpss ] 53: SYSTEM: Attaching to [HOST] ...
[m3vpss ] 1053: SYSTEM: Attaching to [HOST] ...
[m3vpss ] 1055: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
[m3vpss ] 1055: 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 ] 2055: SYSTEM: Attaching to [DSP] ...
[m3video]
[m3video] *** UTILS: CPU KHz = 500000 Khz ***
[m3video]
[m3video] 1224: SYSTEM : System Common Init in progress !!!
[m3video] 1224: SYSTEM: IPC init in progress !!!
[m3video] 1224: SYSTEM: Attaching to [HOST] ...
[m3video] 2224: SYSTEM: Attaching to [HOST] ...
[m3video] 2226: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
[m3video] 2226: 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] 3226: SYSTEM: Attaching to [DSP] ...
[m3vpss ] 3055: 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 ] 4055: SYSTEM: Attaching to [DSP] ...
[m3video] 4226: SYSTEM: Attaching to [DSP] ...
[c6xdsp ] 2055: SYSTEM: Attaching to [VIDEO-M3] ...
[m3vpss ] 5055: SYSTEM: Attaching to [DSP] ...
[c6xdsp ] 2980: SYSTEM: Attaching to [VIDEO-M3] ... SUCCESS !!!
[m3video] 5226: SYSTEM: Attaching to [DSP] ...
[c6xdsp ] 2980: SYSTEM: Attaching to [VPSS-M3] ...
[m3video] 5226: SYSTEM: Attaching to [DSP] ... SUCCESS !!!
[m3video] 5226: SYSTEM: Attaching to [VPSS-M3] ...
[m3vpss ] 6055: SYSTEM: Attaching to [DSP] ...
[c6xdsp ] 4003: SYSTEM: Attaching to [VPSS-M3] ...
[m3video] 6226: SYSTEM: Attaching to [VPSS-M3] ...
[c6xdsp ] 4862: SYSTEM: Attaching to [VPSS-M3] ... SUCCESS !!!
[m3vpss ] 7055: SYSTEM: Attaching to [DSP] ...
[c6xdsp ] 4862: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
[m3vpss ] 7055: SYSTEM: Attaching to [DSP] ... SUCCESS !!!
[m3vpss ] 7055: SYSTEM: Attaching to [VIDEO-M3] ...
[m3video] 7226: SYSTEM: Attaching to [VPSS-M3] ...
[c6xdsp ] 5886: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
[m3video] 8055: SYSTEM: Attaching to [VPSS-M3] ... SUCCESS !!!
[m3vpss ] 8055: SYSTEM: Attaching to [VIDEO-M3] ...
[m3video] 8055: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
[m3vpss ] 8055: SYSTEM: Attaching to [VIDEO-M3] ... SUCCESS !!!
[m3video] 8056: SYSTEM: Creating MsgQ [VIDEO-M3_MSGQ] ...
[m3vpss ] 8055: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
[m3video] 8056: SYSTEM: Creating MsgQ [VIDEO-M3_ACK_MSGQ] ...
[m3vpss ] 8056: SYSTEM: Creating MsgQ [VPSS-M3_MSGQ] ...
[m3vpss ] 8056: SYSTEM: Creating MsgQ [VPSS-M3_ACK_MSGQ] ...
[m3video] 8058: SYSTEM: Notify register to [HOST] line 0, event 12 ...
[m3vpss ] 8058: SYSTEM: Notify register to [HOST] line 0, event 12 ...
[m3video] 8058: SYSTEM: Notify register to [DSP] line 0, event 12 ...
[m3vpss ] 8058: SYSTEM: Notify register to [DSP] line 0, event 12 ...
[m3video] 8058: SYSTEM: Notify register to [VPSS-M3] line 0, event 12 ...
[m3vpss ] 8058: SYSTEM: Notify register to [VIDEO-M3] line 0, event 12 ...
[m3video] 8058: SYSTEM: IPC init DONE !!!
[m3vpss ] 8058: SYSTEM: IPC init DONE !!!
[m3video] 8066: MEM: Shared Region 2: Base = 0xa8000000, Length = 0x16900000 (361 MB)
[m3vpss ] 8066: MEM: Shared Region 2: Base = 0xa8000000, Length = 0x16900000 (361 MB)
[m3video] 8066: MEM: ERROR: SharedRegion_setEntry (2, 0x95dc4348) FAILED !!! (status=-1)
[m3vpss ] 8066: MEM: Shared Region 1: Base = 0x8fe00000, Length = 0x05900000 (89 MB)
[m3video] 8076: MEM: Shared Region 1: Base = 0x8fe00000, Length = 0x05900000 (89 MB)
[m3vpss ] 8068: SYSTEM : System Common Init Done !!!
[m3vpss ] 8068: 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 ] 8073: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_0] in region 0 ...
[m3vpss ] 8073: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_0] in region 0 ...
[m3vpss ] 8073: SYSTEM: ListElem Shared Addr = 0xbe98b280
[m3vpss ] 8076: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_1] in region 0 ...
[m3vpss ] 8076: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_1] in region 0 ...
[m3vpss ] 8076: SYSTEM: ListElem Shared Addr = 0xbe98e380
[m3video] 8078: SYSTEM : System Common Init Done !!!
[m3vpss ] 8087: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_24] in region 0 ...
[m3video] 8078: SYSTEM : System Video Init in progress !!!
[m3video] 8078: SYSTEM : System Video Init Done !!!
[m3video] 8078: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_0] in region 0 ...
[m3video] 8079: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_0] in region 0 ...
[m3video] 8079: SYSTEM: ListElem Shared Addr = 0xbe991480
[m3vpss ] 8088: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_24] in region 0 ...
[m3video] 8081: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_1] in region 0 ...
[m3video] 8081: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_1] in region 0 ...
[m3video] 8081: SYSTEM: ListElem Shared Addr = 0xbe994580
[m3video] 8089: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_29] in region 0 ...
[m3vpss ] 8088: SYSTEM: ListElem Shared Addr = 0xbe997680
[m3video] 8089: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_29] in region 0 ...
[m3vpss ] 8090: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_25] in region 0 ...
[m3video] 8089: SYSTEM: ListElem Shared Addr = 0xbe9b6c80
[m3vpss ] 8090: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_25] in region 0 ...
[m3video] 8091: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_30] in region 0 ...
[m3vpss ] 8091: SYSTEM: ListElem Shared Addr = 0xbe9ce580
[m3video] 8091: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_30] in region 0 ...
[m3vpss ] 8093: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_26] in region 0 ...
[m3video] 8091: SYSTEM: ListElem Shared Addr = 0xbe9edb80
[m3vpss ] 8093: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_26] in region 0 ...
[m3video] 8093: HDVICP: Doing PRCM for IVAHD[0] ...
[m3vpss ] 8093: SYSTEM: ListElem Shared Addr = 0xbea05480
[m3video] 8093: HDVICP: PRCM for IVAHD[0] ... DONE.
[m3vpss ] 8095: SYSTEM : HDVPSS Drivers Version: HDVPSS_01_00_01_35
[m3video] 8094: HDVICP: Doing PRCM for IVAHD[1] ...
[m3vpss ] 8095: SYSTEM : FVID2 Init in progress !!!
[m3video] 8094: HDVICP: PRCM for IVAHD[1] ... DONE.
[m3video] 8094: HDVICP: Doing PRCM for IVAHD[2] ...
[m3video] 8094: HDVICP: PRCM for IVAHD[2] ... DONE.
[m3video] 8095: SYSTEM : Initializing Links !!!
[m3vpss ] 8150: SYSTEM : FVID2 Init in progress DONE !!!
[m3vpss ] 8150: SYSTEM : Device Init in progress !!!
[m3video] 8095: SYSTEM : Heap Free Space (System = 2088104 bytes, SR0 = 15579008 bytes, FrmBuf = 378535808 bytes,
[m3video] BitBuf = 93323136 bytes, Mbx = 10240 msgs)
[m3video] 8104: SYSTEM : Initializing Links ... DONE !!!
[m3vpss ] I2C1: Passed for address 0x20 !!!
[m3vpss ] I2C1: Passed for address 0x21 !!!
[c6xdsp ] 6910: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
[c6xdsp ] 6910: SYSTEM: Creating MsgQ [DSP_MSGQ] ...
[c6xdsp ] 6910: SYSTEM: Creating MsgQ [DSP_ACK_MSGQ] ...
[c6xdsp ] 6911: SYSTEM: Notify register to [HOST] line 0, event 12 ...
[c6xdsp ] 6911: SYSTEM: Notify register to [VIDEO-M3] line 0, event 12 ...
[c6xdsp ] 6911: SYSTEM: Notify register to [VPSS-M3] line 0, event 12 ...
[c6xdsp ] 6911: SYSTEM: IPC init DONE !!!
[c6xdsp ] 6913: MEM: Shared Region 2: Base = 0xa8000000, Length = 0x16900000 (361 MB)
[c6xdsp ] 6913: MEM: Shared Region 1: Base = 0x8fe00000, Length = 0x05900000 (89 MB)
[c6xdsp ] 6913: SYSTEM : System Common Init Done !!!
[c6xdsp ] 6748: SYSTEM : System DSP Init in progress !!!
[c6xdsp ] 6916: SYSTEM: Creating ListMP [DSP_IPC_OUT_24] in region 0 ...
[c6xdsp ] 6916: SYSTEM: Creating ListMP [DSP_IPC_IN_24] in region 0 ...
[c6xdsp ] 6916: SYSTEM: ListElem Shared Addr = 0xbea24a80
[c6xdsp ] 6917: SYSTEM: Creating ListMP [DSP_IPC_OUT_25] in region 0 ...
[c6xdsp ] 6917: SYSTEM: Creating ListMP [DSP_IPC_IN_25] in region 0 ...
[c6xdsp ] 6917: SYSTEM: ListElem Shared Addr = 0xbea44080
[c6xdsp ] 6918: SYSTEM: Creating ListMP [DSP_IPC_OUT_26] in region 0 ...
[c6xdsp ] 6918: SYSTEM: Creating ListMP [DSP_IPC_IN_26] in region 0 ...
[c6xdsp ] 6918: SYSTEM: ListElem Shared Addr = 0xbea63680
[c6xdsp ] !!WARNING.Resource already registered:2
[c6xdsp ] 6753: SYSTEM : Initializing Links !!!
[c6xdsp ] 6918: SYSTEM : Heap Free Space (System = 9429472 bytes, SR0 = 15193472 bytes, FrmBuf = 378535808 bytes,
[c6xdsp ] BitBuf = 93323136 bytes, Mbx = 10240 msgs)
[c6xdsp ] 6758: SYSTEM : Initializing Links ... DONE !!!
[c6xdsp ] 6759: SYSTEM : System DSP Init Done !!!
[m3vpss ] I2C1: Passed for address 0x39 !!!
[m3vpss ] I2C1: Passed for address 0x3d !!!
[m3vpss ] I2C1: Passed for address 0x58 !!!
[m3vpss ] I2C1: Passed for address 0x5a !!!
[m3vpss ] I2C1: Passed for address 0x5c !!!
[m3vpss ] I2C1: Passed for address 0x5e !!!
[m3vpss ] I2C1: Passed for address 0x60 !!!
[m3vpss ] 10644: SYSTEM : Device Init in progress DONE !!!
[m3vpss ] 10666: SYSTEM : System VPSS Init Done !!!
[m3vpss ] 10667: SYSTEM : Initializing Links !!!
[m3vpss ] 10667: SYSTEM : Heap Free Space (System = 25544 bytes, SR0 = 15193472 bytes, FrmBuf = 374225792 bytes,
[m3vpss ] BitBuf = 93323136 bytes, Mbx = 10240 msgs)
[m3vpss ] Received character 's'
[m3vpss ] 12249: 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 ] Received character 's'
/home/root/dvr_rdk/ti816x
VPSS_FVID2: M3 firmware version 0x1000135 is newer,driver may not work properly.
[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@dm816x-evm:~/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] ...
11: SYSTEM: Creating MsgQ [HOST_MSGQ] ...
12: SYSTEM: Creating MsgQ [HOST_ACK_MSGQ] ...
14: SYSTEM: Opening MsgQ [DSP_MSGQ] ...
14: SYSTEM: Opening MsgQ [VIDEO-M3_MSGQ] ...
15: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...
16: SYSTEM: Notify register to [DSP] line 0, event 12 ...
16: SYSTEM: Notify register to [VIDEO-M3] line 0, event 12 ...
17: SYSTEM: Notify register to [VPSS-M3] line 0, event 12 ...
17: SYSTEM: IPC init DONE !!!
19: SYSTEM: Creating ListMP [HOST_IPC_OUT_28] in region 0 ...
21: SYSTEM: Creating ListMP [HOST_IPC_IN_28] in region 0 ...
23: SYSTEM: ListElem Shared Addr = 0x4cd55c80
24: SYSTEM: Creating ListMP [HOST_IPC_OUT_29] in region 0 ...
26: SYSTEM: Creating ListMP [HOST_IPC_IN_29] in region 0 ...
28: SYSTEM: ListElem Shared Addr = 0x4cd6d580
30: SYSTEM: Creating ListMP [HOST_IPC_OUT_24] in region 0 ...
32: SYSTEM: Creating ListMP [HOST_IPC_IN_24] in region 0 ...
34: SYSTEM: ListElem Shared Addr = 0x4cd84e80
35: SYSTEM: Creating ListMP [HOST_IPC_OUT_25] in region 0 ...
37: SYSTEM: Creating ListMP [HOST_IPC_IN_25] in region 0 ...
39: SYSTEM: ListElem Shared Addr = 0x4cda4480
39: SYSTEM: System Common Init Done !!!
AVSYNC_Init start

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

I don't fine any wrong,but why my screen is black (no single is blue),that means it has HDMI out single but nothing?

can anybody help?thx~

  • Hi,

    I'm not sure if you application has run completely. Your initialization and loading of slave core has gone through but looks like application is not started. Do you have CCS installed and JTAG (XDS560)? Can you please check if slave cores (M3s and DSP) are running fine at this point? Please share your bootargs as well.

  •  (M3s and DSP) are running fine at this point

    follow is my uboot 's printenv I run all stuff in SD card

    bootcmd=if mmc rescan 0; then if run loadbootscript; then run bootscript; else echo In case ENV on MMC/SD is required; echo Please put a valid script named boot.scr on the card; echo Refer to the User Guide on how to generate the image; fi; else echo Please set bootargs and bootcmd before booting the kernel; echo If that has already been done please ignore this message; fi
    bootdelay=3
    baudrate=115200
    autoload=no
    verify=yes
    bootfile=uImage
    ramdisk_file=ramdisk.gz
    loadaddr=0x81000000
    script_addr=0x80900000
    run_dvr=boot_dvr.scr
    loadbootscript=fatload mmc 0 ${script_addr} ${boot_env}
    bootscript= echo Running bootscript from MMC/SD to set the ENV...; source ${script_addr}
    stdin=serial
    stdout=serial
    stderr=serial
    ethaddr=40:5f:c2:1f:08:9c
    ethact=DaVinci EMAC
    ver=U-Boot 2010.06 (Feb 24 2012 - 11:40:15)
    boot_env=boot_dvr.scr
    /////////////////////////////////////////////////////////boot_dvr.scr ////////////////////////////////////////////////////////////////////////////////
    boot_dvr.scr
    1
    cat <<EOF >/xxx/xxx/boot_dvr.cmd
    setenv bootargs 'console=tty02,115200n8 rootwait root=/dev/mmcblk0p2 rw mem=254M earlyprintk vram=20M notifyk.vpssm3_sva=0xBFD00000 ip=off noinitrd'
    fatload mmc 0 0x80009000 uImage
    bootm 0x80009000
    EOF
    2
    mkimage -A arm -o linux -T script -C none -a 0 -e 0 -n 'execute uImage.bin' -d xxx/xxx/boot_dvr.scr

  • Hi,

    I discussed this with team here and it appeared that we support only JFFS2 and nfs file systems on DM8168 DVR. I'm not sure what issues you would face with filesystem on SD card. Can you please try JFFS2 in NAND or NFS?