im working on imx8m mini with imx334 now and im getting this error of_" dma: of_dma_find_controller: can't find DMA controller /soc@0/bus@30800000/dma-controller@30bd0000 " and "[ 0.183405] imx-sdma 302c0000.dma-controller: Direct firmware load for imx/sdma/sdma-imx7d.bin failed with error -2"
imx/sdma/sdma-imx7d.bin failed with error -2
why am i getting this error ? can anyone tell me this ?
pls refer to the link as below:
did you use external ISP? if yes, how did you add this ISP in the dts file? pls share the detailed information about this
I didn’t use ISP. how can I add ISP in imx8m mini?
you need add external ISP chip (HW) if you need to use it, imx8mm doesn't have ISP module like imx8mp
we have tested AP1302 on imx8mm successfully, maybe you can evaluate this
when I am running gstreamer command I’m getting this do have any idea about this?
Setting pipeline to PAUSED ...
error: XDG_RUNTIME_DIR not set in the environment.
error: XDG_RUNTIME_DIR not set in the environment.
EGL: Warning: No default display support on wayland
Pipeline is live and does not n[ 477.621793][ T623] mxc_mipi-csi 32e30000.mipi_csi: format not match
eed PREROLL ...
WARNING: from element /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0: Could not initialise Xv output
Additional debug info:
../git/sys/xvimage/xvimagesink.c(1778): gst_xv_image_sink_open (): /GstXvImageSink:autovideosink0-actual-sink-xvimage:
Could not open display (null)
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
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)
ERROR: pipeline doesn't want to preroll.
Execution ended after 0:00:00.000501375
Setting pipeline to NULL ...
Freeing pipeline ...
current bsp doesn't support raw12 as default, did you change the source code for raw 12 format support? you can find this from logfile:
"mipi_csi: format not match"
what softISP do you use? currently nxp softISP based on openCL on imx8mq and openVX on imx8, what do you use for your softISP?
i didn't use any isp. how can i stream without isp on imx8mm? whenever i use gstreamer it is showing "internel data stream error".
as I mentioned before, imx8mm can capture but couldn't handle raw data, we have solution with external ISP, if you don't use this, maybe you can use your own SW to handle this, but we don't have such demo for this
you can add this in the mx6s_capture.c
case V4L2_PIX_FMT_SBGGR10:
cr1 &= ~BIT_PIXEL_BIT;
cr18 |= BIT_MIPI_DATA_FORMAT_RAW10;
break;
as I mentioned before, imx8mm can capture raw data, but couldn't convert raw data to any rgb or yuv data without ISP, if you need more detailed information about how to capture raw data, pls create a new case for this topic