ovm7692 mipi driver

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

ovm7692 mipi driver

1,380 Views
akashgajjar
Contributor V

HI,

I have ovm7692 mipi sensor connected on my custom imx7d-sabre board.

i am writing ovm7692 device driver by taking refernce of ov5640_mipi.c,

and also modified device tree for succesfull probe.

i am using mx6s_capture.ko, mxc_mipi_csi.ko to create  /dev/videoX node.

when i execute the application /unit_tests/mx6s_v4l2_capture.out it gives me below error.

root:~# /unit_tests/mx6s_v4l2_capture.out

Found v4l2 capture device /dev/video0.
pixelformat (output by camera): YUYV
         WxH@fps = 640x480@30    Image size = 614400
The output width or height is exceeding the resolution of the screen.
wxh: 640x480, screen wxh: 480x272

and if i redirect it in file using -of image.yuyv, it simply stuck and not responding.

can you please tell me

1) what is the reason behind this

2) do i have to insmod all ipu* drivers to make this functional

regards,

Akash

Labels (1)
0 Kudos
2 Replies

848 Views
akashgajjar
Contributor V

Hi yuri,

   when i execute the "v4l2-ctl --list-devices" command, it shows me

root:~# v4l2-ctl --list-devices
i.MX6S_CSI (platform:30710000.csi):
        /dev/video0

root:~#

root:~#

root:~# v4l2-ctl --all
Driver Info (not using libv4l2):
        Driver name   : mx6s-csi
        Card type     : i.MX6S_CSI
        Bus info      : platform:30710000.csi
        Driver version: 4.1.15
        Capabilities  : 0x84200001
                Video Capture
                Streaming
                Extended Pix Format
                Device Capabilities
        Device Caps   : 0x04200001
                Video Capture
                Streaming
                Extended Pix Format
Priority: 0
Video input : 0 (Camera: ok)
Format Video Capture:
        Width/Height  : 0/0
        Pixel Format  : ''
        Field         : Any
        Bytes per Line: 0
        Size Image    : 0
        Colorspace    : Unknown (00000000)
        Flags         :
Crop Capability Video Capture:
        Bounds      : Left 0, Top 0, Width 0, Height 0
        Default     : Left 0, Top 0, Width 0, Height 0
        Pixel Aspect: 1/1
Crop: Left 0, Top 0, Width 0, Height 0
Streaming Parameters Video Capture:
        Capabilities     : timeperframe
        Frames per second: 30.000 (30/1)
        Read buffers     : 0
root:~#

i am using this driver for capturing picture only.

Thanks for your reply.

Regards,

Akash

0 Kudos

848 Views
Yuri
NXP Employee
NXP Employee

Hello,

  What is result of the following command ?

 

# v4l2-ctl --list-devices

 

 

Note, the iMX7 does not contain IPU, therefore there is no need for IPU

drivers.

 

 

Have a great day,

Yuri

 

------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct

Answer button. Thank you!

------------------------------------------------------------------------------

0 Kudos