TX2 CSI Video problems R32.6.1

Hi,
tc358749 is working good on custom carrier board with TX2 Jetpack4.2(4lane yuv422 1080P60).
now we upgrade TX2 JP release from JP4.2 to JP4.6 and then TX2 can not grab tc358749 mips csi video steam.
after porting tc358749 on tx2 JP4.6, tc358749 status is ok just like on tx2 JP4.2 but can not got video steam.
below is trace log after runing gst test.

ueue:0x0b4ae958
     kworker/1:2-10612 [001] .... 13126.954169: rtos_queue_send_from_isr_failed: tstamp:410474296967 queue:0x0b4af718
     kworker/1:2-10612 [001] .... 13126.954169: rtos_queue_send_from_isr_failed: tstamp:410474297068 queue:0x0b4b04d8
     kworker/1:2-10612 [001] .... 13126.954170: rtos_queue_send_from_isr_failed: tstamp:410474297168 queue:0x0b4b1298
     kworker/1:2-10612 [001] .... 13126.954170: rtos_queue_send_from_isr_failed: tstamp:410474297269 queue:0x0b4b2058
     kworker/1:2-10612 [001] .... 13126.954171: rtos_queue_send_failed: tstamp:410474297687 queue:0x0b4a7698
     kworker/1:2-10612 [001] .... 13126.954172: rtos_queue_send_from_isr_failed: tstamp:410474300494 queue:0x0b4a7698
     kworker/1:2-10612 [001] .... 13126.954173: rtos_queue_send_from_isr_failed: tstamp:410474300596 queue:0x0b4ab1a8
     kworker/1:2-10612 [001] .... 13126.954173: rtos_queue_send_from_isr_failed: tstamp:410474300698 queue:0x0b4acdd8
     kworker/1:2-10612 [001] .... 13126.954174: rtos_queue_send_from_isr_failed: tstamp:410474300801 queue:0x0b4ae958
     kworker/1:2-10612 [001] .... 13126.954175: rtos_queue_send_from_isr_failed: tstamp:410474300902 queue:0x0b4af718
     kworker/1:2-10612 [001] .... 13126.954175: rtos_queue_send_from_isr_failed: tstamp:410474301003 queue:0x0b4b04d8
     kworker/1:2-10612 [001] .... 13126.954176: rtos_queue_send_from_isr_failed: tstamp:410474301104 queue:0x0b4b1298
     kworker/1:2-10612 [001] .... 13126.954176: rtos_queue_send_from_isr_failed: tstamp:410474301208 queue:0x0b4b2058
     kworker/1:2-10612 [001] .... 13126.954177: rtos_queue_send_failed: tstamp:410474302092 queue:0x0b4a7698
     kworker/1:2-10612 [001] .... 13126.954179: rtos_queue_peek_from_isr_failed: tstamp:410474748940 queue:0x0b4b4940
     kworker/1:2-10612 [001] .... 13127.122149: rtos_queue_peek_from_isr_failed: tstamp:410479748946 queue:0x0b4b4940
     kworker/1:2-10612 [001] .... 13127.122151: rtos_queue_send_from_isr_failed: tstamp:410480660932 queue:0x0b4a7698
     kworker/1:2-10612 [001] .... 13127.122152: rtos_queue_send_from_isr_failed: tstamp:410480661040 queue:0x0b4ab1a8
     kworker/1:2-10612 [001] .... 13127.122153: rtos_queue_send_from_isr_failed: tstamp:410480661145 queue:0x0b4acdd8
     kworker/1:2-10612 [001] .... 13127.122153: rtos_queue_send_from_isr_failed: tstamp:410480661249 queue:0x0b4ae958
     kworker/1:2-10612 [001] .... 13127.122154: rtos_queue_send_from_isr_failed: tstamp:410480661350 queue:0x0b4af718
     kworker/1:2-10612 [001] .... 13127.122155: rtos_queue_send_from_isr_failed: tstamp:410480661451 queue:0x0b4b04d8
     kworker/1:2-10612 [001] .... 13127.122155: rtos_queue_send_from_isr_failed: tstamp:410480661557 queue:0x0b4b1298
     kworker/1:2-10612 [001] .... 13127.122156: rtos_queue_send_from_isr_failed: tstamp:410480661660 queue:0x0b4b2058
     kworker/1:2-10612 [001] .... 13127.122157: rtos_queue_send_failed: tstamp:410480662260 queue:0x0b4a7698
     kworker/1:2-10612 [001] .... 13127.122158: rtos_queue_send_from_isr_failed: tstamp:410480667473 queue:0x0b4a7698
     kworker/1:2-10612 [001] .... 13127.122158: rtos_queue_send_from_isr_failed: tstamp:410480667575 queue:0x0b4ab1a8
     kworker/1:2-10612 [001] .... 13127.122159: rtos_queue_send_from_isr_failed: tstamp:410480667679 queue:0x0b4acdd8
     kworker/1:2-10612 [001] .... 13127.122160: rtos_queue_send_from_isr_failed: tstamp:410480667784 queue:0x0b4ae958
     kworker/1:2-10612 [001] .... 13127.122160: rtos_queue_send_from_isr_failed: tstamp:410480667885 queue:0x0b4af718
     kworker/1:2-10612 [001] .... 13127.122161: rtos_queue_send_from_isr_failed: tstamp:410480667986 queue:0x0b4b04d8
     kworker/1:2-10612 [001] .... 13127.122161: rtos_queue_send_from_isr_failed: tstamp:410480668087 queue:0x0b4b1298
     kworker/1:2-10612 [001] .... 13127.122162: rtos_queue_send_from_isr_failed: tstamp:410480668188 queue:0x0b4b2058
     kworker/1:2-10612 [001] .... 13127.122163: rtos_queue_send_failed: tstamp:410480668623 queue:0x0b4a7698
     kworker/1:2-10612 [001] .... 13127.122164: rtos_queue_send_from_isr_failed: tstamp:410480676608 queue:0x0b4a7698
     kworker/1:2-10612 [001] .... 13127.122164: rtos_queue_send_from_isr_failed: tstamp:410480676718 queue:0x0b4ab1a8
     kworker/1:2-10612 [001] .... 13127.122165: rtos_queue_send_from_isr_failed: tstamp:410480676820 queue:0x0b4acdd8
     kworker/1:2-10612 [001] .... 13127.122165: rtos_queue_send_from_isr_failed: tstamp:410480676924 queue:0x0b4ae958
     kworker/1:2-10612 [001] .... 13127.122166: rtos_queue_send_from_isr_failed: tstamp:410480677025 queue:0x0b4af718
     kworker/1:2-10612 [001] .... 13127.122167: rtos_queue_send_from_isr_failed: tstamp:410480677126 queue:0x0b4b04d8
     kworker/1:2-10612 [001] .... 13127.122167: rtos_queue_send_from_isr_failed: tstamp:410480677228 queue:0x0b4b1298
     kworker/1:2-10612 [001] .... 13127.122168: rtos_queue_send_from_isr_failed: tstamp:410480677329 queue:0x0b4b2058
     kworker/1:2-10612 [001] .... 13127.122169: rtos_queue_send_failed: tstamp:410480677749 queue:0x0b4a7698
     kworker/1:2-10612 [001] .... 13127.122169: rtos_queue_send_from_isr_failed: tstamp:410480683419 queue:0x0b4a7698
     kworker/1:2-10612 [001] .... 13127.122170: rtos_queue_send_from_isr_failed: tstamp:410480683532 queue:0x0b4ab1a8
     kworker/1:2-10612 [001] .... 13127.122171: rtos_queue_send_from_isr_failed: tstamp:410480683634 queue:0x0b4acdd8
     kworker/1:2-10612 [001] .... 13127.122171: rtos_queue_send_from_isr_failed: tstamp:410480683737 queue:0x0b4ae958
     kworker/1:2-10612 [001] .... 13127.122172: rtos_queue_send_from_isr_failed: tstamp:410480683838 queue:0x0b4af718
     kworker/1:2-10612 [001] .... 13127.122173: rtos_queue_send_from_isr_failed: tstamp:410480683939 queue:0x0b4b04d8
     kworker/1:2-10612 [001] .... 13127.122173: rtos_queue_send_from_isr_failed: tstamp:410480684040 queue:0x0b4b1298
     kworker/1:2-10612 [001] .... 13127.122174: rtos_queue_send_from_isr_failed: tstamp:410480684141 queue:0x0b4b2058
     kworker/1:2-10612 [001] .... 13127.122175: rtos_queue_send_failed: tstamp:410480685012 queue:0x0b4a7698

