Virtual channel + deskew signal

Hello,

I am working on the following setup:
Jetson agx Xavier - jetpack 5.1.3

  • 2 cameras 8MPx 30fps RAW12
  • 1 deserializer max9296, sending both RAW12 streams to MIPI CSI PORT A, using 4 lanes and virtual channels (Camera 1 = VC0, Camera 2 = VC1)

Max9296 is sending deskew signal.

I am facing stability issue:

  • without boosting the clock, I got no image.
  • with boosting the clock, I can sometimes start the stream but not always.

I saw several topic in the forum saying there was a fix in RCE firmware.
Is jetpack 5.1.3 impacted?
Do you have the RCE firmware for agx Xavier jetpack 5.1.3 with debug flag to debug deskew parameter?

Thanks

Apply the patch from below link. If still the same please check the trace log.

Sorry I made a mistake, I am working on Xavier, not orin
Is it the same patch ?

Thanks

Is it possible to get RCE firmware
camera-rtcpu-t194-rce.img.zip including patch for jetpack 5.1.3 and for AGX Xavier ?

Is there also a version with debug flag on order to debug deskew ?

Kernel patch can apply to Xaiver too.

hey, second link (RCE firmware) seems for Orin only

Yes, please apply the kernel patch to verify.
If still have problem please get the trace log to check.

Hello,

I got some progress:
Deskew signal was not sent correctly from the sensor. Now Deskew signal is sent correctly, and I am able to start one camera stream without boosting the clock.

However, I am now facing stability issue when running multiple camera at the same time.
Argus got in error.

I tried the patch:

  • 0001-kernel-camera-remove-csi-enent-sync-for-recover.patch and 0001-kernel-camera-remove-csi-enent-sync-for-recover.patch can be applied
  • 0001-vi5_fops-fix-mem-leak.patch does not correspond to the source code of jetpack 5.1.3
    Those patch does not solve the issue.

My issue seems similar to another issue we had on Orin
Solution was to update the RCE firmware

Topic293597_Jun05_rce-fw.7z

but the 7z file contains only RCE firmware for Jetson Orin. Could you please provide the equivalent for Jetson Xavier ?

Thanks

Those patch for v4l2-ctl.

Apply this lib to verify first.

libnvfusacap.so.r35.5.txt (193.6 KB)

Hello,

I tried to replace the library,
My code is working on Jetson Orin, but in Jetson Xavier I got the following error when running several camera at the same time:

[ 190.280489] [RCE] ERROR: camera-ip/vi5/vi5.c:745 [vi5_handle_eof] “General error queue is out of sync with frame queue. ts=207231092672 sof_ts=208892554592 gerror_code=2 gerror_data=a0 notify_bits=400000000004”
[ 194.796493] [RCE] ISR PHY 0 CIL_A 0x88
[ 194.796505] [RCE] ISR PHY 0 CIL_B 0x88
[ 195.192504] [RCE] ERROR: camera-ip/vi5/vi5.c:745 [vi5_handle_eof] “General error queue is out of sync with frame queue. ts=213645813184 sof_ts=213811970784 gerror_code=2 gerror_data=a5 notify_bits=400000000004”

Additionnal informations:

this error happen only when starting 2 cameras, with mipi output data rate > 1.5Gbps and deskew signal enabled

Update the RCE for Xavier to verify.

camera-rtcpu-t194-rce.img.r35.4.1.asynchronous (513.4 KB)

this solve the issue, thanks !

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