AR0821 Driver on iMX8MP

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

AR0821 Driver on iMX8MP

722 Views
LilianeD
Contributor II

Hello!

I am implementing an Ar0821 EvalBoard from onsemi (AR0821_IBGA95 DEMO board)

From previous questions on this forum it seems this sensor is supported.

I found the Basler driver ( basler-camera-driver-vvcam ) and called the right compatible in my devide tree.

When starting a gstreamer stream, I get errors.

I looks like the get_fmt function is not implemented in the driver (and looking at the source code I can confirm it isn't there, error logs bellow)

Is there a way to call gstreamer without triggering the get_fmt? is there another driver somewhere?

root@phyboard-pollux-imx8mp-3:~# gst-launch-1.0 -v v4l2src device=/dev/video0 ! "video/x-raw,format=YUY2,width=1280,height=720, framerate=5/1" ! multifile
[ 1071.607149][  T593] mxc-mipi-csi2.0: mipi_csis_get_fmt, call get_fmt of subdev failed!
Setting pipeline to PAUSED ...
Pipeline is live and does not n[ 1071.636662][  T593] mxc-mipi-csi2.0: mipi_csis_get_fmt, call get_fmt of subdev failed!
eed PREROLL ...
Pipeline is PRER[ 1071.649702][  T594] alloc_contig_range: [66800, 669c2) PFNs busy
OLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720, framerate=(fraction)5/1,imetry=(string)1:4:5:1
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720, framerate=(fractio: mipi_csis_get_fmt, call get_fmt of subdev failed!
[ 1071.675777][  T594] isi-capture 32e00000.isi:cap_device: mxc_isi_source_fmt_init: src:(0,0), dst:(1280,720) Not support upscale
1, interlace-mode=(string)progressive, colorimetry=(string)1:4:5:1
/GstPipeline:pipeline0/GstMultiFileSink:multifilesink0.GstPad:sink: caps = video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720, framerate=(essive, colorimetry=(string)1:4:5:1
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720, framerate=(fracti, colorimetry=(string)1:4:5:1
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to allocate required memory.
Additional debug info:
../git/sys/v4l2/gstv4l2src.c(659): gst_v4l2src_decide_allocation (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Buffer pool activation failed
Execution ended after 0:00:00.048357250
Setting pipeline to NULL ...
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.
Additional debug info:
../git/libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming stopped, reason not-negotiated (-4)
Freeing pipeline ...

Thanks for your help!

Labels (1)
0 Kudos
2 Replies

697 Views
hector_delgado
NXP TechSupport
NXP TechSupport

Hi @LilianeD ,

I'd recommend following the i.MX 8M Plus Camera Sensor Porting User Guide that can be found in the following link: i.MX 8M Plus | Cortex-A53/M7 | NXP Semiconductors (check the Documentation Section for this file).

This guide explains how to mount different sensors for the i.MX 8M Plus.

Let me know if this was of any help.

Best regards,
Hector.

0 Kudos

266 Views
JK_Cha
Contributor IV

Hi IMX8MP Champ

Can you please recommend AR0821 Module' supplier to be tested on the of 8MP EVK?

Thanks.

Best Regards, 

Jacky

 

Tags (1)
0 Kudos