Xavier one max9296+two max9295+ two imx390

Hi Teams,

When I use one MAX9296 + two MAX9295 + two IMX390 on Xavier Jetpack 4.4, I get the following error:
(Jetson/l4t/Camera BringUp - eLinux.org)

Dmesg:

[  384.661419] tegra194-vi5 15c10000.vi: no reply from camera processor
[  384.661586] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 2500 ms
[  384.661727] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel
[  384.664908] tegra194-vi5 15c10000.vi: err_rec: successfully reset the capture channel
[  384.717447] [RCE] Configuring VI GoS.
[  384.717478] [RCE] VM GOS[#0] addr=0xc2100000
[  384.717484] [RCE] VM GOS[#1] addr=0xc2101000
[  384.717489] [RCE] VM GOS[#2] addr=0xc2102000
[  384.717495] [RCE] VM GOS[#3] addr=0xc2103000
[  384.717501] [RCE] VM GOS[#4] addr=0xc2104000
[  384.717506] [RCE] VM GOS[#5] addr=0xc2105000
[  387.221334] tegra194-vi5 15c10000.vi: no reply from camera processor
[  387.221500] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 2500 ms
[  387.221686] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel
[  387.224242] tegra194-vi5 15c10000.vi: err_rec: successfully reset the capture channel
[  387.237341] [RCE] Configuring VI GoS.
[  387.237352] [RCE] VM GOS[#0] addr=0xc2100000
[  387.237361] [RCE] VM GOS[#1] addr=0xc2101000
[  387.237400] [RCE] VM GOS[#2] addr=0xc2102000
[  387.237405] [RCE] VM GOS[#3] addr=0xc2103000
[  387.237410] [RCE] VM GOS[#4] addr=0xc2104000
[  387.237416] [RCE] VM GOS[#5] addr=0xc2105000

sudo media-ctl -p -d /dev/media0 :

====================================
/dev/video0
/dev/video1
Media controller API version 0.1.0

Media device information
------------------------
driver          tegra194-vi5
model           NVIDIA Tegra Video Input Device
serial          
bus info        
hw revision     0x3
driver version  0.0.0

Device topology
- entity 1: 15a00000.nvcsi--2 (2 pads, 2 links)
            type V4L2 subdev subtype Unknown flags 0
            device node name /dev/v4l-subdev0
	pad0: Sink
		<- "imx390 8-0011":0 [ENABLED]
	pad1: Source
		-> "vi-output, imx390 8-0011":0 [ENABLED]

- entity 4: 15a00000.nvcsi--1 (2 pads, 2 links)
            type V4L2 subdev subtype Unknown flags 0
            device node name /dev/v4l-subdev1
	pad0: Sink
		<- "imx390 8-0012":0 [ENABLED]
	pad1: Source
		-> "vi-output, imx390 8-0012":0 [ENABLED]

- entity 7: imx390 8-0011 (1 pad, 1 link)
            type V4L2 subdev subtype Sensor flags 0
            device node name /dev/v4l-subdev2
	pad0: Source
		[fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
		-> "15a00000.nvcsi--2":0 [ENABLED]

- entity 9: vi-output, imx390 8-0011 (1 pad, 1 link)
            type Node subtype V4L flags 0
            device node name /dev/video0
	pad0: Sink
		<- "15a00000.nvcsi--2":1 [ENABLED]

- entity 23: imx390 8-0012 (1 pad, 1 link)
             type V4L2 subdev subtype Sensor flags 0
             device node name /dev/v4l-subdev3
	pad0: Source
		[fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb]
		-> "15a00000.nvcsi--1":0 [ENABLED]

- entity 25: vi-output, imx390 8-0012 (1 pad, 1 link)
             type Node subtype V4L flags 0
             device node name /dev/video1
	pad0: Sink
		<- "15a00000.nvcsi--1":1 [ENABLED]

cat /sys/kernel/debug/tracing/trace:

# tracer: nop
#
# entries-in-buffer/entries-written: 629568/629568   #P:8
#
#                              _-----=> irqs-off
#                             / _----=> need-resched
#                            | / _---=> hardirq/softirq
#                            || / _--=> preempt-depth
#                            ||| /     delay
#           TASK-PID   CPU#  ||||    TIMESTAMP  FUNCTION
#              | |       |   ||||       |         |
        v4l2-ctl-12318 [007] ....   282.235124: tegra_channel_open: vi-output, imx390 8-0011
        v4l2-ctl-12318 [007] ....   282.235136: tegra_channel_set_power: imx390 8-0011 : 0x1
        v4l2-ctl-12318 [007] ....   282.235148: camera_common_s_power: status : 0x1
        v4l2-ctl-12318 [001] ....   282.236978: tegra_channel_set_power: 15a00000.nvcsi--2 : 0x1
        v4l2-ctl-12318 [001] ....   282.236984: csi_s_power: enable : 0x1
        v4l2-ctl-12318 [001] ....   282.238426: tegra_channel_close: vi-output, imx390 8-0011
        v4l2-ctl-12318 [001] ....   282.238433: tegra_channel_set_power: imx390 8-0011 : 0x0
        v4l2-ctl-12318 [001] ....   282.238437: camera_common_s_power: status : 0x0
        v4l2-ctl-12318 [001] ....   282.242271: tegra_channel_set_power: 15a00000.nvcsi--2 : 0x0
        v4l2-ctl-12318 [001] ....   282.242279: csi_s_power: enable : 0x0
        v4l2-ctl-12319 [003] ....   282.251060: tegra_channel_open: vi-output, imx390 8-0011
        v4l2-ctl-12319 [003] ....   282.251076: tegra_channel_set_power: imx390 8-0011 : 0x1
        v4l2-ctl-12319 [003] ....   282.251089: camera_common_s_power: status : 0x1
        v4l2-ctl-12319 [001] ....   282.256037: tegra_channel_set_power: 15a00000.nvcsi--2 : 0x1
        v4l2-ctl-12319 [001] ....   282.256041: csi_s_power: enable : 0x1
        v4l2-ctl-12319 [001] ....   282.261015: tegra_channel_capture_setup: vnc_id 0 W 1920 H 1080 fmt 13
        v4l2-ctl-12319 [007] ....   282.262298: tegra_channel_set_stream: enable : 0x1
        v4l2-ctl-12319 [001] ....   282.274528: tegra_channel_set_stream: 15a00000.nvcsi--2 : 0x1
        v4l2-ctl-12319 [001] ....   282.274532: csi_s_stream: enable : 0x1
        v4l2-ctl-12319 [001] ....   282.274539: tegra_channel_set_stream: imx390 8-0011 : 0x1
     kworker/0:3-1701  [000] ....   282.277634: rtos_queue_send_from_isr_failed: tstamp:9178069898 queue:0x0bcb41f8
     kworker/0:3-1701  [000] ....   282.277637: rtos_queue_send_from_isr_failed: tstamp:9178070102 queue:0x0bcb8a60
     kworker/0:3-1701  [000] ....   282.277638: rtos_queue_send_from_isr_failed: tstamp:9178070300 queue:0x0bcba5e0
     kworker/0:3-1701  [000] ....   282.277639: rtos_queue_send_from_isr_failed: tstamp:9178070497 queue:0x0bcbb3a0
     kworker/0:3-1701  [000] ....   282.277640: rtos_queue_send_from_isr_failed: tstamp:9178070696 queue:0x0bcbc160
     kworker/0:3-1701  [000] ....   282.277641: rtcpu_string: tstamp:9178071256 id:0x04010000 str:"Configuring VI GoS.
"
     kworker/0:3-1701  [000] ....   282.277662: rtcpu_string: tstamp:9178071496 id:0x04010000 str:"VM GOS[#0] addr=0xc2100000
"
     kworker/0:3-1701  [000] ....   282.277668: rtcpu_string: tstamp:9178071811 id:0x04010000 str:"VM GOS[#1] addr=0xc2101000
"
     kworker/0:3-1701  [000] ....   282.277695: rtcpu_string: tstamp:9178072148 id:0x04010000 str:"VM GOS[#2] addr=0xc2102000
"
     kworker/0:3-1701  [000] ....   282.277701: rtcpu_string: tstamp:9178072428 id:0x04010000 str:"VM GOS[#3] addr=0xc2103000
"
     kworker/0:3-1701  [000] ....   282.277706: rtcpu_string: tstamp:9178072708 id:0x04010000 str:"VM GOS[#4] addr=0xc2104000
"
     kworker/0:3-1701  [000] ....   282.277711: rtcpu_string: tstamp:9178072991 id:0x04010000 str:"VM GOS[#5] addr=0xc2105000
"
     kworker/0:3-1701  [000] ....   282.277715: rtcpu_string: tstamp:9178080837 id:0x04010000 str:"vi5_hwinit: firmware CL2018101701 protocol versi"
     kworker/0:3-1701  [000] ....   282.277716: rtcpu_string: tstamp:9178081010 id:0x04010000 str:"on 2.2
"
     kworker/0:3-1701  [000] ....   282.277723: rtos_queue_send_from_isr_failed: tstamp:9178104224 queue:0x0bcb41f8
     kworker/0:3-1701  [000] ....   282.277724: rtos_queue_send_from_isr_failed: tstamp:9178104456 queue:0x0bcb8a60
     kworker/0:3-1701  [000] ....   282.277724: rtos_queue_send_from_isr_failed: tstamp:9178104661 queue:0x0bcba5e0
     kworker/0:3-1701  [000] ....   282.277725: rtos_queue_send_from_isr_failed: tstamp:9178104857 queue:0x0bcbb3a0
     kworker/0:3-1701  [000] ....   282.277726: rtos_queue_send_from_isr_failed: tstamp:9178105053 queue:0x0bcbc160
     kworker/0:3-1701  [000] ....   282.277726: rtcpu_string: tstamp:9178106137 id:0x04010000 str:"VI GOS[#0] set to VM GOS[4] base 0xc2104000
"
     kworker/0:3-1701  [000] ....   282.277733: rtcpu_vinotify_event: tstamp:9178393561 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:10231590016 data:0x10000000
     kworker/0:3-1701  [000] ....   282.277733: rtcpu_vinotify_event: tstamp:9178393696 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:10231593856 data:0x31000001
     kworker/0:3-1701  [000] ....   282.277734: rtcpu_vinotify_event: tstamp:9178393843 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:10231594848 data:0x07020001
     kworker/0:3-1701  [000] ....   282.277735: rtcpu_vinotify_event: tstamp:9178393966 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:10231646368 data:0x10000000
     kworker/0:3-1701  [000] ....   282.277735: rtcpu_vinotify_event: tstamp:9178394109 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:10231650240 data:0x31000002
     kworker/0:3-1701  [000] ....   282.277752: rtos_queue_send_from_isr_failed: tstamp:9178488692 queue:0x0bcb41f8
     kworker/0:3-1701  [000] ....   282.277752: rtos_queue_send_from_isr_failed: tstamp:9178488831 queue:0x0bcb8a60
     kworker/0:3-1701  [000] ....   282.277753: rtos_queue_send_from_isr_failed: tstamp:9178488971 queue:0x0bcba5e0
     kworker/0:3-1701  [000] ....   282.277754: rtos_queue_send_from_isr_failed: tstamp:9178489106 queue:0x0bcbb3a0
     kworker/0:3-1701  [000] ....   282.277754: rtos_queue_send_from_isr_failed: tstamp:9178489242 queue:0x0bcbc160
     kworker/0:3-1701  [000] ....   282.277759: rtcpu_vinotify_error: tstamp:9178496295 tag:CSIMUX_STREAM channel:0x00 frame:0 vi_tstamp:9178495623 data:0x00000001
     kworker/0:3-1701  [000] ....   282.277760: rtos_queue_peek_from_isr_failed: tstamp:9178583276 queue:0x0bcbcf78
     kworker/0:3-1701  [000] ....   282.333703: rtcpu_vinotify_event: tstamp:9178706571 tag:CSIMUX_STREAM channel:0x00 frame:0 vi_tstamp:9178495623 data:0x00000001
     kworker/0:3-1701  [000] ....   282.333707: rtcpu_vinotify_error: tstamp:9179401100 tag:CSIMUX_STREAM channel:0x00 frame:1 vi_tstamp:9179400429 data:0x00000001
     kworker/0:3-1701  [000] ....   282.333709: rtcpu_vinotify_event: tstamp:9179645569 tag:CSIMUX_STREAM channel:0x00 frame:1 vi_tstamp:9179400429 data:0x00000001
     kworker/0:3-1701  [000] ....   282.333710: rtcpu_vinotify_event: tstamp:9179645694 tag:FS channel:0x01 frame:0 vi_tstamp:9179403143 data:0x00000010
     kworker/0:3-1701  [000] ....   282.389690: rtcpu_vinotify_event: tstamp:9180584590 tag:FE channel:0x01 frame:0 vi_tstamp:9180442051 data:0x00000020
     kworker/0:3-1701  [000] ....   282.389693: rtcpu_vinotify_event: tstamp:9180584715 tag:FS channel:0x01 frame:0 vi_tstamp:9180444769 data:0x00000010
     kworker/0:3-1701  [000] ....   282.389695: rtcpu_vinotify_event: tstamp:9181523530 tag:FE channel:0x01 frame:0 vi_tstamp:9181483672 data:0x00000020
     kworker/0:3-1701  [000] ....   282.389696: rtcpu_vinotify_event: tstamp:9181523656 tag:FS channel:0x01 frame:0 vi_tstamp:9181486385 data:0x00000010
     kworker/0:3-1701  [000] ....   282.445674: rtcpu_vinotify_event: tstamp:9182775597 tag:FE channel:0x01 frame:0 vi_tstamp:9182525294 data:0x00000020
     kworker/0:3-1701  [000] ....   282.445678: rtcpu_vinotify_event: tstamp:9182775720 tag:FS channel:0x01 frame:0 vi_tstamp:9182528012 data:0x00000010
     kworker/0:3-1701  [000] ....   282.445679: rtcpu_vinotify_event: tstamp:9183570147 tag:FE channel:0x01 frame:0 vi_tstamp:9183566910 data:0x00000020
     kworker/0:3-1701  [000] ....   282.445681: rtcpu_vinotify_event: tstamp:9183570272 tag:FS channel:0x01 frame:0 vi_tstamp:9183569628 data:0x00000010
     kworker/0:3-1701  [000] ....   282.445684: rtos_queue_peek_from_isr_failed: tstamp:9183583272 queue:0x0bcbcf78
     kworker/0:3-1701  [000] ....   282.501690: rtcpu_vinotify_event: tstamp:9184622328 tag:FE channel:0x01 frame:0 vi_tstamp:9184608538 data:0x00000020
     kworker/0:3-1701  [000] ....   282.501694: rtcpu_vinotify_event: tstamp:9184622454 tag:FS channel:0x01 frame:0 vi_tstamp:9184611248 data:0x00000010
     kworker/0:3-1701  [000] ....   282.557668: rtcpu_vinotify_event: tstamp:9185874302 tag:FE channel:0x01 frame:0 vi_tstamp:9185650153 data:0x00000020
     kworker/0:3-1701  [000] ....   282.557672: rtcpu_vinotify_event: tstamp:9185874426 tag:FS channel:0x01 frame:0 vi_tstamp:9185652871 data:0x00000010
     kworker/0:3-1701  [000] ....   282.557673: rtcpu_vinotify_event: tstamp:9186813335 tag:FE channel:0x01 frame:0 vi_tstamp:9186691781 data:0x00000020
     kworker/0:3-1701  [000] ....   282.557675: rtcpu_vinotify_event: tstamp:9186813460 tag:FS channel:0x01 frame:0 vi_tstamp:9186694492 data:0x00000010
     kworker/0:3-1701  [000] ....   282.613666: rtcpu_vinotify_event: tstamp:9187752367 tag:FE channel:0x01 frame:0 vi_tstamp:9187733397 data:0x00000020
     kworker/0:3-1701  [000] ....   282.613669: rtcpu_vinotify_event: tstamp:9187752492 tag:FS channel:0x01 frame:0 vi_tstamp:9187736115 data:0x00000010
     kworker/0:3-1701  [000] ....   282.613672: rtos_queue_peek_from_isr_failed: tstamp:9188583276 queue:0x0bcbcf78
     kworker/0:3-1701  [000

Any advice and help is welcome,thanks!

BR

Looks like NVCSI/VI did get he FS/FE but don’t know why without ATOM_FE/ATOM_FS,
It could be the sensor package without virtual channel id.

Hi ShaneCCC,

Thank you very much for your reply!

I guess this is caused by the incorrect configuration of the register sequence for max9296, but we don’t have any available sequence at present. Do you have any available register sequence for max9296 to support two MAX9295 + two IMX390?

Thanks,
BR.

Sorry, I don’t have any experience on this chip, I would suggest consult with vendor to get more help. Or reference to the original driver to check if can get some information.

Thanks!

I’ll continue to test this problem, see if I can find anything.

BR.

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