OmniVision OV4689 Linux driver for Jetson: Difference between revisions

From RidgeRun Developer Wiki
mNo edit summary
No edit summary
 
Line 6: Line 6:
{{GStreamer debug}}
{{GStreamer debug}}
<td>
<td>
{{message|title=Driver List Information|Refer to the [[RidgeRun_Linux_Camera_Drivers/Available_Camera_Drivers/List_of_Tested_Camera_Sensors|RidgeRun Linux Camera Drivers]] to meet all the list of Drivers available}}


== OmniVision OV4689 Sensor features ==  
== OmniVision OV4689 Sensor features ==  

Latest revision as of 21:32, 18 September 2024



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


OmniVision OV4689 Sensor features

Reference: OmniVision OV4689 sensor

Supported resolutions and formats

Feature Value
Resolution 1280x720
Framerate(fps) 30
Format BGGR
Pixel depth 10

Controls

  • Gain
  • Exposure

Build kernel using Jetpack and ov4689 driver

Building kernel sources

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

Enable driver

Once you are following the guide there is a step make menuconfig, which allows you to enable the ov4689 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
       <*> OV4689 camera sensor 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:

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

You can see that the driver is probed, execute the line: dmesg | grep "ov4689"

Expected output:

nvidia@nvidia:~$ dmesg | grep "ov4689"
[    1.667200] ov4689 6-001a: detected ov4689 sensor

video devices created:

ls /dev/video*
/dev/video0

Examples

GStreamer pipelines

1280x720p@30fps

gst-launch-1.0 nvarguscamerasrc sensor-id=1 ! "video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, format=(string)NV12, framerate=(fraction)30/1" ! nvvidconv ! "video/x-raw, width=1280, height=720, format=(string)I420, framerate=30/1" ! xvimagesink -e


RidgeRun Resources

Quick Start Client Engagement Process RidgeRun Blog Homepage
Technical and Sales Support RidgeRun Online Store RidgeRun Videos Contact Us
RidgeRun.ai: Artificial Intelligence | Generative AI | Machine Learning

Contact Us

Visit our Main Website for the RidgeRun Products and Online Store. RidgeRun Engineering information is available at RidgeRun Engineering Services, 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.