Custom camera registeration issue in AGX Orin

Hi,recently, modifications were made to the OV5693 driver on our AGX Xavier custom board and received the video frames from the camera normally. Now the core has been replaced with AGX Orin, and I have changed the driver as needed, but the following errors have been raised. We use L4t 35.5.0. It can be confirmed that the camera program remains the same as before, but Orin cannot receive video frames, and the trace log is as follows

root@jetson-desktop:/home/jetson/Documents# cat /sys/kernel/debug/tracing/trace
# tracer: nop
#
# entries-in-buffer/entries-written: 28/28   #P:8
#
#                                _-----=> irqs-off
#                               / _----=> need-resched
#                              | / _---=> hardirq/softirq
#                              || / _--=> preempt-depth
#                              ||| /     delay
#           TASK-PID     CPU#  ||||   TIMESTAMP  FUNCTION
#              | |         |   ||||      |         |
     kworker/4:2-127     [004] ....   995.776360: rtcpu_string: tstamp:34312707590 id:0x04010000 str:"VM0 deactivating."
      V4L2Viewer-3946    [000] ....  1005.520900: tegra_channel_set_power: ov5693 3-0036 : 0x1
      V4L2Viewer-3946    [000] ....  1005.520943: camera_common_s_power: status : 0x1
      V4L2Viewer-3946    [000] ....  1005.520967: tegra_channel_set_power: 13e40000.host1x:nvcsi@15a00000- : 0x1
      V4L2Viewer-3946    [000] ....  1005.520969: csi_s_power: enable : 0x1
      V4L2Viewer-3946    [000] ....  1005.521672: tegra_channel_capture_setup: vnc_id 0 W 1280 H 1024 fmt 10
      V4L2Viewer-3946    [003] ....  1005.529165: tegra_channel_set_stream: enable : 0x1
      V4L2Viewer-3946    [003] ....  1005.545056: tegra_channel_set_stream: 13e40000.host1x:nvcsi@15a00000- : 0x1
      V4L2Viewer-3946    [003] ....  1005.545058: csi_s_stream: enable : 0x1
      V4L2Viewer-3946    [003] ....  1005.545641: tegra_channel_set_stream: ov5693 3-0036 : 0x1
     kworker/4:2-127     [004] ....  1005.560372: rtcpu_string: tstamp:34617737009 id:0x04010000 str:"VM0 activating."
     kworker/4:2-127     [004] ....  1005.560375: rtcpu_nvcsi_intr: tstamp:34618493312 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:4 vc:0 status:0x00000008
     kworker/4:2-127     [004] ....  1005.560376: rtcpu_nvcsi_intr: tstamp:34618493312 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:4 vc:0 status:0x00000008
     kworker/4:2-127     [004] ....  1005.560376: rtcpu_string: tstamp:34618494420 id:0x04010000 str:"BUG: camera-ip/vi5/vi5.c:415 [vi5_check_falcon_f"
     kworker/4:2-127     [004] ....  1005.560376: rtcpu_string: tstamp:34618494523 id:0x04010000 str:"ailure] ""
     kworker/4:2-127     [004] ....  1005.560377: rtcpu_string: tstamp:34618498049 id:0x04010000 str:"VI FALCON FAILURE: 0x40000000"
     kworker/4:2-127     [004] ....  1005.560377: rtcpu_string: tstamp:34618520721 id:0x04010000 str:""
"
     kworker/4:2-127     [004] ....  1005.736388: rtcpu_start: tstamp:34623190165
   ov5693 3-0036-4187    [007] ....  1008.565279: tegra_channel_capture_frame: sof:0.0
   ov5693 3-0036-4187    [007] ....  1008.565282: tegra_channel_capture_frame: eof:0.0
      V4L2Viewer-3946    [006] ....  1008.565351: tegra_channel_set_stream: enable : 0x0
      V4L2Viewer-3946    [006] ....  1008.565352: tegra_channel_set_stream: ov5693 3-0036 : 0x0
      V4L2Viewer-3946    [006] ....  1008.566305: tegra_channel_set_stream: 13e40000.host1x:nvcsi@15a00000- : 0x0
      V4L2Viewer-3946    [006] ....  1008.566308: csi_s_stream: enable : 0x0
      V4L2Viewer-3946    [002] ....  1008.590356: tegra_channel_set_power: ov5693 3-0036 : 0x0
      V4L2Viewer-3946    [002] ....  1008.590368: camera_common_s_power: status : 0x0
      V4L2Viewer-3946    [002] ....  1008.594001: tegra_channel_set_power: 13e40000.host1x:nvcsi@15a00000- : 0x0
      V4L2Viewer-3946    [002] ....  1008.594004: csi_s_power: enable : 0x0

Could you tell me what the error code means?

Thanks !

hello LiCC18,

here’re error logs.

it’s reporting that packet terminate before getting the expect word count data,
since you’re working with r35.5.0, could you please refer to Topic 306195 to apply pre-built updates for testing.

Hi,

Have you tried to use v4l2-ctl? for Example:

v4l2-ctl --device /dev/video0 --stream-mmap  --set-ctrl bypass_mode=0 --stream-count=10

Just to see if a simple v4l2 capture works.

Manuel Leiva
Embedded SW Engineer at RidgeRun
Contact us: support@ridgerun.com
Developers wiki: https://developer.ridgerun.com
Website: www.ridgerun.com

1 Like