SOLVED IMX327相机video0获取流报错
-
IMX327相机video0获取流报错,接到CAM0口,按照如下解法:
SDK版本:R32.7.4
问题:- 可以识别到相机video0节点,dmesg启动信息如下:
root@fancong:/home/fancong# dmesg | grep veye
[ 1.273211] veyecam 30-003b: probing v4l2 sensor
[ 1.273252] veyecam 30-003b: reset-gpios not found
[ 1.278451] veyecam 30-003b: devm_clk_get failed for pllp_grtba
[ 1.284452] veyecam 30-003b: tegracam sensor driver:veyecam_v2.0.6
[ 1.285350] veyecam 30-003b: camera id is veyecam
[ 1.291190] veyecam 30-003b: sensor is IMX327
[ 1.295560] veyecam 30-003b: board type is ONE board
[ 1.300878] veyecam 30-003b: check hdver 5
[ 1.301288] veyecam 30-003b: Detected VEYECAM sensor
[ 1.301325] veyecam 31-003b: probing v4l2 sensor
[ 1.301375] veyecam 31-003b: reset-gpios not found
[ 1.306324] veyecam 31-003b: devm_clk_get failed for pllp_grtba
[ 1.312309] veyecam 31-003b: tegracam sensor driver:veyecam_v2.0.6
[ 1.312943] veyecam 31-003b: probe failed
[ 1.317117] veyecam 31-003b: board setup failed
[ 1.321733] veyecam 32-003b: probing v4l2 sensor
[ 1.321768] veyecam 32-003b: reset-gpios not found
[ 1.326700] veyecam 32-003b: devm_clk_get failed for pllp_grtba
[ 1.332681] veyecam 32-003b: tegracam sensor driver:veyecam_v2.0.6
[ 1.333266] veyecam 32-003b: probe failed
[ 1.337436] veyecam 32-003b: board setup failed
[ 1.342039] veyecam 33-003b: probing v4l2 sensor
[ 1.342088] veyecam 33-003b: reset-gpios not found
[ 1.347190] veyecam 33-003b: devm_clk_get failed for pllp_grtba
[ 1.353166] veyecam 33-003b: tegracam sensor driver:veyecam_v2.0.6
[ 1.353769] veyecam 33-003b: probe failed
[ 1.357942] veyecam 33-003b: board setup failed
[ 1.362543] veyecam 34-003b: probing v4l2 sensor
[ 1.362576] veyecam 34-003b: reset-gpios not found
[ 1.367507] veyecam 34-003b: devm_clk_get failed for pllp_grtba
[ 1.373482] veyecam 34-003b: tegracam sensor driver:veyecam_v2.0.6
[ 1.374052] veyecam 34-003b: probe failed
[ 1.378224] veyecam 34-003b: board setup failed
[ 1.382821] veyecam 35-003b: probing v4l2 sensor
[ 1.382853] veyecam 35-003b: reset-gpios not found
[ 1.387783] veyecam 35-003b: devm_clk_get failed for pllp_grtba
[ 1.393758] veyecam 35-003b: tegracam sensor driver:veyecam_v2.0.6
[ 1.394346] veyecam 35-003b: probe failed
[ 1.398520] veyecam 35-003b: board setup failed
[ 1.574040] tegra-vi4 15700000.vi: subdev veyecam 30-003b bound - 通过gstreamer获取流,会超时退出,信息如下:
root@fancong:/home/fancong# gst-launch-1.0 -e nvv4l2camerasrc device=/dev/video0 ! "video/x-raw(memory:NVMM),format=(string)UYVY, width=(int)1920, height=(int)1080,framerate=30/1"! nvvidconv ! "video/x-raw,format=(string)NV12" ! filesink location=1920x1080.yuv
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:05.062287433
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
dmesg信息如下:
[ 843.444445] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 843.450929] tegra-vi4 15700000.vi: tegra_channel_error_recovery: attempting to reset the capture channel
[ 843.664485] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 843.671376] tegra-vi4 15700000.vi: tegra_channel_error_recovery: attempting to reset the capture channel
[ 843.888503] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 843.895270] tegra-vi4 15700000.vi: tegra_channel_error_recovery: attempting to reset the capture channel
[ 844.108462] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 844.115260] tegra-vi4 15700000.vi: tegra_channel_error_recovery: attempting to reset the capture channel
[ 844.328531] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 844.335178] tegra-vi4 15700000.vi: tegra_channel_error_recovery: attempting to reset the capture channel
[ 844.548599] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 844.555194] tegra-vi4 15700000.vi: tegra_channel_error_recovery: attempting to reset the capture channel
[ 844.768457] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 844.775048] tegra-vi4 15700000.vi: tegra_channel_error_recovery: attempting to reset the capture channel
[ 844.988430] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 844.995013] tegra-vi4 15700000.vi: tegra_channel_error_recovery: attempting to reset the capture channel
[ 845.208502] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 845.215194] tegra-vi4 15700000.vi: tegra_channel_error_recovery: attempting to reset the capture channel
[ 845.428589] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 845.435181] tegra-vi4 15700000.vi: tegra_channel_error_recovery: attempting to reset the capture channel
[ 845.648424] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 845.655062] tegra-vi4 15700000.vi: tegra_channel_error_recovery: attempting to reset the capture channel
[ 845.868430] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 845.875043] tegra-vi4 15700000.vi: tegra_channel_error_recovery: attempting to reset the capture channel - 将相机接到CAM1等其他口子,能正常获取流;
- 可以识别到相机video0节点,dmesg启动信息如下:
-
附件是track log信息track.txt
-
@fancong 其他接口没有问题的话,我感觉是硬件这个cam0口有点问题。 你联系一下客服,发回我们,换一下或者维修一下。
-
@veye_xumm 是只需要寄转接板,还是整套寄回去啊?
-
@fancong 只需要转接板就可以。
-
@veye_xumm 感谢感谢