J120 TX2 CSI2 camera: Invalid eof_ts

Hi experts,

I am interfacing a CSI2 camera module to TX2-J120.
I have configure the camera driver (DTSI) and modes supported parameters as per use case requirements.

configs are as listed here:
Resolution: 640*480, Bayer 12bpp
Pixel clock: 150MHz
Max_data_rate_per_lane: 300Mbps
discontinuous clock : NO
Camera Connected on CSI port-4,lane EF & DTS configured for the same.


Issue:

Whenever we start V4L2 capture,
For the first frame I get a valid sof_ts. But eof_ts is always 0.
From second frame onwards it always reports PXL_SOF error ! -11.

If, I restart the V4l2 capture application, then again same behaviour reported above repeats. Any suggestions ?

Thanks

hello ravikiran.hv,

may I know which JetPack release you’re working with,
here’s known issue with TX2’s VI drivers, please refer to Topic 1038067 to fix FE syncpt wait failure.
moreover, you could refer to [url]https://elinux.org/Jetson_TX2/28.1_Camera_BringUp[/url] for some debug tips.
thanks

Hi JerryChang,

Thanks for the quick reply. I will check these patches.

I am using REL 28.1 on TX2

Thanks

HI JerryChang,

I tried those patches. But no luck. !

Any other patches or suggestions ?

Thanks

hello ravikiran.hv,

please note that the patch shared from comment #2 is based on release-28.2,
you could also refer to Topic 1037809 to add error handling mechanism for a try.
thanks