hi,
I can not add v4l2 driver in 8148 EVM.
My kernel is uImage-dm814x-evm.bin of ezsdk5.03..
My bootargs are: console=ttyO0,115200n8 rootwait rw mem=256M earlyprintk notifyk.vpssm3_sva=0xa0000000 vram=50M ti814xfb.vram=0:16M,1:16M,2:6M root=/dev/nfs nfsroot=192.168.2.76:/root/targetfs ip=192.168.2.79
But,
when i insmod vpss.ko
Serial print error:
notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0......................
notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0VPSS_CORE : Failed to init fvid2 interface,vpss: probe of vpss failed with error -22VPSS_CORE : failed to register ti81xx-vpss driverRegards,
zhan
Hi,
I think you forgot to load the binary. Following are the steps to be followed to load binary.
http://processors.wiki.ti.com/index.php/TI81XX_VPSS_Video_Driver_User_Guide#Load_VPSS.2C_Fbdev.2C_and_V4L2_Display_Driver_Modules
Regards,
Hardik Shah
Please mark this post as answered via the Verify Answer button below if you think it answers your question. Thanks!
Shah,
Thanks for your help
My steps were:
1.In the Linux boot process ,
...................................
notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0VPSS_CORE : Failed to init fvid2 interface,vpss: probe of vpss failed with error -22VPSS_CORE : failed to register ti81xx-vpss driverFATAL: Error inserting ti81xxhdmi (/lib/modules/2.6.37/kernel/drivers/video/ti81xx/ti81xxhdmi/ti81xxhdmi.ko): No such deviceStarting system message bus: dbus.Starting telnet daemon.Starting syslogd/klogd: doneStarting thttpd.......................
2.but i can login on my 8148EVM,i do
root@dm814x-evm:/# lsmodModule Size Used bybufferclass_ti 4946 0pvrsrvkm 155474 1 bufferclass_titlc59108 1545 0syslink 1112651 0ipv6 209855 12root@dm814x-evm:/# cd TI814x-HDVPSS-01.00.01.33/root@dm814x-evm:/TI814x-HDVPSS-01.00.01.33# lsslaveloader ti81xxfb.ko tlc59108.kosyslink.ko ti81xxhdmi.ko tvp7002.koti814x_hdvpss_1G.xem3 ti81xxvin.ko vpss.koti814x_hdvpss_512M.xem3 ti81xxvo.koroot@dm814x-evm:/TI814x-HDVPSS-01.00.01.33# ./slaveloader startup VPSS-M3 ti814x_hdvpss_1G.xem3Attached to slave procId 2.Loaded file ti814x_hdvpss_1G.xem3 on slave procId 2.Started slave procId 2.root@dm814x-evm:/TI814x-HDVPSS-01.00.01.33#root@dm814x-evm:/lib/modules/2.6.37/kernel/drivers/video/ti81xx/vpss# lsvpss.koroot@dm814x-evm:/lib/modules/2.6.37/kernel/drivers/video/ti81xx/vpss#root@dm814x-evm:/lib/modules/2.6.37/kernel/drivers/video/ti81xx/vpss# insmod vpss.ko sbufaddr=0xa0200000notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0VPSS_CORE : Failed to init fvid2 interface,vpss: probe of vpss failed with error -22VPSS_CORE : failed to register ti81xx-vpss driverinsmod: error inserting 'vpss.ko': -1 No such deviceroot@dm814x-evm:/lib/modules/2.6.37/kernel/drivers/video/ti81xx/vpss#
Will you help me?
thanks
It seems you have 512MB board and you are trying to load 1G binary. Please confirm that you have 1GB board and not 512MB board. If you have 512MB board u-boot will also require change. which PSP release are you using?
Thanks for the very quick response.
I think i have 512MB board.I change my u-boot argument,but result is same!
The bootargs are:
bootfile=uImage-dm814x-evm.binbootargs=console=ttyO0,115200n8 rootwait rw mem=256M earlyprintk notifyk.vpssm3_sva=0x8DB00000 vram=50M ti814xfb.vram=0:16M,1:16M,2:6M root=/dev/nfs nfsroot=192.168.2.76:/root/targetfs ip=192.168.2.79
PSP:linux-2.6.37-psp04.01.00.06.patch2
Can you tell me how to do it? Could you provide the bootargs and all steps to load M3 firware and modules?
Thanks,
I think you have to change u-boot code also for 512MB board. You can refer to u-boot userGuide for same. Further you need to load 512MB .xem3 which is packaged with PSP.
Zhan,
the firmware inside PSP release is different with the one in EZSDK, they have different memory map.
for the EZSDK firmware: please read below link:
http://processors.wiki.ti.com/index.php/EZSDK_Memory_Map#Changing_Memory_Map_For_512MB_Board
for PSP firmware, please read below link:
http://processors.wiki.ti.com/index.php/DM814X_AM387X_VPSS_Video_Driver_User_Guide#Read_This_First
yihe
PS: Please mark this post as answered via the Verify Answer button below if you think it answers your question. Thanks!
Hi Hardik,
If I want to work on v4l2 capture, do I still have to use 512MB .xem3 or still use dm814x_hdvpss_v4l2.xem3?
Please confirm this.
Jun
Replied in below thread@http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/p/186056/672537.aspx#672537