iMX93 use CSI Pattern Generator error

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

iMX93 use CSI Pattern Generator error

578 Views
ranYang
Contributor III

hello:

      I use iMX93 evk lf6.12.20-gdfaf2136deb2 version, I use command 

v4l2-ctl -d /dev/v4l-subdev2 --set-ctrl=test_pattern=1  test ,and use 

media-ctl -d /dev/media0 -l "'ar0521 2-0036':0 -> 'csidev-4ae00000.csi':0 [1]"
media-ctl -V "'ar0521 2-0036':0 [fmt:BGR888_1X24/2592x1944 field:none colorspace:raw]"
media-ctl -V "'csidev-4ae00000.csi':0 [fmt:BGR888_1X24/2592x1944 field:none colorspace:raw]"
media-ctl -V "'csidev-4ae00000.csi':1 [fmt:BGR888_1X24/2592x1944 field:none colorspace:raw]"
media-ctl -V "'crossbar':0 [fmt:BGR888_1X24/2592x1944 field:none colorspace:raw]"
media-ctl -V "'crossbar':2 [fmt:BGR888_1X24/2592x1944 field:none colorspace:raw]"
media-ctl -V '"mxc_isi.0":0 [fmt:BGR888_1X24/2592x1944 field:none colorspace:raw]'
media-ctl -V '"mxc_isi.0":1 [fmt:BGR888_1X24/2592x1944 field:none colorspace:raw]'

and use 

v4l2-ctl -d /dev/video0 --set-fmt-video=width=2592,height=1944,pixelformat=RGB3 --stream-mmap --stream-count=1  Collect video streams  and is block. The attachment is log print, thank you.

卡死.PNG

 

 

0 Kudos
Reply
2 Replies

559 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

 

Per your log it looke like the ar0521 does not support the format you are try to evaluate, please check it.

Regards

0 Kudos
Reply

551 Views
ranYang
Contributor III

