MIPI cannot be recieved sometimes

Hello,
I use same device to send same MIPI signal to AGX, It can be recieved by AGX in sometimes, but it also will no reply from camera processor. I fell really confuse.

[   61.663070] tegra194-vi5 15c10000.vi: no reply from camera processor
[   61.663235] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 2500 ms
[   61.663419] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel
[   61.666522] Unable to handle kernel NULL pointer dereference at virtual address 00000010
[   61.666697] Mem abort info:
[   61.666789]   ESR = 0x96000005
[   61.666852]   Exception class = DABT (current EL), IL = 32 bits
[   61.666955]   SET = 0, FnV = 0
[   61.667012]   EA = 0, S1PTW = 0
[   61.667124] Data abort info:
[   61.667186]   ISV = 0, ISS = 0x00000005
[   61.667284]   CM = 0, WnR = 0
[   61.667351] user pgtable: 4k pages, 39-bit VAs, pgd = ffffffc68e606000
[   61.667463] [0000000000000010] *pgd=0000000000000000, *pud=0000000000000000
[   61.667603] Internal error: Oops: 96000005 [#1] PREEMPT SMP
[   61.667705] Modules linked in: bnep xt_conntrack ipt_MASQUERADE nf_nat_masquerade_ipv4 nf_conntrack_netlink nfnetlink xt_addrtype iptable_filter iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack fuse br_netfilter zram overlay binfmt_misc bluedroid_pm userspace_alert nvgpu ip_tables x_tables
[   61.678810] CPU: 6 PID: 8367 Comm: vi-output, ov56 Not tainted 4.9.253 #3
[   61.685424] Hardware name: Jetson-AGXi (DT)
[   61.689628] task: ffffffc6afb6f000 task.stack: ffffffc667c24000
[   61.695583] PC is at _raw_write_lock+0x30/0x58
[   61.699872] LR is at destroy_buffer_table+0x40/0xd8
[   61.705110] pc : [<ffffff8008f6db50>] lr : [<ffffff8008b4e6e8>] pstate: 20c00045
[   61.712370] sp : ffffffc667c27c70
[   61.715352] x29: ffffffc667c27c70 x28: 0000000000000000 
[   61.720868] x27: 0000000000000000 x26: 0000000000000000 
[   61.726383] x25: 0000000000000010 x24: 0000000000000098 
[   61.732157] x23: 0000000000000018 x22: ffffff8009087830 
[   61.737392] x21: 0000000000000000 x20: ffffffc65140be80 
[   61.742395] x19: 0000000000000010 x18: 0000000000000249 
[   61.748082] x17: 0000000000000002 x16: 0000000000000003 
[   61.753857] x15: 0000000000000163 x14: 000000000000755a 
[   61.759632] x13: 0000000000012614 x12: 0000000000000400 
[   61.765323] x11: 0000000000000400 x10: 0000000000000000 
[   61.771254] x9 : ffffffc667c27a80 x8 : 0000000000000000 
[   61.777032] x7 : ffffffc68c21c800 x6 : ffffffc651049a81 
[   61.782543] x5 : ffffff800852d904 x4 : ffffffbf19441250 
[   61.787634] x3 : 0000000000000000 x2 : ffffffc651049a80 
[   61.792969] x1 : 0000000000000000 x0 : 0000000080000000 

[   61.799716] Process vi-output, ov56 (pid: 8367, stack limit = 0xffffffc667c24000)
[   61.806959] Call trace:
[   61.809503] [<ffffff8008f6db50>] _raw_write_lock+0x30/0x58
[   61.814577] [<ffffff8008b4e6e8>] destroy_buffer_table+0x40/0xd8
[   61.820178] [<ffffff8008b4098c>] vi_capture_shutdown+0xd4/0x130
[   61.825780] [<ffffff8008b40fe4>] vi_channel_close_ex+0x34/0x88
[   61.831118] [<ffffff8008b424f0>] vi5_channel_error_recover+0x48/0x1c8
[   61.837066] [<ffffff8008b375c0>] tegra_channel_error_recover+0x58/0x90
[   61.843449] [<ffffff8008b42db0>] tegra_channel_kthread_capture_dequeue+0xf8/0x1c0
[   61.850365] [<ffffff80080db09c>] kthread+0xec/0xf0
[   61.855002] [<ffffff80080838a0>] ret_from_fork+0x10/0x30
[   61.860253] ---[ end trace a3dd73f4dfa342f1 ]---
[   61.879110] note: vi-output, ov56[8367] exited with preempt_count 1
[   61.887982] tegra194-vi5 15c10000.vi: vi_capture_release: setup channel first
[   61.888263] video4linux video0: vi capture release failed
[  840.648902] [RCE] vi5_hwinit: firmware CL2018101701 protocol version 2.2
[ 1394.353097] [RCE] vi5_hwinit: firmware CL2018101701 protocol version 2.2
[ 1433.336307] [RCE] vi5_hwinit: firmware CL2018101701 protocol version 2.2

@ShaneCCC Hello, could you give me some advice? I will greatly appreciate it.

What’s the version? Get the trace log to check if any clue.

Thanks

@ShaneCCC Thanks for your reply
I send 5 frames to AGX, and recieve the first frame. The trace log as follows:

        v4l2-ctl-9082  [005] ....   311.295502: tegra_channel_open: vi-output, ov5693 2-0036
        v4l2-ctl-9082  [005] ....   311.295527: tegra_channel_set_power: ov5693 2-0036 : 0x1
        v4l2-ctl-9082  [005] ....   311.295547: camera_common_s_power: status : 0x1
        v4l2-ctl-9082  [002] ....   311.301420: tegra_channel_set_power: 15a00000.nvcsi--1 : 0x1
        v4l2-ctl-9082  [002] ....   311.301432: csi_s_power: enable : 0x1
        v4l2-ctl-9082  [003] ....   311.332082: tegra_channel_capture_setup: vnc_id 0 W 1920 H 1080 fmt 9
        v4l2-ctl-9082  [005] ....   311.333419: tegra_channel_set_stream: enable : 0x1
        v4l2-ctl-9082  [005] ....   311.341942: tegra_channel_set_stream: 15a00000.nvcsi--1 : 0x1
        v4l2-ctl-9082  [005] ....   311.341947: csi_s_stream: enable : 0x1
        v4l2-ctl-9082  [005] ....   311.341992: tegra_channel_set_stream: ov5693 2-0036 : 0x1
     kworker/0:2-1194  [000] ....   311.384619: rtos_queue_send_from_isr_failed: tstamp:10454385947 queue:0x0bcb2e38
     kworker/0:2-1194  [000] ....   311.384625: rtos_queue_send_from_isr_failed: tstamp:10454386175 queue:0x0bcb76a0
     kworker/0:2-1194  [000] ....   311.384627: rtos_queue_send_from_isr_failed: tstamp:10454386397 queue:0x0bcb9220
     kworker/0:2-1194  [000] ....   311.384629: rtos_queue_send_from_isr_failed: tstamp:10454386620 queue:0x0bcb9fe0
     kworker/0:2-1194  [000] ....   311.384630: rtos_queue_send_from_isr_failed: tstamp:10454386835 queue:0x0bcbada0
     kworker/0:2-1194  [000] ....   311.384632: rtcpu_string: tstamp:10454387490 id:0x04010000 str:"Configuring VI GoS.
"
     kworker/0:2-1194  [000] ....   311.384653: rtcpu_string: tstamp:10454387812 id:0x04010000 str:"VM GOS[#0] addr=0xfbd00000
"
     kworker/0:2-1194  [000] ....   311.384660: rtcpu_string: tstamp:10454388136 id:0x04010000 str:"VM GOS[#1] addr=0xfbd01000
"
     kworker/0:2-1194  [000] ....   311.384666: rtcpu_string: tstamp:10454388447 id:0x04010000 str:"VM GOS[#2] addr=0xfbd02000
"
     kworker/0:2-1194  [000] ....   311.384679: rtcpu_string: tstamp:10454388756 id:0x04010000 str:"VM GOS[#3] addr=0xfbd03000
"
     kworker/0:2-1194  [000] ....   311.384684: rtcpu_string: tstamp:10454389099 id:0x04010000 str:"VM GOS[#4] addr=0xfbd04000
"
     kworker/0:2-1194  [000] ....   311.384690: rtcpu_string: tstamp:10454389408 id:0x04010000 str:"VM GOS[#5] addr=0xfbd05000
"
     kworker/0:2-1194  [000] ....   311.384696: rtos_queue_send_from_isr_failed: tstamp:10454406843 queue:0x0bcb2e38
     kworker/0:2-1194  [000] ....   311.384697: rtos_queue_send_from_isr_failed: tstamp:10454407061 queue:0x0bcb76a0
     kworker/0:2-1194  [000] ....   311.384698: rtos_queue_send_from_isr_failed: tstamp:10454407289 queue:0x0bcb9220
     kworker/0:2-1194  [000] ....   311.384699: rtos_queue_send_from_isr_failed: tstamp:10454407503 queue:0x0bcb9fe0
     kworker/0:2-1194  [000] ....   311.384700: rtos_queue_send_from_isr_failed: tstamp:10454407717 queue:0x0bcbada0
     kworker/0:2-1194  [000] ....   311.384703: rtcpu_vinotify_event: tstamp:10454670388 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:12418567584 data:0x10000000
     kworker/0:2-1194  [000] ....   311.384704: rtcpu_vinotify_event: tstamp:10454670531 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:12418572064 data:0x31000001
     kworker/0:2-1194  [000] ....   311.384705: rtcpu_vinotify_event: tstamp:10454670690 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:12418573248 data:0x07020001
     kworker/0:2-1194  [000] ....   311.384706: rtcpu_vinotify_event: tstamp:10454670824 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:12418630080 data:0x10000000
     kworker/0:2-1194  [000] ....   311.384708: rtcpu_vinotify_event: tstamp:10454670978 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:12418634624 data:0x31000002
     kworker/0:2-1194  [000] ....   311.384709: rtos_queue_send_from_isr_failed: tstamp:10454682267 queue:0x0bcb2e38
     kworker/0:2-1194  [000] ....   311.384710: rtos_queue_send_from_isr_failed: tstamp:10454682415 queue:0x0bcb76a0
     kworker/0:2-1194  [000] ....   311.384711: rtos_queue_send_from_isr_failed: tstamp:10454682563 queue:0x0bcb9220
     kworker/0:2-1194  [000] ....   311.384712: rtos_queue_send_from_isr_failed: tstamp:10454682711 queue:0x0bcb9fe0
     kworker/0:2-1194  [000] ....   311.384713: rtos_queue_send_from_isr_failed: tstamp:10454682860 queue:0x0bcbada0
     kworker/0:2-1194  [000] ....   311.440628: rtos_queue_peek_from_isr_failed: tstamp:10456857109 queue:0x0bcbbbb8
     kworker/0:2-1194  [000] ....   311.608612: rtos_queue_peek_from_isr_failed: tstamp:10461857106 queue:0x0bcbbbb8
 vi-output, ov56-9084  [004] ....   311.643665: tegra_channel_capture_frame: sof:0.0
 vi-output, ov56-9084  [004] ....   311.643670: tegra_channel_capture_frame: eof:334.851229504
     kworker/0:2-1194  [000] ....   311.664628: rtcpu_vinotify_event: tstamp:10463019023 tag:FS channel:0x00 frame:1 vi_tstamp:10463014384 data:0x00000010
     kworker/0:2-1194  [000] ....   311.664633: rtcpu_vinotify_event: tstamp:10463019190 tag:ATOMP_FS channel:0x00 frame:1 vi_tstamp:10463014386 data:0x00000000
     kworker/0:2-1194  [000] ....   311.664635: rtcpu_vinotify_event: tstamp:10463019328 tag:CHANSEL_PXL_SOF channel:0x23 frame:1 vi_tstamp:10463015342 data:0x00000001
     kworker/0:2-1194  [000] ....   311.664636: rtcpu_vinotify_event: tstamp:10463459560 tag:RESERVED_19 channel:0x23 frame:1 vi_tstamp:8398985536 data:0x08020001
     kworker/0:2-1194  [000] ....   311.664640: rtcpu_vinotify_event: tstamp:10464436030 tag:CHANSEL_PXL_EOF channel:0x23 frame:1 vi_tstamp:10464100874 data:0x04370002
     kworker/0:2-1194  [000] ....   311.664641: rtcpu_vinotify_event: tstamp:10464436188 tag:ATOMP_FRAME_DONE channel:0x23 frame:1 vi_tstamp:10464100900 data:0x00000000
     kworker/0:2-1194  [000] ....   311.664643: rtcpu_vinotify_event: tstamp:10464436327 tag:RESERVED_19 channel:0x23 frame:1 vi_tstamp:8433720544 data:0x02020001
     kworker/0:2-1194  [000] ....   311.664644: rtcpu_vinotify_event: tstamp:10464436483 tag:FE channel:0x00 frame:1 vi_tstamp:10464100920 data:0x00000020
     kworker/0:2-1194  [000] ....   311.664675: rtcpu_vinotify_event: tstamp:10464436624 tag:ATOMP_FE channel:0x00 frame:1 vi_tstamp:10464100922 data:0x00000000
     kworker/0:2-1194  [000] ....   311.664676: rtcpu_vinotify_event: tstamp:10464436782 tag:RESERVED_19 channel:0x23 frame:1 vi_tstamp:8433743136 data:0x00020001
     kworker/0:2-1194  [000] ....   311.664677: rtcpu_vinotify_event: tstamp:10464436914 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:8433762752 data:0x07020002
     kworker/0:2-1194  [000] ....   311.664679: rtcpu_vinotify_event: tstamp:10464437069 tag:FS channel:0x00 frame:2 vi_tstamp:10464100968 data:0x00000010
     kworker/0:2-1194  [000] ....   311.664680: rtcpu_vinotify_event: tstamp:10464437205 tag:ATOMP_FS channel:0x00 frame:2 vi_tstamp:10464100970 data:0x00000000
     kworker/0:2-1194  [000] ....   311.664681: rtcpu_vinotify_event: tstamp:10464437359 tag:CHANSEL_PXL_SOF channel:0x23 frame:2 vi_tstamp:10464101021 data:0x00000001
     kworker/0:2-1194  [000] ....   311.664682: rtcpu_vinotify_event: tstamp:10464437491 tag:RESERVED_19 channel:0x23 frame:2 vi_tstamp:8433780320 data:0x08020002
     kworker/0:2-1194  [000] ....   311.664683: rtcpu_vinotify_event: tstamp:10464437647 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:8433962336 data:0x10000000
     kworker/0:2-1194  [000] ....   311.664684: rtcpu_vinotify_event: tstamp:10464437778 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:8433988544 data:0x31000003
     kworker/0:2-1194  [000] ....   311.664687: rtos_queue_send_from_isr_failed: tstamp:10464755837 queue:0x0bcb2e38
     kworker/0:2-1194  [000] ....   311.664689: rtos_queue_send_from_isr_failed: tstamp:10464755991 queue:0x0bcb76a0
     kworker/0:2-1194  [000] ....   311.664690: rtos_queue_send_from_isr_failed: tstamp:10464756143 queue:0x0bcb9220
     kworker/0:2-1194  [000] ....   311.664714: rtos_queue_send_from_isr_failed: tstamp:10464756287 queue:0x0bcb9fe0
     kworker/0:2-1194  [000] ....   311.664715: rtos_queue_send_from_isr_failed: tstamp:10464756432 queue:0x0bcbada0
 vi-output, ov56-9084  [004] ....   311.678475: tegra_channel_capture_frame: sof:334.851232672
 vi-output, ov56-9084  [004] ....   311.678480: tegra_channel_capture_frame: eof:334.885971232
        v4l2-ctl-9082  [004] ....   311.678547: tegra_channel_set_stream: enable : 0x0
        v4l2-ctl-9082  [004] ....   311.678551: tegra_channel_set_stream: ov5693 2-0036 : 0x0
        v4l2-ctl-9082  [004] ....   311.678581: tegra_channel_set_stream: 15a00000.nvcsi--1 : 0x0
        v4l2-ctl-9082  [004] ....   311.678584: csi_s_stream: enable : 0x0
        v4l2-ctl-9082  [001] ....   311.693127: tegra_channel_close: vi-output, ov5693 2-0036
        v4l2-ctl-9082  [001] ....   311.695948: tegra_channel_set_power: ov5693 2-0036 : 0x0
        v4l2-ctl-9082  [001] ....   311.695970: camera_common_s_power: status : 0x0
        v4l2-ctl-9082  [001] ....   311.698596: tegra_channel_set_power: 15a00000.nvcsi--1 : 0x0
        v4l2-ctl-9082  [001] ....   311.698607: csi_s_power: enable : 0x0
     kworker/0:2-1194  [000] ....   311.720619: rtcpu_vinotify_event: tstamp:10465192351 tag:CHANSEL_PXL_EOF channel:0x23 frame:2 vi_tstamp:10465186553 data:0x04370002
     kworker/0:2-1194  [000] ....   311.720626: rtcpu_vinotify_event: tstamp:10465192493 tag:ATOMP_FRAME_DONE channel:0x23 frame:2 vi_tstamp:10465186579 data:0x00000000
     kworker/0:2-1194  [000] ....   311.720648: rtos_queue_send_from_isr_failed: tstamp:10465201143 queue:0x0bcb2e38
     kworker/0:2-1194  [000] ....   311.720650: rtos_queue_send_from_isr_failed: tstamp:10465201292 queue:0x0bcb76a0
     kworker/0:2-1194  [000] ....   311.720651: rtos_queue_send_from_isr_failed: tstamp:10465201444 queue:0x0bcb9220
     kworker/0:2-1194  [000] ....   311.720652: rtos_queue_send_from_isr_failed: tstamp:10465201586 queue:0x0bcb9fe0
     kworker/0:2-1194  [000] ....   311.720653: rtos_queue_send_from_isr_failed: tstamp:10465201730 queue:0x0bcbada0
     kworker/0:2-1194  [000] ....   311.720654: rtos_queue_send_from_isr_failed: tstamp:10465378259 queue:0x0bcb2e38
     kworker/0:2-1194  [000] ....   311.720656: rtos_queue_send_from_isr_failed: tstamp:10465378477 queue:0x0bcb76a0
     kworker/0:2-1194  [000] ....   311.720657: rtos_queue_send_from_isr_failed: tstamp:10465378705 queue:0x0bcb9220
     kworker/0:2-1194  [000] ....   311.720658: rtos_queue_send_from_isr_failed: tstamp:10465378922 queue:0x0bcb9fe0
     kworker/0:2-1194  [000] ....   311.720695: rtos_queue_send_from_isr_failed: tstamp:10465379138 queue:0x0bcbada0
     kworker/0:2-1194  [000] ....   311.720696: rtcpu_vinotify_event: tstamp:10465520357 tag:RESERVED_19 channel:0x23 frame:2 vi_tstamp:8468467584 data:0x02020002
     kworker/0:2-1194  [000] ....   311.720697: rtcpu_vinotify_event: tstamp:10465520571 tag:FE channel:0x00 frame:2 vi_tstamp:10465186599 data:0x00000020
     kworker/0:2-1194  [000] ....   311.720698: rtcpu_vinotify_event: tstamp:10465520829 tag:ATOMP_FE channel:0x00 frame:2 vi_tstamp:10465186601 data:0x00000000
     kworker/0:2-1194  [000] ....   311.720699: rtcpu_vinotify_event: tstamp:10465521037 tag:RESERVED_19 channel:0x23 frame:2 vi_tstamp:8468490496 data:0x00020002
     kworker/0:2-1194  [000] ....   311.720700: rtcpu_vinotify_event: tstamp:10465521284 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:8468510496 data:0x07020003
     kworker/0:2-1194  [000] ....   311.720701: rtcpu_vinotify_event: tstamp:10465521490 tag:FS channel:0x00 frame:3 vi_tstamp:10465186646 data:0x00000010
     kworker/0:2-1194  [000] ....   311.720702: rtcpu_vinotify_event: tstamp:10465521747 tag:ATOMP_FS channel:0x00 frame:3 vi_tstamp:10465186649 data:0x00000000
     kworker/0:2-1194  [000] ....   311.720704: rtcpu_vinotify_event: tstamp:10465521956 tag:CHANSEL_PXL_SOF channel:0x23 frame:3 vi_tstamp:10465186700 data:0x00000001
     kworker/0:2-1194  [000] ....   311.720705: rtcpu_vinotify_event: tstamp:10465522202 tag:RESERVED_19 channel:0x23 frame:3 vi_tstamp:8468528096 data:0x08020003
     kworker/0:2-1194  [000] ....   311.720706: rtcpu_vinotify_event: tstamp:10465522407 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:8468755200 data:0x10000000
     kworker/0:2-1194  [000] ....   311.720707: rtcpu_vinotify_event: tstamp:10465522654 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:8468781376 data:0x31000004
     kworker/0:2-1194  [000] ....   311.720708: rtcpu_vinotify_event: tstamp:10465522857 tag:FE channel:0x00 frame:3 vi_tstamp:10465379717 data:0x00000020
     kworker/0:2-1194  [000] ....   311.720709: rtcpu_vinotify_event: tstamp:10465523115 tag:CHANSEL_SHORT_FRAME channel:0x01 frame:3 vi_tstamp:10465379717 data:0x01000000
     kworker/0:2-1194  [000] ....   311.720743: rtcpu_vinotify_event: tstamp:10465523323 tag:ATOMP_FE channel:0x00 frame:3 vi_tstamp:10465379717 data:0x00000000
     kworker/0:2-1194  [000] ....   311.776596: rtos_queue_peek_from_isr_failed: tstamp:10466857145 queue:0x0bcbbbb8
     kworker/0:2-1194  [000] ....   311.944623: rtos_queue_peek_from_isr_failed: tstamp:10471857144 queue:0x0bcbbbb8
     kworker/0:2-1194  [000] ....   312.056610: rtos_queue_peek_from_isr_failed: tstamp:10476857145 queue:0x0bcbbbb8
     kworker/0:2-1194  [000] ....   312.224599: rtos_queue_peek_from_isr_failed: tstamp:10481857150 queue:0x0bcbbbb8
     kworker/0:2-1194  [000] ....   312.392747: rtos_queue_peek_from_isr_failed: tstamp:10486857145 queue:0x0bcbbbb8
     kworker/0:2-1194  [000] ....   312.560611: rtos_queue_peek_from_isr_failed: tstamp:10491857145 queue:0x0bcbbbb8
     kworker/0:2-1194  [000] ....   312.728594: rtos_queue_peek_from_isr_failed: tstamp:10496857153 queue:0x0bcbbbb8

It will be error sometimes:

 v4l2-ctl-9085  [007] ....   312.753178: tegra_channel_open: vi-output, ov5693 2-0036
        v4l2-ctl-9085  [007] ....   312.753221: tegra_channel_set_power: ov5693 2-0036 : 0x1
        v4l2-ctl-9085  [007] ....   312.753241: camera_common_s_power: status : 0x1
        v4l2-ctl-9085  [000] ....   312.758413: tegra_channel_set_power: 15a00000.nvcsi--1 : 0x1
        v4l2-ctl-9085  [000] ....   312.758423: csi_s_power: enable : 0x1
     kworker/0:2-1194  [000] ....   312.896649: rtos_queue_peek_from_isr_failed: tstamp:10501857149 queue:0x0bcbbbb8
     kworker/0:2-1194  [000] ....   313.064634: rtos_queue_peek_from_isr_failed: tstamp:10506857152 queue:0x0bcbbbb8
     kworker/0:2-1194  [000] ....   313.176643: rtos_queue_peek_from_isr_failed: tstamp:10511857154 queue:0x0bcbbbb8
     kworker/0:2-1194  [000] ....   313.344614: rtos_queue_peek_from_isr_failed: tstamp:10516857144 queue:0x0bcbbbb8
     kworker/0:2-1194  [000] ....   313.512610: rtos_queue_peek_from_isr_failed: tstamp:10521857144 queue:0x0bcbbbb8
     kworker/0:2-1194  [000] ....   313.680594: rtos_queue_peek_from_isr_failed: tstamp:10526857149 queue:0x0bcbbbb8
     kworker/0:2-1194  [000] ....   313.848594: rtos_queue_peek_from_isr_failed: tstamp:10531857149 queue:0x0bcbbbb8
     kworker/0:2-1194  [000] ....   314.016618: rtos_queue_peek_from_isr_failed: tstamp:10536857105 queue:0x0bcbbbb8
     kworker/0:2-1194  [000] ....   314.184613: rtos_queue_peek_from_isr_failed: tstamp:10541857154 queue:0x0bcbbbb8
     kworker/0:2-1194  [000] ....   314.296603: rtos_queue_peek_from_isr_failed: tstamp:10546857157 queue:0x0bcbbbb8
     kworker/0:2-1194  [000] ....   314.464592: rtos_queue_peek_from_isr_failed: tstamp:10551857145 queue:0x0bcbbbb8
     kworker/0:2-1194  [000] ....   314.632606: rtos_queue_peek_from_isr_failed: tstamp:10556857152 queue:0x0bcbbbb8
     kworker/0:2-1194  [000] ....   314.800635: rtos_queue_peek_from_isr_failed: tstamp:10561857148 queue:0x0bcbbbb8
     kworker/0:2-1194  [000] ....   314.968593: rtos_queue_peek_from_isr_failed: tstamp:10566857150 queue:0x0bcbbbb8
     kworker/0:2-1194  [000] ....   315.136602: rtos_queue_peek_from_isr_failed: tstamp:10571857154 queue:0x0bcbbbb8
     kworker/0:2-1194  [000] ....   315.304608: rtos_queue_peek_from_isr_failed: tstamp:10576857145 queue:0x0bcbbbb8
        v4l2-ctl-9085  [000] ....   315.413027: tegra_channel_capture_setup: vnc_id 0 W 1920 H 1080 fmt 9
        v4l2-ctl-9085  [005] ....   315.414210: tegra_channel_set_stream: enable : 0x1
     kworker/0:2-1194  [000] ....   315.416614: rtos_queue_peek_from_isr_failed: tstamp:10581857145 queue:0x0bcbbbb8
     kworker/0:2-1194  [000] ....   315.416621: rtos_queue_send_from_isr_failed: tstamp:10581918704 queue:0x0bcb2e38
     kworker/0:2-1194  [000] ....   315.416623: rtos_queue_send_from_isr_failed: tstamp:10581918933 queue:0x0bcb76a0
     kworker/0:2-1194  [000] ....   315.416624: rtos_queue_send_from_isr_failed: tstamp:10581919155 queue:0x0bcb9220
     kworker/0:2-1194  [000] ....   315.416627: rtos_queue_send_from_isr_failed: tstamp:10581919377 queue:0x0bcb9fe0
     kworker/0:2-1194  [000] ....   315.416628: rtos_queue_send_from_isr_failed: tstamp:10581919592 queue:0x0bcbada0
     kworker/0:2-1194  [000] ....   315.416632: rtcpu_string: tstamp:10581920272 id:0x04010000 str:"Configuring VI GoS.
"
     kworker/0:2-1194  [000] ....   315.416670: rtcpu_string: tstamp:10581920592 id:0x04010000 str:"VM GOS[#0] addr=0xfbd00000
"
     kworker/0:2-1194  [000] ....   315.416677: rtcpu_string: tstamp:10581920919 id:0x04010000 str:"VM GOS[#1] addr=0xfbd01000
"
     kworker/0:2-1194  [000] ....   315.416683: rtcpu_string: tstamp:10581921245 id:0x04010000 str:"VM GOS[#2] addr=0xfbd02000
"
     kworker/0:2-1194  [000] ....   315.416689: rtcpu_string: tstamp:10581921553 id:0x04010000 str:"VM GOS[#3] addr=0xfbd03000
"
     kworker/0:2-1194  [000] ....   315.416695: rtcpu_string: tstamp:10581921898 id:0x04010000 str:"VM GOS[#4] addr=0xfbd04000
"
     kworker/0:2-1194  [000] ....   315.416700: rtcpu_string: tstamp:10581922205 id:0x04010000 str:"VM GOS[#5] addr=0xfbd05000
"
     kworker/0:2-1194  [000] ....   315.416706: rtos_queue_send_from_isr_failed: tstamp:10581937198 queue:0x0bcb2e38
     kworker/0:2-1194  [000] ....   315.416707: rtos_queue_send_from_isr_failed: tstamp:10581937418 queue:0x0bcb76a0
     kworker/0:2-1194  [000] ....   315.416708: rtos_queue_send_from_isr_failed: tstamp:10581937643 queue:0x0bcb9220
     kworker/0:2-1194  [000] ....   315.416709: rtos_queue_send_from_isr_failed: tstamp:10581937858 queue:0x0bcb9fe0
     kworker/0:2-1194  [000] ....   315.416710: rtos_queue_send_from_isr_failed: tstamp:10581938074 queue:0x0bcbada0
     kworker/0:2-1194  [000] ....   315.416714: rtcpu_vinotify_event: tstamp:10581940903 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:12204571744 data:0x10000000
     kworker/0:2-1194  [000] ....   315.416716: rtcpu_vinotify_event: tstamp:10581941114 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:12204576224 data:0x31000001
        v4l2-ctl-9085  [000] ....   315.420481: tegra_channel_set_stream: 15a00000.nvcsi--1 : 0x1
        v4l2-ctl-9085  [000] ....   315.420485: csi_s_stream: enable : 0x1
        v4l2-ctl-9085  [000] ....   315.420516: tegra_channel_set_stream: ov5693 2-0036 : 0x1
     kworker/0:2-1194  [000] ....   315.472623: rtos_queue_send_from_isr_failed: tstamp:10582136175 queue:0x0bcb2e38
     kworker/0:2-1194  [000] ....   315.472629: rtos_queue_send_from_isr_failed: tstamp:10582136327 queue:0x0bcb76a0
     kworker/0:2-1194  [000] ....   315.472630: rtos_queue_send_from_isr_failed: tstamp:10582136479 queue:0x0bcb9220
     kworker/0:2-1194  [000] ....   315.472631: rtos_queue_send_from_isr_failed: tstamp:10582136623 queue:0x0bcb9fe0
     kworker/0:2-1194  [000] ....   315.472633: rtos_queue_send_from_isr_failed: tstamp:10582136768 queue:0x0bcbada0
     kworker/0:2-1194  [000] ....   315.472635: rtcpu_vinotify_event: tstamp:10582381984 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:12204579168 data:0x07020001
     kworker/0:2-1194  [000] ....   315.472637: rtcpu_vinotify_event: tstamp:10582382122 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:12204660608 data:0x10000000
     kworker/0:2-1194  [000] ....   315.472638: rtcpu_vinotify_event: tstamp:10582382283 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:12204665184 data:0x31000002
     kworker/0:2-1194  [000] ....   315.584600: rtos_queue_peek_from_isr_failed: tstamp:10586857108 queue:0x0bcbbbb8
     kworker/0:2-1194  [000] ....   315.752612: rtos_queue_peek_from_isr_failed: tstamp:10591857109 queue:0x0bcbbbb8
     kworker/0:2-1194  [000] ....   315.920582: rtos_queue_peek_from_isr_failed: tstamp:10596857110 queue:0x0bcbbbb8
     kworker/0:2-1194  [000] ....   316.088584: rtos_queue_peek_from_isr_failed: tstamp:10601857109 queue:0x0bcbbbb8
     kworker/0:2-1194  [000] ....   316.256585: rtos_queue_peek_from_isr_failed: tstamp:10606857109 queue:0x0bcbbbb8
     kworker/0:2-1194  [000] ....   316.424629: rtos_queue_peek_from_isr_failed: tstamp:10611857110 queue:0x0bcbbbb8
     kworker/0:2-1194  [000] ....   316.536599: rtos_queue_peek_from_isr_failed: tstamp:10616857107 queue:0x0bcbbbb8
     kworker/0:2-1194  [000] ....   316.704580: rtos_queue_peek_from_isr_failed: tstamp:10621857106 queue:0x0bcbbbb8
     kworker/0:2-1194  [000] ....   316.872584: rtos_queue_peek_from_isr_failed: tstamp:10626857108 queue:0x0bcbbbb8
     kworker/0:2-1194  [000] ....   317.040589: rtos_queue_peek_from_isr_failed: tstamp:10631857109 queue:0x0bcbbbb8
     kworker/0:2-1194  [000] ....   317.208581: rtos_queue_peek_from_isr_failed: tstamp:10636857108 queue:0x0bcbbbb8
     kworker/0:2-1194  [000] ....   317.376585: rtos_queue_peek_from_isr_failed: tstamp:10641857112 queue:0x0bcbbbb8
     kworker/0:2-1194  [000] ....   317.544597: rtos_queue_peek_from_isr_failed: tstamp:10646857105 queue:0x0bcbbbb8
     kworker/0:2-1194  [000] ....   317.656580: rtos_queue_peek_from_isr_failed: tstamp:10651857110 queue:0x0bcbbbb8
     kworker/0:2-1194  [000] ....   317.824583: rtos_queue_peek_from_isr_failed: tstamp:10656857108 queue:0x0bcbbbb8
     kworker/0:2-1194  [000] ....   317.992593: rtos_queue_peek_from_isr_failed: tstamp:10661857110 queue:0x0bcbbbb8

The problem could be the 5th frame size less than report.

And , when I send 16 frames, I only can recieve 15 frames without any errors. I used to consider there was some problems at the eof. But It alos happens when I am not recieve the last frame.

It could be the sensor send incomplete last frame cause the problem.

Thanks

Do you mean that even if I only receive the first frame, if there is an error in the fifth frame, I will still not be able to receive it correctly?
And the issue kworker/0:2-1194 [000] .... 311.720709: rtcpu_vinotify_event: tstamp:10465523115 tag:CHANSEL_SHORT_FRAME channel:0x01 frame:3 vi_tstamp:10465379717 data:0x01000000 did not occur this time when this information appeared no reply from camera processor, it was in the second paragraph of the information I presented.

I think the sensor should send frame data continuously until receive stop streaming command.

Sir, do you mean that AGX will send a stop streaming command when receiving MIPI data? Through what? I2C?

No, the APP will send stop streaming while terminal the APP.

Thanks

Sorry ,I do not understand. I use the terminal to send recieve command. v4l2-ctl --stream-mmap --stream-count=1 --stream-to=filename.bin --device=/dev/video0
And then I will send some frames to AGX.
Does “the APP” mean the process of saving data as a bin file?It will send stop command?

Please send frames while the xxx_start_streaming continuously and stop while xxx_stop_streaming() in sensor driver.

Thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.