AnsweredAssumed Answered

How to test raw camera sensor for imx8m mini

Question asked by タイ チャン on May 13, 2019
Latest reply on May 13, 2019 by igorpadykov

Hello community
I am developing drivers for raw8 camera sensor based on ov5647_mipi.c using for board imx8m mini EVK.
I have identified the camera and confirmed the pixel format is BA81 as the log below. I tried many gstreamer commands to save the .raw file but all failed.

***************************************************************

root@imx8mmevk:~# insmod gc2053_camera_mipi_113.ko
[ 395.316860] gc2053_mipi 2-0037: 2-0037 supply DOVDD not found, using dummy regulator
[ 395.324696] gc2053_mipi 2-0037: 2-0037 supply DVDD not found, using dummy regulator
[ 395.332457] gc2053_mipi 2-0037: 2-0037 supply AVDD not found, using dummy regulator
[ 396.288841] mxc_mipi-csi 32e30000.mipi_csi: Registered sensor subdevice: gc2053_mipi 2-0037
[ 396.297214] camera gc2053_mipi is found
root@imx8mmevk:~# v4l2-ctl --list-formats-ext -d /dev/video0
ioctl: VIDIOC_ENUM_FMT
Index : 0
Type : Video Capture
Pixel Format: 'BA81'
Name : 8-bit Bayer BGBG/GRGR
Size: Discrete 1920x1080
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1920x1080
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 2592x1944
Interval: Discrete 0.067s (15.000 fps)

root@imx8mmevk:~#

***************************************************************
Let me ask which gstreamer command is used to check the raw camera sensor for imx8? How to know the camera works well?
Thank so much.

Outcomes