Agx board cphy problem

hi,

recently i write a imx519 camera driver,this sensor is 3 trios cphy and use nvcsi5’s port6 and stream5, but can not capture any image.i’am sure that sensor have send signal,and also,i have dump nvcsi5’s reg and found no err config.What am I supposed to do next?

[   53.570562] t194-nvcsi 15a00000.nvcsi: csi5_stream_set_config: stream_id=5, csi_port=6,phymode=1,numlanes:3
[   53.575938] nvcsi stream 5 regs info:
[   53.579611] [read]:NVCSI5_SLCG_CTRL=0x00000000(0)
[   53.584134] [read]:NVCSI5_SLCG_CTRL=0x00000000(0)
[   53.588853] [read]:NVCSI5_PP_PHY_CTRL=0x00000001(1)
[   53.593706] [read]:NVCSI5_PP_PHY_CTRL=0x00000001(1)
[   53.598477] [read]:NVCSI5_PP_EN_CTRL=0x00000001(1)
[   53.603465] [read]:NVCSI5_PP_EN_CTRL=0x00000001(1)
[   53.608277] [read]:NVCSI5_VC0_DT_OVERRIDE=0x0000002b(43)
[   53.613612] [read]:NVCSI5_VC0_DT_OVERRIDE=0x0000002b(43)
[   53.618955] [read]:NVCSI5_VC0_PPFSM_TIMEOUT_CTRL=0x7fffffff(2147483647)
[   53.625604] [read]:NVCSI5_VC0_PPFSM_TIMEOUT_CTRL=0x7fffffff(2147483647)
[   53.632081] [read]:NVCSI5_VC0_PH_CHK_CTRL=0x00000007(7)
[   53.637326] [read]:NVCSI5_VC0_PH_CHK_CTRL=0x00000007(7)
[   53.642399] [read]:NVCSI5_VC0_DPCM_CTRL=0x00000000(0)
[   53.647691] [read]:NVCSI5_VC0_DPCM_CTRL=0x00000000(0)
[   53.652902] [read]:NVCSI5_PF_CRC_0=0x00000000(0)
[   53.657624] [read]:NVCSI5_PF_CRC_0=0x00000000(0)
[   53.662263] [read]:NVCSI5_PH_WC_0=0x00000000(0)
[   53.666641] [read]:NVCSI5_PH_WC_0=0x00000000(0)
[   53.671449] [read]:NVCSI5_PH_DI_0=0x00000000(0)
[   53.676006] [read]:NVCSI5_PH_DI_0=0x00000000(0)
[   53.680551] nvcsi phy 6 regs info:
[   53.683963] [read]:NVCSI5_CIL_PHY_CTRL=0x00000001(1)
[   53.688778] [read]:NVCSI5_LM_SLCG_CTRL_0=0x00000000(0)
[   53.693851] [read]:NVCSI5_LM_EN_CTRL_0=0x00000001(1)
[   53.698662] [read]:NVCSI5_LM_SW_RESET_0=0x00000000(0)
[   53.703945] [read]:NVCSI5_CIL_CONFIG_0=0x00000003(3)
[   53.708903] [read]:NVCSI5_CIL_CLKEN_OVERRIDE_CTRL_0=0x00000000(0)
[   53.715024] [read]:NVCSI5_CIL_LANE_SWIZZLE_CTRL_0=0x00000000(0)
[   53.720888] [read]:NVCSI5_CIL_BK_MODE_STATUS_0=0x00000000(0)
[   53.726574] phy A regs info:
[   53.729374] [read]:0x  24=0x00000000(0)
[   53.733136] [read]:0x  28=0x00000003(3)
[   53.736900] [read]:0x  2c=0xe0700000(3765436416)
[   53.741453] [read]:0x  30=0x00444444(4473924)
[   53.745915] [read]:0x  34=0x00000000(0)
[   53.749674] [read]:0x  38=0x00000000(0)
[   53.753611] [read]:0x  3c=0x00000000(0)
[   53.757550] [read]:0x  40=0x00000000(0)
[   53.761420] [read]:0x  44=0x00000000(0)
[   53.765340] [read]:0x  48=0x00000000(0)
[   53.769274] [read]:0x  4c=0x00000000(0)
[   53.773036] [read]:0x  50=0x00000000(0)
[   53.776976] [read]:0x  54=0x00000000(0)
[   53.780737] [read]:0x  58=0x00000000(0)
[   53.784675] [read]:0x  5c=0x00000000(0)
[   53.788524] [read]:0x  60=0x00000000(0)
[   53.792375] [read]:0x  64=0x00000000(0)
[   53.796056] [read]:0x  68=0x00000000(0)
[   53.800164] [read]:0x  6c=0x00001411(5137)
[   53.804281] [read]:0x  70=0x01022828(16918568)
[   53.808650] [read]:0x  74=0x00000000(0)
[   53.812499] [read]:0x  78=0x00000000(0)
[   53.816371] [read]:0x  7c=0x00000000(0)
[   53.820201] [read]:0x  80=0x00000000(0)
[   53.824050] [read]:0x  84=0x00000000(0)
[   53.827899] [read]:0x  88=0x00000000(0)
[   53.831749] [read]:0x  8c=0x00000000(0)
[   53.835600] [read]:0x  90=0x01080108(17301768)
[   53.839976] [read]:0x  94=0x00000003(3)
[   53.843824] [read]:0x  98=0x00000003(3)
[   53.847678] [read]:0x  9c=0xbfc8bfc8(3217604552)
[   53.852313] [read]:0x  a0=0x00000003(3)
[   53.856162] [read]:0x  a4=0x00000000(0)
[   53.860014] [read]:0x  a8=0x0000fcfc(64764)
[   53.864126] [read]:0x  ac=0x00000808(2056)
[   53.868237] phy B regs info:
[   53.871038] [read]:0x  b0=0x00000002(2)
[   53.874990] [read]:0x  b4=0x00000003(3)
[   53.878827] [read]:0x  b8=0xe0360000(3761635328)
[   53.883470] [read]:0x  bc=0x00444444(4473924)
[   53.887837] [read]:0x  c0=0x00000000(0)
[   53.891688] [read]:0x  c4=0x00000000(0)
[   53.895537] [read]:0x  c8=0x00000000(0)
[   53.899384] [read]:0x  cc=0x00000000(0)
[   53.903240] [read]:0x  d0=0x00000000(0)
[   53.907174] [read]:0x  d4=0x00000000(0)
[   53.911033] [read]:0x  d8=0x00000000(0)
[   53.914876] [read]:0x  dc=0x00000000(0)
[   53.918742] [read]:0x  e0=0x00000000(0)
[   53.922575] [read]:0x  e4=0x00000000(0)
[   53.926424] [read]:0x  e8=0x00000000(0)
[   53.930389] [read]:0x  ec=0x00000000(0)
[   53.934046] [read]:0x  f0=0x00000000(0)
[   53.938150] [read]:0x  f4=0x00000000(0)
[   53.942001] [read]:0x  f8=0x00001411(5137)
[   53.946114] [read]:0x  fc=0x01022828(16918568)
[   53.950487] [read]:0x 100=0x00000000(0)
[   53.954336] [read]:0x 104=0x00000000(0)
[   53.958186] [read]:0x 108=0x00000000(0)
[   53.962036] [read]:0x 10c=0x00000000(0)
[   53.965887] [read]:0x 110=0x00000000(0)
[   53.969739] [read]:0x 114=0x00000000(0)
[   53.973587] [read]:0x 118=0x00000000(0)
[   53.977437] [read]:0x 11c=0x01080108(17301768)
[   53.981811] [read]:0x 120=0x00000003(3)
[   53.985681] [read]:0x 124=0x00000001(1)
[   53.989513] [read]:0x 128=0xbfc8bfc8(3217604552)
[   53.994149] [read]:0x 12c=0x00000003(3)
[   53.998000] [read]:0x 130=0x00000000(0)
[   54.001851] [read]:0x 134=0x0000fcfc(64764)
[   54.005965] [read]:0x 138=0x00000808(2056)
[   54.010076] Read:0xffffff800d1c0400 Val:0x00000000
[   54.014976] [read]:0x   40400=0x00000000(0)
[   54.019175] Read:0xffffff800d1c0404 Val:0x00000000
[   54.023988] [read]:0x   40404=0x00000000(0)
[   54.028099] Read:0xffffff800d1c0800 Val:0x00000000
[   54.033001] [read]:0x   40800=0x00000000(0)
[   54.037112] Read:0xffffff800d1c0804 Val:0x00000000
[   54.042030] [read]:0x   40804=0x00000000(0)
[   54.151534] [RCE] vi5_hwinit: firmware CL2018101701 protocol version 2.2
select timeout
[   58.139494] tegra194-vi5 15c10000.vi: no reply from camera processor
[   58.139634] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 4000 ms
[   58.139769] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel
[   58.142928] t194-nvcsi 15a00000.nvcsi: csi5_stream_set_config: stream_id=5, csi_port=6,phymode=1,numlanes:3

