Intersil TW6869 Linux driver: Difference between revisions

From RidgeRun Developer Wiki
mNo edit summary
mNo edit summary
Line 12: Line 12:
{{Template:Eval SDK Download, Demo Image download and Contact Us buttons}}
{{Template:Eval SDK Download, Demo Image download and Contact Us buttons}}
</center></td></tr></table>
</center></td></tr></table>
<table>
<tr>
<td><div class="clear; float:right">__TOC__</div></td>
<td valign=top>
{{Debug Symbol}} Problems running the pipelines shown on this page?<br>Please see our [http://developer.ridgerun.com/wiki/index.php?title=GStreamer_Debugging GStreamer Debugging guide] for help.
</td>
</table>


= TW6869 features =  
= TW6869 features =  
Line 21: Line 29:


  * Tested resolution 720x480. Tested format NTFS.
  * Tested resolution 720x480. Tested format NTFS.
= Source code =
In order to get the source code please submit your Inquiry at our [http://www.ridgerun.com/contact Contact Us Link].


= Enable driver =
= Enable driver =
Line 87: Line 92:
gst-launch-1.0 v4l2src ! xvimagesink                             
gst-launch-1.0 v4l2src ! xvimagesink                             
</pre>
</pre>
= Contact Us =
If you are interested in purchasing the driver, or would like more information please send an email to '''support@ridgerun.com''' or post your inquiry at our [http://www.ridgerun.com/contact/ Contact Us link]


[[Category:Jetson]]
[[Category:Jetson]]

Revision as of 16:11, 25 December 2017


Template:Eval SDK Download, Demo Image download and Contact Us buttons

Problems running the pipelines shown on this page?
Please see our GStreamer Debugging guide for help.

TW6869 features

Reference: Intersil TW6869 bridge chip

The Intersil TW6869 is an HDMI 1.4 to MIPI CSI-2 1.01 bridge chip capable of handling video data up to 1080P at 60 fps. The Intersil TW6869 is a highly integrated solution that supports multi-channel video and audio capture via PCIe x1 interface for PC DVR system and video analytic application. It contains high quality eight channel NTSC/PAL/SECAM video decoders that convert analog composite video signal to digital component YCbCr data.

* Tested resolution 720x480. Tested format NTFS.

Enable driver

The driver was developed for kernel 3.10.67 using NVIDIA kernel source l4t-r23.2.

1. Follow the instructions in Compiling Jetson TX1 source code (Downloading the code) to get the kernel source code.

2. Once you have the source code, apply the following two patches if you haven't yet, for fixing kernel errors during compilation.

kernel_r7_asm.patch

logical_comparison.patch

3. Apply the driver patches:

  • PCI-Add-quirk-for-setting-valid-class-for-tw6869.patch
  • fix-unknown-ioctl-V.patch
  • add-tw6869-driver.patch

4. Follow the instructions in Compiling_Jetson_TX1_source_code (Build Kernel) for building the kernel, and then flash the image.

Make sure to enable TW6869 driver support

make menuconfig

Enable Analog TV support

-> Device Drivers
  -> Multimedia support (MEDIA_SUPPORT [=y])
    ->Analog TV support (MEDIA_ANALOG_TV_SUPPORT [=y])

Enable TW6869 module

-> Device Drivers
  -> Multimedia support (MEDIA_SUPPORT [=y])
    -> Media PCI Adapters (MEDIA_PCI_SUPPORT [=y])
      -> TW6869 (VIDEO_TW6869 [=m])

Mount the kernel module

sudo modprobe videobuf2-dma-contig                                                          

sudo modprobe tw6869

Examples

v4l2 utils

v4l2 utils V4L2 Test Application can be used for testing the driver, according to the input video resolution:

v4l2-ctl --device /dev/video0 --stream-mmap --stream-to=frame.raw --stream-count=1

Also Raw pixels can be used for visualizing the captured frame.

GStreamer

To capture a video use:

gst-launch-1.0 v4l2src ! xvimagesink                            

Contact Us

If you are interested in purchasing the driver, or would like more information please send an email to support@ridgerun.com or post your inquiry at our Contact Us link