On mistral 8148 evaluation module a tvp7002 successfully worked with PSP-04.01.00.07.
But with EZSDK 5.04.00.11 the tvp7002 doesn't response on i2c.
tvp7002 3-005d: tvp7002 found @ 0x5d (OMAP I2C adapter)omap_i2c omap_i2c.3: controller timed outomap_i2c omap_i2c.3: controller timed outomap_i2c omap_i2c.3: controller timed outomap_i2c omap_i2c.3: controller timed outomap_i2c omap_i2c.3: controller timed outtvp7002 3-005d: TVP7002 read error -110tvp7002: probe of 3-005d failed with error -110
I have tried different arguments while modprobing vpss, but with no success.
Can anyone give some suggestions how to connect to tvp7002 with new EZSDK.
Lomo Photonics Ltd.
This usually happens if you are mixing the firmware when you use V4L interface.
If you are using V4L api to interface with tvp7002, please follow these instructions (from http://processors.wiki.ti.com/index.php/DM814x_EZ_5.04.00_Software_Developers_Guide) :
The OMX Capture/Display software is orthogonal to the V4L2 drivers. Hence a different set of firmware is provided if you wish to use V4L2 instead of OMX VFDC, VFPC and VFCC components. To support V4L2 and a different initscript is provided. Copy over the V4L2 specific initscript to the /etc/init.d directory.
target # cd /usr/share/ti/ti-media-controller-utils
target # cp load-hd-v4l2-firmware.sh /etc/init.d/load-hd-firmware.sh
target # sync
Now power cycle the board and it will be setup to load the alternate firmware which supports V4L2.
Thanks for reply.
I use load-hd-v4l2-firmware.sh, but it doesn't help. Without this script the tvp7002 driver isn't even loaded.
Can you please attache both .sh files. I will have a look at it.
Please mark this post as answered via the Verify Answer button below if you think it answers your question. Thanks!
These .sh files are from ezsdk 5.04.00.11 filesystem.
(they are really .sh, but this forum doesn't allow this file type).
The TI guys changed the interface on the firmware loader in this release but failed to update the shell script. What happens is the M3 firmware ends up taking over the I2C bus and your Kernel can't setup the 7002.
Add "-i2c 0" to the following lines:
firmware_loader $HDVICP2_ID /usr/share/ti/ti-media-controller-utils/dm814x_hdvicp.xem3 start -i2c 0echo "Loading HDVPSS (V4L2) Firmware "firmware_loader $HDVPSS_ID /usr/share/ti/ti-media-controller-utils/dm814x_hdvpss_v4l2.xem3 start -i2c 0
It would be great if the documentation were up to date, consistent, or if we had an idea that this stuff is tested in any capacity before it's shipped...
Thank you very mauch.
Now it works. But i also reset i2c_mode in modprobe of vpss.
modprobe vpss sbufaddr=0xBFB00000 mode=hdmi:1080p-60 i2c_mode=0
I have the same problem loading tvp7002:
FIRMWARE: 2 start Successful VPSS_DCTRL: venc name(hdcomp) not existing. omap_i2c omap_i2c.3: controller timed out I2C: Transfer failed at vps_ti814x_select_video_decoder 188 with error code: -110 Configuring fb0 to LCD tvp7002 3-005d: tvp7002 found @ 0x5d (OMAP I2C adapter) omap_i2c omap_i2c.3: controller timed out omap_i2c omap_i2c.3: controller timed out omap_i2c omap_i2c.3: controller timed out omap_i2c omap_i2c.3: controller timed out omap_i2c omap_i2c.3: controller timed out tvp7002 3-005d: TVP7002 read error -110 tvp7002: probe of 3-005d failed with error -110 ti81xxvin ti81xxvin: Error registering v4l2 subdevice
but, in my load-hd-firmware.sh there is the bugfix "-i2c 0" and "i2c_mode=0".
I attach my bootLog with bootargs and the load-hd-firmware.sh.
Thanks for any help.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.