使用EZSDK开发包,安装ezsdk中的手册TI81XX_Video_Capture_Driver_User_Guide.pdf步骤操作,遇到下面问题:请问是什么原因造成的
root@dm816x-evm:~#root@dm816x-evm:~# /usr/share/ti/syslink-examples/TI816X/sharedregion/slaveloade
r startup VPSS-M3 /usr/share/ti/ti-media-controller-utils/dm816x_hdvpss.xem3
Attached to slave procId 2.
Loading procId 2.
Loaded file /usr/share/ti/ti-media-controller-utils/dm816x_hdvpss.xem3 on slave procId 2.
Started slave procId 2.
root@dm816x-evm:~# cd /home/driver/
root@dm816x-evm:/home/driver# ls
sii9022a.ko ti81xxhdmi.ko ti81xxvo.ko vpss.ko
ti81xxfb.ko ti81xxvin.ko tvp7002.ko
root@dm816x-evm:/home/driver# insmod vpss.konotify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
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
root@dm816x-evm:/home/driver#
Louis:
可能是一些aragp pre-installed 的 *.ko 与vpss.ko有冲突,下面的链接是否能帮到你?
http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/146050.aspx
zhouzhuan2008 zhouzhuan2008:
回复 Louis:
我查看了,应该是没有驱动重复加载导致冲突了。
您觉得还有别的什么方面的原因造成了这个问题吗?
另外还有别的客户反映过这个问题吗?
zhouzhuan2008 zhouzhuan2008:
回复 Louis:
另外,我查看了内核源代码,发现问题是出在下面这个地方:
/* Remote notification is not initialized */#define NOTIFY_E_NOTINITIALIZED -16
/* Stamp indicating that the Notify Shared Memory driver on the * processor has been initialized. */#define NOTIFYSHMDRIVER_INIT_STAMP 0xA9C8B7D6
/* Send a notification event to the registered users for this * notification on the specified processor. */int notify_shm_drv_send_event(struct notify_driver_object *handle, u32 event_id, u32 payload, bool wait_clear){
………….
/* Check whether driver on other processor is initialized */
if (obj->other_proc_ctrl->recv_init_status != \
NOTIFYSHMDRIVER_INIT_STAMP) { /* This may be used for polling till other-side driver is ready, * so do not set failure reason. */ status = NOTIFY_E_NOTINITIALIZED; goto exit; }
………..
}
我的理解是共享内存初始化失败?导致了这个问题的产生。您有什么看法呢?
YiLong Zhou:
回复 zhouzhuan2008 zhouzhuan2008:
后面问题解决了吗? 我也怀疑共享内存有问题,因为我的容量不一样,改了这部分设置。比较麻烦的是,我的芯片方案除了cpu,其它几乎都变了,所以很难找问题。