Hi shqli_linux,

Are you using a Jetson platform or a Drive platform?

hi,

yes,i’am sure, it’s jetson agx xaiver board.i just add some code to dump nvcsi’s regs.

# tracer: nop
#
# entries-in-buffer/entries-written: 133/133   #P:8
#
#                              _-----=> irqs-off
#                             / _----=> need-resched
#                            | / _---=> hardirq/softirq
#                            || / _--=> preempt-depth
#                            ||| /     delay
#           TASK-PID   CPU#  ||||    TIMESTAMP  FUNCTION
#              | |       |   ||||       |         |
     kworker/0:0-4     [000] ....  1188.055020: rtos_queue_send_from_isr_failed: tstamp:37320829393 queue:0x0bcb50f8
     kworker/0:0-4     [000] ....  1188.055026: rtos_queue_send_from_isr_failed: tstamp:37320831971 queue:0x0bcb9960
     kworker/0:0-4     [000] ....  1188.055027: rtos_queue_send_from_isr_failed: tstamp:37320834523 queue:0x0bcbb4e0
     kworker/0:0-4     [000] ....  1188.055028: rtos_queue_send_from_isr_failed: tstamp:37320836984 queue:0x0bcbc2a0
     kworker/0:0-4     [000] ....  1188.055046: rtos_queue_send_from_isr_failed: tstamp:37320839432 queue:0x0bcbd060
     kworker/0:0-4     [000] ....  1188.055050: rtcpu_string: tstamp:37320850480 id:0x04010000 str:"===== NVCSI Stream Configuration =====
"
     kworker/0:0-4     [000] ....  1188.055055: rtcpu_string: tstamp:37320855741 id:0x04010000 str:"stream_id: PP 5, csi_port: PORT G
"
     kworker/0:0-4     [000] ....  1188.055058: rtcpu_string: tstamp:37320861965 id:0x04010000 str:"Brick: PHY 3, Mode: C-PHY
"
     kworker/0:0-4     [000] ....  1188.055060: rtcpu_string: tstamp:37320867603 id:0x04010000 str:"Partition: CIL A, LP bypass: Disabled, Lanes: 3
"
     kworker/0:0-4     [000] ....  1188.055062: rtcpu_string: tstamp:37320870988 id:0x04010000 str:"Clock information:
"
     kworker/0:0-4     [000] ....  1188.055078: rtcpu_string: tstamp:37320880982 id:0x04010000 str:"NVCSI (CIL) clock: 204000 kHz
"
     kworker/0:0-4     [000] ....  1188.055080: rtcpu_string: tstamp:37320887140 id:0x04010000 str:"Pixel (MIPI) rate: 97.66 MHz
"
     kworker/0:0-4     [000] ....  1188.055083: rtcpu_string: tstamp:37320894680 id:0x04010000 str:"T_HS settle: 26, T_CLK settle: 1
"
     kworker/0:0-4     [000] ....  1188.055085: rtcpu_string: tstamp:37320898579 id:0x04010000 str:"======================================
"
     kworker/0:0-4     [000] ....  1188.671408: rtos_queue_peek_from_isr_failed: tstamp:37338740176 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1188.671414: rtcpu_start: tstamp:37338743229
     kworker/0:0-4     [000] ....  1188.671416: rtos_queue_send_from_isr_failed: tstamp:37338757922 queue:0x0bcb50f8
     kworker/0:0-4     [000] ....  1188.671417: rtos_queue_send_from_isr_failed: tstamp:37338758063 queue:0x0bcb9960
     kworker/0:0-4     [000] ....  1188.671419: rtos_queue_send_from_isr_failed: tstamp:37338758205 queue:0x0bcbb4e0
     kworker/0:0-4     [000] ....  1188.671420: rtos_queue_send_from_isr_failed: tstamp:37338758377 queue:0x0bcbc2a0
     kworker/0:0-4     [000] ....  1188.671445: rtos_queue_send_from_isr_failed: tstamp:37338758509 queue:0x0bcbd060
     kworker/0:0-4     [000] ....  1188.671447: rtcpu_string: tstamp:37338760200 id:0x04010000 str:"vi5_hwinit: firmware CL2018101701 protocol versi"
     kworker/0:0-4     [000] ....  1188.671450: rtcpu_string: tstamp:37338760305 id:0x04010000 str:"on 2.2
