imx8m mini - imx/sdma/sdma-imx7d.bin DMA error

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

imx8m mini - imx/sdma/sdma-imx7d.bin DMA error

2,090 Views
udhayamoorthi
Contributor II

 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 ?

 

0 Kudos
17 Replies

2,077 Views
joanxie
NXP TechSupport
NXP TechSupport
0 Kudos

2,070 Views
udhayamoorthi
Contributor II
I'm working on imx8m mini with imx334 camera sensor raw-12 and 1920x1080p format

Reading 0x48 count starting at address 0x32E20000



0x32E20000:  00020912 00000000 00000000 00000000
0x32E20010:  B602B6A8 00009600 80054001 00000000
0x32E20020:  00000000 00000000 00000000 00000000
0x32E20030:  00000000 028003C0 00000270 00000000
0x32E20040:  00000000 00000000 584AD030 00000010
0x32E20050:  00000000 00000000 00000000 00000000
0x32E20060:  00000000 00000000 00000000 00000000
0x32E20070:  00000000 00000000 00000000 00000000
0x32E20080:  00000000 00000000 00000000 00000000
0x32E20090:  00000000 00000000 00000000 00000000
0x32E200A0:  00000000 00000000 00000000 00000000
0x32E200B0:  00000000 00000000 00000000 00000000
0x32E200C0:  00000000 00000000 00000000 00000000
0x32E200D0:  00000000 00000000 00000000 00000000
0x32E200E0:  00000000 00000000 00000000 00000000
0x32E200F0:  00000000 00000000 00000000 00000000
0x32E20100:  00000000 00000000 00000000 00000000
0x32E20110:  00000000 00000000 00000000 00000000



Reading 0x48 count starting at address 0x32E30000



0x32E30000:  03060301 00004305 000F0000 DEADCAFE
0x32E30010:  F00FFFFF 00000000 00000000 00000000
0x32E30020:  00000000 0900001F DEADCAFE DEADCAFE
0x32E30030:  000001F4 00000000 00000000 00000000
0x32E30040:  000010B0 04380780 00000000 DEADCAFE
0x32E30050:  000008FD 80008000 00000000 DEADCAFE
0x32E30060:  000008FE 80008000 00000000 DEADCAFE
0x32E30070:  000008FF 80008000 00000000 DEADCAFE
0x32E30080:  000010B0 04380780 00000000 DEADCAFE
0x32E30090:  00000000 00000000 00000000 DEADCAFE
0x32E300A0:  00000000 00000000 00000000 DEADCAFE
0x32E300B0:  00000000 00000000 00000000 DEADCAFE
0x32E300C0:  00000000 00000000 6D111111 000000E4
0x32E300D0:  00000000 8E00802C 0000E579 DEADCAFE
0x32E300E0:  DEADCAFE DEADCAFE DEADCAFE DEADCAFE
0x32E300F0:  DEADCAFE DEADCAFE DEADCAFE DEADCAFE
0x32E30100:  000001C8 00000000 00000000 00000000
0x32E30110:  00000000 00000000 00000000 00000000



so this is my register log of csi-32E20000 and mipi-csi-32E30000 

and you can visit this link https://community.nxp.com/t5/i-MX-Processors/Can-t-able-to-get-V4l2-Sub-dev-in-imx8m-mini/m-p/151774... and pls let me know if you find anything 

this link for media-ctl and v4l2 issue

https://community.nxp.com/t5/i-MX-Processors/Clocks-issue-when-capturing-4K-30-RAW10-in-i-MX8M/td-p/...

0 Kudos

2,050 Views
joanxie
NXP TechSupport
NXP TechSupport

did you use external ISP? if yes, how did you add this ISP in the dts file? pls share the detailed information about this

0 Kudos

2,048 Views
udhayamoorthi
Contributor II

I didn’t use ISP. how can I add ISP in imx8m mini?

0 Kudos

2,044 Views
joanxie
NXP TechSupport
NXP TechSupport

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

0 Kudos

2,037 Views
udhayamoorthi
Contributor II

 

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 ...

0 Kudos

1,986 Views
joanxie
NXP TechSupport
NXP TechSupport

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"

0 Kudos

1,861 Views
udhayamoorthi
Contributor II
@joanxie yes it was showing format not match..i am working on custom camera so does not support isp and if i use SOFTisp (software isp),i cannot able to use softisp on linux or my board(imx8mm).. what should i do? how can i able to stream on custom camera on imx8mm ?
0 Kudos

1,838 Views
joanxie
NXP TechSupport
NXP TechSupport

what softISP do you use? currently nxp softISP based on openCL on imx8mq and openVX on imx8, what do you use for your softISP?

0 Kudos

1,833 Views
udhayamoorthi
Contributor II

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".

0 Kudos

1,825 Views
joanxie
NXP TechSupport
NXP TechSupport

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

0 Kudos

1,817 Views
udhayamoorthi
Contributor II
do you have the driver code for raw 10 bit on imx8mm?
0 Kudos

1,812 Views
joanxie
NXP TechSupport
NXP TechSupport

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;

0 Kudos

1,809 Views
udhayamoorthi
Contributor II
if i can able to capture raw10 then i don't need isp because i already capture with raw8 without using isp
0 Kudos

1,802 Views
joanxie
NXP TechSupport
NXP TechSupport

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

0 Kudos

1,810 Views
udhayamoorthi
Contributor II
i have added these and still didn't get raw10.can you share me any capture code using raw10?
Tags (1)
0 Kudos