mxc_v4l2_capture.out test fails on i.MX6Q.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

mxc_v4l2_capture.out test fails on i.MX6Q.

2,761 Views
johnturnur
Contributor III

Hello All,

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

For that i have build the latest Linux BSP L3.0.35_4.0.0_130424_source along with imx-test

I have flashed the images on imx6q SDP board 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

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

Regards,

J

0 Kudos
Reply
2 Replies

1,129 Views
tomzhu
Contributor II

I had a same question ,i compling the driver and insmod this file:

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?

0 Kudos
Reply

1,129 Views
varsmolta
Contributor V

VIDIOC_DBG_G_CHIP_IDENT allows the camera driver to identify itself. Most likely you are not compiling the camera driver or modprobing it. Which camera are you using?

0 Kudos
Reply