Difference between revisions of "Toshiba TC358743 Linux driver for Jetson"

From RidgeRun Developer Connection
Jump to: navigation, search
m
m
 
(31 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<seo title="Toshiba TC358743 | TC358743 Linux Driver for Jetson TX1" titlemode="replace" keywords="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." description="The Toshiba TC358743 Linux driver for Jetson TX1 is capable of handling video data up to 180P at 60fps. Learn about TC358743's features from RidgeRun today."></seo>
+
<seo title="Toshiba TC358743 | TC358743 Linux Driver for Jetson" titlemode="replace" metakeywords="GStreamer, Embedded Linux, Device Drivers, NVIDIA, Xilinx, TI, NXP, Freescale, Embedded Linux driver development, Linux Software development, TC358743, Toshiba TC358743, Toshiba TC358743 Linux driver, Toshiba TC358743 Linux driver for Jetson TX1, Toshiba TC358743 Linux driver for Jetson TX2, Toshiba TC358743 Linux driver for Jetson Nano, Toshiba TC358743 Linux driver for Jetson Xavier, NVIDIA Jetson TX1, NVIDIA Jetson TX2, NVIDIA Jetson Nano, NVIDIA Jetson Xavier, Jetson Nano, Jetson TX1, Jetson TX2, Jetson Xavier, TX1, TX2, Nano, Xavier" metadescription="Learn more about the Toshiba TC358743 Linux driver for Jetson which is capable of handling video data up to 1080P at 60fps."></seo>
  
 
<table>
 
<table>
Line 5: Line 5:
 
<td><div class="clear; float:right">__TOC__</div></td>
 
<td><div class="clear; float:right">__TOC__</div></td>
 
<td>
 
<td>
<html>
+
{{Shopping cart mpo for V4L2 camera drivers}}
<div id='product-component-2016314e15a'></div>
+
<td>
    <script type="text/javascript">
+
{{NVIDIA Preferred Partner logo}}
    /*<![CDATA[*/
+
<td>
 
 
    (function () {
 
      var scriptURL = 'https://sdks.shopifycdn.com/buy-button/latest/buy-button-storefront.min.js';
 
      if (window.ShopifyBuy) {
 
        if (window.ShopifyBuy.UI) {
 
          ShopifyBuyInit();
 
        } else {
 
          loadScript();
 
        }
 
      } else {
 
        loadScript();
 
      }
 
 
 
      function loadScript() {
 
        var script = document.createElement('script');
 
        script.async = true;
 
        script.src = scriptURL;
 
        (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(script);
 
        script.onload = ShopifyBuyInit;
 
      }
 
 
 
      function ShopifyBuyInit() {
 
        var client = ShopifyBuy.buildClient({
 
          domain: 'ridgerun1.myshopify.com',
 
          storefrontAccessToken: 'b0ca98633a82de5d2f63cd51f5af30ac',
 
        });
 
 
 
        ShopifyBuy.UI.onReady(client).then(function (ui) {
 
          ui.createComponent('product', {
 
            id: [1748439072839],
 
            node: document.getElementById('product-component-2016314e15a'),
 
            moneyFormat: '%24%7B%7Bamount%7D%7D',
 
            options: {
 
  "product": {
 
    "buttonDestination": "checkout",
 
    "variantId": "all",
 
    "width": "240px",
 
    "contents": {
 
      "imgWithCarousel": false,
 
      "variantTitle": false,
 
      "description": false,
 
      "buttonWithQuantity": false,
 
      "quantity": false
 
    },
 
    "text": {
 
      "button": "Purchase Now"
 
    },
 
    "styles": {
 
      "product": {
 
        "@media (min-width: 601px)": {
 
          "max-width": "100%",
 
          "margin-left": "0",
 
          "margin-bottom": "50px"
 
        }
 
      },
 
      "button": {
 
        "background-color": "#0196ba",
 
        "font-family": "Open Sans, sans-serif",
 
        "font-size": "18px",
 
        "padding-top": "17px",
 
        "padding-bottom": "17px",
 
        "padding-left": "50px",
 
        "padding-right": "50px",
 
        ":hover": {
 
          "background-color": "#0187a7"
 
        },
 
        "border-radius": "5px",
 
        ":focus": {
 
          "background-color": "#0187a7"
 
        },
 
        "font-weight": "bold"
 
      },
 
      "quantityInput": {
 
        "font-size": "18px",
 
        "padding-top": "17px",
 
        "padding-bottom": "17px"
 
      },
 
      "compareAt": {
 
        "font-size": "12px"
 
      }
 
    },
 
    "googleFonts": [
 
      "Open Sans"
 
    ]
 
  },
 
  "cart": {
 
    "contents": {
 
      "button": true
 
    },
 
    "styles": {
 
      "button": {
 
        "background-color": "#0196ba",
 
        "font-family": "Open Sans, sans-serif",
 
        "font-size": "18px",
 
        "padding-top": "17px",
 
        "padding-bottom": "17px",
 
        ":hover": {
 
          "background-color": "#0187a7"
 
        },
 
        "border-radius": "5px",
 
        ":focus": {
 
          "background-color": "#0187a7"
 
        },
 
        "font-weight": "bold"
 
      },
 
      "footer": {
 
        "background-color": "#ffffff"
 
      }
 
    },
 
    "googleFonts": [
 
      "Open Sans"
 
    ]
 
  },
 
  "modalProduct": {
 
    "contents": {
 
      "img": false,
 
      "imgWithCarousel": true,
 
      "variantTitle": false,
 
      "buttonWithQuantity": true,
 
      "button": false,
 
      "quantity": false
 
    },
 
    "styles": {
 
      "product": {
 
        "@media (min-width: 601px)": {
 
          "max-width": "100%",
 
          "margin-left": "0px",
 
          "margin-bottom": "0px"
 
        }
 
      },
 
      "button": {
 
        "background-color": "#0196ba",
 
        "font-family": "Open Sans, sans-serif",
 
        "font-size": "18px",
 
        "padding-top": "17px",
 
        "padding-bottom": "17px",
 
        "padding-left": "50px",
 
        "padding-right": "50px",
 
        ":hover": {
 
          "background-color": "#0187a7"
 
        },
 
        "border-radius": "5px",
 
        ":focus": {
 
          "background-color": "#0187a7"
 
        },
 
        "font-weight": "bold"
 
      },
 
      "quantityInput": {
 
        "font-size": "18px",
 
        "padding-top": "17px",
 
        "padding-bottom": "17px"
 
      }
 
    },
 
    "googleFonts": [
 
      "Open Sans"
 
    ]
 
  },
 
  "toggle": {
 
    "styles": {
 
      "toggle": {
 
        "font-family": "Open Sans, sans-serif",
 
        "background-color": "#0196ba",
 
        ":hover": {
 
          "background-color": "#0187a7"
 
        },
 
        ":focus": {
 
          "background-color": "#0187a7"
 
        },
 
        "font-weight": "bold"
 
      },
 
      "count": {
 
        "font-size": "18px"
 
      }
 
    },
 
    "googleFonts": [
 
      "Open Sans"
 
    ]
 
  },
 
  "productSet": {
 
    "styles": {
 
      "products": {
 
        "@media (min-width: 601px)": {
 
          "margin-left": "-20px"
 
        }
 
      }
 
    }
 
  }
 
}
 
          });
 
        });
 
      }
 
    })();
 
    /*]]>*/
 
    </script>
 
</html>
 
 
<td>
 
<td>
{{Debug Symbol}} Problems running the pipelines shown on this page?<br>Please see our [[GStreamer Debugging]] guide for help.
+
{{GStreamer debug}}
<br>
+
<td>
 +
<center>
 +
{{ContactUs Button}}
 +
</center>
 +
</tr>
 +
</table>
 
<br>
 
<br>
<div style='text-align: center;'>[[File:RR Contact Us.png|200px|link=http://www.ridgerun.com/contact]]</div>
 
</td>
 
</td>
 
</tr></table>
 
  
== TC358743 features ==  
+
== Toshiba TC358743 HDMI® Interface Bridge features ==  
 
Reference: [http://toshiba.semicon-storage.com/us/product/assp/detail.TC358743XBG.html Toshiba TC358743 bridge chip]
 
Reference: [http://toshiba.semicon-storage.com/us/product/assp/detail.TC358743XBG.html Toshiba TC358743 bridge chip]
  
 
The Toshiba TC358743 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 Toshiba TC358743 is an HDMI 1.4 to MIPI CSI-2 1.01 bridge chip capable of handling video data up to 1080P at 60 fps.
  
* Tested resolutions are 1280x720 at 30fps and 60fps, 1920x1080 at 30fps. Tested format is UYVY.
+
== Supported platforms ==
 +
 
 +
* NVIDIA Jetson TX1
 +
* NVIDIA Jetson TX2
 +
* NVIDIA Jetson Nano
 +
* NVIDIA Jetson Xavier
  
* The TC358743 driver supports 2 and 4 lanes configuration for the given resolutions.
+
== Features included in this driver ==
 +
<br>
 +
<center>
 +
{| class="wikitable sortable"
 +
|-
 +
! TX1
 +
|<!--
 +
-->
 +
{| class="wikitable sortable mw-collapsible mw-collapsed" style="width:100%; margin:0;"
 +
! Feature
 +
! Details
 +
! SDK Support
 +
|-
 +
| 1280x720@30fps
 +
| 2/4 Lanes, UYVY
 +
| Jetpack 3.2
 +
|-
 +
| 1280x720@60fps
 +
| 2/4 Lanes, UYVY
 +
| Jetpack 3.2
 +
|-
 +
| 1920x1080@30fps
 +
| 2/4 Lanes, UYVY
 +
| Jetpack 3.2
 +
|}<!--
 +
-->
 +
|-
 +
! TX2
 +
|<!--
 +
-->
 +
{| class="wikitable sortable mw-collapsible mw-collapsed" style="width:100%; margin:0;"
 +
! Feature
 +
! Details
 +
! SDK Support
 +
|-
 +
| 1280x720@30fps
 +
| 2/4 Lanes, UYVY
 +
| Jetpack 3.2
 +
|-
 +
| 1280x720@60fps
 +
| 2/4 Lanes, UYVY
 +
| Jetpack 3.2
 +
|-
 +
| 1920x1080@30fps
 +
| 2/4 Lanes, UYVY
 +
| Jetpack 3.2
 +
|-
 +
|}<!--
 +
-->
 +
|-
 +
! Nano
 +
|<!--
 +
-->
 +
{| class="wikitable sortable mw-collapsible mw-collapsed" style="width:100%; margin:0;"
 +
! Feature
 +
! Details
 +
! SDK Support
 +
|-
 +
| 1280x720@30fps
 +
| 2/4 Lanes, UYVY
 +
| Jetpack 4.2 / Jetpack 4.3
 +
|-
 +
| 1280x720@60fps
 +
| 2/4 Lanes, UYVY
 +
| Jetpack 4.2 / Jetpack 4.3
 +
|-
 +
| 1920x1080@30fps
 +
| 2/4 Lanes, UYVY
 +
| Jetpack 4.2 / Jetpack 4.3
 +
|-
 +
|}<!--
 +
-->
 +
|-
 +
! Xavier
 +
|<!--
 +
-->
 +
{| class="wikitable sortable mw-collapsible mw-collapsed" style="width:100%; margin:0;"
 +
! Feature
 +
! Details
 +
! SDK Support
 +
|-
 +
| 1280x720@30fps
 +
| 2/4 Lanes, UYVY
 +
| Jetpack 4.5
 +
|-
 +
| 1280x720@60fps
 +
| 2/4 Lanes, UYVY
 +
| Jetpack 4.5
 +
|-
 +
| 1920x1080@30fps
 +
| 2/4 Lanes, UYVY
 +
| Jetpack 4.5
 +
|-
 +
|}<!--
 +
-->
 +
|}
 +
</center>
  
==Build kernel using Jetpack and tc358743 driver==
+
== Build instructions ==
=== Jetson TX1/TX2 ===
+
===Build kernel using Jetpack and tc358743 driver===
==== Building kernel sources ====
+
==== Jetson TX1 TX2 ====
In order to build the kernel sources for TX1/TX2 you can follow the next guide: [https://developer.ridgerun.com/wiki/index.php?title=Compiling_Jetson_TX1/TX2_source_code Build_Kernel]
+
===== Building kernel sources =====
 +
Follow the instructions in [[Compiling_Jetson_TX1/TX2_source_code#Build_Kernel | Compiling Jetson TX1 TX2 source code (Build_Kernel)]] to build the kernel sources.
  
==== Enable driver ====
+
===== Enable driver =====
 
Once you are following there is a step '''make menuconfig''' it allows you to enable the tc358743 driver as built-in.  
 
Once you are following there is a step '''make menuconfig''' it allows you to enable the tc358743 driver as built-in.  
  
Line 243: Line 151:
 
</pre>
 
</pre>
  
=== Jetson Nano ===
+
==== Jetson Nano ====
==== Building kernel sources ====
+
===== Building kernel sources =====
In order to build the kernel sources for the Jetson Nano you can follow the next guide: [https://developer.ridgerun.com/wiki/index.php?title=NVIDIA_Jetson_Nano_-_Building_the_Kernel_from_Source Build_Kernel]
+
Follow the instructions in [[NVIDIA_Jetson_Nano_-_Building_the_Kernel_from_Source | NVIDIA_Jetson_Nano - Building the Kernel from Source]] to build the kernel sources for the Jetson Nano.
  
==== Enable driver ====
+
===== Enable driver =====
Once you are following the guide there is a step '''make menuconfig''', it allows you to enable the tc358743 driver as built-in.  
+
Once you are following the guide there is a step '''make menuconfig''', which allows you to enable the tc358743 driver as built-in.  
  
 
<syntaxhighlight lang=bash>
 
<syntaxhighlight lang=bash>
Line 265: Line 173:
 
== Test your Kernel image using Jetpack root file system==
 
== Test your Kernel image using Jetpack root file system==
  
Check kernel version. At this moment you can test the image created in order to see the new kernel is working correctly. You have to see a new kernel version with the correct date of compilation:
+
Check the kernel version. At this moment you can test the image created in order to see the new kernel is working correctly. You have to see a new kernel version with the correct date of compilation:
  
 
===Jetson TX1/TX2===
 
===Jetson TX1/TX2===
Line 314: Line 222:
 
==Examples==
 
==Examples==
  
===GStreamer TX1/TX2/Nano===
+
===GStreamer TX1 TX2 Nano Xavier===
 
====720p@30 - 720p@60====
 
====720p@30 - 720p@60====
 
<syntaxhighlight lang=bash>
 
<syntaxhighlight lang=bash>
Line 347: Line 255:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
== Links ==
+
== See also ==
 
[[Toshiba TC358743 Linux driver for iMX6]]
 
[[Toshiba TC358743 Linux driver for iMX6]]
  
 
{{ContactUs}}
 
{{ContactUs}}
  
[[Category:Jetson]][[Category:Jetson V4L2 Drivers]]
+
[[Category:Jetson]][[Category:Jetson V4L2 Drivers]][[Category:Toshiba]]

Latest revision as of 05:31, 20 February 2023

Nvidia-preferred-partner-badge-rgb-for-screen.png

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

RR Contact Us.png


Toshiba TC358743 HDMI® Interface Bridge features

Reference: Toshiba TC358743 bridge chip

The Toshiba TC358743 is an HDMI 1.4 to MIPI CSI-2 1.01 bridge chip capable of handling video data up to 1080P at 60 fps.

Supported platforms

  • NVIDIA Jetson TX1
  • NVIDIA Jetson TX2
  • NVIDIA Jetson Nano
  • NVIDIA Jetson Xavier

Features included in this driver


TX1
Feature Details SDK Support
1280x720@30fps 2/4 Lanes, UYVY Jetpack 3.2
1280x720@60fps 2/4 Lanes, UYVY Jetpack 3.2
1920x1080@30fps 2/4 Lanes, UYVY Jetpack 3.2
TX2
Feature Details SDK Support
1280x720@30fps 2/4 Lanes, UYVY Jetpack 3.2
1280x720@60fps 2/4 Lanes, UYVY Jetpack 3.2
1920x1080@30fps 2/4 Lanes, UYVY Jetpack 3.2
Nano
Feature Details SDK Support
1280x720@30fps 2/4 Lanes, UYVY Jetpack 4.2 / Jetpack 4.3
1280x720@60fps 2/4 Lanes, UYVY Jetpack 4.2 / Jetpack 4.3
1920x1080@30fps 2/4 Lanes, UYVY Jetpack 4.2 / Jetpack 4.3
Xavier
Feature Details SDK Support
1280x720@30fps 2/4 Lanes, UYVY Jetpack 4.5
1280x720@60fps 2/4 Lanes, UYVY Jetpack 4.5
1920x1080@30fps 2/4 Lanes, UYVY Jetpack 4.5

Build instructions

Build kernel using Jetpack and tc358743 driver

Jetson TX1 TX2

Building kernel sources

Follow the instructions in Compiling Jetson TX1 TX2 source code (Build_Kernel) to build the kernel sources.

Enable driver

Once you are following there is a step make menuconfig it allows you to enable the tc358743 driver as built-in.

make O=$TEGRA_KERNEL_OUT menuconfig

Select the driver. The menu option is located:

-> Device Drivers
  -> Multimedia support (MEDIA_SUPPORT [=y])
    -> Encoders, decoders, sensors and other helper chips
       <*> Toshiba TC358743 decoder

Jetson Nano

Building kernel sources

Follow the instructions in NVIDIA_Jetson_Nano - Building the Kernel from Source to build the kernel sources for the Jetson Nano.

Enable driver

Once you are following the guide there is a step make menuconfig, which allows you to enable the tc358743 driver as built-in.

make ARCH=arm64 O=$KERNEL_OUT menuconfig

Select the driver. The menu option is located:

-> Device Drivers
  -> Multimedia support (MEDIA_SUPPORT [=y])
    -> NVIDIA overlay Encoders, decoders, sensors and other helper chips
       <*> Toshiba TC358743 decoder

Test your Kernel image using Jetpack root file system

Check the kernel version. At this moment you can test the image created in order to see the new kernel is working correctly. You have to see a new kernel version with the correct date of compilation:

Jetson TX1/TX2

uname -a
Linux tegra-ubuntu 4.4.38 #21 SMP PREEMPT Thu May 9 14:30:09 CST 2019 aarch64 aarch64 aarch64 GNU/Linux

J100 TX2

You can see that the driver is probed, execute the line: dmesg | grep "(Tegra I2C adapter)"

Expected output:

[2.683236] tc358743 1-000f: tc358743 found @ 0xf (Tegra I2C adapter)

video devices created:

ls /dev/video*
/dev/video0

Jetson Nano

uname -a 
Linux nvidia 4.9.140 #6 SMP PREEMPT Tue May 7 16:25:38 CST 2019 aarch64 aarch64 aarch64 GNU/Linux

Nano EVM kit

You can see that the driver is probed, execute the line: dmesg | grep "(Tegra I2C adapter)"

Expected output:

nvidia@nvidia:~$ dmesg | grep "(Tegra I2C adapter)"
[    4.226382] tc358743 6-000f: tc358743 found @ 0xf (Tegra I2C adapter)

video devices created:

ls /dev/video*
/dev/video0

Examples

GStreamer TX1 TX2 Nano Xavier

720p@30 - 720p@60

gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=5 ! 'video/x-raw,format=UYVY,width=1280,height=720' ! \
filesink location=test.yuv
gst-launch-1.0 v4l2src device=/dev/video0 ! 'video/x-raw,format=UYVY,width=1280,height=720' ! \
nvvidconv ! 'video/x-raw(memory:NVMM),format=I420,width=1280,height=720' ! nvoverlaysink
gst-launch-1.0 v4l2src device=/dev/video0 ! 'video/x-raw,format=UYVY,width=1280,height=720' ! \
nvvidconv ! omxh264enc ! mpegtsmux ! filesink location=test.ts

1080p@30

gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=5 ! 'video/x-raw,format=UYVY,width=1920,height=1080' ! \
filesink location=test.yuv
gst-launch-1.0 v4l2src device=/dev/video0 ! 'video/x-raw,format=UYVY,width=1920,height=1080' ! \
nvvidconv ! 'video/x-raw(memory:NVMM),format=I420,width=1920,height=1080' ! nvoverlaysink
gst-launch-1.0 v4l2src device=/dev/video0 ! 'video/x-raw,format=UYVY,width=1920,height=1080' ! \
nvvidconv ! omxh264enc ! mpegtsmux ! filesink location=test.ts

See also

Toshiba TC358743 Linux driver for iMX6


RidgeRun Resources

Quick Start Client Engagement Process RidgeRun Blog Homepage
Technical and Sales Support RidgeRun Online Store RidgeRun Videos Contact Us

OOjs UI icon message-progressive.svg Contact Us

Visit our Main Website for the RidgeRun Products and Online Store. RidgeRun Engineering informations are available in RidgeRun Professional Services, RidgeRun Subscription Model and Client Engagement Process wiki pages. Please email to support@ridgerun.com for technical questions and contactus@ridgerun.com for other queries. Contact details for sponsoring the RidgeRun GStreamer projects are available in Sponsor Projects page. Ridgerun-logo.svg
RR Contact Us.png