Hi NVIDIA Team,
I am integrating four OV9281 cameras on Jetson Orin NX with a custom carrier board. Currently, /dev/video0, /dev/video2, and /dev/video3 are working, but /dev/video1 is not working. I am using lane_polarity =6 in both /dev/video0 and /dev/video1 devices.
The current mapping is:
video0 → CAM0_PWDN (GPIO3_PH.06 / 0x3E) – Working-
video1 → I2C0_SCL (Pin 185) – Not working as GPIO
video2 → CAM1_PWDN (GPIO3_PAC.00 / 0xA0) – Working
video3 → I2C0_SDA (Pin 187) – Working
Could you please suggest the recommended debugging steps for video1? In particular, I would like to verify whether I2C0_SCL (Pin 185) can be used as a GPIO for camera PWDN/reset, and whether any additional pinmux configuration is required.
Also, please let me know which dmesg, GPIO, pinmux, or camera-driver logs would be useful to identify why only video1 is failing.
Thank you.
Hello @anonymous!
Based on the title and content of your topic, it looks like it may receive better visibility and feedback in a different category. We took the liberty of moving it for you.
If this was an incorrect assessment, please send me a direct message.
Disclaimer: this moderation suggestion and message were generated with AI assistance.
Do you config it by jetson-io?
Thanks
Hi NVIDIA Team,
I have created a custom DTBO to support four cameras with the following CSI correspondence:
-
video0 → serial_a/csi-0 → CAM0_PWDN (GPIO3_PH.06 / 0x3E) — Working
-
video1 → serial_b/csi-1 → I2C0_SCL (Pin 185) — Not working as GPIO
-
video2 → serial_c/csi-2 → CAM1_PWDN (GPIO3_PAC.00 / 0xA0) — Working
-
video3 → serial_d/csi-3 → I2C0_SDA (Pin 187) — Working
The issue is with video1. Its camera PWDN is connected to I2C0_SCL (Pin 185), and the camera is not able to stream because this pin does not appear to work as a GPIO.
Could you please confirm whether I2C0_SCL (Pin 185), which belongs to the AON GPIO pins of the Jetson Orin NX SoC, can be configured and used as a GPIO for camera PWDN control?
If it can be used as GPIO, please suggest the correct GPIO configuration/pinmux or device-tree settings required.
Do you try config the pin by jetson-io?
Can I configure I2C0_SCL (Pin 185) as GPIO using Jetson-IO, or must I modify the Orin NX pinmux configuration/device tree? If Jetson-IO supports it, please provide the exact steps/settings.
I am using a Jetson Orin NX/Nano and need to configure SODIMM pins 185 and 187 (I2C0_SCL / I2C0_SDA) as GPIO.
In jetson-io, I see three options:
- Configure Jetson 40-pin Header
- Configure Jetson 24-pin CSI Connector
- Configure Jetson M.2 Key E Slot
Which of these three should I use for SODIMM pins 185 and 187?
Also, if there is an official NVIDIA document or reference showing the mapping between SODIMM pin numbers → physical connector/header → GPIO/pad name → Jetson-IO configuration, could you please share it?
For the GPIO in 40 pin header you can reference to below.
They should be the pin 3/5 in 40 pins header.
I am integrating four OV9281 cameras on Jetson Orin NX.
For the first two cameras, my mapping is:
-
video0 → serial_a/csi-0 → lane_polarity = 6
-
video1 → serial_b/csi-1 → lane_polarity = 6
Currently, video0 is working, but video1 is not working.
I would like to confirm whether lane_polarity = 6 is the correct value for both serial_a/csi-0 and serial_b/csi-1.
Since these are two separate 2-lane CSI camera connections, should both use lane_polarity = 6, or should serial_b/csi-1 use a different lane_polarity value based on the CSI lane routing/polarity?
@ShaneCCC , please provide update on above lane polarity values.
CSIx_D0 | CSIx_D1 | CSI(X+1)_D0 | CSI(X+1)_D1
LSB | BIT1 | BIT2 | MSB
polarity swap on CSIx_D1 and CSI(X+1)_D0 → lane_polarity = “6”; 0110
| Interface |
2-lane port |
lane_polarity |
Meaning of 6 |
CSI-A / serial_a |
brick 0 CIL-A |
"6" |
D0 no swap, D1 swap |
CSI-B / serial_b |
brick 0 CIL-B |
"6" |
D0 swap, D1 no swap |
CSI-C / serial_c |
brick 1 |
"0" |
no swaps |
CSI-D / serial_d |
brick 1 |
"0" |
no swaps |
6 is a brick-wide 4-bit mask, not a per-camera setting. CSI-A and CSI-B share brick 0, so both nodes should carry the same "6". The NVCSI driver unpacks it as:
- bit0 → CSI-A D0
- bit1 → CSI-A D1
- bit2 → CSI-B D0
- bit3 → CSI-B D1
So for a 2-lane CSI-A + 2-lane CSI-B pair on the NVIDIA module pinout:
serial_a / CSI-A: lane_polarity = "6"
serial_b / CSI-B: lane_polarity = "6"