This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

I2C errors on DM8148, can get TVP7002 Initialized.

Other Parts Discussed in Thread: TVP7002

Hi,

I am trying to do a basic v4l2 capture on a DM8148 EVM.  I am using the filesystem (and kernel within the filesystem) from the EZSDK 5.0.0.11 which has PSP 4.4.0.1.

I have copied the /usr/share/ti/ti-media-controller-utils/load-hd-v4l2-firmware.sh to the /etc/init.d/load-hd-firmware.sh file and rebooted.

However, I am getting the following errors (via dmesg) and the V4L2 capture interface (we are trying to use component inputs) is not coming up.  I have trying reseating the daughter card (per another E2E post), and I think I am loading the correct VPSS firmware.  Any ideas as to why the I2C bus is not working? 

-Mike

omap_i2c omap_i2c.3: controller timed out
I2C: Transfer failed at vps_ti814x_select_video_decoder 202 with error code: -110
PM: Adding info for i2c:3-005d
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
eth0: no IPv6 routers present
omap_i2c omap_i2c.3: controller timed out
tvp7002 3-005d: TVP7002 read error -110
tvp7002: probe of 3-005d failed with error -110
PM: Removing info for i2c:3-005d
ti81xxvin ti81xxvin: Error registering v4l2 subdevice

  • Ok,

    I found the issue with the I2C, the load-hd-v4l2-firmware.sh script is missing tje "-i2c 0" argument in the firmware_loader lines.

    I am trying to run a simple gstreamer capture line to capture 720p60 (or 1080p60) from the component input.  Are there any example gst-launch scripts to do this?  The wiki on the capture for the most recent PSP has example application for for v4l2, but no example gstreamer scripts.  Any change someone could add a couple?  

    It's not clear how to tell the v4l2src to use the component inputs instead of the hdmi input.  Do I need to change the module "mode=" parameters to the vpss kernel module load?  

    Thanks.

    -Mike

  • Refer to below thread for gst pipeline

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/213751.aspx