Hello, I am using i.mx8m plus evk board. I have connected minisastosci to my board in mipi-csi1. But when I list my devices, I am getting the following output:
root@imx8mpevk:/dev# v4l2-ctl --list-devices
mxc-isi-m2m (platform:32e00000.isi:m2m_devic): /dev/video0
This is the output I am getting after I type the below command :
root@imx8mpevk:/dev# v4l2-ctl --all -d 0
[ 114.418814] Unable to handle kernel NULL pointer dereference at virtual address 000000000000000c [ 114.427646] Mem abort info: [ 114.430467] ESR = 0x96000004 [ 114.433543] EC = 0x25: DABT (current EL), IL = 32 bits [ 114.438881] SET = 0, FnV = 0 [ 114.441954] EA = 0, S1PTW = 0 2[r i v1e1r4 .I4n4f5o0:9 ] DData abort info: [ 114.449387] ISV = 0, ISS = 0x00000004 [ 114.453237] CM = 0, WnR = 0 river nam[e 11 4 . 4 5:6 2m0x4] user pgtable: 4k pages, 48-bit VAs, pgdp=00000001062d0000 [ 114.464389] [000000000000000c] pgd=0000000000000000, p4d=0000000000000000 [ 114.471210] Internal error: Oops: 96000004 [#1] PREEMPT SMP [ 114.476783] Modules linked in: fsl_jr_uio caam_jr caamkeyblob_desc caamhash_desc caamalg_desc crypto_engine rng_core authenc libdes crct10dif_ce imx8_media_dev(C) flexcan caam can_dev secvio error [ 114.494284] CPU: 3 PID: 566 Comm: v4l2-ctl Tainted: G C O 5.10.9-1.0.0+g32513c25d8c7 #1 5-i[s i -1m124m. 0 3C4a1r2d] Hardware name: NXP i.MX8MPlus EVK board (DT) type : mxc-isi-m2m Bus info : platform:32e00000.isi:m2m_devic Driver versi[ 114.518270] pstate: 60000005 (nZCv daif -PAN -UAO -TCO BTYPE=--) on : 5.10.9 Capabilities [ 114.524282] pc : mxc_isi_m2m_g_fmt_vid_cap+0x48/0xb0 [ 114.531923] lr : mxc_isi_m2m_g_fmt_vid_cap+0x18/0xb0 3 : 0x8[4 2 0141040.05 68 8 4V] sp : ffff800012cebbc0 [ 114.541843] x29: ffff800012cebbc0 x28: ffff8000112cd818 ideo Memory-to-M[e m o1r1y4 .M5u47155] x27: 00000000c0d05604 x26: ffffffffffffffed [ 114.554544] x25: ffff0000c18b2088 x24: ffff8000112cd818 ltiplanar 5 Str[e a m1i1n4g. 59855] x23: ffff0000c6452e08 x22: ffff0000c757c900 6 Extended Pix [F o 1r1m4a.t5 7244] x21: ffff0000c7766900 x20: ffff0000c7766908 5 Device Capabi[l i t1i1e4s. 7 4546] x19: ffff0000c7766900 x18: 0000000000000000 evice Caps [ :1 104x.508412847] x17: 0000000000000000 x16: 0000000000000000 04000 Video M[e m o1r1y4-.t58o9149] x15: 0000000000000000 x14: 0000000000000000 -Memory Multiplan[ 11a4r. 5 9 6539] x13: 0000000000000000 x12: 0000000000000000 Streaming Extende[d P1i1x4 F603839] x11: 0000000000000000 x10: 0000000000000000 [ 114.611401] x9 : 0000000000000000 x8 : 0000000000000000 ormat 4riority[: 211 6 1712] x7 : 0000000000000000 x6 : 0000000000000000 Message from s[y s l1o1g4d.@6 2 4013] x5 : 0000000000000000 x4 : 0000000000000000 at Thu Jan 1 0[0 : 0111:43.86 31315] x3 : 0000000000000007 x2 : ffff0000c7766900 970 ... : [ [ 1 11144..4673182617] x1 : 0000000000000009 x0 : ffff0000c18b2080 10] Inte[r n1a1l4 .e6r4r5o9r:1 ] Call trace: [ 114.650011] mxc_isi_m2m_g_fmt_vid_cap+0x48/0xb0 Oops: 96000004 [[ # 111]4 .PR6E5E627] v4l_g_fmt+0xc8/0x2f0 MPT SMP [ 114.659931] __video_do_ioctl+0x180/0x3e4 [ 114.664801] video_usercopy+0x190/0x410 [ 114.668634] video_ioctl2+0x18/0x24 [ 114.672121] v4l2_ioctl+0x44/0x64 [ 114.675435] __arm64_sys_ioctl+0xa8/0xf0 [ 114.679359] el0_svc_common.constprop.0+0x78/0x1a0 [ 114.684147] do_el0_svc+0x24/0x90 [ 114.687462] el0_svc+0x14/0x20 [ 114.690514] el0_sync_handler+0x1a4/0x1b0 [ 114.694520] el0_sync+0x174/0x180 [ 114.697835] Code: b9489405 b9000e65 b9001664 f9446404 (b9400c84) [ 114.703928] ---[ end trace 9b53847cf1f19462 ]--- Message from syslogd@ at Thu Jan 1 00:01:38 1970 ... : [ 114.697835] Code: b9489405 b9000e65 b9001664 f9446404 (b9400c84) Segmentation fault
P.S. :I am booting linux from sd card. Can you please help me resolve this error.