thanks.

hello suchb,

there’s only timestamp data but non CSI related messages, which indicate the camera receiver side did not active correctly.
could you please try configure all clocks to maximum for testing, thanks

thank you JerryChang,
update trace log.
trace-1.txt (106.3 KB)

hello suchb,

please check below, the timestamp of start-of-frame looks incorrect.

 vi-output, ov56-9675  [004] ....  2905.339758: tegra_channel_capture_setup: vnc_id 0 W 1920 H 1080 fmt cb
 vi-output, ov56-9675  [004] ....  2905.339801: tegra_channel_capture_frame: sof:-549620698988.-267025568640

did you have reset pin on the tc358749? please try toggle the reset and then start the capture.
thanks

hi,
I got same problem after reset tc358749 and then start capture.
this confuses me,why JP4.2 is working good and JP4.6 not.

hello suchb,

how does the timestamp of start-of-frame values? could you please also check v4l utility to fetch the stream?

hi,
v4l trace log
v4l-trace.txt (86.5 KB)

hello suchb,

there’re lots of kernel changes integrated from JetPack-4.2(r32.1) to JetPack-4.6(r32.6.1),
if you have source_sync the code, you may check git history to obtain the details.
as for r32.6.1, the camera stack is moving to V4L2 Kernel Driver (Version 2.0), you may also adapt your sensor driver for the later release version.

thanks for the info.

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