CSI2 camera Can't open device by orin JetPack 5.0.2

After modifying the location, updating the device tree, and testing, the problem still persists.
I also checked the port-index configuration in other locations and no further issues were found.

error kernel log:
[ 112.147181] tegra-camrtc-capture-vi tegra-capture-vi: corr_err: discarding frame 0, flags: 0, err_data 512
[ 112.180526] tegra-camrtc-capture-vi tegra-capture-vi: corr_err: discarding frame 0, flags: 0, err_data 512
[ 112.213854] tegra-camrtc-capture-vi tegra-capture-vi: corr_err: discarding frame 0, flags: 0, err_data 512
[ 112.247180] tegra-camrtc-capture-vi tegra-capture-vi: corr_err: discarding frame 0, flags: 0, err_data 512

Try again, kernel log:
[ 247.007311] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[ 247.007616] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 247.008972] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 247.009216] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_close: Error in closing stream_id=2, csi_port=2
[ 247.009525] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 247.009764] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_open: VI channel not found for stream- 2 vc- 0
[ 247.010387] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[ 249.567148] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[ 249.567434] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 249.567970] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 249.568212] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_close: Error in closing stream_id=2, csi_port=2
[ 249.568548] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 249.568786] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_open: VI channel not found for stream- 2 vc- 0
[ 249.569426] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[ 252.095156] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[ 252.095456] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 252.096162] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 252.096389] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_close: Error in closing stream_id=2, csi_port=2
[ 252.096698] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 252.096924] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_open: VI channel not found for stream- 2 vc- 0
[ 252.097445] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel

this means capture channel encounter unrecoverable error and it must reset.
hence… could you please issue a reset signal before s_stream() for confirmation.

In the function s_stream(), the deserializer and serializer were re initialized, but instead, the image could not be displayed normally once

had you also revise the duplicate the position property?

Yes, there have been modifications

Found trace log output from the graph:

Discovered trace logs that cannot be plotted:

@JerryChang

why?

hello 305248199,

according to your 2nd tracing logs. there’s no camera related signal, such as SOF/EOF sending to CSI channel.
is it correct that you’re able to obtain frames for the 1st time? or, it’s randomly?

it’s randomly!

please gather more details,
please refer to Topic 226574 to update JetPack-5.0.2/l4t-r35.1 camera firmware with debug flag enabled.

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