我尝试在DM385的IPNC上运行IPNC_RDK3.5的demo程序,运行的过程中报错如下:
[host]
[host] MultiChannel Framework for IPNC - (c) Texas Instruments 2012
[host]
[host] USAGE: ./ipnc_rdk_mcfw.out <option 1> <option 2> ...
[host]
[host] Following options are supported,
[host]
[host] TRISTREAM : Tri-streaming usecase of 1080p60H264+D130H264+1080P5MJPEG is supported
[host] DUALSTREAM : Dual-streaming usecase of 1080p60H264+D130H264 is supported
[host] SINGLESTREAM : Single-streaming usecase of 1080p60H264 is supported
[host] <Resolution Combo> : Details of the Resolution ID
[host] 1080P_D1/1080P_1080P/5MP_D1/8MP_D1/10MP_D1 is supported
[host] <Usecase Combo> : Details of the Combo ID
[host] SINGLE_H264/SINGLE_MPEG4/SINGLE_MJPEG/DUAL_H264/DUAL_MPEG4/H264_MJPEG/MPEG4_MJPEG/H264_MPEG4/TRIPLE_H264/TRIPLE_MPEG4 is supported
[host] SNF : Spatial Noise Filter is ENABLED
[host] TNF : Temporal Noise Filter is ENABLED
[host] LDC : Lens Distortion Correction is ENABLED
[host] VS : Video Stabilization is ENABLED
[host] FD : Face detection is ENABLED
[host] VA : Video Analytics use case is ENABLED (valid for DM8127 only)
[host] GLBCE <Mode> <Strength>: SALDRE/GLBCE use case is ENABLED
[host] GLBCE Mode options: HS for High Speed and HQ for High Quality
[host] GLBCE Strength options: LOW, MED and HIGH options for strength parameters
[host] VNF_SPEED/VNF_QUALITY: VNF_SPEED will use DSS VNF and VNF_QUALITY will use ISS VNF
[host] AUDIO [sample rate] : Set the sample rate of audio. Default is 8000 (8K) if not specified
[host] <2A VENDOR> : NONE2A/APPRO2A/TI2A to be selected based on the vendor for 2A algorithm
[host] <AEWB Mode> : AE/AWB/AEWB is ENABLED
[host] <CODEC MODE 1> : HIGH_SPEED1/HIGH_QUALITY1/SVC1 to be selected as codec encoding preset for stream 1
[host] <CODEC MODE 2> : HIGH_SPEED2/HIGH_QUALITY2/SVC2 to be selected as codec encoding preset for stream 2
[host] <codec mode 3>
[host] <codec mode 3>
sh: ./scripts/send_cmd.sh: not found
sh: ./scripts/send_cmd.sh: not found
sh: ./scripts/wait_cmd.sh: not found
sh: ./scripts/wait_cmd.sh: not found
sh: ./scripts/osa_kermod_load.sh: not found
insmod: can't read './kermod/vpss.ko': No such file or directory
sh: ./bin/mem_rdwr.out: not found
[host] Application Start Completed
[host] myfirst hello world
[host] 0: SYSTEM: System Common Init in progress !!!
[host] 0: SYSTEM: IPC init in progress !!!
Dev_pollOpen: Couldn't open /dev/syslinkipc_Osal: No such file or directory
Please ensure that SysLink's device driver module (syslink.ko) is installed
OsalDrv driver open: /dev/syslinkipc_Osal: No such file or directory
OsalDrv driver close: /dev/syslinkipc_Osal: Bad file descriptor
Dev_pollOpen: Couldn't open /dev/syslinkipc_MultiProc: No such file or directory
Please ensure that SysLink's device driver module (syslink.ko) is installed
/dev/syslinkipc_MultiProc: No such file or directory
MultiProc driver close: : Bad file descriptor
Dev_pollOpen: Couldn't open /dev/syslinkipc_SharedRegion: No such file or directory
Please ensure that SysLink's device driver module (syslink.ko) is installed
SharedRegion driver open: : No such file or directory
SharedRegion driver close: : Bad file descriptor
Dev_pollOpen: Couldn't open /dev/syslinkipc_GateMP: No such file or directory
Please ensure that SysLink's device driver module (syslink.ko) is installed
/dev/syslinkipc_GateMP: No such file or directory
Dev_pollOpen: Couldn't open /dev/syslinkipc_MessageQ: No such file or directory
Please ensure that SysLink's device driver module (syslink.ko) is installed
MessageQ driver close: : Bad file descriptor
Dev_pollOpen: Couldn't open /dev/syslinkipc_Notify: No such file or directory
Please ensure that SysLink's device driver module (syslink.ko) is installed
Notify driver close: /dev/syslinkipc_Notify: Bad file descriptor
Dev_pollOpen: Couldn't open /dev/syslinkipc_ProcMgr: No such file or directory
Please ensure that SysLink's device driver module (syslink.ko) is installed
ProcMgr driver open: /dev/syslinkipc_ProcMgr: No such file or directory
ProcMgr driver close: /dev/syslinkipc_ProcMgr: Bad file descriptor
Dev_pollOpen: Couldn't open /dev/syslinkipc_HeapBufMP: No such file or directory
Please ensure that SysLink's device driver module (syslink.ko) is installed
Dev_pollOpen: Couldn't open /dev/syslinkipc_HeapMemMP: No such file or directory
Please ensure that SysLink's device driver module (syslink.ko) is installed
/dev/syslinkipc_HeapMemMP: No such file or directory
Dev_pollOpen: Couldn't open /dev/syslinkipc_ListMP: No such file or directory
Please ensure that SysLink's device driver module (syslink.ko) is installed
/dev/syslinkipc_ListMP: No such file or directory
Dev_pollOpen: Couldn't open /dev/syslinkipc_RingIO: No such file or directory
Please ensure that SysLink's device driver module (syslink.ko) is installed
/dev/syslinkipc_RingIO: No such file or directory
RingIO driver close: : Bad file descriptor
Dev_pollOpen: Couldn't open /dev/syslinkipc_RingIOShm: No such file or directory
Please ensure that SysLink's device driver module (syslink.ko) is installed
/dev/syslinkipc_RingIOShm: No such file or directory
RingIO driver close: : Bad file descriptor
Dev_pollOpen: Couldn't open /dev/syslinkipc_ClientNotifyMgr: No such file or directory
Please ensure that SysLink's device driver module (syslink.ko) is installed
/dev/syslinkipc_ClientNotifyMgr: No such file or directory
ClientNotifyMgr driver close: : Bad file descriptor
Dev_pollOpen: Couldn't open /dev/syslinkipc_FrameQBufMgr: No such file or directory
Please ensure that SysLink's device driver module (syslink.ko) is installed
/dev/syslinkipc_FrameQBufMgr: No such file or directory
FrameQBufMgr driver close: : Bad file descriptor
Dev_pollOpen: Couldn't open /dev/syslinkipc_FrameQ: No such file or directory
Please ensure that SysLink's device driver module (syslink.ko) is installed
/dev/syslinkipc_FrameQ: No such file or directory
FrameQ driver close: : Bad file descriptor
Dev_pollOpen: Couldn't open /dev/syslinkipc_Ipc: No such file or directory
Please ensure that SysLink's device driver module (syslink.ko) is installed
Assertion at Line no: 344 in /usr/local/yourapp/Source/ipnc_rdk/../ti_tools/syslink_2_20_02_20/packages/ti/syslink/utils/hlos/usr/MultiProc.c: (MultiProc_module->refCount > 0) : failed
[host] 1745: SYSTEM: CPU [DSP] is NOT available on this platform !!!
Assertion at Line no: 344 in /usr/local/yourapp/Source/ipnc_rdk/../ti_tools/syslink_2_20_02_20/packages/ti/syslink/utils/hlos/usr/MultiProc.c: (MultiProc_module->refCount > 0) : failed
[host] 1745: SYSTEM: CPU [VIDEO-M3] is NOT available on this platform !!!
Assertion at Line no: 344 in /usr/local/yourapp/Source/ipnc_rdk/../ti_tools/syslink_2_20_02_20/packages/ti/syslink/utils/hlos/usr/MultiProc.c: (MultiProc_module->refCount > 0) : failed
[host] 1745: SYSTEM: CPU [VPSS-M3] is NOT available on this platform !!!
Assertion at Line no: 344 in /usr/local/yourapp/Source/ipnc_rdk/../ti_tools/syslink_2_20_02_20/packages/ti/syslink/utils/hlos/usr/MultiProc.c: (MultiProc_module->refCount > 0) : failed
[host] 1745: SYSTEM: CPU [HOST] is NOT available on this platform !!!
[host] 1745: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
[host] 1745: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
[host] 1745: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
[host] 1745: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
[host] 1745: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
[host] 1745: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
[host] 1745: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
[host] 1745: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
[host] 1745: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
[host] 1745: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
ASSERT (system_ipc_msgq.c|System_ipcMsgQHeapCreate|38)
我根据错误,就加载了ipnc_mcfw/bin/ti810x/kermod里的.ko文件,但是在加载.vpss的时候出现了下面的错误:
root@192:/# insmod vpss.ko
VPSS_FVID2: Unable to get firmware version
VPSS_CORE : Failed to init fvid2 interface,
vpss: probe of vpss failed with error -22
VPSS_CORE : failed to register ti81xx-vpss driver
insmod: error inserting 'vpss.ko': -1 No such device
kermod中的文件有,osa_kermod.ko,syslink.ko,ti81xxfb.ko,ti81xxhdmi.ko,vpss.ko;其中osa_kermod.ko,syslink.ko可以顺利加载,ti81xxfb.ko,ti81xxhdmi.ko是需要依赖vpss.ko的。