Re: imx6ull capture from OV5640

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 5, 2021 at 10:45 AM Fabio Estevam <festevam@xxxxxxxxx> wrote:

> Just tested against next-20210105 and the original warning happens and
> csi is no longer probed.
>
> I am using the same dtb that worked on 5.4.84.
>
> It looks like we have a regression.

And here is a fix that allows csi to probe:
https://pastebin.com/raw/g6ijDf2N

Makes sense?

There is another error though: I do not see the message below as seen
on 5.4 kernel:
[   10.690711] imx-media: ov5640 1-003c:0 -> csi:0

And the same pipeline that worked with 5.4 does not work with linux-next:

# media-ctl -l "'ov5640 1-003c':0 -> 'csi':0[1]"
media-ctl -l "'csi':1 -> 'csi capture':0[1]"
media-ctl -v -V "'ov5640 1-003c':0 [fmt:UYVY8_2X8/320x240 field:none]"

# gst-launch-1.0 -v  v4l2src device=/dev/video1 ! v4l2convert ! fbdevsink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps =
video/x-raw, format=(string)UYVY, width=(int)320, height=(int)240,
framerate=(fraction)30000/1001, interlace-mode=(string)progressive,
colorim
etry=(string)1:4:7:1
/GstPipeline:pipeline0/v4l2convert:v4l2convert0.GstPad:src: caps =
video/x-raw, format=(string)BGRx, width=(int)320, height=(int)240,
framerate=(fraction)30000/1001, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstFBDEVSink:fbdevsink0.GstPad:sink: caps =
video/[  421.495561] alloc_contig_range: [9c480, 9c4a6) PFNs busy
x-raw, format=(string)BGRx, width=(int)320, height=(int)240, fra[
421.504399] alloc_contig_range: [9c480, 9c4a6) PFNs busy
merate=(fraction)30000/1001, interlace-mode=(string)progressive
/GstPipeline:pipeline0/v4l2convert:v4l2convert0.GstPad:sink: c[
421.520989] alloc_contig_range: [9c480, 9c4a6) PFNs busy
aps = video/x-raw, format=(string)UYVY, width=(int)320, height=([
421.533523] csi: pipeline start failed with -19
int)240, framerate=(fraction)30000/1001,
interlace-mode=(string)progressive, colorimetry=(string)1:4:7:1
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed
to allocate required memory.
Additional debug info:
../sys/v4l2/gstv4l2src.c(659): gst_v4l2src_decide_allocation ():
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Buffer pool activation failed
Execution ended after 0:00:00.106613417
Setting pipeline to NULL ...
Freeing pipeline ...
#

Any ideas?

Thanks



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux