Intersil TW6869 Linux driver: Difference between revisions
mNo edit summary |
No edit summary |
||
(26 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<seo title="Intersil TW6869 | TW6869 Linux Driver for Jetson | <seo title="Intersil TW6869 | Intersil TW6869 Linux Driver for Jetson | RidgeRun" titlemode="replace" metakeywords="GStreamer, Linux SDK, Linux BSP, Embedded Linux, Device Drivers, Nvidia, Xilinx, TI, NXP, Freescale, Embedded Linux driver development, Linux Software development, Embedded Linux SDK, Embedded Linux Application development, GStreamer Multimedia Framework, Intersil TW6869, TW6869, HDMI 1.4 to MIPI CSI-2 1.01 bridge, HDMI 1.4 to MIPI CSI-2 1.01, Intersil TW6869 Linux driver" metadescription="Get an HDMI 1.4 to MIPI CSI-2 1.01 bridge for video data up to 1080P at 60 fps with the Intersil TW6869. Learn about this Linux Driver for Jetson at RidgeRun."></seo> | ||
{{Driver-shoppingcart & NVIDIA logo & RR Contact}} | |||
< | <br> | ||
<td> | <td> | ||
{{GStreamer debug}} | |||
<td> | <td> | ||
{{message|title=Driver List Information|Refer to the [[RidgeRun_Linux_Camera_Drivers/Available_Camera_Drivers/List_of_Tested_Camera_Sensors|RidgeRun Linux Camera Drivers]] to meet all the list of Drivers available}} | |||
{{ | |||
= Intersil TW6869 features = | == Intersil TW6869 features == | ||
Reference: [http://go.intersil.com/rs/intersilcorporation/images/tw6869-ds.pdf Intersil TW6869 bridge chip] | Reference: [http://go.intersil.com/rs/intersilcorporation/images/tw6869-ds.pdf Intersil TW6869 bridge chip] | ||
The Intersil TW6869 is a highly integrated solution that supports multi-channel video and audio capture via PCIe x1 interface for PC DVR systems and video analytic applications. It contains high quality eight-channel NTSC/PAL/SECAM video decoders that convert the analog composite video signal to digital component YCbCr data. | |||
The Intersil TW6869 is a highly integrated solution that supports multi-channel video and audio capture via PCIe x1 interface for PC DVR | |||
* Tested resolution: 720x480. | |||
* Tested format: NTFS. | |||
= Enable driver = | == Enable driver == | ||
The driver was developed for kernel 3.10.67 using NVIDIA kernel source l4t-r23.2. | The driver was developed for kernel 3.10.67 using NVIDIA kernel source l4t-r23.2. | ||
'''1.''' Follow the instructions in [ | '''1.''' Follow the instructions in [[Compiling_Jetson_TX1/TX2_source_code#Downloading_the_code | Compiling Jetson_TX1/TX2 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. | '''2.''' Once you have the source code, apply the following two patches if you haven't yet, for fixing kernel errors during compilation. | ||
Line 47: | Line 35: | ||
*add-tw6869-driver.patch | *add-tw6869-driver.patch | ||
'''4.''' Follow the instructions in [ | '''4.''' Follow the instructions in [[Compiling_Jetson_TX1/TX2_source_code#Build_Kernel | Compiling_Jetson_TX1/TX2_source_code (Build Kernel)]] for building the kernel, and then flash the image. | ||
Make sure to enable TW6869 driver support | Make sure to enable TW6869 driver support | ||
Line 69: | Line 57: | ||
</pre> | </pre> | ||
= Mount the kernel module = | == Mount the kernel module == | ||
<pre> | <pre> | ||
sudo modprobe videobuf2-dma-contig | sudo modprobe videobuf2-dma-contig | ||
Line 76: | Line 64: | ||
</pre> | </pre> | ||
=Examples= | ==Examples== | ||
==v4l2 utils== | ===v4l2 utils=== | ||
v4l2 utils [https://linuxtv.org/wiki/index.php/V4l-utils V4L2 Test Application] can be used for testing the driver, according to the input video resolution: | v4l2 utils [https://linuxtv.org/wiki/index.php/V4l-utils V4L2 Test Application] can be used for testing the driver, according to the input video resolution: | ||
Line 87: | Line 75: | ||
Also [http://rawpixels.net/ Raw pixels] can be used for visualizing the captured frame. | Also [http://rawpixels.net/ Raw pixels] can be used for visualizing the captured frame. | ||
==GStreamer== | ===GStreamer=== | ||
To capture a video use: | To capture a video use: | ||
< | <syntaxhighlight lang="bash"> | ||
gst-launch-1.0 v4l2src ! xvimagesink | gst-launch-1.0 v4l2src ! xvimagesink | ||
</ | </syntaxhighlight> | ||
{{ContactUs}} | |||
[[Category:Jetson]][[Category:Jetson V4L2 Drivers]] | [[Category:Jetson]][[Category:Jetson V4L2 Drivers]][[Category:Intersil]] |
Latest revision as of 21:15, 18 September 2024
Problems running the pipelines shown on this page? Please see our GStreamer Debugging guide for help. |
Intersil TW6869 features
Reference: Intersil TW6869 bridge chip
The Intersil TW6869 is a highly integrated solution that supports multi-channel video and audio capture via PCIe x1 interface for PC DVR systems and video analytic applications. It contains high quality eight-channel NTSC/PAL/SECAM video decoders that convert the 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/TX2 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/TX2_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
RidgeRun Resources | |||||
Contact Us
|