We are trying to port a working CSI video capture driver to the L4T 32.1/Linux 4.9 platform.
The driver works for L4T 28.1. The module and carrier board work with the older BSP
and driver. Everything seems to try to start (csi4_phy configured, csi4_stream_init…)
but all I get are PXL_SOF syncpt timeout (50) ! err = -11.
I followed the instructions for enabling tracing from here:
But all I see in the trace are queue peek failures and queue send failures.
kworker/3:0-30 [003] .... 594.213318: rtos_queue_send_failed: tstamp:18949709597 queue:0x0b4a7258
kworker/3:0-30 [003] .... 594.213325: rtos_queue_send_failed: tstamp:18949715375 queue:0x0b4a7258
kworker/3:0-30 [003] .... 594.377204: rtos_queue_peek_from_isr_failed: tstamp:18954529987 queue:0x0b4b4500
kworker/3:0-30 [003] .... 594.497238: rtos_queue_peek_from_isr_failed: tstamp:18959529984 queue:0x0b4b4500
kworker/3:0-30 [003] .... 594.665233: rtos_queue_peek_from_isr_failed: tstamp:18964530178 queue:0x0b4b4500
I think there is something not started or running on the TX2. Shouldn’t there be
messages like this:
kworker/5:0-5800 [005] ...1 502.381391: rtcpu_start: tstamp:16014585622code]
...
kworker/5:0-5800 [005] ...1 503.270835: rtcpu_vinotify_handle_msg: tstamp:16041133487 tag:ATOMP_FS channel:0x00 frame:0 vi_tstamp:3156230914 data:0x00000000
kworker/5:0-5800 [005] ...1 503.270837: rtcpu_vinotify_handle_msg: tstamp:16041133645 tag:CHANSEL_FAULT channel:0x00 frame:0 vi_tstamp:3156231234 data:0x00010800
kworker/5:0-5800 [005] ...1 503.270839: rtcpu_vinotify_handle_msg: tstamp:16041139085 tag:CHANSEL_FAULT channel:0x00 frame:0 vi_tstamp:3156236769 data:0x00000801
kworker/5:0-5800 [005] ...1 503.270841: rtcpu_vinotify_handle_msg: tstamp:16042130809 tag:CHANSEL_SHORT_FRAME channel:0x01 frame:0 vi_tstamp:3157228305 data:0x00000001
kworker/5:0-5800 [005] ...1 503.270842: rtcpu_vinotify_handle_msg: tstamp:16042130975 tag:ATOMP_FE channel:0x00 frame:0 vi_tstamp:3157228308 data:0x00000000
I’m not seeing these at all.
Ideas?