"
     kworker/0:0-4     [000] ....  1188.671593: rtos_queue_send_from_isr_failed: tstamp:37338792937 queue:0x0bcb50f8
     kworker/0:0-4     [000] ....  1188.671594: rtos_queue_send_from_isr_failed: tstamp:37338793076 queue:0x0bcb9960
     kworker/0:0-4     [000] ....  1188.671595: rtos_queue_send_from_isr_failed: tstamp:37338793216 queue:0x0bcbb4e0
     kworker/0:0-4     [000] ....  1188.671595: rtos_queue_send_from_isr_failed: tstamp:37338793350 queue:0x0bcbc2a0
     kworker/0:0-4     [000] ....  1188.671596: rtos_queue_send_from_isr_failed: tstamp:37338793482 queue:0x0bcbd060
     kworker/0:0-4     [000] ....  1188.671597: rtos_queue_send_from_isr_failed: tstamp:37338799138 queue:0x0bcb50f8
     kworker/0:0-4     [000] ....  1188.671597: rtos_queue_send_from_isr_failed: tstamp:37338799274 queue:0x0bcb9960
     kworker/0:0-4     [000] ....  1188.671598: rtos_queue_send_from_isr_failed: tstamp:37338799413 queue:0x0bcbb4e0
     kworker/0:0-4     [000] ....  1188.671599: rtos_queue_send_from_isr_failed: tstamp:37338799545 queue:0x0bcbc2a0
     kworker/0:0-4     [000] ....  1188.671599: rtos_queue_send_from_isr_failed: tstamp:37338799679 queue:0x0bcbd060
     kworker/0:0-4     [000] ....  1188.671600: rtos_queue_send_from_isr_failed: tstamp:37338804532 queue:0x0bcb50f8
     kworker/0:0-4     [000] ....  1188.671601: rtos_queue_send_from_isr_failed: tstamp:37338804669 queue:0x0bcb9960
     kworker/0:0-4     [000] ....  1188.671602: rtos_queue_send_from_isr_failed: tstamp:37338804809 queue:0x0bcbb4e0
     kworker/0:0-4     [000] ....  1188.671602: rtos_queue_send_from_isr_failed: tstamp:37338804942 queue:0x0bcbc2a0
     kworker/0:0-4     [000] ....  1188.671603: rtos_queue_send_from_isr_failed: tstamp:37338805074 queue:0x0bcbd060
     kworker/0:0-4     [000] ....  1188.671604: rtos_queue_send_from_isr_failed: tstamp:37338810002 queue:0x0bcb50f8
     kworker/0:0-4     [000] ....  1188.671604: rtos_queue_send_from_isr_failed: tstamp:37338810138 queue:0x0bcb9960
     kworker/0:0-4     [000] ....  1188.671605: rtos_queue_send_from_isr_failed: tstamp:37338810274 queue:0x0bcbb4e0
     kworker/0:0-4     [000] ....  1188.671606: rtos_queue_send_from_isr_failed: tstamp:37338810406 queue:0x0bcbc2a0
     kworker/0:0-4     [000] ....  1188.671606: rtos_queue_send_from_isr_failed: tstamp:37338810540 queue:0x0bcbd060
     kworker/0:0-4     [000] ....  1188.783376: rtos_queue_peek_from_isr_failed: tstamp:37343740762 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1188.951379: rtos_queue_peek_from_isr_failed: tstamp:37348740563 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1189.119370: rtos_queue_peek_from_isr_failed: tstamp:37353740872 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1189.287375: rtos_queue_peek_from_isr_failed: tstamp:37358740685 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1189.455377: rtos_queue_peek_from_isr_failed: tstamp:37363740568 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1189.623369: rtos_queue_peek_from_isr_failed: tstamp:37368740566 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1189.791370: rtos_queue_peek_from_isr_failed: tstamp:37373740768 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1189.903376: rtos_queue_peek_from_isr_failed: tstamp:37378740935 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1190.071377: rtos_queue_peek_from_isr_failed: tstamp:37383740565 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1190.239377: rtos_queue_peek_from_isr_failed: tstamp:37388740799 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1190.407379: rtos_queue_peek_from_isr_failed: tstamp:37393740798 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1190.575378: rtos_queue_peek_from_isr_failed: tstamp:37398740572 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1190.743380: rtos_queue_peek_from_isr_failed: tstamp:37403740545 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1190.911375: rtos_queue_peek_from_isr_failed: tstamp:37408740707 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1191.023376: rtos_queue_peek_from_isr_failed: tstamp:37413740563 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1191.191374: rtos_queue_peek_from_isr_failed: tstamp:37418740567 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1191.359377: rtos_queue_peek_from_isr_failed: tstamp:37423740574 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1191.527382: rtos_queue_peek_from_isr_failed: tstamp:37428740563 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1191.695377: rtos_queue_peek_from_isr_failed: tstamp:37433740574 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1191.863375: rtos_queue_peek_from_isr_failed: tstamp:37438740664 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1192.031375: rtos_queue_peek_from_isr_failed: tstamp:37443740563 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1192.143369: rtos_queue_peek_from_isr_failed: tstamp:37448740567 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1192.311369: rtos_queue_peek_from_isr_failed: tstamp:37453740567 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1192.479369: rtos_queue_peek_from_isr_failed: tstamp:37458740751 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1192.661808: rtos_queue_peek_from_isr_failed: tstamp:37463740563 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1192.661812: rtos_queue_send_from_isr_failed: tstamp:37464622677 queue:0x0bcb50f8
     kworker/0:0-4     [000] ....  1192.661828: rtos_queue_send_from_isr_failed: tstamp:37464622822 queue:0x0bcb9960
     kworker/0:0-4     [000] ....  1192.661829: rtos_queue_send_from_isr_failed: tstamp:37464622961 queue:0x0bcbb4e0
     kworker/0:0-4     [000] ....  1192.661830: rtos_queue_send_from_isr_failed: tstamp:37464623096 queue:0x0bcbc2a0
     kworker/0:0-4     [000] ....  1192.661830: rtos_queue_send_from_isr_failed: tstamp:37464623230 queue:0x0bcbd060
     kworker/0:0-4     [000] ....  1192.661831: rtos_queue_send_from_isr_failed: tstamp:37464707372 queue:0x0bcb50f8
     kworker/0:0-4     [000] ....  1192.661832: rtos_queue_send_from_isr_failed: tstamp:37464707515 queue:0x0bcb9960
     kworker/0:0-4     [000] ....  1192.661832: rtos_queue_send_from_isr_failed: tstamp:37464707656 queue:0x0bcbb4e0
     kworker/0:0-4     [000] ....  1192.661833: rtos_queue_send_from_isr_failed: tstamp:37464707790 queue:0x0bcbc2a0
     kworker/0:0-4     [000] ....  1192.661834: rtos_queue_send_from_isr_failed: tstamp:37464707923 queue:0x0bcbd060
     kworker/0:0-4     [000] ....  1192.661835: rtcpu_string: tstamp:37464770231 id:0x04010000 str:"===== NVCSI Stream Configuration =====
"
     kworker/0:0-4     [000] ....  1192.661859: rtcpu_string: tstamp:37464770517 id:0x04010000 str:"stream_id: PP 5, csi_port: PORT G
"
     kworker/0:0-4     [000] ....  1192.661861: rtcpu_string: tstamp:37464770804 id:0x04010000 str:"Brick: PHY 3, Mode: C-PHY
"
     kworker/0:0-4     [000] ....  1192.661863: rtcpu_string: tstamp:37464771107 id:0x04010000 str:"Partition: CIL A, LP bypass: Disabled, Lanes: 3
"
     kworker/0:0-4     [000] ....  1192.661866: rtcpu_string: tstamp:37464771289 id:0x04010000 str:"Clock information:
"
     kworker/0:0-4     [000] ....  1192.661868: rtcpu_string: tstamp:37464771839 id:0x04010000 str:"NVCSI (CIL) clock: 204000 kHz
"
     kworker/0:0-4     [000] ....  1192.661870: rtcpu_string: tstamp:37464772167 id:0x04010000 str:"Pixel (MIPI) rate: 97.66 MHz
"
     kworker/0:0-4     [000] ....  1192.661872: rtcpu_string: tstamp:37464772533 id:0x04010000 str:"T_HS settle: 26, T_CLK settle: 1
"
     kworker/0:0-4     [000] ....  1192.661873: rtcpu_string: tstamp:37464772746 id:0x04010000 str:"======================================
"
     kworker/0:0-4     [000] ....  1192.775729: rtos_queue_peek_from_isr_failed: tstamp:37468740567 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1192.946699: rtos_queue_peek_from_isr_failed: tstamp:37473740559 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1193.111380: rtos_queue_peek_from_isr_failed: tstamp:37478740558 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1193.111383: rtos_queue_send_from_isr_failed: tstamp:37478927394 queue:0x0bcb50f8
     kworker/0:0-4     [000] ....  1193.111385: rtos_queue_send_from_isr_failed: tstamp:37478927538 queue:0x0bcb9960
     kworker/0:0-4     [000] ....  1193.111386: rtos_queue_send_from_isr_failed: tstamp:37478927678 queue:0x0bcbb4e0
     kworker/0:0-4     [000] ....  1193.111388: rtos_queue_send_from_isr_failed: tstamp:37478927813 queue:0x0bcbc2a0
     kworker/0:0-4     [000] ....  1193.111413: rtos_queue_send_from_isr_failed: tstamp:37478927945 queue:0x0bcbd060
     kworker/0:0-4     [000] ....  1193.111415: rtos_queue_send_from_isr_failed: tstamp:37479159846 queue:0x0bcb50f8
     kworker/0:0-4     [000] ....  1193.111416: rtos_queue_send_from_isr_failed: tstamp:37479159987 queue:0x0bcb9960
     kworker/0:0-4     [000] ....  1193.111417: rtos_queue_send_from_isr_failed: tstamp:37479160129 queue:0x0bcbb4e0
     kworker/0:0-4     [000] ....  1193.111418: rtos_queue_send_from_isr_failed: tstamp:37479160262 queue:0x0bcbc2a0
     kworker/0:0-4     [000] ....  1193.111419: rtos_queue_send_from_isr_failed: tstamp:37479160396 queue:0x0bcbd060
     kworker/0:0-4     [000] ....  1193.279380: rtos_queue_peek_from_isr_failed: tstamp:37483740567 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1193.447415: rtos_queue_peek_from_isr_failed: tstamp:37488740565 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1193.615389: rtos_queue_peek_from_isr_failed: tstamp:37493740565 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1193.783379: rtos_queue_peek_from_isr_failed: tstamp:37498740567 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1193.951377: rtos_queue_peek_from_isr_failed: tstamp:37503740563 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1194.063370: rtos_queue_peek_from_isr_failed: tstamp:37508740567 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1194.231370: rtos_queue_peek_from_isr_failed: tstamp:37513740567 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1194.399372: rtos_queue_peek_from_isr_failed: tstamp:37518740566 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1194.567372: rtos_queue_peek_from_isr_failed: tstamp:37523740567 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1194.735375: rtos_queue_peek_from_isr_failed: tstamp:37528740567 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1194.903377: rtos_queue_peek_from_isr_failed: tstamp:37533740565 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1195.071377: rtos_queue_peek_from_isr_failed: tstamp:37538740566 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1195.183377: rtos_queue_peek_from_isr_failed: tstamp:37543740570 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1195.351384: rtos_queue_peek_from_isr_failed: tstamp:37548740567 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1195.519393: rtos_queue_peek_from_isr_failed: tstamp:37553740567 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1195.687370: rtos_queue_peek_from_isr_failed: tstamp:37558740594 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1195.855375: rtos_queue_peek_from_isr_failed: tstamp:37563740567 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1196.023389: rtos_queue_peek_from_isr_failed: tstamp:37568740566 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1196.191377: rtos_queue_peek_from_isr_failed: tstamp:37573740567 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1196.303375: rtos_queue_peek_from_isr_failed: tstamp:37578740568 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1196.471375: rtos_queue_peek_from_isr_failed: tstamp:37583740567 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1196.639373: rtos_queue_peek_from_isr_failed: tstamp:37588740566 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1196.807369: rtos_queue_peek_from_isr_failed: tstamp:37593740565 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1196.975371: rtos_queue_peek_from_isr_failed: tstamp:37598740566 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1197.143371: rtos_queue_peek_from_isr_failed: tstamp:37603740568 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1197.311369: rtos_queue_peek_from_isr_failed: tstamp:37608740567 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1197.423378: rtos_queue_peek_from_isr_failed: tstamp:37613740566 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1197.591376: rtos_queue_peek_from_isr_failed: tstamp:37618740567 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1197.759377: rtos_queue_peek_from_isr_failed: tstamp:37623740565 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1197.927375: rtos_queue_peek_from_isr_failed: tstamp:37628740566 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1198.095377: rtos_queue_peek_from_isr_failed: tstamp:37633740566 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1198.263380: rtos_queue_peek_from_isr_failed: tstamp:37638740568 queue:0x0bcbde78
     kworker/0:0-4     [000] ....  1198.375378: rtos_queue_peek_from_isr_failed: tstamp:37643609798 queue:0x0bcbde78

Why numlanes:3 ? should it be 4?

hi,

yes, this sensor is cphy and use 3 trios,so i set num-lanes to 3. is it right?

I don’t think NVCSI can support 3 lanes, could you configure it as 2 or 4 lanes.

hi,shaneCCC

i have try 2 or 4 lanes,the output is same(no image).
by the way,i found that the code(as list) determine phymode just by numlanes.

bool is_cphy = (csi_lanes == 3);

@shqli
OK, looks like the e3331 configure as 3 lanes for c-phy mode.
You may need probe the signal to make sure the output signal is match the spec.

hi,shaneCCC

i have used oscilloscope to confirm that the sensor have send out signal.how should i do to locate where the problem happen to? nvcsi?vi?config?

@shqli
Is it possible to try others port?

hello, ShaneCCC

i have tried csiport2 which port I have successfully captured dphy sensor’s image, but the result is the same.
by the way,i also use csiport6 and open the debug according to <https://elinux.org/Jetson_TX2_Camera_BringUp>,the result is list blow,but i don’t know the meaning,

# entries-in-buffer/entries-written: 161/161   #P:8
#
#                              _-----=> irqs-off
#                             / _----=> need-resched
#                            | / _---=> hardirq/softirq
#                            || / _--=> preempt-depth
#                            ||| /     delay
#           TASK-PID   CPU#  ||||    TIMESTAMP  FUNCTION
#              | |       |   ||||       |         |
     kworker/0:2-1148  [000] ....   399.730007: rtos_queue_peek_from_isr_failed: tstamp:12626257772 queue:0x0bcc8ef0
     kworker/0:2-1148  [000] ....   399.897872: rtos_queue_peek_from_isr_failed: tstamp:12631257785 queue:0x0bcc8ef0
     kworker/0:2-1148  [000] ....   400.065819: rtos_queue_peek_from_isr_failed: tstamp:12636257786 queue:0x0bcc8ef0
     kworker/0:2-1148  [000] ....   400.233820: rtos_queue_peek_from_isr_failed: tstamp:12641257786 queue:0x0bcc8ef0
     kworker/0:2-1148  [000] ....   400.401712: rtos_queue_peek_from_isr_failed: tstamp:12646257786 queue:0x0bcc8ef0
     kworker/0:2-1148  [000] ....   400.513790: rtos_queue_peek_from_isr_failed: tstamp:12651257772 queue:0x0bcc8ef0
     kworker/0:2-1148  [000] ....   400.681733: rtos_queue_peek_from_isr_failed: tstamp:12656257786 queue:0x0bcc8ef0
     kworker/0:2-1148  [000] ....   400.849743: rtos_queue_peek_from_isr_failed: tstamp:12661257785 queue:0x0bcc8ef0
     kworker/0:2-1148  [000] ....   401.185721: rtos_queue_peek_from_isr_failed: tstamp:12671257768 queue:0x0bcc8ef0
     kworker/0:2-1148  [000] ....   401.353766: rtos_queue_peek_from_isr_failed: tstamp:12676257768 queue:0x0bcc8ef0
     kworker/0:2-1148  [000] ....   401.521949: rtos_queue_peek_from_isr_failed: tstamp:12681257785 queue:0x0bcc8ef0
     kworker/0:2-1148  [000] ....   401.633730: rtos_queue_peek_from_isr_failed: tstamp:12686257769 queue:0x0bcc8ef0
     kworker/0:2-1148  [000] ....   401.801699: rtos_queue_peek_from_isr_failed: tstamp:12691257786 queue:0x0bcc8ef0
     kworker/0:2-1148  [000] ....   401.969791: rtos_queue_peek_from_isr_failed: tstamp:12696257788 queue:0x0bcc8ef0
     kworker/0:2-1148  [000] ....   402.137844: rtos_queue_peek_from_isr_failed: tstamp:12701257788 queue:0x0bcc8ef0
     kworker/0:2-1148  [000] ....   402.305685: rtos_queue_peek_from_isr_failed: tstamp:12706257790 queue:0x0bcc8ef0
     kworker/0:2-1148  [000] ....   402.473862: rtos_queue_peek_from_isr_failed: tstamp:12711257786 queue:0x0bcc8ef0
     kworker/0:2-1148  [000] ....   402.641727: rtos_queue_peek_from_isr_failed: tstamp:12716257788 queue:0x0bcc8ef0
     kworker/0:2-1148  [000] ....   402.753692: rtos_queue_peek_from_isr_failed: tstamp:12721257769 queue:0x0bcc8ef0
     kworker/0:2-1148  [000] ....   402.921512: rtos_queue_peek_from_isr_failed: tstamp:12726257768 queue:0x0bcc8ef0
     kworker/0:2-1148  [000] ....   403.089868: rtos_queue_peek_from_isr_failed: tstamp:12731257788 queue:0x0bcc8ef0
     kworker/0:2-1148  [000] ....   403.257839: rtos_queue_peek_from_isr_failed: tstamp:12736257772 queue:0x0bcc8ef0
     kworker/0:2-1148  [000] ....   403.425781: rtos_queue_peek_from_isr_failed: tstamp:12741257768 queue:0x0bcc8ef0
     kworker/0:2-1148  [000] ....   403.593778: rtos_queue_peek_from_isr_failed: tstamp:12746257786 queue:0x0bcc8ef0
     kworker/0:2-1148  [000] ....   403.761713: rtos_queue_peek_from_isr_failed: tstamp:12751257786 queue:0x0bcc8ef0
     kworker/0:2-1148  [000] ....   403.874015: rtos_queue_peek_from_isr_failed: tstamp:12756257789 queue:0x0bcc8ef0
     kworker/0:2-1148  [000] ....   404.041943: rtos_queue_peek_from_isr_failed: tstamp:12761257782 queue:0x0bcc8ef0
     kworker/0:2-1148  [000] ....   404.209777: rtos_queue_peek_from_isr_failed: tstamp:12766257768 queue:0x0bcc8ef0
     kworker/0:2-1148  [000] ....   404.377799: rtos_queue_peek_from_isr_failed: tstamp:12771257786 queue:0x0bcc8ef0
     kworker/0:2-1148  [000] ....   404.433903: rtos_queue_peek_from_isr_failed: tstamp:12772970373 queue:0x0bcc8ef0
       v4l2_demo-17581 [004] ....   459.083129: tegra_channel_open: vi-output, camera3
       v4l2_demo-17581 [004] ....   459.083159: tegra_channel_set_power:camera3 : 0x1
       v4l2_demo-17581 [004] ....   459.083173: camera_common_s_power: status : 0x1
       v4l2_demo-17581 [000] ....   459.189403: tegra_channel_set_power: 15a00000.nvcsi--1 : 0x1
       v4l2_demo-17581 [000] ....   459.189424: csi_s_power: enable : 0x1
       v4l2_demo-17581 [003] ....   459.240405: tegra_channel_set_stream: enable : 0x1
       v4l2_demo-17581 [003] ....   459.243323: tegra_channel_set_stream: 15a00000.nvcsi--1 : 0x1
       v4l2_demo-17581 [003] ....   459.243327: csi_s_stream: enable : 0x1
       v4l2_demo-17581 [003] ....   459.243362: tegra_channel_set_stream: camera3 : 0x1
     kworker/0:2-1148  [000] ....   459.265473: rtos_queue_send_from_isr_failed: tstamp:14486645503 queue:0x0bcc10a0
     kworker/0:2-1148  [000] ....   459.265478: rtos_queue_send_from_isr_failed: tstamp:14486647794 queue:0x0bcc49d8
     kworker/0:2-1148  [000] ....   459.265479: rtos_queue_send_from_isr_failed: tstamp:14486650086 queue:0x0bcc6558
     kworker/0:2-1148  [000] ....   459.265513: rtos_queue_send_from_isr_failed: tstamp:14486652313 queue:0x0bcc7318
     kworker/0:2-1148  [000] ....   459.265514: rtos_queue_send_from_isr_failed: tstamp:14486654520 queue:0x0bcc80d8
       v4l2_demo-17581 [003] ....   459.286905: tegra_channel_capture_setup: vnc_id 0 W 8000 H 6000 fmt c4
     kworker/0:2-1148  [000] ....   459.321645: rtos_queue_peek_from_isr_failed: tstamp:14488159966 queue:0x0bcc8ef0
     kworker/0:2-1148  [000] ....   459.321675: rtcpu_start: tstamp:14488161816
     kworker/0:2-1148  [000] ....   459.321683: rtos_queue_send_from_isr_failed: tstamp:14488175262 queue:0x0bcc10a0
     kworker/0:2-1148  [000] ....   459.321689: rtos_queue_send_from_isr_failed: tstamp:14488175389 queue:0x0bcc49d8
     kworker/0:2-1148  [000] ....   459.321694: rtos_queue_send_from_isr_failed: tstamp:14488175516 queue:0x0bcc6558
     kworker/0:2-1148  [000] ....   459.321698: rtos_queue_send_from_isr_failed: tstamp:14488175639 queue:0x0bcc7318
     kworker/0:2-1148  [000] ....   459.321703: rtos_queue_send_from_isr_failed: tstamp:14488175761 queue:0x0bcc80d8
     kworker/0:2-1148  [000] ....   459.321709: rtcpu_string: tstamp:14488190771 id:0x04010000 str:"vi5_hwinit: firmware CL2018061801 protocol versi"
     kworker/0:2-1148  [000] ....   459.321724: rtcpu_string: tstamp:14488190879 id:0x04010000 str:"on 2.2
"
     kworker/0:2-1148  [000] ....   459.321805: rtos_queue_send_from_isr_failed: tstamp:14488220102 queue:0x0bcc10a0
     kworker/0:2-1148  [000] ....   459.321811: rtos_queue_send_from_isr_failed: tstamp:14488220246 queue:0x0bcc49d8
     kworker/0:2-1148  [000] ....   459.321815: rtos_queue_send_from_isr_failed: tstamp:14488220376 queue:0x0bcc6558
     kworker/0:2-1148  [000] ....   459.321819: rtos_queue_send_from_isr_failed: tstamp:14488220499 queue:0x0bcc7318
     kworker/0:2-1148  [000] ....   459.321824: rtos_queue_send_from_isr_failed: tstamp:14488220622 queue:0x0bcc80d8
     kworker/0:2-1148  [000] ....   459.321832: rtcpu_vinotify_event: tstamp:14488735819 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:12651628224 data:0x10000000
     kworker/0:2-1148  [000] ....   459.321837: rtcpu_vinotify_event: tstamp:14488735964 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:12651660288 data:0x31000001
     kworker/0:2-1148  [000] ....   459.321841: rtcpu_vinotify_event: tstamp:14488736107 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:12651666656 data:0x10000000
     kworker/0:2-1148  [000] ....   459.321846: rtcpu_vinotify_event: tstamp:14488736226 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:12651678464 data:0x07020001
     kworker/0:2-1148  [000] ....   459.321850: rtcpu_vinotify_event: tstamp:14488736364 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:12651708896 data:0x31000002

thanks very much!

hi,

i have used rce_debug.img and try again,the debug info list:

kworker/0:1-786   [000] ....   215.803281: rtcpu_string: tstamp:6877631378 id:0x04010000 str:"===== NVCSI Stream Configuration =====
"
     kworker/0:1-786   [000] ....   215.803298: rtcpu_string: tstamp:6877636561 id:0x04010000 str:"stream_id: PP 5, csi_port: PORT G
"
     kworker/0:1-786   [000] ....   215.803304: rtcpu_string: tstamp:6877642869 id:0x04010000 str:"Brick: PHY 3, Mode: C-PHY
"
     kworker/0:1-786   [000] ....   215.803308: rtcpu_string: tstamp:6877648455 id:0x04010000 str:"Partition: CIL A, LP bypass: Disabled, Lanes: 3
"
     kworker/0:1-786   [000] ....   215.803312: rtcpu_string: tstamp:6877651840 id:0x04010000 str:"Clock information:
"
     kworker/0:1-786   [000] ....   215.803316: rtcpu_string: tstamp:6877661834 id:0x04010000 str:"NVCSI (CIL) clock: 204000 kHz
"
     kworker/0:1-786   [000] ....   215.803319: rtcpu_string: tstamp:6877669848 id:0x04010000 str:"Pixel (MIPI) rate: 288.00 MHz
"
     kworker/0:1-786   [000] ....   215.803323: rtcpu_string: tstamp:6877677348 id:0x04010000 str:"T_HS settle: 20, T_CLK settle: 1
"
     kworker/0:1-786   [000] ....   215.803326: rtcpu_string: tstamp:6877681215 id:0x04010000 str:"======================================
"
     kworker/0:1-786   [000] ....   215.803331: rtcpu_nvcsi_intr: tstamp:6877698657 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000089
     kworker/0:1-786   [000] ....   215.803332: rtcpu_nvcsi_intr: tstamp:6877698657 class:GLOBAL type:PHY_INTR0 phy:0 cil:1 st:0 vc:0 status:0x00000088
     kworker/0:1-786   [000] ....   215.803333: rtcpu_nvcsi_intr: tstamp:6877698657 class:GLOBAL type:PHY_INTR0 phy:1 cil:0 st:0 vc:0 status:0x00000089
     kworker/0:1-786   [000] ....   215.803334: rtcpu_nvcsi_intr: tstamp:6877698657 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000088
     kworker/0:1-786   [000] ....   215.803334: rtcpu_nvcsi_intr: tstamp:6877698657 class:GLOBAL type:PHY_INTR0 phy:2 cil:0 st:0 vc:0 status:0x00000089
     kworker/0:1-786   [000] ....   215.803335: rtcpu_nvcsi_intr: tstamp:6877698657 class:GLOBAL type:PHY_INTR0 phy:2 cil:1 st:0 vc:0 status:0x00000088
     kworker/0:1-786   [000] ....   215.803336: rtcpu_nvcsi_intr: tstamp:6877698657 class:GLOBAL type:PHY_INTR0 phy:3 cil:0 st:0 vc:0 status:0x00000089
     kworker/0:1-786   [000] ....   215.803336: rtcpu_nvcsi_intr: tstamp:6877698657 class:GLOBAL type:PHY_INTR0 phy:3 cil:1 st:0 vc:0 status:0x00000088
       v4l2_demo-17045 [000] ....   215.808899: tegra_channel_capture_setup: vnc_id 0 W 8000 H 6000 fmt c4
     kworker/0:1-786   [000] ....   215.859334: rtos_queue_peek_from_isr_failed: tstamp:6878926740 queue:0x0bcbde78
     kworker/0:1-786   [000] ....   215.859339: rtcpu_start: tstamp:6878928423
     kworker/0:1-786   [000] ....   215.859344: rtos_queue_send_from_isr_failed: tstamp:6878942558 queue:0x0bcb50f8
     kworker/0:1-786   [000] ....   215.859387: rtos_queue_send_from_isr_failed: tstamp:6878942698 queue:0x0bcb9960
     kworker/0:1-786   [000] ....   215.859389: rtos_queue_send_from_isr_failed: tstamp:6878942840 queue:0x0bcbb4e0
     kworker/0:1-786   [000] ....   215.859391: rtos_queue_send_from_isr_failed: tstamp:6878942973 queue:0x0bcbc2a0
     kworker/0:1-786   [000] ....   215.859392: rtos_queue_send_from_isr_failed: tstamp:6878943105 queue:0x0bcbd060
     kworker/0:1-786   [000] ....   215.859396: rtcpu_string: tstamp:6878943513 id:0x04010000 str:"Configuring VI GoS.
"
     kworker/0:1-786   [000] ....   215.859427: rtcpu_string: tstamp:6878943675 id:0x04010000 str:"VM GOS[#0] addr=0xec900000
"
     kworker/0:1-786   [000] ....   215.859437: rtcpu_string: tstamp:6878943916 id:0x04010000 str:"VM GOS[#1] addr=0xec901000
"
     kworker/0:1-786   [000] ....   215.859446: rtcpu_string: tstamp:6878944184 id:0x04010000 str:"VM GOS[#2] addr=0xec902000
"
     kworker/0:1-786   [000] ....   215.859453: rtcpu_string: tstamp:6878944405 id:0x04010000 str:"VM GOS[#3] addr=0xec903000
"
     kworker/0:1-786   [000] ....   215.859462: rtcpu_string: tstamp:6878944624 id:0x04010000 str:"VM GOS[#4] addr=0xec904000
"
     kworker/0:1-786   [000] ....   215.859490: rtcpu_string: tstamp:6878944842 id:0x04010000 str:"VM GOS[#5] addr=0xec905000
"
     kworker/0:1-786   [000] ....   215.859508: rtcpu_string: tstamp:6878960760 id:0x04010000 str:"vi5_hwinit: firmware CL2018101701 protocol versi"
     kworker/0:1-786   [000] ....   215.859510: rtcpu_string: tstamp:6878960864 id:0x04010000 str:"on 2.2
"
     kworker/0:1-786   [000] ....   215.859518: rtos_queue_send_from_isr_failed: tstamp:6878985167 queue:0x0bcb50f8
     kworker/0:1-786   [000] ....   215.859519: rtos_queue_send_from_isr_failed: tstamp:6878985320 queue:0x0bcb9960
     kworker/0:1-786   [000] ....   215.859521: rtos_queue_send_from_isr_failed: tstamp:6878985460 queue:0x0bcbb4e0
     kworker/0:1-786   [000] ....   215.859523: rtos_queue_send_from_isr_failed: tstamp:6878985593 queue:0x0bcbc2a0
     kworker/0:1-786   [000] ....   215.859524: rtos_queue_send_from_isr_failed: tstamp:6878985726 queue:0x0bcbd060
     kworker/0:1-786   [000] ....   215.859526: rtcpu_string: tstamp:6878986534 id:0x04010000 str:"VI GOS[#0] set to VM GOS[4] base 0xec904000
"
     kworker/0:1-786   [000] ....   215.859534: rtcpu_vinotify_event: tstamp:6879505386 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:5379327552 data:0x10000000
     kworker/0:1-786   [000] ....   215.859536: rtcpu_vinotify_event: tstamp:6879505520 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:5379356896 data:0x31000001
     kworker/0:1-786   [000] ....   215.859538: rtcpu_vinotify_event: tstamp:6879505678 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:5379366976 data:0x10000000
     kworker/0:1-786   [000] ....   215.859540: rtcpu_vinotify_event: tstamp:6879505800 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:5379375488 data:0x07020001
     kworker/0:1-786   [000] ....   215.859541: rtcpu_vinotify_event: tstamp:6879505958 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:5379405952 data:0x31000002
     kworker/0:1-786   [000] ....   215.915457: rtcpu_nvcsi_intr: tstamp:6881156535 class:GLOBAL type:STREAM_NOVC phy:0 cil:0 st:5 vc:0 status:0x00000002
     kworker/0:1-786   [000] ....   215.915467: rtcpu_nvcsi_intr: tstamp:6881156535 class:GLOBAL type:PHY_INTR0 phy:3 cil:0 st:0 vc:0 status:0x60000110
     kworker/0:1-786   [000] ....   215.915564: rtcpu_nvcsi_intr: tstamp:6881156535 class:GLOBAL type:PHY_INTR0 phy:3 cil:1 st:0 vc:0 status:0x20000010
     kworker/0:1-786   [000] ....   215.915569: rtcpu_nvcsi_intr: tstamp:6881156535 class:CORRECTABLE_ERR type:STREAM_NOVC phy:0 cil:0 st:5 vc:0 status:0x00000002
     kworker/0:1-786   [000] ....   215.915574: rtcpu_nvcsi_intr: tstamp:6881156535 class:CORRECTABLE_ERR type:PHY_INTR phy:3 cil:0 st:0 vc:0 status:0x00000110
     kworker/0:1-786   [000] ....   215.915578: rtcpu_nvcsi_intr: tstamp:6881156535 class:CORRECTABLE_ERR type:PHY_INTR phy:3 cil:1 st:0 vc:0 status:0x00000010
     kworker/0:1-786   [000] ....   215.915583: rtcpu_nvcsi_intr: tstamp:6881158450 class:GLOBAL type:PHY_INTR0 phy:3 cil:0 st:0 vc:0 status:0x00000110
     kworker/0:1-786   [000] ....   215.915587: rtcpu_nvcsi_intr: tstamp:6881158450 class:GLOBAL type:PHY_INTR0 phy:3 cil:1 st:0 vc:0 status:0x00000010
     kworker/0:1-786   [000] ....   215.915591: rtcpu_nvcsi_intr: tstamp:6881158450 class:CORRECTABLE_ERR type:PHY_INTR phy:3 cil:0 st:0 vc:0 status:0x00000110
     kworker/0:1-786   [000] ....   215.915596: rtcpu_nvcsi_intr: tstamp:6881158450 class:CORRECTABLE_ERR type:PHY_INTR phy:3 cil:1 st:0 vc:0 status:0x00000010
     kworker/0:1-786   [000] ....   215.915600: rtcpu_nvcsi_intr: tstamp:6881159349 class:GLOBAL type:STREAM_NOVC phy:0 cil:0 st:5 vc:0 status:0x00000002
     kworker/0:1-786   [000] ....   215.915607: rtcpu_nvcsi_intr: tstamp:6881159349 class:GLOBAL type:PHY_INTR0 phy:3 cil:0 st:0 vc:0 status:0x00000110
     kworker/0:1-786   [000] ....   215.915701: rtcpu_nvcsi_intr: tstamp:6881159349 class:GLOBAL type:PHY_INTR0 phy:3 cil:1 st:0 vc:0 status:0x00000010

