Messages in this thread | | | From | Adam Ford <> | Date | Mon, 5 Nov 2018 16:32:33 -0600 | Subject | Re: i.MX6 MIPI-CSI2 OV5640 Camera testing on Mainline Linux |
| |
On Mon, Oct 29, 2018 at 8:49 AM Fabio Estevam <festevam@gmail.com> wrote: > > Hi Adam, > > On Sun, Oct 28, 2018 at 3:58 PM Adam Ford <aford173@gmail.com> wrote: > > > Does anyone know when the media branch get's merged into the mainline > > kernel? I assume we're in the merge window with 4.19 just having been > > released. Once these have been merged into the mainline, I'll go > > through and start requesting they get pulled into 4.19 and/or 4.14 > > if/when appropriate. > > This should happen in 4.20-rc1, which will probably be out next Sunday. I sent an e-mail to stable with a list of a variety of patches for the ov5640 to be applied to 4.19.y So far all looks pretty good, but I think I found on minor bug:
If I attempt to change just the resolution, it doesn't take.
Initial read media-ctl --get-v4l2 "'ov5640 2-0010':0" [fmt:UYVY8_2X8/640x480@1/30 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]
Change resolution # media-ctl --set-v4l2 "'ov5640 2-0010':0[fmt:UYVY2X8/720x480 field:none]"
Read it back # media-ctl --get-v4l2 "'ov5640 2-0010':0" [fmt:UYVY8_2X8/640x480@1/30 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]
However, if I change the resolution AND the format to something other than UYVY2x8, the resolution changes. I can then change the format back to UYVY and capture and stream video at 1080p and 720x480. I can work around this, but I thought I'd mention it. I was trying to figure out a patch to apply to the mailing list myself, but I wasn't able to fix it quickly.
adam adam
| |