Why `v4l2-ctl -d /dev/video1 --list-formats-ext` repeat the same format nine times and shows no resolutions on `imx6 + ov5640`?

hi
Thanks for the log.

$ uname -a
Linux Rogers-OptiPlex-3050 4.15.0-39-generic #42-Ubuntu SMP Tue Oct 23 15:48:01 >UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

I meant the Bsp version of the module and not your host. But as I can see in the dmesg log, you are using Bsp2.7b4. This Bsp is not supported anymore. Please update to Bsp 2.8b4 as your earliest convenience.

I tried the command v4l2-ctl -d /dev/video2 --all and i got the the following output:

[   66.520935] ov5640_set_virtual_channel: virtual channel=1
Driver Info (not using libv4l2):
        Driver name   : mxc_v4l2
        Card type     :
        Bus info      :
        Driver version: 0.1.11
        Capabilities  : 0x05000005
                Video Capture
                Video Overlay
                Read/Write
                Streaming
Video input : 0 (CSI IC MEM: ok)
Video output: 0 (DISP3 BG)
Video Standard = 0x00000000
Format Video Capture:
        Width/Height      : 288/352
        Pixel Format      : 'YU12'
        Field             : Any
        Bytes per Line    : 432
        Size Image        : 152064
        Colorspace        : Default
        Transfer Function : Default
        YCbCr/HSV Encoding: Default
        Quantization      : Default
Format Video Overlay:
        Left/Top    : 0/0
        Width/Height: 160/160
        Field       : Any
        Chroma Key  : 0x00000000
        Global Alpha: 0x00
        Clip Count  : 0
        Clip Bitmap : No
Framebuffer Format:
        Capability    : Extern Overlay
        Flags         : Overlay Matches Capture/Output Size
        Width         : 0
        Height        : 0
        Pixel Format  : ''
Crop Capability Video Capture:
        Bounds      : Left 0, Top 0, Width 640, Height 480
        Default     : Left 0, Top 0, Width 640, Height 480
        Pixel Aspect: 0/0
Crop: Left 0, Top 0, Width 640, Height 480
Streaming Parameters Video Capture:
        Capabilities     : timeperframe
        Frames per second: 30.000 (30/1)
        Read buffers     : 0