Raspberry Pi Camera Module Not Detected on Jetson Orin Nano 8GB

Hello NVIDIA Community,

I’m trying to connect a Raspberry Pi Camera Module V2-8 Megapixel,1080p (RPI-CAM-V2) to my Jetson Orin Nano 8GB Dev Kit using the 15-pin MIPI CSI-2 interface. However, the camera is not being detected, and I’m unable to get it working. I’ve followed several steps but haven’t had success yet. I’d appreciate any help or guidance to resolve this issue.


Steps I’ve Taken So Far

  1. Connected the Camera:
  • Used a 15-pin MIPI CSI-2 cable to connect the Raspberry Pi Camera Module to the Jetson Orin Nano.
  • Ensured the cable is securely connected with the blue tab facing the correct orientation.
  1. Enabled the Camera in Device Tree:
  • Edited /boot/extlinux/extlinux.conf to include tegra194-camera-rpi-cam0.dtb in the APPEND line:

APPEND ${cbootargs} root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 tegra194-camera-rpi-cam0.dtb

  • Rebooted the system after making the changes.
  1. Checked Kernel Logs:
  • Ran sudo dmesg | grep -iE "camera|mipi|csi" but found no messages related to the Raspberry Pi Camera Module.
  • The logs only show detection of a USB-connected Intel RealSense Depth Camera:

[ 3.200060] hid-generic 0003:8086:0B5C.0003: hidraw1: USB HID v1.10 Device [Intel(R) RealSense™ Depth Camera 455f Intel(R) RealSense™ Depth Camera 455f] on usb-3610000.usb-1.1/input5

[ 9.722969] usb 2-1.1: Found UVC 1.50 device Intel(R) RealSense™ Depth Camera 455f (8086:0b5c)

  1. Verified Device Tree Blob:
  • Checked /boot/dtb/ and found that tegra194-camera-rpi-cam0.dtb is missing. The only file present is kernel_tegra234-p3768-0000+p3767-0005-nv.dtb.
  1. Attempted to Test the Camera:
  • Tried using nvarguscamerasrc with GStreamer:

gst-launch-1.0 nvarguscamerasrc ! nvoverlaysink

However, no camera feed was displayed.


Questions and Issues

  1. Missing Device Tree Blob:
  • The tegra194-camera-rpi-cam0.dtb file is not present in /boot/dtb/. How can I obtain or generate this file for the Jetson Orin Nano?
  1. ISP Support:
  • Does the Jetson Orin Nano support the IMX219 sensor natively, or do I need to operate in ISP bypass mode? If so, how can I configure this?
  1. General Debugging:
  • Are there additional steps I should take to debug why the camera is not being detected?

System Details

  • Jetson Module: Jetson Orin Nano 8GB
  • JetPack Version: [Insert your JetPack version here, e.g., 5.1.1]
  • Camera Module: Raspberry Pi Camera Module V2 (IMX219 sensor)
  • Connection: 15-pin MIPI CSI-2

What I’m Looking For

  • Guidance on how to enable the Raspberry Pi Camera Module on the Jetson Orin Nano.
  • Steps to obtain or generate the correct device tree blob (tegra194-camera-rpi-cam0.dtb).
  • Advice on configuring ISP support or operating in ISP bypass mode for the IMX219 sensor.
  • Any additional debugging steps to resolve this issue.

Thank you in advance for your help! I’m happy to provide more details or logs if needed.

1 Like

I’m trying to connect a Raspberry Pi Camera Module (IMX219 sensor) to my Jetson Orin Nano 8GB using the following components:

  1. Adafruit CSI or DSI Cable Extender Thingy for Raspberry Pi (link).
  2. CSI FPC Flexible Cable for Raspberry Pi 5, 22Pin to 15Pin, 0.5M Length (link).

The camera is connected to the CAM1 slot on the Jetson Orin Nano, but it is not being detected.

Cable Compatibility:

  • Are the Adafruit CSI extender and 22-pin to 15-pin cable compatible with the Jetson Orin Nano’s MIPI CSI-2 interface?

Reply to the Old Post

Hi NVIDIA Community,

I wanted to provide an update on my attempt to connect the Raspberry Pi Camera Module to the Jetson Orin Nano using the CSI-Camera repository (GitHub link) and Jetson Orin Nano Developer Kit User Guide - How-to | NVIDIA Developer. Unfortunately, it’s still not working, and I wanted to share the details of my setup and the issues I’m facing.


