Second Raspberry Pi v2 (IMX219) camera not working on Orin NX 16GB

Exact same issue as here:

This is on a Seeed J401 carrier board. And I upgraded the 36.3 to Jetpack 6.1. One camera working fine, the other one is listed (I have /dev/video0 and /dev/video1; exact same message in dmesg too. Just the timeout described in above post and no video on 1 camera, while other is doing well. Also with the v42l command which outputs <<<<< for each captured frame: one is doing it, other timeouts.

Any idea except for re-flashing, which sounds odd, because it’s freshly flashed?

Thanks!

hello azw,

we’ve tested and confirm both IMX219 works normally with JP-6.1 on Orin NX developer kit.
please compare the board difference since it’s Seeed J401 carrier board,
for instance, Cam0 slot it’s route to CSI-C, Cam1 slot it’s route CSI-B.

Hi, thanks for your response. ok so that’s the other way around from the dev board, then, which routes Cam0 to CSI-B (port-index 1) and cam1 to CSI-C (port-index 2)?

When only 1 camera is inserted (dual-mode IMX219 configured via jetson-io in cam0 slot it works fine, but cam1 slot doesn’t work with 1 camera (although there is a /dev/video0 device and /dev/media0 also looks fine). Just no <<<<< coming out of the standard v4l2-ctl test (and getting the 2500ms timeout from dmesg).

So yes it’s something to do with (routing of) the cam1 slot. The same camera and ribbon work fine in cam0 slot.

hello azw,

here’s one more thing.
on Orin NX/Nano series, the CSI0 D1 and CSI1 D0 P/N will always been swizzled for P/N.

are you using the default sensor device tree? since it’ device tree property, lane_polarity to configure a polarity swap on any lane. you may double check the Seeed J401 carrier board schematic for comparison.

Hello Jerry,

Thanks for your pointers, I got it to work! The J-401x datasheet from Seeed actually shows that the J9 (cam0) connector is connected to CSI2 and the J12 (cam1) connector to CSI0.

I assumed that would then be CSI-C and CSI-A, respectively (not B! as jetson-io will configure it for). So I decompiled the .dtb for imx219, changed serial_b to serial_a and changed associated port-index to 0 instead of 1. The polarity was correctly set to 6 already. Compiled, put it back in /boot and then it worked!

Learned something! Thanks.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.