hello:

       Without sensor access, test the driver file interface for simulating CSI data streams

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2139949%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EiMX93%20use%20CSI%20Pattern%20Generator%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2139949%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Ehello%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20I%20use%20iMX93%20evk%20lf6.12.20-gdfaf2136deb2%20version%2C%20I%20use%20command%26nbsp%3B%3C!--%20data-siyuan%3D'djRsMi1jdGwgLWQgL2Rldi92NGwtc3ViZGV2MiAtLXNldC1jdHJsPXRlc3RfcGF0dGVybj0x'%20--%3E%3C%2FP%3E%3CP%3Ev4l2-ctl%20-d%20%2Fdev%2Fv4l-subdev2%20--set-ctrl%3Dtest_pattern%3D1%26nbsp%3B%20test%20%2Cand%20use%26nbsp%3B%3C%2FP%3E%3CP%3E%3C!--%20data-siyuan%3D'bWVkaWEtY3RsIC1kIC9kZXYvbWVkaWEwIC1sIDxzcGFuIGNsYXNzPSJobGpzLXN0cmluZyI%2BIidhcjA1MjEgMi0wMDM2JzowIC0mZ3Q7ICdjc2lkZXYtNGFlMDAwMDAuY3NpJzowIFsxXSI8L3NwYW4%2BCm1lZGlhLWN0bCAtViA8c3BhbiBjbGFzcz0iaGxqcy1zdHJpbmciPiInYXIwNTIxIDItMDAzNic6MCBbZm10OkJHUjg4OF8xWDI0LzI1OTJ4MTk0NCBmaWVsZDpub25lIGNvbG9yc3BhY2U6cmF3XSI8L3NwYW4%2BCm1lZGlhLWN0bCAtViA8c3BhbiBjbGFzcz0iaGxqcy1zdHJpbmciPiInY3NpZGV2LTRhZTAwMDAwLmNzaSc6MCBbZm10OkJHUjg4OF8xWDI0LzI1OTJ4MTk0NCBmaWVsZDpub25lIGNvbG9yc3BhY2U6cmF3XSI8L3NwYW4%2BCm1lZGlhLWN0bCAtViA8c3BhbiBjbGFzcz0iaGxqcy1zdHJpbmciPiInY3NpZGV2LTRhZTAwMDAwLmNzaSc6MSBbZm10OkJHUjg4OF8xWDI0LzI1OTJ4MTk0NCBmaWVsZDpub25lIGNvbG9yc3BhY2U6cmF3XSI8L3NwYW4%2BCm1lZGlhLWN0bCAtViA8c3BhbiBjbGFzcz0iaGxqcy1zdHJpbmciPiInY3Jvc3NiYXInOjAgW2ZtdDpCR1I4ODhfMVgyNC8yNTkyeDE5NDQgZmllbGQ6bm9uZSBjb2xvcnNwYWNlOnJhd10iPC9zcGFuPgptZWRpYS1jdGwgLVYgPHNwYW4gY2xhc3M9ImhsanMtc3RyaW5nIj4iJ2Nyb3NzYmFyJzoyIFtmbXQ6QkdSODg4XzFYMjQvMjU5MngxOTQ0IGZpZWxkOm5vbmUgY29sb3JzcGFjZTpyYXddIjwvc3Bhbj4KbWVkaWEtY3RsIC1WIDxzcGFuIGNsYXNzPSJobGpzLXN0cmluZyI%2BJyJteGNfaXNpLjAiOjAgW2ZtdDpCR1I4ODhfMVgyNC8yNTkyeDE5NDQgZmllbGQ6bm9uZSBjb2xvcnNwYWNlOnJhd10nPC9zcGFuPgptZWRpYS1jdGwgLVYgPHNwYW4gY2xhc3M9ImhsanMtc3RyaW5nIj4nIm14Y19pc2kuMCI6MSBbZm10OkJHUjg4OF8xWDI0LzI1OTJ4MTk0NCBmaWVsZDpub25lIGNvbG9yc3BhY2U6cmF3XSc8L3NwYW4%2B'%20--%3E%3C%2FP%3E%3CP%3Emedia-ctl%20-d%20%2Fdev%2Fmedia0%20-l%20%22'ar0521%202-0036'%3A0%20-%26gt%3B%20'csidev-4ae00000.csi'%3A0%20%5B1%5D%22%3CBR%20%2F%3Emedia-ctl%20-V%20%22'ar0521%202-0036'%3A0%20%5Bfmt%3ABGR888_1X24%2F2592x1944%20field%3Anone%20colorspace%3Araw%5D%22%3CBR%20%2F%3Emedia-ctl%20-V%20%22'csidev-4ae00000.csi'%3A0%20%5Bfmt%3ABGR888_1X24%2F2592x1944%20field%3Anone%20colorspace%3Araw%5D%22%3CBR%20%2F%3Emedia-ctl%20-V%20%22'csidev-4ae00000.csi'%3A1%20%5Bfmt%3ABGR888_1X24%2F2592x1944%20field%3Anone%20colorspace%3Araw%5D%22%3CBR%20%2F%3Emedia-ctl%20-V%20%22'crossbar'%3A0%20%5Bfmt%3ABGR888_1X24%2F2592x1944%20field%3Anone%20colorspace%3Araw%5D%22%3CBR%20%2F%3Emedia-ctl%20-V%20%22'crossbar'%3A2%20%5Bfmt%3ABGR888_1X24%2F2592x1944%20field%3Anone%20colorspace%3Araw%5D%22%3CBR%20%2F%3Emedia-ctl%20-V%20'%22mxc_isi.0%22%3A0%20%5Bfmt%3ABGR888_1X24%2F2592x1944%20field%3Anone%20colorspace%3Araw%5D'%3CBR%20%2F%3Emedia-ctl%20-V%20'%22mxc_isi.0%22%3A1%20%5Bfmt%3ABGR888_1X24%2F2592x1944%20field%3Anone%20colorspace%3Araw%5D'%3C%2FP%3E%3CP%3Eand%20use%26nbsp%3B%3C!--%20data-siyuan%3D'djRsMi1jdGwgLWQgL2Rldi92aWRlbzAgLS1zZXQtZm10LXZpZGVvPXdpZHRoPTI1OTIsaGVpZ2h0PTE5NDQscGl4ZWxmb3JtYXQ9UkdCMyAtLXN0cmVhbS1tbWFwIC0tc3RyZWFtLWNvdW50PTE%3D'%20--%3E%3C%2FP%3E%3CP%3Ev4l2-ctl%20-d%20%2Fdev%2Fvideo0%20--set-fmt-video%3Dwidth%3D2592%2Cheight%3D1944%2Cpixelformat%3DRGB3%20--stream-mmap%20--stream-count%3D1%26nbsp%3B%26nbsp%3BCollect%20video%20streams%26nbsp%3B%20and%20is%20block.%26nbsp%3BThe%20attachment%20is%20log%20print%2C%20thank%20you.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22%E5%8D%A1%E6%AD%BB.PNG%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22%E5%8D%A1%E6%AD%BB.PNG%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F349278iA687090D78BC4E7A%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22%E5%8D%A1%E6%AD%BB.PNG%22%20alt%3D%22%E5%8D%A1%E6%AD%BB.PNG%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%E2%80%83%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2140434%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20iMX93%20use%20CSI%20Pattern%20Generator%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2140434%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Ehello%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BWithout%20sensor%20access%2C%20test%20the%20driver%20file%20interface%20for%20simulating%20CSI%20data%20streams%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2140243%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20iMX93%20use%20CSI%20Pattern%20Generator%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2140243%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EPer%20your%20log%20it%20looke%20like%20the%26nbsp%3Bar0521%20does%20not%20support%20the%20format%20you%20are%20try%20to%20evaluate%2C%20please%20check%20it.%3C%2FP%3E%0A%3CP%3ERegards%3C%2FP%3E%3C%2FLINGO-BODY%3E