Lontium LT9211 Linux driver for Jetson

From RidgeRun Developer Connection
Jump to: navigation, search

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


Lontium LT9211 TTL Interface Bridge features

Reference: Lontium LT9211 bridge chip

The Lontium LT9211 is a high performance convertor which interconvertible between MIPI DSI/CSI-2/Dual-Port LVDS and TTL except for 24bit TTL to 24bit TTL with both SYNC and DE.

  • Tested resolutions are BT656. The tested format is YUV422.
  • The LT9211 driver supports 2 lane configuration for the given resolution.

Build kernel using Jetpack and LT9211 driver

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 lt9211 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
       <*> LT9211 camera support

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 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 "lt9211"

Expected output:

nvidia@nvidia:~$ dmesg | grep "lt9211"
[   16.910750] lt9211 6-002d: LT9211 module found

video devices created:

ls /dev/video*
/dev/video0

Examples

GStreamer : Jetson Nano

BT656

gst-launch-1.0 v4l2src num-buffers=10 ! "video/x-raw(format:Interlaced),format=UYVY,width=720,height=288,framerate=(fraction)30/1,interlace-mode=(string)alternate" ! deinterlace ! "video/x-raw,format=UYVY,width=720,height=576" ! filesink location=~/frames.raw


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