AnsweredAssumed Answered

Running ./mxc_v4l2_capture.out on imx6ull

Question asked by Tom zhu on Sep 4, 2017
Latest reply on Sep 7, 2017 by Joan Xie

Hello All,

 

I am trying to run the camera test and wants a yuv file.

 

I have flashed the images on imx6ull evk board with ov5640 sensor and boot the board.


After that i ran the capture test with below command.

 

/unit_tests/mxc_v4l2_capture.out -iw 640 -ih 480 -ow 640 -oh 480 -f 422P -i 1 ./test.yuv

 

It fails to run and give the following message on hyper terminal.

 

n_width = 640, in_height = 480

out_width = 640, out_height = 480

top = 0, left = 0

VIDIOC_DBG_G_CHIP_IDENT failed.

get format failed

 

I did insmod these files:

 

adv7180_tvin.ko

ipu_fg_overlay_sdc.ko

mxc_mipi_csi.ko

ov5640_camera_int.ko

ov5647_camera_mipi.ko
fbdev ipu_prp_enc.ko

mxc_v4l2_capture.ko

ov5640_camera_mipi.ko

v4l2-int-device.ko
ipu_bg_overlay_sdc.ko

ipu_still.ko mxc_vadc.ko

ov5640_camera_mipi_int.ko
ipu_csi_enc.ko

mx6s_capture.ko

ov5640_camera.ko

ov5642_camera.ko

 

but also had err;

 

what can i do?

 

can any one guide me why it fails to capture using camera? is there anything missing?

Outcomes