Lontium LT9211 Linux driver for Jetson

From RidgeRun Developer Wiki




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


Driver List Information
Refer to the RidgeRun Linux Camera Drivers to meet all the list of Drivers available


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


For direct inquiries, please refer to the contact information available on our Contact page. Alternatively, you may complete and submit the form provided at the same link. We will respond to your request at our earliest opportunity.


Links to RidgeRun Resources and RidgeRun Artificial Intelligence Solutions can be found in the footer below.