You would need to develop kernel driver and device tree to be able to capture RAW frames through v4l2-ctl command first. And then go through Argus stack to use hardware ISP engine.
Hi DaneLLL,
The attachment are kernel driver & device tree which I modified.
I had removed read i2c function.
The Device Tree I changed resolution from 3840x2160 to 2592x1944.
Do I lose some steps make Orin can not use * v4l2-ctl command* to capture?
[ 734.901967] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[ 734.902245] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 734.902992] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 734.903203] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_close: Error in closing stream_id=4, csi_port=4
[ 734.903491] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 734.903701] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_open: VI channel not found for stream- 4 vc- 0
[ 734.904151] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
Here is my questions.
Looks like capture channel is not reset right. NULL VI channel received, CSI stream fail to reopen. But the dmesg then said “Successfully reset the capture channel”. Is this the normal?
I tried to set timed out to 10 sec, but it’s still facing the same question. Why would vi capture request and vi capture status timed out?
Is there any solution?
The trace log tell pixel short line that means the output size don’t as expect. (tag:CHANSEL_FAULT)
And “STREAM_VC phy:0 cil:0 st:4 vc:0 status:0x00000004” tell the payload data crc error.
But I use AGX Xavier to received same data, Xavier can work, without failed by v4l2 command or gstreamer.
So I think data is normal.
Should Orin modify other files to received data?