camera is abnormal when it is opened for the first time

After Xavier system is started, Camera is abnormal when it is opened for the first time;

  but the second time  turn it on, it's fine;

  And then it keeps going  ,keep normal 。

When the camera is first turned on, the kernel prints as follows

[   77.762137] tegra194-vi5 no reply from camera processor
[   77.762306] tegra194-vi5 uncorr_err: request timed out after 2500
0 ms
[   77.762495] tegra194-vi5 err_rec: attempting to reset the capturr
e channel
[   77.764881] tegra194-vi5 err_rec: successfully reset the capturee

hello JiaZW,

these failure messages shown VI engine complain about waiting timeout for the MIPI signaling.
assume your 2nd trial works due to VI driver’s error recovery mechanism.

since this failure only occurred for the 1st access,
suggest you review your sensor driver power-on/off sequence.
please also probe the MIPI signaling to check the THS settle time, you may tune cil_settletime within the range of acceptable values.

@ JerryChang

cil_settletime is generally set to what ?? Is there a reference value ??

At present, we use 6-way cameras, vi0/1/2/3/4/5 (csiA/B/C/D/E/G) respectively!

It is currently in the aging testing stage and needs to be solved urgently

hello JiaZW,

please review your sensor power-on/off sequence,
also, please check Sensor Software Driver Programming Guide, and referring to cil_settletime property description for details.