Sony IMX214 Linux Driver

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.

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




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.