i think that the major error maybe is this:

kworker/0:1-786   [000] ....   215.803331: rtcpu_nvcsi_intr: tstamp:6877698657 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000089

what is it means?

thanks!

Hi
Looks like packet head have CRC error.
Have a check the TRM to get detail information from the REG description. (NVCSI_STREAM_0_INTR_STATUS_NOVC_0)

hi,ShaneCCC

i change to another nvcsi port and no crc error found,but still output nothings.

kworker/0:1-785   [000] ....    61.279828: rtcpu_string: tstamp:2049926952 id:0x04010000 str:"vi5_hwinit: firmware CL2018101701 protocol versi"
     kworker/0:1-785   [000] ....    61.279830: rtcpu_string: tstamp:2049927058 id:0x04010000 str:"on 2.2
"
     kworker/0:1-785   [000] ....    61.279833: rtos_queue_send_from_isr_failed: tstamp:2049947678 queue:0x0bcb50f8
     kworker/0:1-785   [000] ....    61.279834: rtos_queue_send_from_isr_failed: tstamp:2049947831 queue:0x0bcb9960
     kworker/0:1-785   [000] ....    61.279834: rtos_queue_send_from_isr_failed: tstamp:2049947971 queue:0x0bcbb4e0
     kworker/0:1-785   [000] ....    61.279835: rtos_queue_send_from_isr_failed: tstamp:2049948103 queue:0x0bcbc2a0
     kworker/0:1-785   [000] ....    61.279836: rtos_queue_send_from_isr_failed: tstamp:2049948236 queue:0x0bcbd060
     kworker/0:1-785   [000] ....    61.279836: rtcpu_string: tstamp:2049949042 id:0x04010000 str:"VI GOS[#0] set to VM GOS[4] base 0xec904000
"
     kworker/0:1-785   [000] ....    61.335718: rtcpu_vinotify_event: tstamp:2050471576 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:1173961632 data:0x10000000
     kworker/0:1-785   [000] ....    61.335722: rtcpu_vinotify_event: tstamp:2050471708 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:1174003392 data:0x31000001
     kworker/0:1-785   [000] ....    61.335723: rtcpu_vinotify_event: tstamp:2050471853 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:1174013440 data:0x10000000
     kworker/0:1-785   [000] ....    61.335725: rtcpu_vinotify_event: tstamp:2050471975 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:1174021984 data:0x07020001
     kworker/0:1-785   [000] ....    61.335725: rtcpu_vinotify_event: tstamp:2050472115 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:1174052384 data:0x31000002
     kworker/0:1-785   [000] ....    61.335727: rtcpu_nvcsi_intr: tstamp:2051813247 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:2 vc:0 status:0x00000010
     kworker/0:1-785   [000] ....    61.335747: rtcpu_nvcsi_intr: tstamp:2051813247 class:GLOBAL type:PHY_INTR0 phy:1 cil:0 st:0 vc:0 status:0x60000110
     kworker/0:1-785   [000] ....    61.335747: rtcpu_nvcsi_intr: tstamp:2051813247 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x20000010
     kworker/0:1-785   [000] ....    61.335748: rtcpu_nvcsi_intr: tstamp:2051813247 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:2 vc:0 status:0x00000010
     kworker/0:1-785   [000] ....    61.335749: rtcpu_nvcsi_intr: tstamp:2051813247 class:CORRECTABLE_ERR type:PHY_INTR phy:1 cil:0 st:0 vc:0 status:0x00000110
     kworker/0:1-785   [000] ....    61.335749: rtcpu_nvcsi_intr: tstamp:2051813247 class:CORRECTABLE_ERR type:PHY_INTR phy:1 cil:1 st:0 vc:0 status:0x00000010
     kworker/0:1-785   [000] ....    61.335750: rtcpu_nvcsi_intr: tstamp:2051815969 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:2 vc:0 status:0x00000004
     kworker/0:1-785   [000] ....    61.335751: rtcpu_nvcsi_intr: tstamp:2051815969 class:GLOBAL type:PHY_INTR0 phy:1 cil:0 st:0 vc:0 status:0x00000110
     kworker/0:1-785   [000] ....    61.335751: rtcpu_nvcsi_intr: tstamp:2051815969 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000010
     kworker/0:1-785   [000] ....    61.335752: rtcpu_nvcsi_intr: tstamp:2051815969 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:2 vc:0 status:0x00000004
     kworker/0:1-785   [000] ....    61.335753: rtcpu_nvcsi_intr: tstamp:2051815969 class:CORRECTABLE_ERR type:PHY_INTR phy:1 cil:0 st:0 vc:0 status:0x00000110
     kworker/0:1-785   [000] ....    61.335769: rtcpu_nvcsi_intr: tstamp:2051815969 class:CORRECTABLE_ERR type:PHY_INTR phy:1 cil:1 st:0 vc:0 status:0x00000010
     kworker/0:1-785   [000] ....    61.335770: rtcpu_nvcsi_intr: tstamp:2051817250 class:GLOBAL type:PHY_INTR0 phy:1 cil:0 st:0 vc:0 status:0x00000110
     kworker/0:1-785   [000] ....    61.335771: rtcpu_nvcsi_intr: tstamp:2051817250 class:CORRECTABLE_ERR type:PHY_INTR phy:1 cil:0 st:0 vc:0 status:0x00000110
     kworker/0:1-785   [000] ....    61.335771: rtcpu_nvcsi_intr: tstamp:2051817783 class:GLOBAL type:PHY_INTR0 phy:1 cil:0 st:0 vc:0 status:0x00000110
     kworker/0:1-785   [000] ....    61.335772: rtcpu_nvcsi_intr: tstamp:2051817783 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000010
     kworker/0:1-785   [000] ....    61.335773: rtcpu_nvcsi_intr: tstamp:2051817783 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:2 vc:0 status:0x00000004
     kworker/0:1-785   [000] ....    61.335774: rtcpu_nvcsi_intr: tstamp:2051817783 class:CORRECTABLE_ERR type:PHY_INTR phy:1 cil:0 st:0 vc:0 status:0x00000110
     kworker/0:1-785   [000] ....    61.335774: rtcpu_nvcsi_intr: tstamp:2051817783 class:CORRECTABLE_ERR type:PHY_INTR phy:1 cil:1 st:0 vc:0 status:0x00000010
     kworker/0:1-785   [000] ....    61.335775: rtcpu_nvcsi_intr: tstamp:2051818814 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:2 vc:0 status:0x00000004
     kworker/0:1-785   [000] ....    61.335776: rtcpu_nvcsi_intr: tstamp:2051818814 class:GLOBAL type:PHY_INTR0 phy:1 cil:0 st:0 vc:0 status:0x00000110
     kworker/0:1-785   [000] ....    61.335776: rtcpu_nvcsi_intr: tstamp:2051818814 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000010
     kworker/0:1-785   [000] ....    61.335777: rtcpu_nvcsi_intr: tstamp:2051818814 class:CORRECTABLE_ERR type:PHY_INTR phy:1 cil:1 st:0 vc:0 status:0x00000010
     kworker/0:1-785   [000] ....    61.335778: rtcpu_nvcsi_intr: tstamp:2051819693 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000010
     kworker/0:1-785   [000] ....    61.335778: rtcpu_nvcsi_intr: tstamp:2051819693 class:CORRECTABLE_ERR type:PHY_INTR phy:1 cil:1 st:0 vc:0 status:0x00000010
     kworker/0:1-785   [000] ....    61.335779: rtcpu_nvcsi_intr: tstamp:2051820218 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000010
     kworker/0:1-785   [000] ....    61.335780: rtcpu_nvcsi_intr: tstamp:2051820218 class:CORRECTABLE_ERR type:PHY_INTR phy:1 cil:1 st:0 vc:0 status:0x00000010
     kworker/0:1-785   [000] ....    61.335780: rtcpu_nvcsi_intr: tstamp:2051820742 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000010
     kworker/0:1-785   [000] ....    61.335781: rtcpu_nvcsi_intr: tstamp:2051820742 class:CORRECTABLE_ERR type:PHY_INTR phy:1 cil:1 st:0 vc:0 status:0x00000010
     kworker/0:1-785   [000] ....    61.335782: rtcpu_nvcsi_intr: tstamp:2051821265 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000010
     kworker/0:1-785   [000] ....    61.335782: rtcpu_nvcsi_intr: tstamp:2051821265 class:CORRECTABLE_ERR type:PHY_INTR phy:1 cil:1 st:0 vc:0 status:0x00000010
     kworker/0:1-785   [000] ....    61.335783: rtcpu_nvcsi_intr: tstamp:2051821795 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000010
     kworker/0:1-785   [000] ....    61.335784: rtcpu_nvcsi_intr: tstamp:2051821795 class:CORRECTABLE_ERR type:PHY_INTR phy:1 cil:1 st:0 vc:0 status:0x00000010
     kworker/0:1-785   [000] ....    61.335785: rtcpu_nvcsi_intr: tstamp:2051822315 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000010
     kworker/0:1-785   [000] ....    61.335785: rtcpu_nvcsi_intr: tstamp:2051822315 class:CORRECTABLE_ERR type:PHY_INTR phy:1 cil:1 st:0 vc:0 status:0x00000010
     kworker/0:1-785   [000] ....    61.335786: rtcpu_nvcsi_intr: tstamp:2051822835 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000010
     kworker/0:1-785   [000] ....    61.335787: rtcpu_nvcsi_intr: tstamp:2051822835 class:CORRECTABLE_ERR type:PHY_INTR phy:1 cil:1 st:0 vc:0 status:0x00000010
     kworker/0:1-785   [000] ....    61.335787: rtcpu_nvcsi_intr: tstamp:2051823356 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000010
     kworker/0:1-785   [000] ....    61.335788: rtcpu_nvcsi_intr: tstamp:2051823356 class:CORRECTABLE_ERR type:PHY_INTR phy:1 cil:1 st:0 vc:0 status:0x00000010
     kworker/0:1-785   [000] ....    61.335789: rtcpu_nvcsi_intr: tstamp:2051823876 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000010
     kworker/0:1-785   [000] ....    61.335789: rtcpu_nvcsi_intr: tstamp:2051823876 class:CORRECTABLE_ERR type:PHY_INTR phy:1 cil:1 st:0 vc:0 status:0x00000010
     kworker/0:1-785   [000] ....    61.335790: rtcpu_nvcsi_intr: tstamp:2051824396 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000010
     kworker/0:1-785   [000] ....    61.335791: rtcpu_nvcsi_intr: tstamp:2051824396 class:CORRECTABLE_ERR type:PHY_INTR phy:1 cil:1 st:0 vc:0 status:0x00000010
     kworker/0:1-785   [000] ....    61.335791: rtcpu_nvcsi_intr: tstamp:2051824916 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000010
     kworker/0:1-785   [000] ....    61.335792: rtcpu_nvcsi_intr: tstamp:2051824916 class:CORRECTABLE_ERR type:PHY_INTR phy:1 cil:1 st:0 vc:0 status:0x00000010