My Setup

  1. Camera Module: Raspberry Pi Camera Module (IMX219 sensor).
  2. Connection: I’m using a single direct CSI FPC Flexible Cable (22-pin to 15-pin, 0.5m length) to connect the camera directly to the CAM1 slot on the Jetson Orin Nano.

Terminal Output

Here’s a screenshot of the terminal output when running the commands

I’d appreciate any guidance or suggestions to resolve this issue. Thank you in advance for your help!

Hi @m-bot

Can you check if you see any message by filtering by imx219?

sudo dmesg | grep -i imx219

Do you see a video device like /dev/video0?

ls /dev/video*

Regards,

Enrique Ramirez
Embedded SW Engineer at RidgeRun
Contact us: support@ridgerun.com
Developers wiki: https://developer.ridgerun.com
Website: www.ridgerun.com

Hi,
Do you use Jetpack 6.2? On the version you would need to enable it through Jetson-IO. Please check
RPI V2 IMX219 Not detected FIXED on Jetpack 6.2 - #3 by JerryChang

Hi @enrique.ramirez

I did check the command by filtering by imx219 but i didn’t see any vedio device like /dev/vedio0

ls /dev/vedio*

terminal_1

Thanks!

It looks like the driver is not enabled. According to @DaneLLL it’s required to use Jetson-IO to enable it, so please check that information and after that try to check if there are imx219 messages and if the /dev/video0 is created

1 Like

Hi @DaneLLL,
I wanted to provide an update on my attempt to enable the Raspberry Pi Camera Module on the Jetson Orin Nano . I recently upgraded the JetPack version from 6.1 to 6.2 and followed the instructions from this link to enable the camera using Jetson-IO .

terminal2

  • A configuration screen appeared briefly but disappeared immediately, making it impossible to make any changes.

Thanks!

Hi,
So you clean refreshed Jetpack 6.2, and fails to execute jetson-io.py. Is this correct?

Hi,

Yes

Hi,
We try on clean Orin Nano developer kit/Jetpack 6.2. The jetson-io.py can be executed successfully. Could you re-flash the system image and try again? May try the initrd command in

Quick Start — NVIDIA Jetson Linux Developer Guide 1 documentation

Hi @DaneLLL,

CSI Camera (IMX219) Not Working on Jetson Orin Nano - NvBufSurfaceFromFd Failed

Issue Summary

I am encountering persistent issues with my IMX219 CSI camera on the Jetson Orin Nano Developer Kit. When running GStreamer pipelines, I get NvBufSurfaceFromFd Failed and TIMEOUT errors, preventing the camera from functioning correctly.

Hardware & Software Details

  • Jetson Orin Nano 8GB Developer Kit
  • CSI Camera: IMX219 (Raspberry Pi v2.1)
  • JetPack Version: (Output of sudo apt-cache show nvidia-jetpack Version: 5.1.3-b29)
  • Kernel Version: (Output of uname -r 5.10.192-tegra)
  • GStreamer Version: (Output of gst-inspect-1.0 --version)
  • Output:

gst-inspect-1.0 version 1.16.3
GStreamer 1.16.3

What I Have Tried So Far

Checked Camera Detection

  • ls /dev/video*/dev/video0 is present.

  • v4l2-ctl --list-devices output:

NVIDIA Tegra Video Input Device (platform:tegra-camrtc-ca):
  /dev/media0
vi-output, imx219 10-0010 (platform:tegra-capture-vi:2):
  /dev/video0

  • v4l2-ctl --list-formats-ext output:
ioctl: VIDIOC_ENUM_FMT
	Type: Video Capture

	[0]: 'RG10' (10-bit Bayer RGRG/GBGB)
		Size: Discrete 3280x2464
			Interval: Discrete 0.048s (21.000 fps)
		Size: Discrete 3280x1848
			Interval: Discrete 0.036s (28.000 fps)
		Size: Discrete 1920x1080
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 1640x1232
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 1280x720
			Interval: Discrete 0.017s (60.000 fps)

Ran GStreamer Pipeline

gst-launch-1.0 nvarguscamerasrc ! nvvidconv ! autovideosink

🔴 Error Output

GST_ARGUS: Running with following settings:
   Camera index = 0 
   Camera mode  = 2 
   Output Stream W = 1920 H = 1080 
   seconds to Run = 0 
   Frame Rate = 29.999999 
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
nvbuf_utils: dmabuf_fd -1 mapped entry NOT found
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, threadExecute:702 NvBufSurfaceFromFd Failed.
ERROR: from element /GstPipeline:pipeline0/GstNvArgusCameraSrc:nvarguscamerasrc0: TIMEOUT

