Hello everyone,
At present I’m trying to adapt the kernel driver and the device trees for the camera (AR0820) based on jetson TX2. However I met a problem after the function of ar0820_start_streaming. Which just suddenly interrupt the loop of ar0820_probe. More detailed log is like the following. I’m not true this problem comes from the kernel or the dtsi? Could anybody help me, Thanks a lot!
[ 191.532325] misc tegra_camera_ctrl: tegra_camera_update_isobw: Warning, Requested ISO BW 1627604 has been capped to VI's max BW 1250000
[ 191.579193] misc tegra_camera_ctrl: tegra_camera_update_isobw: Warning, Requested ISO BW 1627604 has been capped to VI's max BW 1250000
[ 193.035899] fence timeout on [ffffffc167240e40] after 1500ms
[ 193.035902] fence timeout on [ffffffc176deb000] after 1500ms
[ 193.035906] name=[nvhost_sync:35], current value=0 waiting value=1
[ 193.035908] name=[nvhost_sync:38], current value=0 waiting value=1
[ 193.035911] ---- mlocks ----
[ 193.035912] ---- mlocks ----
[ 193.035923] 8: locked by channel 7
[ 193.035924] 8: locked by channel 7
[ 193.035941] ---- syncpts ----
[ 193.035941] ---- syncpts ----
[ 193.035952] id 5 (disp_d) min 1405 max 1405 refs 1 (previous client : )
[ 193.035955] id 6 (disp_e) min 3 max 3 refs 1 (previous client : )
[ 193.035958] id 7 (disp_f) min 3 max 3 refs 1 (previous client : )
[ 193.035963] id 8 (vblank1) min 9921 max -6 refs 1 (previous client : )
[ 193.035977] id 20 (gp10b_507) min 602 max 602 refs 1 (previous client : )
[ 193.035981] id 21 (gp10b_506) min 26 max 26 refs 1 (previous client : )
[ 193.035984] id 22 (gp10b_505) min 734 max 734 refs 1 (previous client : gp10b_505)
[ 193.035988] id 23 (gp10b_504) min 6 max 6 refs 1 (previous client : )
[ 193.035991] id 24 (gp10b_503) min 57694 max 57694 refs 1 (previous client : )
[ 193.035994] id 25 (gp10b_502) min 14 max 14 refs 1 (previous client : )
[ 193.036000] id 28 (gp10b_501) min 6978 max 6978 refs 1 (previous client : gp10b_501)
[ 193.036003] id 29 (15340000.vic_nvgstcapture-1._0) min 43 max 43 refs 1 (previous client : tegra-vi4)
[ 193.036007] id 30 (15340000.vic_nvgstcapture-1._0) min 43 max 43 refs 1 (previous client : 15340000.vic_nvgstcapture-1._0)
[ 193.036014] id 35 (15600000.isp_nvargus-daemon_0) min 0 max 4 refs 4 (previous client : )
[ 193.036017] id 36 (15600000.isp_nvargus-daemon_1) min 0 max 2 refs 4 (previous client : )
[ 193.036021] id 37 (15600000.isp_nvargus-daemon_2) min 0 max 2 refs 4 (previous client : )
[ 193.036024] id 38 (15600000.isp_nvargus-daemon_3) min 0 max 2 refs 4 (previous client : )
[ 193.036027] id 39 (15600000.isp_nvargus-daemon_4) min 15 max 26 refs 9 (previous client : )
[ 193.036030] id 40 (15600000.isp_nvargus-daemon_5) min 0 max 2 refs 4 (previous client : )
[ 193.036034] id 42 (gp10b_499) min 12 max 12 refs 1 (previous client : )
[ 193.036040] id 46 (15700000.vi_0) min 14 max 14 refs 2 (previous client : 15700000.vi_0)
[ 193.036044] id 47 (15700000.vi_0) min 1 max 2 refs 4 (previous client : 15700000.vi_0)
[ 193.036047] id 48 (15700000.vi_1) min 0 max 2 refs 4 (previous client : 15700000.vi_1)
[ 193.036051] id 49 (15700000.vi_2) min 0 max 2 refs 4 (previous client : 15700000.vi_2)
[ 193.036054] id 50 (150c0000.nvcsi_0) min 26 max 26 refs 2 (previous client : 150c0000.nvcsi_0)
[ 193.036058] id 52 (gp10b_495) min 6 max 6 refs 1 (previous client : )
[ 193.036061] id 53 (gp10b_494) min 8 max 8 refs 1 (previous client : )
[ 193.036065] id 55 (gp10b_493) min 6 max 6 refs 1 (previous client : )
[ 193.036068] id 56 (gp10b_492) min 6 max 6 refs 1 (previous client : )
[ 193.036071] id 57 (gp10b_491) min 6 max 6 refs 1 (previous client : )
[ 193.036075] id 58 (gp10b_490) min 6 max 6 refs 1 (previous client : )
[ 193.036583] ---- channels ----
[ 193.036590] id 5 (disp_d) min 1405 max 1405 refs 1 (previous client : )
[ 193.036593] id 6 (disp_e) min 3 max 3 refs 1 (previous client : )
[ 193.036594]
channel 2 - 15820000.se
[ 193.036596] id 7 (disp_f) min 3 max 3 refs 1 (previous client : )
[ 193.036597] NvHost basic channel registers:
[ 193.036599] CMDFIFO_STAT_0: 00002040
[ 193.036600] id 8 (vblank1) min 9921 max -6 refs 1 (previous client : )
[ 193.036602] CMDFIFO_RDATA_0: 804d1824
[ 193.036606] CMDP_OFFSET_0: 00000000
[ 193.036609] CMDP_CLASS_0: 00000000
[ 193.036611] CHANNELSTAT_0: 00000000
[ 193.036613] id 20 (gp10b_507) min 602 max 602 refs 1 (previous client : )
[ 193.036614] The CDMA sync queue is empty.
[ 193.036617] id 21 (gp10b_506) min 26 max 26 refs 1 (previous client : )
[ 193.036618]
channel 3 - 15830000.se
[ 193.036619] NvHost basic channel registers:
[ 193.036620] id 22 (gp10b_505) min 734 max 734 refs 1 (previous client : gp10b_505)
[ 193.036622] CMDFIFO_STAT_0: 00002040
[ 193.036623] id 23 (gp10b_504) min 6 max 6 refs 1 (previous client : )
[ 193.036625] CMDFIFO_RDATA_0: 06e0418c
[ 193.036625] id 24 (gp10b_503) min 57694 max 57694 refs 1 (previous client : )
[ 193.036628] id 25 (gp10b_502) min 14 max 14 refs 1 (previous client : )
[ 193.036629] CMDP_OFFSET_0: 00000000
[ 193.036631] CMDP_CLASS_0: 00000000
[ 193.036633] CHANNELSTAT_0: 00000000
[ 193.036634] id 28 (gp10b_501) min 6978 max 6978 refs 1 (previous client : gp10b_501)
[ 193.036635] The CDMA sync queue is empty.
[ 193.036637] id 29 (15340000.vic_nvgstcapture-1._0) min 43 max 43 refs 1 (previous client : tegra-vi4)
[ 193.036639]
channel 4 - 15840000.se
[ 193.036640] id 30 (15340000.vic_nvgstcapture-1._0) min 43 max 43 refs 1 (previous client : 15340000.vic_nvgstcapture-1._0)
[ 193.036641] NvHost basic channel registers:
[ 193.036644] CMDFIFO_STAT_0: 00002040
[ 193.036646] CMDFIFO_RDATA_0: 0c04fdd1
[ 193.036647] id 35 (15600000.isp_nvargus-daemon_0) min 0 max 4 refs 4 (previous client : )
[ 193.036649] id 36 (15600000.isp_nvargus-daemon_1) min 0 max 2 refs 4 (previous client : )
[ 193.036650] CMDP_OFFSET_0: 00000000
[ 193.036652] CMDP_CLASS_0: 00000000
[ 193.036653] id 37 (15600000.isp_nvargus-daemon_2) min 0 max 2 refs 4 (previous client : )
[ 193.036655] CHANNELSTAT_0: 00000000
[ 193.036656] id 38 (15600000.isp_nvargus-daemon_3) min 0 max 2 refs 4 (previous client : )
[ 193.036657] The CDMA sync queue is empty.
[ 193.036658] id 39 (15600000.isp_nvargus-daemon_4) min 15 max 26 refs 9 (previous client : )
[ 193.036661]
channel 7 - 15600000.isp
[ 193.036662] id 40 (15600000.isp_nvargus-daemon_5) min 0 max 2 refs 4 (previous client : )
[ 193.036663] NvHost basic channel registers:
[ 193.036665] id 42 (gp10b_499) min 12 max 12 refs 1 (previous client : )
[ 193.036666] CMDFIFO_STAT_0: 00004000
[ 193.036668] CMDFIFO_RDATA_0: 004e0041
[ 193.036671] CMDP_OFFSET_0: 00000050
[ 193.036672] id 46 (15700000.vi_0) min 14 max 14 refs 2 (previous client : 15700000.vi_0)
[ 193.036674] CMDP_CLASS_0: 00000001
[ 193.036674] id 47 (15700000.vi_0) min 1 max 2 refs 4 (previous client : 15700000.vi_0)
[ 193.036677] CHANNELSTAT_0: 00000000
[ 193.036677] id 48 (15700000.vi_1) min 0 max 2 refs 4 (previous client : 15700000.vi_1)
[ 193.036680] id 49 (15700000.vi_2) min 0 max 2 refs 4 (previous client : 15700000.vi_2)
[ 193.036681]
ffffffc15d486c00: JOB, syncpt_id=35, syncpt_val=2, first_get=000001f8, timeout=10000, num_slots=19
[ 193.036684] id 50 (150c0000.nvcsi_0) min 26 max 26 refs 2 (previous client : 150c0000.nvcsi_0)
[ 193.036688] id 52 (gp10b_495) min 6 max 6 refs 1 (previous client : )
[ 193.036688] GATHER at ffd58000+3c20, 12 words
[ 193.036690] 20000001
[ 193.036691] id 53 (gp10b_494) min 8 max 8 refs 1 (previous client : )
[ 193.036692] 00006423
[ 193.036693] 20000001
[ 193.036694] 00006824
[ 193.036696] id 55 (gp10b_493) min 6 max 6 refs 1 (previous client : )
[ 193.036696] 20000001
[ 193.036697] 00006c25
[ 193.036699] id 56 (gp10b_492) min 6 max 6 refs 1 (previous client : )
[ 193.036699] 20000001
[ 193.036700] 00007c26
[ 193.036702] id 57 (gp10b_491) min 6 max 6 refs 1 (previous client : )
[ 193.036702] 20000001
[ 193.036703] 00007428
[ 193.036705] 200c0001
[ 193.036705] id 58 (gp10b_490) min 6 max 6 refs 1 (previous client : )
[ 193.036706] 00000005
[ 193.036711] GATHER at ffd58000+3c50, 2 words
[ 193.036712] 20000001
[ 193.036714] 00000027
[ 193.036719]
channel 6 - 150c0000.nvcsi
[ 193.036720] NvHost basic channel registers:
[ 193.036723] CMDFIFO_STAT_0: 00002040
[ 193.036725] CMDFIFO_RDATA_0: 00000032
[ 193.036729] CMDP_OFFSET_0: 00000000
[ 193.036731] CMDP_CLASS_0: 00000001
[ 193.036733] CHANNELSTAT_0: 00000000
[ 193.036735] The CDMA sync queue is empty.
[ 193.036739]
channel 1 - 15700000.vi
[ 193.036740] NvHost basic channel registers:
[ 193.036743] CMDFIFO_STAT_0: 00002040
[ 193.036745] CMDFIFO_RDATA_0: 0000002e
[ 193.036748] CMDP_OFFSET_0: 00000000
[ 193.036751] CMDP_CLASS_0: 00000001
[ 193.036753] CHANNELSTAT_0: 00000000
[ 193.036755] The CDMA sync queue is empty.
[ 193.036757]
channel 5 - 15700000.vi
[ 193.036759] NvHost basic channel registers:
[ 193.036761] CMDFIFO_STAT_0: 0000001b
[ 193.036763] CMDFIFO_RDATA_0: 304e0005
[ 193.036766] CMDP_OFFSET_0: 00000050
[ 193.036769] CMDP_CLASS_0: 00000001
[ 193.036771] CHANNELSTAT_0: 00000000
[ 193.036775]
ffffffc161a26800: JOB, syncpt_id=49, syncpt_val=1, first_get=00000000, timeout=10000, num_slots=7
[ 193.036779] GATHER at ffd48000+0000, 6 words
[ 193.036781] 304e0005
[ 193.036782] 0000000f
[ 193.036784] 00000027
[ 193.036785] 304e0005
[ 193.036787] 00000000
[ 193.036788] 00000030
[ 193.036792] GATHER at ffd48000+0018, 29 words
[ 193.036793] 90000002
[ 193.036794] a0004008
[ 193.036796] 00007f1f
[ 193.036797] 00000b3f
[ 193.036799] 9000000c
[ 193.036800] a000400c
[ 193.036802] 00000f00
[ 193.036803] 00000870
[ 193.036804] 00000001
[ 193.036806] 00000001
[ 193.036807] 00000000
[ 193.036809] 00000000
[ 193.036810] 00000000
[ 193.036811] 00000000
[ 193.036813] 00000000
[ 193.036814] 00000000
[ 193.036816] 00000f00
[ 193.036817] 00000870
[ 193.036818] 90000002
[ 193.036820] a0004018
[ 193.036821] 007f0000
[ 193.036823] 00000104
[ 193.036824] 90000002
[ 193.036825] a0004021
[ 193.036827] 00000000
[ 193.036828] 00000000
[ 193.036830] 90000001
[ 193.036831] a0004045
[ 193.036832] 0003d5ea
[ 193.036836] GATHER at ffd48000+008c, 26 words
[ 193.036837] 90000001
[ 193.036839] a0000401
[ 193.036840] 00000000
[ 193.036842] 90000001
[ 193.036843] a000404d
[ 193.036844] 00000001
[ 193.036846] 90000001
[ 193.036847] a0004020
[ 193.036849] 00000000
[ 193.036850] 90000003
[ 193.036851] a0004042
[ 193.036853] fffea000
[ 193.036854] 00000000
[ 193.036855] 00000001
[ 193.036857] 90000001
[ 193.036858] a0004048
[ 193.036860] 00000000
[ 193.036861] 90000001
[ 193.036862] a000400a
[ 193.036864] 00000000
[ 193.036865] 90000001
[ 193.036867] a0004001
[ 193.036868] 00000001
[ 193.036869] 90000001
[ 193.036871] a0004007
[ 193.036872] 00000003
[ 193.036875] GATHER at ffd48000+00f4, 2 words
[ 193.036877] 20000001
[ 193.036878] 0000002f
[ 193.036883]
---- host general irq ----
[ 193.036885] sync_intc0mask = 0x00000001
[ 193.036888] sync_intmask = 0x50000003
[ 193.036889]
---- host syncpt irq mask ----
[ 193.036890]
---- host syncpt irq status ----
[ 193.036894] syncpt_thresh_cpu0_int_status(0) = 0x00000000
[ 193.036896] syncpt_thresh_cpu0_int_status(1) = 0x00000000
[ 193.036899] syncpt_thresh_cpu0_int_status(2) = 0x00000000
[ 193.036901] syncpt_thresh_cpu0_int_status(3) = 0x00000000
[ 193.036904] syncpt_thresh_cpu0_int_status(4) = 0x00000000
[ 193.036906] syncpt_thresh_cpu0_int_status(5) = 0x00000000
[ 193.036908] syncpt_thresh_cpu0_int_status(6) = 0x00000000
[ 193.036911] syncpt_thresh_cpu0_int_status(7) = 0x00000000
[ 193.036913] syncpt_thresh_cpu0_int_status(8) = 0x00000000
[ 193.036915] syncpt_thresh_cpu0_int_status(9) = 0x00000000
[ 193.036918] syncpt_thresh_cpu0_int_status(10) = 0x00000000
[ 193.036920] syncpt_thresh_cpu0_int_status(11) = 0x00000000
[ 193.036923] syncpt_thresh_cpu0_int_status(12) = 0x00000000
[ 193.036925] syncpt_thresh_cpu0_int_status(13) = 0x00000000
[ 193.036928] syncpt_thresh_cpu0_int_status(14) = 0x00000000
[ 193.036930] syncpt_thresh_cpu0_int_status(15) = 0x00000000
[ 193.036933] syncpt_thresh_cpu0_int_status(16) = 0x00000000
[ 193.036935] syncpt_thresh_cpu0_int_status(17) = 0x00000000
[ 193.037213] ---- channels ----
[ 193.037219]
channel 2 - 15820000.se
[ 193.037221] NvHost basic channel registers:
[ 193.037224] CMDFIFO_STAT_0: 00002040
[ 193.037226] CMDFIFO_RDATA_0: 804d1824
[ 193.037230] CMDP_OFFSET_0: 00000000
[ 193.037233] CMDP_CLASS_0: 00000000
[ 193.037235] CHANNELSTAT_0: 00000000
[ 193.037236] The CDMA sync queue is empty.
[ 193.037240]
channel 3 - 15830000.se
[ 193.037242] NvHost basic channel registers:
[ 193.037244] CMDFIFO_STAT_0: 00002040
[ 193.037246] CMDFIFO_RDATA_0: 06e0418c
[ 193.037250] CMDP_OFFSET_0: 00000000
[ 193.037252] CMDP_CLASS_0: 00000000
[ 193.037254] CHANNELSTAT_0: 00000000
[ 193.037256] The CDMA sync queue is empty.
[ 193.037259]
channel 4 - 15840000.se
[ 193.037261] NvHost basic channel registers:
[ 193.037263] CMDFIFO_STAT_0: 00002040
[ 193.037265] CMDFIFO_RDATA_0: 0c04fdd1
[ 193.037269] CMDP_OFFSET_0: 00000000
[ 193.037271] CMDP_CLASS_0: 00000000
[ 193.037273] CHANNELSTAT_0: 00000000
[ 193.037275] The CDMA sync queue is empty.
[ 193.037278]
channel 7 - 15600000.isp
[ 193.037280] NvHost basic channel registers:
[ 193.037282] CMDFIFO_STAT_0: 00004000
[ 193.037284] CMDFIFO_RDATA_0: 004e0041
[ 193.037288] CMDP_OFFSET_0: 00000050
[ 193.037290] CMDP_CLASS_0: 00000001
[ 193.037292] CHANNELSTAT_0: 00000000
[ 193.037296]
ffffffc15d486c00: JOB, syncpt_id=35, syncpt_val=2, first_get=000001f8, timeout=10000, num_slots=19
[ 193.037298] GATHER at ffd58000+3c20, 12 words
[ 193.037300] 20000001
[ 193.037302] 00006423
[ 193.037303] 20000001
[ 193.037305] 00006824
[ 193.037306] 20000001
[ 193.037308] 00006c25
[ 193.037309] 20000001
[ 193.037311] 00007c26
[ 193.037312] 20000001
[ 193.037314] 00007428
[ 193.037315] 200c0001
[ 193.037317] 00000005
[ 193.037320] GATHER at ffd58000+3c50, 2 words
[ 193.037322] 20000001
[ 193.037324] 00000027
[ 193.037328]
channel 6 - 150c0000.nvcsi
[ 193.037330] NvHost basic channel registers:
[ 193.037332] CMDFIFO_STAT_0: 00002040
[ 193.037334] CMDFIFO_RDATA_0: 00000032
[ 193.037338] CMDP_OFFSET_0: 00000000
[ 193.037340] CMDP_CLASS_0: 00000001
[ 193.037342] CHANNELSTAT_0: 00000000
[ 193.037344] The CDMA sync queue is empty.
[ 193.037347]
channel 1 - 15700000.vi
[ 193.037348] NvHost basic channel registers:
[ 193.037350] CMDFIFO_STAT_0: 00002040
[ 193.037353] CMDFIFO_RDATA_0: 0000002e
[ 193.037356] CMDP_OFFSET_0: 00000000
[ 193.037358] CMDP_CLASS_0: 00000001
[ 193.037361] CHANNELSTAT_0: 00000000
[ 193.037362] The CDMA sync queue is empty.
[ 193.037365]
channel 5 - 15700000.vi
[ 193.037366] NvHost basic channel registers:
[ 193.037368] CMDFIFO_STAT_0: 0000001b
[ 193.037371] CMDFIFO_RDATA_0: 304e0005
[ 193.037374] CMDP_OFFSET_0: 00000050
[ 193.037376] CMDP_CLASS_0: 00000001
[ 193.037378] CHANNELSTAT_0: 00000000
[ 193.037381]
ffffffc161a26800: JOB, syncpt_id=49, syncpt_val=1, first_get=00000000, timeout=10000, num_slots=7
[ 193.037384] GATHER at ffd48000+0000, 6 words
[ 193.037385] 304e0005
[ 193.037387] 0000000f
[ 193.037388] 00000027
[ 193.037390] 304e0005
[ 193.037391] 00000000
[ 193.037393] 00000030
`indent preformatted text by 4 spaces`