Sony IMX214 Linux Driver

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


Sony IMX214 CMOS image sensor features

IMX214 is a diagonal 5.867mm(Type 1/3.06) 13 Mega-pixel CMOS active pixel type stacked image sensor with a square pixel array. It adopts Exmor RS™ technology to achieve high speed image capturing by column parallel A/D converter circuits and high sensitivity and low noise image (comparing with conventional CMOS image sensor) through the backside illuminated imaging pixel structure. R, G, and B pigment primary color mosaic filter is employed. (Taken from Mouser webpage).

Linux driver support

  • NVIDIA Jetson Nano

Linux driver features

Nano
Feature Details SDK Support
RG10 Capture L4T 32.6.1 / Jetpack 4.6.1
4160x3120@30fps 4 Lanes L4T 32.6.1 / Jetpack 4.6.1
2 simultaneous cameras L4T 32.6.1 / Jetpack 4.6.1

Enabling IMX214 Linux Driver

In order to use this driver, you have to patch and compile the kernel source using JetPack:

  • Once you have the source code, apply the following patch in order to add the changes required for the IMX214 camera at the kernel and dtb level.
4.6_B-82_03_imx214_v0.1.patch
  • Follow the instructions in (Build Kernel) for building the kernel, and then flash the image.

Make sure to enable IMX214 driver support:

make menuconfig
-> Device Drivers                                                                                                                        
  -> Multimedia support                                                                                           
    -> NVIDIA overlay Encoders, decoders, sensors and other helper chips 
       -> <*> IMX214 camera sensor support

Testing the IMX214 Linux Driver==

GStreamer

Video capture with a single camera.

gst-launch-1.0 nvarguscamerasrc sensor-id=<0 or 1> ! nvvidconv ! xvimagesink

Video capture with simultaneous dual cameras.

gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! nvvidconv ! xvimagesink nvarguscamerasrc sensor-id=1 ! nvvidconv ! xvimagesink

v4l2-ctl

Capture an image.

v4l2-ctl -d /dev/video<0 or 1> --set-fmt-video=width=4160,height=3120,pixelformat=RG10 --set-ctrl bypass_mode=0 --stream-mmap --stream-count=1 --stream-to=test.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