Restarted NVIDIA Argus Daemon

sudo systemctl restart nvargus-daemon

🔴 Still same TIMEOUT error.


Checked Camera Logs

sudo dmesg | grep -i camera

output:

[    6.790964] gpio-397 (camera-control-output-low): hogged as output/low
[    6.797747] gpio-486 (camera-control-output-low): hogged as output/low

Checked for Running Processes

sudo fuser /dev/video0

No conflicting process found.


Tried Lower Resolution

gst-launch-1.0 nvarguscamerasrc ! video/x-raw(memory:NVMM),width=1280,height=720,framerate=30/1 ! nvvidconv ! autovideosink

🔴 Still fails with NvBufSurfaceFromFd Failed.


Reinstalled NVIDIA Multimedia & GStreamer Packages

sudo apt-get install --reinstall nvidia-l4t-gstreamer nvidia-l4t-camera nvidia-l4t-multimedia
sudo reboot

🔴 Still not working.


Tested OpenCV Instead of GStreamer

import cv2
cap = cv2.VideoCapture("nvarguscamerasrc ! video/x-raw(memory:NVMM), width=1280, height=720, framerate=30/1 ! nvvidconv ! video/x-raw, format=BGRx ! videoconvert ! video/x-raw, format=BGR ! appsink", cv2.CAP_GSTREAMER)
if not cap.isOpened():
    print("Failed to open camera")

🔴 Failed to open camera.


Checked JetPack Version

sudo apt-cache show nvidia-jetpack

Output:

Package: nvidia-jetpack
Version: 5.1.3-b29
Architecture: arm64
Maintainer: NVIDIA Corporation
Installed-Size: 194
Depends: nvidia-jetpack-runtime (= 5.1.3-b29), nvidia-jetpack-dev (= 5.1.3-b29)
Homepage: Jetson - Embedded AI Computing Platform | NVIDIA Developer
Priority: standard
Section: metapackages
Filename: pool/main/n/nvidia-jetpack/nvidia-jetpack_5.1.3-b29_arm64.deb
Size: 29308
SHA256: b8b35bd12e6bf07c9fe61563babf08e802db09bd8fe4611bd4c53c21daaf0b48
SHA1: b713997204bb7353f9d6edf499af68c944d0108d
MD5sum: 3199c10880f3f756308f59ffacd6a060
Description: NVIDIA Jetpack Meta Package
Description-md5: ad1462289bdbc54909ae109d1d32c0a8


Checked Kernel Modules

lsmod | grep nv

Output:

nvidia_modeset 1093632 7
nvadsp 110592 1 snd_soc_tegra210_adsp
nv_imx219 20480 0
nvidia 1327104 15 nvidia_modeset
nvgpu 2510848 41
nvmap 192512 153 nvgpu


Tried Using a Different Sensor Mode

gst-launch-1.0 nvarguscamerasrc sensor-mode=1 ! nvvidconv ! autovideosink

🔴 Still same TIMEOUT error.


Request for Help

I have tried all the above troubleshooting steps, but I still get NvBufSurfaceFromFd Failed and TIMEOUT errors. What could be causing this? Is it a driver issue or a hardware issue? Any guidance would be greatly appreciated.

Let me know if you need any more logs or debugging information. Thanks!


Hi,
Would be great if you can use Jetpack 6.2. On 5.1.3(r35.5.0), there are some known issues:

Jetson/L4T/r35.5.x patches - eLinux.org

On Jetpack 5.1.3, Orin Nana developer kit + RPi camera v2 should work by default. No need to execute jetson-io. You may try either CAM0 port or CAM1 port.

Hi @DaneLLL,

Thank you for your response.

I am currently using the CAM1 port to connect my Raspberry Pi Camera Module v2. Initially, when I connected the camera, it was not detected properly. Based on previous guidance, I tried to configure it by executing the jetson-io.py command. After doing so, the system was able to recognize the camera.

However, shortly after that, I started experiencing the issues I described earlier. Despite trying multiple debugging steps—including different GStreamer pipelines, checking dmesg logs, restarting nvargus-daemon, and reinstalling relevant NVIDIA packages—the camera continues to fail with NvBufSurfaceFromFd Failed and TIMEOUT errors.

Would you recommend any additional debugging steps, or should I proceed with upgrading to JetPack 6.2 as suggested?

Thanks again for your support!