Hi,
I am using DM8168 based custom board, with EZSDK 5.05.02.00 (PSP 04.04.00.01)
By default, we are loading HDVPSS prebuilt image named 'dm816x_hdvpss.xem3' of around 21MB size with firmware_load script.
Now we need to change the HDVPSS image, we compiled the HDVPSS image according the README.txt in HDVPSS directory, (Note: There were no changes made in HDVPSS codes, but only compiled in our PC. Previously it was taking prebuilt images), after making necessary changes in Rules.make and Makefile, and got new HDVPSS core image named 'ti816x_hdvpss.xem3', around 9.1MB size only. And copied the new image file in 'usr/share/ti/ti-media-controller-utils/ti816x_hdvpss.xem3' and edited the script in 'etc/init.d/load-hd-firmware.sh' in order to load the ti816x_hdvpss.xem3. And on booting, it hangs on loading this newly compiled image, and reboots after few minutes. If I change the load-hd-firmware.sh script back to load the prebuilt image dm816x_hdvpss.xem3, there is no issue, board is booting and working fine.
As per DM816X_AM389X_VPSS_Video_Driver_User_Guide, I have changed the firmware_load ti816x_hdvpss.xem3 to
./slaveloader startup VPSS-M3 ti816x_hdvpss.xem3, then I got as below:
Attached to slave procId 2.
Loading procId 2.
Loaded file /usr/share/ti/ti-media-controller-utils/ti816x_hdvpss.xem3 on slave procId 2.
Started slave procId 2.
Loading C67X DSP Firmware
I hope, the ti816x_hdvpss.xem3 is loaded successfully, and after that the prints are coming like below:
...............................................................................
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
FATAL: Error inserting vpss (/lib/modules/2.6.37/kernel/drivers/video/ti81xx/vpss/vpss.ko): No such device
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
FATAL: Error inserting ti81xxfb (/lib/modules/2.6.37/kernel/drivers/video/ti81xx/ti81xxfb/ti81xxfb.ko): No such device
open /dev/fb0: No such file or directory
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
FATAL: Error inserting ti81xxhdmi (/lib/modules/2.6.37/kernel/drivers/video/ti81xx/ti81xxhdmi/ti81xxhdmi.ko): No such device
Starting system message bus: dbus.
EXT3-fs: barriers not enabled
...........................................
and booting is complete.
After that I have followed processors.wiki.ti.com/.../TI81XX_PSP_VIDEO_CAPTURE_Driver_User_Guide for loading
VPSS module by insmod vpss.ko. It also ends up as below eventhough I have copied vpss.ko in the directory /lib/modules/2.6.37/kernel/drivers/video/ti81xx/vpss/vpss.ko
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
FATAL: Error inserting vpss (/lib/modules/2.6.37/kernel/drivers/video/ti81xx/vpss/vpss.ko): No such device
Then as per e2e.ti.com/.../1178264. still the out put has no change, prints are coming like below:
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
What else I have to do ?