At the same time,i read reg VI_NOTIFY_FIFO_TAG_0_0,the value list below,I found that the frameid changed over a period of time,is it means that the frames have arrived at vi?

root@jetson-0423818077174:/home/nvidia# ./busybox devmem 0x15f09000
0x00C40416
root@jetson-0423818077174:/home/nvidia# ./busybox devmem 0x15f09000
0x00EDAC04
root@jetson-0423818077174:/home/nvidia# ./busybox devmem 0x15f09000
0x00EDAC04
root@jetson-0423818077174:/home/nvidia# ./busybox devmem 0x15f09000
0x00EDAC04
root@jetson-0423818077174:/home/nvidia# ./busybox devmem 0x15f09000
0x00EDAC04
root@jetson-0423818077174:/home/nvidia# ./busybox devmem 0x15f09000
0x00EDAC04
root@jetson-0423818077174:/home/nvidia# ./busybox devmem 0x15f09000
0x00EDAC04
root@jetson-0423818077174:/home/nvidia# ./busybox devmem 0x15f09000
0x00EDAC04
root@jetson-0423818077174:/home/nvidia# ./busybox devmem 0x15f09000
0x00EDAC04
root@jetson-0423818077174:/home/nvidia# ./busybox devmem 0x15f09000
0x00EDAC04
root@jetson-0423818077174:/home/nvidia# ./busybox devmem 0x15f09000
0x00EDAC04
root@jetson-0423818077174:/home/nvidia# ./busybox devmem 0x15f09000
0x00EDAC04
root@jetson-0423818077174:/home/nvidia# ./busybox devmem 0x15f09000
0x00EDAC04
root@jetson-0423818077174:/home/nvidia# ./busybox devmem 0x15f09000
0x00EDAC04
root@jetson-0423818077174:/home/nvidia# ./busybox devmem 0x15f09000
0x00EDAC04
root@jetson-0423818077174:/home/nvidia# ./busybox devmem 0x15f09000
0x00EDAC04
root@jetson-0423818077174:/home/nvidia# ./busybox devmem 0x15f09000
0x00EDAC04
root@jetson-0423818077174:/home/nvidia# ./busybox devmem 0x15f09000
0x00EDAC04
root@jetson-0423818077174:/home/nvidia# ./busybox devmem 0x15f09000
0x0017AC04
root@jetson-0423818077174:/home/nvidia# ./busybox devmem 0x15f09000
0x0017AC04

hi,ShaneCCC

another question,when i start stream by using v4l2api,i read regs of vi. it seems that the values of regs have no change with the reset value. why?

i’m stuck here now,and the achievement of vi5 is different with vi4,so i look forward to your reply.

think you again.

How do you check the REG to know it not change?
Yes, vi5 is different with vi4, vi5 just send the configure message to the RTCPU to config them.

hi,ShaneCCC

i have changed the macro named CAPTURE_TIMEOUT_MS in vi5_fops.c to a long value(4000000ms),and then start the stream,durning the period, i use devmem tool to read reg,the value of VI_CH0_FRAME_X_0 and VI_CH0_FRAME_Y_0 is 0(reset value),and the value of VI_CH0_PIXFMT_FORMAT_0 is 5(reset value),

root@jetson-0423818077174:/home/nvidia# ./busybox devmem 0x15f11034 
0x00000000
root@jetson-0423818077174:/home/nvidia# ./busybox devmem 0x15f11038
0x00000000
root@jetson-0423818077174:/home/nvidia# ./busybox devmem 0x15f11088
0x00000005

Did you check others REG like VI_CH5_xxxx

hi,ShaneCCC

VI_CH5_xxxx? According to datasheet,i don’t find the base addr of VI_CH5_xxxx,the datasheet only show the reg details of VI_CH0_XXX.

Have a check below.

15f11034: VI_CH0_FRAME_X_0 
15f11434: VI_CH1_FRAME_X_0
15f11834: VI_CH2_FRAME_X_0
15f11c34: VI_CH3_FRAME_X_0
15f12034: VI_CH4_FRAME_X_0
15f12434: VI_CH5_FRAME_X_0
15f12834: VI_CH6_FRAME_X_0
15f12c34: VI_CH7_FRAME_X_0
15f13034: VI_CH8_FRAME_X_0
15f13434: VI_CH9_FRAME_X_0
15f13834: VI_CH10_FRAME_X_0
15f13c34: VI_CH11_FRAME_X_0
15f14034: VI_CH12_FRAME_X_0
15f14434: VI_CH13_FRAME_X_0