can some one check the dt for me ?thanks

Hello:
We have a customer designed board,tx2,jetPack3.3。
We expanded the format gray8,and we can get pictures successfully with v4l2 api.
But we failed to use nvcamerasrc.May be we made some mistakes at dt,but not sure,so,can some one who familiar with dt to check it for us? just check “devname”.

i2c@3180000 {
		status = "okay";
		clock-frequency = <100000>;

			tc358746_a@0e {
				compatible = "nvidia,tc358746a";
				reg = <0x0e>;
                };
			ar0134_a@10 {
				compatible = "nvidia,ar0134a";
				reg = <0x10>;
				devnode = "video0";
				physical_w = "10.0";
				physical_h = "10.0";
				sensor_model ="ar0134a";
				post_crop_frame_drop = "0";
				use_decibel_gain = "false";
				delayed_gain = "false";
				use_sensor_mode_id = "true";

				mode0 {/*mode AR0134_MODE_640X800_CROP_89FPS*/
					mclk_khz = "24000";
					num_lanes = "2";
					tegra_sinterface = "serial_a";
					discontinuous_clk = "no";
					dpcm_enable = "false";
					cil_settletime = "0";
					dynamic_pixel_bit_depth = "8";
					csi_pixel_bit_depth = "8";
                    pixel_t="yuv_y8";
					mode_type = "yuv";
					pixel_phase = "y";
					active_w = "1280";
					active_h = "720";
					readout_orientation = "0";
					line_length = "1280";
					inherent_gain = "1";
					mclk_multiplier = "2.01823";
					pix_clk_hz = "48437500";

					min_gain_val = "0"; /* dB */
					max_gain_val = "48"; /* dB */
					min_hdr_ratio = "1";
					max_hdr_ratio = "1";
					min_framerate = "1.5";
					max_framerate = "60";
					min_exp_time = "30";
					max_exp_time = "660000";
					embedded_metadata_height = "0";
				};

				ports {
					#address-cells = <1>;
					#size-cells = <0>;
					port@0 {
						reg = <0>;
						ar0134a_out0: endpoint {
							csi-port = <0>;
							bus-width = <2>;
							remote-endpoint = <&ar0134a_csi_in0>;
							};
						};
					};
				};
	};
tegra-camera-platform {
		compatible = "nvidia, tegra-camera-platform";
		
		num_csi_lanes = <8>;
		max_lane_speed = <1500000>;
		min_bits_per_pixel = <8>;
		vi_peak_byte_per_pixel = <1>;
		vi_bw_margin_pct = <25>;
		isp_peak_byte_per_pixel = <5>;
		isp_bw_margin_pct = <25>;

		modules {
			module0 {
				badge = "ar0134a_bottomleft_ar0134";
				position = "bottomleft";
				orientation = "0";
				drivernode0 {
					/* Declare PCL support driver (classically known as guid)  */
					pcl_id = "v4l2_sensor";
					/* Driver v4l2 device name */
					<b>devname = "ar0134a 30-0010";</b>
					/* Declare the device-tree hierarchy to driver instance */
					proc-device-tree = "/proc/device-tree/i2c@3180000/ar0134_a@10";
				};
                drivernode1 {
                                pcl_id = "v4l2_lens";
                                proc-device-tree = "/proc/device-tree/ar0134_lens@P5V27C/";
                            };
			};

The question is:
devname = “ar0134a 30-0010” is right? or “ar0134a 50-0010”?

command:

gst-launch-1.0 nvcamerasrc !\
    'video/x-raw(memory:NVMM), format=(string)NV12, width=(int)1280, height=(int)720,framerate=(fraction)52' !\
    nvoverlaysink -ev

the nvcamera-daemon crashed.(GST_DEBUG=3)

0:00:00.064993114  3467       0x62da10 WARN                     omx gstomx.c:2826:plugin_init: Failed to load configuration file: Valid key file could not be found in search dirs (searched in: /home/nvidia/.config:/etc/xdg as per GST_OMX_CONFIG_DIR environment variable, the xdg user config directory (or XDG_CONFIG_HOME) and the system config directory (or XDG_CONFIG_DIRS)
Setting pipeline to PAUSED ...
Socket read error. Camera Daemon stopped functioning.....
0:00:00.745094065  3467       0x62da10 ERROR            nvcamerasrc gstnvcamerasrc.cpp:2448:gst_nvcamera_open:<nvcamerasrc0> REQ_NVCAM_CREATE_SESSION to camera_daemon failed

gst_nvcamera_open() failed ret=0
0:00:00.745213233  3467       0x62da10 WARN                 basesrc gstbasesrc.c:3354:gst_base_src_start:<nvcamerasrc0> error: Failed to start
0:00:00.745416209  3467       0x62da10 WARN                 basesrc gstbasesrc.c:3725:gst_base_src_activate_push:<nvcamerasrc0> Failed to start in push mode
0:00:00.745696689  3467       0x62da10 WARN                GST_PADS gstpad.c:1106:gst_pad_set_active:<nvcamerasrc0:src> Failed to activate pad
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstNvCameraSrc:nvcamerasrc0: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.
Additional debug info:
gstbasesrc.c(3354): gst_base_src_start (): /GstPipeline:pipeline0/GstNvCameraSrc:nvcamerasrc0:
Failed to start
Setting pipeline to NULL ...
Freeing pipeline ...

dmesg:

[ 1922.624067] CPU: 4 PID: 3314 Comm: nvcamera-daemon Tainted: G           O    4.4.38-ml+ #2
[ 1922.632355] Hardware name: quill (DT)
[ 1922.636027] task: ffffffc1b6593e80 ti: ffffffc1b64d4000 task.ti: ffffffc1b64d4000
[ 1922.643567] PC is at 0x403038
[ 1922.646543] LR is at 0x403034
[ 1922.649519] pc : [<0000000000403038>] lr : [<0000000000403034>] pstate: 60000000
[ 1922.656966] sp : 0000007f898b6290
[ 1922.660304] x29: 0000007f898ba9d0 x28: 0000000000000000 
[ 1922.665642] x27: 0000000000000004 x26: 0000007f898ba300 
[ 1922.671022] x25: 0000000000404000 x24: 0000000000000334 
[ 1922.676366] x23: 0000007f898b8300 x22: 0000007f898b7300 
[ 1922.681702] x21: 0000007f898b8244 x20: 0000007f898b6310 
[ 1922.687037] x19: 0000007f898b8930 x18: 0000000000000014 
[ 1922.692421] x17: 0000007f8b0effb0 x16: 0000007f8ae42540 
[ 1922.697756] x15: 0000007f8baf7000 x14: 7265766972446172 
[ 1922.703093] x13: 656d61432f697061 x12: 2f637273206d6f72 
[ 1922.708476] x11: 6620676e69746167 x10: 61706f7270282020 
[ 1922.713813] x9 : 3a726574656d6172 x8 : 0000000000000040 
[ 1922.719162] x7 : 0000007f846b3620 x6 : 0000000000000001 
[ 1922.724538] x5 : 0000000000000000 x4 : 0000007f84000b10 
[ 1922.729873] x3 : 0000000000000000 x2 : 0000000000000001 
[ 1922.735208] x1 : 0000000000000000 x0 : 0000000000000000 

[ 1922.742080] Library at 0x403038: 0x400000 /usr/sbin/nvcamera-daemon
[ 1922.748349] Library at 0x403034: 0x400000 /usr/sbin/nvcamera-daemon
[ 1922.754652] vdso base = 0x7f8baf6000
[ 3086.872082] nvcamera-daemon[3470]: unhandled level 2 translation fault (11) at 0x00000000, esr 0x92000006
[ 3086.881714] pgd = ffffffc19b845000
[ 3086.885183] [00000000] *pgd=0000000220574003, *pud=0000000220574003, *pmd=0000000000000000

trace log:

# tracer: nop
#
# entries-in-buffer/entries-written: 4/4   #P:4
#
#                              _-----=> irqs-off
#                             / _----=> need-resched
#                            | / _---=> hardirq/softirq
#                            || / _--=> preempt-depth
#                            ||| /     delay
#           TASK-PID   CPU#  ||||    TIMESTAMP  FUNCTION
#              | |       |   ||||       |         |
     kworker/5:2-3190  [005] ...1  3080.032929: rtos_queue_peek_from_isr_failed: tstamp:96584703127 queue:0x0b4a3c58
     kworker/5:2-3190  [005] ...1  3080.032942: rtcpu_start: tstamp:96584704734
     kworker/5:2-3190  [005] ...1  3080.032947: rtcpu_dbg_set_loglevel: tstamp:96584707639 old:0 new:2
     kworker/5:2-3190  [005] ...1  3080.032950: rtos_queue_peek_from_isr_failed: tstamp:96584709359 queue:0x0b4a3c58

Hi
argus not support YUV sensor.

pixel_t="yuv_y8";
					mode_type = "yuv";
					pixel_phase = "y";

Hello:
We change the format from yuv_y8 (gray8) to bayer_srggb8.And the same sensor,the same size.
But can’t use nvcamerasrc also.

i2c@3180000 {
		status = "okay";
		clock-frequency = <100000>;

			tc358746_a@0e {
				compatible = "nvidia,tc358746a";
				reg = <0x0e>;
                };
			ar0134_a@10 {
				compatible = "nvidia,ar0134a";
				reg = <0x10>;
				devnode = "video0";
				physical_w = "10.0";
				physical_h = "10.0";
				sensor_model ="ar0134a";
				post_crop_frame_drop = "0";
				use_decibel_gain = "false";
				delayed_gain = "false";
				use_sensor_mode_id = "true";

				mode0 {/*mode AR0134_MODE_640X800_CROP_89FPS*/
					mclk_khz = "24000";
					num_lanes = "2";
					tegra_sinterface = "serial_a";
					discontinuous_clk = "no";
					dpcm_enable = "false";
					cil_settletime = "0";
					dynamic_pixel_bit_depth = "8";
					csi_pixel_bit_depth = "8";
                                        pixel_t="bayer_srggb8";
					 mode_type = "bayer";
					pixel_phase = "rggb";
					active_w = "1280";
					active_h = "720";
					readout_orientation = "0";
					line_length = "1280";
					inherent_gain = "1";
					mclk_multiplier = "2.01823";
					pix_clk_hz = "48437500";

					min_gain_val = "0"; /* dB */
					max_gain_val = "48"; /* dB */
					min_hdr_ratio = "1";
					max_hdr_ratio = "1";
					min_framerate = "1.5";
					max_framerate = "60";
					min_exp_time = "30";
					max_exp_time = "660000";
					embedded_metadata_height = "0";
				};

				ports {
					#address-cells = <1>;
					#size-cells = <0>;
					port@0 {
						reg = <0>;
						ar0134a_out0: endpoint {
							csi-port = <0>;
							bus-width = <2>;
							remote-endpoint = <&ar0134a_csi_in0>;
							};
						};
					};
				};
	};
nvidia@tegra-ubuntu:~/work/multi/server/tool$ bash xxshow.sh 
Setting pipeline to PAUSED ...
Socket read error. Camera Daemon stopped functioning.....
gst_nvcamera_open() failed ret=0
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstNvCameraSrc:nvcamerasrc0: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.
Additional debug info:
gstbasesrc.c(3354): gst_base_src_start (): /GstPipeline:pipeline0/GstNvCameraSrc:nvcamerasrc0:
Failed to start
Setting pipeline to NULL ...
Freeing pipeline ...
nvidia@tegra-ubuntu:~/work/multi/server/tool$ sudo cat /sys/kernel/debug/tracing/trace
# tracer: nop
#
# entries-in-buffer/entries-written: 0/0   #P:4
#
#                              _-----=> irqs-off
#                             / _----=> need-resched
#                            | / _---=> hardirq/softirq
#                            || / _--=> preempt-depth
#                            ||| /     delay
#           TASK-PID   CPU#  ||||    TIMESTAMP  FUNCTION
#              | |       |   ||||       |         |
nvidia@tegra-ubuntu:~/work/multi/server/tool$
nvidia@tegra-ubuntu:~$ v4l2-ctl --list-formats
ioctl: VIDIOC_ENUM_FMT
	Index       : 0
	Type        : Video Capture
	Pixel Format: 'RGGB'
	Name        : 8-bit Bayer RGRG/GBGB

By the way,we disabled camera-plugin-manager, nvcamerasrc need camera-plugin-manager ?

may be need this:

/ {

	ar0134_lens@P5V27C {
                            min_focus_distance = "0.0";
                            hyper_focal = "0.0";
                            focal_length = "2.67";
                            f_number = "2.0";
                            aperture = "2.0";
	                    };

	tegra-camera-platform {
		compatible = "nvidia, tegra-camera-platform";
		num_csi_lanes = <8>;
		max_lane_speed = <1500000>;
		min_bits_per_pixel = <<b>8</b>>;
		vi_peak_byte_per_pixel = <<b>1</b>>;
		vi_bw_margin_pct = <25>;
		isp_peak_byte_per_pixel = <5>;
		isp_bw_margin_pct = <25>;

		modules {
			module0 {
				badge = "ar0134a_bottomleft_ar0134";
				position = "bottomleft";
				orientation = "0";
				drivernode0 {
					/* Declare PCL support driver (classically known as guid)  */
					pcl_id = "v4l2_sensor";
					/* Driver v4l2 device name */
					devname = "ar0134a 30-0010";
					/* Declare the device-tree hierarchy to driver instance */
					proc-device-tree = "/proc/device-tree/i2c@3180000/ar0134_a@10";
				};
                drivernode1 {
                                pcl_id = "v4l2_lens";
                                proc-device-tree = "/proc/device-tree/ar0134_lens@P5V27C/";
                            };
			};
			module1 {
				badge = "ar0134b_bottomright_ar0134";
				position = "bottomright";
				orientation = "1";
				drivernode0 {
					/* Declare PCL support driver (classically known as guid)  */
					pcl_id = "v4l2_sensor";
					/* Driver v4l2 device name */
					devname = "ar0134b 20-0010";
					/* Declare the device-tree hierarchy to driver instance */
					proc-device-tree = "/proc/device-tree/i2c@c437500/ar0134_b@10";
				};
                drivernode1 {
                                pcl_id = "v4l2_lens";
                                proc-device-tree = "/proc/device-tree/ar0134_lens@P5V27C/";
                            };
			};
			module2 {
				badge = "ar0134c_topleft_ar0134";
				position = "topleft";
				orientation = "2";
				drivernode0 {
					/* Declare PCL support driver (classically known as guid)  */
					pcl_id = "v4l2_sensor";
					/* Driver v4l2 device name */
					devname = "ar0134c 70-0010";
					/* Declare the device-tree hierarchy to driver instance */
					proc-device-tree = "/proc/device-tree/i2c@31c0000/ar0134_c@10";
				};
                drivernode1 {
                                pcl_id = "v4l2_lens";
                                proc-device-tree = "/proc/device-tree/ar0134_lens@P5V27C/";
                            };
			};
			module3 {
				badge = "ar0134d_topright_ar0134";
				position = "topright";
				orientation = "3";
				drivernode0 {
					/* Declare PCL support driver (classically known as guid)  */
					pcl_id = "v4l2_sensor";
					/* Driver v4l2 device name */
					devname = "ar0134d 90-0010";
					/* Declare the device-tree hierarchy to driver instance */
					proc-device-tree = "/proc/device-tree/i2c@31e0000/ar0134_d@10";
				};
                drivernode1 {
                                pcl_id = "v4l2_lens";
                                proc-device-tree = "/proc/device-tree/ar0134_lens@P5V27C/";
                            };
			};
		};
	};
};

Looks like nvcamerasrc not support raw8.
Have a reference to below topic.

https://devtalk.nvidia.com/default/topic/1050604/jetson-tx2/streaming-issues-with-gst-launch-1-0-with-a-custom-camera-device/post/5332503/#5332503

Hello:
We change the format from bayer_srggb8 to bayer_rggb12,the same sensor,the same size.
But can’t use nvcamerasrc also.

nvidia@tegra-ubuntu:~$ v4l2-ctl --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
	Index       : 0
	Type        : Video Capture
	Pixel Format: 'RG12'
	Name        : 12-bit Bayer RGRG/GBGB
		Size: Discrete 1280x720
			Interval: Discrete 0.019s (52.000 fps)
nvidia@tegra-ubuntu:~$ v4l2-ctl -d /dev/video0 --set-ctrl bypass_mode=0 --stream-mmap --stream-count=200
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 52.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 52.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 52.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
nvidia@tegra-ubuntu:~/work/multi/server/tool$ bash xxshow.sh 
Setting pipeline to PAUSED ...
Socket read error. Camera Daemon stopped functioning.....
gst_nvcamera_open() failed ret=0
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstNvCameraSrc:nvcamerasrc0: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.
Additional debug info:
gstbasesrc.c(3354): gst_base_src_start (): /GstPipeline:pipeline0/GstNvCameraSrc:nvcamerasrc0:
Failed to start
Setting pipeline to NULL ...
Freeing pipeline ...
nvidia@tegra-ubuntu:~/work/multi/server/tool$ sudo cat /sys/kernel/debug/tracing/trace
# tracer: nop
#
# entries-in-buffer/entries-written: 4/4   #P:4
#
#                              _-----=> irqs-off
#                             / _----=> need-resched
#                            | / _---=> hardirq/softirq
#                            || / _--=> preempt-depth
#                            ||| /     delay
#           TASK-PID   CPU#  ||||    TIMESTAMP  FUNCTION
#              | |       |   ||||       |         |
     kworker/4:0-30    [004] ...1   502.759249: rtos_queue_peek_from_isr_failed: tstamp:16045094445 queue:0x0b4a3c58
     kworker/4:0-30    [004] ...1   502.759261: rtcpu_start: tstamp:16045095551
     kworker/4:0-30    [004] ...1   502.759265: rtcpu_dbg_set_loglevel: tstamp:16045097953 old:0 new:2
     kworker/4:0-30    [004] ...1   502.759268: rtos_queue_peek_from_isr_failed: tstamp:16045102955 queue:0x0b4a3c58
/ {
	host1x {
		vi@15700000 {
			num-channels = <4>;
			ports {
				#address-cells = <1>;
				#size-cells = <0>;
				port@0 {
					reg = <0>;
					ar0134a_vi_in0: endpoint {
						csi-port = <0>;
						bus-width = <2>;
						remote-endpoint = <&ar0134a_csi_out0>;
					};
                };
				
			};
		};
    };

		nvcsi@150c0000 {
			num-channels = <4>;
			#address-cells = <1>;
			#size-cells = <0>;
			channel@0 {
				reg = <0>;
				ports {
					#address-cells = <1>;
					#size-cells = <0>;
					port@0 {
						reg = <0>;
						ar0134a_csi_in0: endpoint@0 {
							csi-port = <0>;
							bus-width = <2>;
							remote-endpoint = <&ar0134a_out0>;
						};
					};
					port@1 {
						reg = <1>;
						ar0134a_csi_out0: endpoint@1 {
							remote-endpoint = <&ar0134a_vi_in0>;
						};
					};
				};
			};
		};
	};

	i2c@3180000 {
		status = "okay";
		clock-frequency = <100000>;

			tc358746_a@0e {
				compatible = "nvidia,tc358746a";
				reg = <0x0e>;
                };
			ar0134_a@10 {
				compatible = "nvidia,ar0134a";
				reg = <0x10>;
				devnode = "video0";
				physical_w = "10.0";
				physical_h = "10.0";
				sensor_model ="ar0134a";
				post_crop_frame_drop = "0";
				use_decibel_gain = "false";
				delayed_gain = "false";
				use_sensor_mode_id = "true";

				mode0 {/*mode AR0134_MODE_640X800_CROP_89FPS*/
					mclk_khz = "24000";
					num_lanes = "2";
					tegra_sinterface = "serial_a";
					discontinuous_clk = "no";
					dpcm_enable = "false";
					cil_settletime = "0";
					dynamic_pixel_bit_depth = "12";
					csi_pixel_bit_depth = "12";
                                        pixel_t="bayer_rggb12";
 					mode_type = "bayer";
					pixel_phase = "rggb";
					active_w = "1280";
					active_h = "720";
					readout_orientation = "0";
					line_length = "1280";
					inherent_gain = "1";
					mclk_multiplier = "3.386";
					pix_clk_hz = "81250000";

					min_gain_val = "0"; /* dB */
					max_gain_val = "48"; /* dB */
					min_hdr_ratio = "1";
					max_hdr_ratio = "1";
					min_framerate = "1.5";
					max_framerate = "60";
					min_exp_time = "30";
					max_exp_time = "660000";
					embedded_metadata_height = "0";
				};

				ports {
					#address-cells = <1>;
					#size-cells = <0>;
					port@0 {
						reg = <0>;
						ar0134a_out0: endpoint {
							csi-port = <0>;
							bus-width = <2>;
							remote-endpoint = <&ar0134a_csi_in0>;
							};
						};
					};
				};
	};
};

/ {

	ar0134_lens@P5V27C {
                            min_focus_distance = "0.0";
                            hyper_focal = "0.0";
                            focal_length = "2.67";
                            f_number = "2.0";
                            aperture = "2.0";
	                    };

	tegra-camera-platform {
		compatible = "nvidia, tegra-camera-platform";
		
		num_csi_lanes = <8>;
		max_lane_speed = <1500000>;
		min_bits_per_pixel = <12>;
		vi_peak_byte_per_pixel = <2>;
		vi_bw_margin_pct = <25>;
		isp_peak_byte_per_pixel = <5>;
		isp_bw_margin_pct = <25>;

		modules {
			module0 {
				badge = "ar0134a_bottomleft_ar0134";
				position = "bottomleft";
				orientation = "0";
				drivernode0 {
					/* Declare PCL support driver (classically known as guid)  */
					pcl_id = "v4l2_sensor";
					/* Driver v4l2 device name */
					devname = "ar0134a 30-0010";
					/* Declare the device-tree hierarchy to driver instance */
					proc-device-tree = "/proc/device-tree/i2c@3180000/ar0134_a@10";
				};
                drivernode1 {
                                pcl_id = "v4l2_lens";
                                proc-device-tree = "/proc/device-tree/ar0134_lens@P5V27C/";
                            };
			};
	};
};

To enable logs from user-space for more details

sudo su
kill the process of argus_daemon/nvargus-daemon or nvcamera-daemon 
export enableCamPclLogs=5
export enableCamScfLogs=5
/usr/sbin/argus_daemon(nvargus-daemon)      option for argus
/usr/sbin/nvcamera-daemon   option for gst-launch
 
launch camera from another console
root@tegra-ubuntu:/home/nvidia/work/multi/server/tool# /usr/sbin/argus_daemon 
=== Listening for connections... ===
^C
root@tegra-ubuntu:/home/nvidia/work/multi/server/tool# /usr/sbin/nvcamera-daemon 
Thread 1 getting next capture
Thread 1 is waiting
Thread 2 getting next capture
Thread 2 is waiting
Thread 3 getting next capture
Thread 3 is waiting
Thread 4 getting next capture
Thread 4 is waiting
Thread 5 getting next capture
Thread 5 is waiting
Thread 6 getting next capture
Thread 6 is waiting
Thread 7 getting next capture
Thread 7 is waiting
Thread 8 getting next capture
Thread 8 is waiting
Thread 9 getting next capture
Thread 9 is waiting
Thread 10 getting next capture
Thread 10 is waiting
Thread 11 getting next capture
Thread 11 is waiting
Thread 12 getting next capture
Thread 12 is waiting
Starting services...
Worker thread IspHw statsComplete start
Worker thread IspHw frameComplete start
Worker thread CaptureScheduler checkFramePending start
Worker thread CaptureScheduler frameStart start
Worker thread V4L2CaptureScheduler checkCaptureComplete start
Worker thread V4L2CaptureScheduler issueCaptures start
Worker thread PS handleRequests start
getInstance: s_instance(0x7f80b2b740)
getInstance: s_instance(0x7f80b2b740)
subscribe: create SensorType(gyroscope) sensor(0x7f80b2d8c0)
subscribe: create SensorType(accelerometer) sensor(0x7f80b32d20)
AC plugin not present: dlopen "acplugin.so", acplugin.so: cannot open shared object file: No such file or directory
Services are started
NvPclSetHotplugCallback: ++++++++++++++++++++++
---- Imager: Calibration blob file handling supported in this build ----
NvPclHwGetModuleList: OFParserListModules Succeeded
CheckProcDTExists: INFO: accessing /proc/device-tree/i2c@c437500/ar0134_b@10; No such file or directory
OFDriverNodeToDict: NVIDIA Camera modules claimed undefined node in proc device-tree: /proc/device-tree/i2c@c437500/ar0134_b@10
OFParserEnumerateDriverNode: v4l2_sensor: failed to parse device-tree to driver node
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
NvPclHwPrintModuleDefinition -- Name: ar0134d_topright_ar0134
NvPclHwPrintModuleDefinition -- Position: 5
NvPclHwPrintModuleDefinition -- CalibrationData Found: 1
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].Name: v4l2_sensor
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].DevName: ar0134d 90-0010
NvPclHwPrintCameraSubModule -- HwCamSubModule[1].Name: v4l2_lens
NvPclHwPrintCameraSubModule -- HwCamSubModule[1].DevName: 
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
NvPclHwPrintModuleDefinition -- Name: ar0134c_topleft_ar0134
NvPclHwPrintModuleDefinition -- Position: 3
NvPclHwPrintModuleDefinition -- CalibrationData Found: 1
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].Name: v4l2_sensor
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].DevName: ar0134c 70-0010
NvPclHwPrintCameraSubModule -- HwCamSubModule[1].Name: v4l2_lens
NvPclHwPrintCameraSubModule -- HwCamSubModule[1].DevName: 
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
NvPclHwPrintModuleDefinition -- Name: ar0134b_bottomright_ar0134
NvPclHwPrintModuleDefinition -- Position: 4
NvPclHwPrintModuleDefinition -- CalibrationData Found: 1
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].Name: v4l2_sensor
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].DevName: ar0134b 20-0010
NvPclHwPrintCameraSubModule -- HwCamSubModule[1].Name: v4l2_lens
NvPclHwPrintCameraSubModule -- HwCamSubModule[1].DevName: 
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
NvPclHwPrintModuleDefinition -- Name: ar0134a_bottomleft_ar0134
NvPclHwPrintModuleDefinition -- Position: 0
NvPclHwPrintModuleDefinition -- CalibrationData Found: 1
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].Name: v4l2_sensor
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].DevName: ar0134a 30-0010
NvPclHwPrintCameraSubModule -- HwCamSubModule[1].Name: v4l2_lens
NvPclHwPrintCameraSubModule -- HwCamSubModule[1].DevName: 
NvPclHwGetModuleList: OFParserListModules Succeeded
NvPclModuleListInitialize: NvPclModule list[0]: ar0134d_topright_ar0134 position5
NvPclModuleListInitialize: NvPclModule list[1]: ar0134c_topleft_ar0134 position3
NvPclModuleListInitialize: NvPclModule list[2]: ar0134b_bottomright_ar0134 position4
NvPclModuleListInitialize: NvPclModule list[3]: ar0134a_bottomleft_ar0134 position0
NvPclHwScanExternalCameras -- adding video0 to discover list
NvPclHwScanExternalCameras -- adding video0 to discover list
initialize: /dev/video0
queryControls: 10100739 control Group Hold
queryControls: 10100740 control HDR enable
queryControls: 10100743 control Fuse ID
queryControls: 10100744 control Sensor Mode
queryControls: 10100745 control Gain
queryControls: 10100746 control Exposure
queryControls: 10100747 control Frame Rate
queryControls: 10100836 control Bypass Mode
queryControls: 10100837 control Override Enable
queryControls: 10100838 control Height Align
queryControls: 10100839 control Size Align
queryControls: 10100840 control Write ISP format
queryControls: 10100841 control Sensor Signal Properties
queryControls: 10100842 control Sensor Image Properties
queryControls: 10100843 control Sensor Control Properties
queryControls: 10100844 control Sensor DV Timings
queryControls: 10100866 control Sensor Modes
Ioctl failed: Invalid argument
NvPclHwScanExternalCameras -- adding video0 to discover list
initialize: /dev/video0
queryControls: 10100739 control Group Hold
queryControls: 10100740 control HDR enable
queryControls: 10100743 control Fuse ID
queryControls: 10100744 control Sensor Mode
queryControls: 10100745 control Gain
queryControls: 10100746 control Exposure
queryControls: 10100747 control Frame Rate
queryControls: 10100836 control Bypass Mode
queryControls: 10100837 control Override Enable
queryControls: 10100838 control Height Align
queryControls: 10100839 control Size Align
queryControls: 10100840 control Write ISP format
queryControls: 10100841 control Sensor Signal Properties
queryControls: 10100842 control Sensor Image Properties
queryControls: 10100843 control Sensor Control Properties
queryControls: 10100844 control Sensor DV Timings
queryControls: 10100866 control Sensor Modes
Ioctl failed: Invalid argument
getHotplugMonitor: Getting hotplug monitor instance
 initializeHotplug++
 hotPlugfunc ++ 
 addWatch: Watch added wd='1'
CheckProcDTExists: INFO: accessing /proc/device-tree/tegra-virtual-camera-platform/modules/module0/drivernode1; No such file or directory
OFParserGetVirtualDevice: virtual device driver node not found in proc device-tree
CheckProcDTExists: INFO: accessing /proc/device-tree/tegra-virtual-camera-platform/modules/module1/drivernode0; No such file or directory
OFParserGetVirtualDevice: virtual device driver node not found in proc device-tree
setHotplugCallback: Registered new callback client
NvPclSetHotplugCallback: ----------------------
 hotPlugfunc: reading from inotify FD, Thread waiting 
NvPclOpen: ++++++++++++++++++++++
NvPclStateControllerOpen: Found GUID 5 match at index[0]
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f80b70250
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f80b5cc60
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f80b5ccf0
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f80b5cd80
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f80b5ce10
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f80b5cea0
LoadOverridesFile: looking for override file [/Calib/camera_override.isp] 1/16CheckOverridesPermissions: cannot stat file [/Calib/camera_override.isp]
LoadOverridesFile: looking for override file [/data/nvcam/settings/camera_overrides.isp] 2/16CheckOverridesPermissions: cannot stat file [/data/nvcam/settings/camera_overrides.isp]
LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/camera_overrides.isp] 3/16CheckOverridesPermissions: cannot stat file [/opt/nvidia/nvcam/settings/camera_overrides.isp]
LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/camera_overrides.isp] 4/16CheckOverridesPermissions: cannot stat file [/var/nvidia/nvcam/settings/camera_overrides.isp]
LoadOverridesFile: looking for override file [/data/nvcam/camera_overrides.isp] 5/16CheckOverridesPermissions: cannot stat file [/data/nvcam/camera_overrides.isp]
LoadOverridesFile: looking for override file [/data/nvcam/settings/ar0134d_topright_ar0134.isp] 6/16CheckOverridesPermissions: cannot stat file [/data/nvcam/settings/ar0134d_topright_ar0134.isp]
LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/ar0134d_topright_ar0134.isp] 7/16CheckOverridesPermissions: cannot stat file [/opt/nvidia/nvcam/settings/ar0134d_topright_ar0134.isp]
LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/ar0134d_topright_ar0134.isp] 8/16CheckOverridesPermissions: cannot stat file [/var/nvidia/nvcam/settings/ar0134d_topright_ar0134.isp]
---- imager: No override file found. ----
Imager: looking for override file [/mnt/factory/camera/factory.bin] 1/16
Imager: looking for override file [/Calib/factory.bin] 2/16
Imager: looking for override file [/Calib/calibration.bin] 3/16
Imager: looking for override file [(null)] 4/16
Imager: looking for override file [(null)] 5/16
Imager: looking for override file [(null)] 6/16
Imager: looking for override file [(null)] 7/16
Imager: looking for override file [(null)] 8/16
Imager: looking for override file [(null)] 9/16
Imager: looking for override file [(null)] 10/16
Imager: looking for override file [(null)] 11/16
Imager: looking for override file [(null)] 12/16
Imager: looking for override file [(null)] 13/16
Imager: looking for override file [(null)] 14/16
Imager: looking for override file [(null)] 15/16
Imager: looking for override file [(null)] 16/16
Imager: looking for override file [/data/nvcam/settings/factory.bin] 1/16
Imager: looking for override file [/data/nvcam/settings/ar0134d_topright_ar0134.bin] 2/16
Imager: looking for override file [/opt/nvidia/nvcam/settings/ar0134d_topright_ar0134.bin] 3/16
Imager: looking for override file [/var/nvidia/nvcam/settings/ar0134d_topright_ar0134.bin] 4/16
Imager: looking for override file [(null)] 5/16
Imager: looking for override file [(null)] 6/16
Imager: looking for override file [(null)] 7/16
Imager: looking for override file [(null)] 8/16
Imager: looking for override file [(null)] 9/16
Imager: looking for override file [(null)] 10/16
Imager: looking for override file [(null)] 11/16
Imager: looking for override file [(null)] 12/16
Imager: looking for override file [(null)] 13/16
Imager: looking for override file [(null)] 14/16
Imager: looking for override file [(null)] 15/16
Imager: looking for override file [(null)] 16/16
NvPclCreateDriver: Found NvPcl Driver Hal dev_name match (v4l2_sensor)
NvPclCreateDriver: Found a Driver name match (v4l2_sensor)
NvPclCreateDriver: Found NvPcl Driver Hal dev_name match (v4l2_lens)
NvPclCreateDriver: Found a Driver name match (v4l2_lens)
NvPclConnectDrivers: hImager was NULL, creating new imager
NvPclInitializeDrivers: v4l2_sensor ++++++++++++++++++
OFDPropertyGetString: could not read property [devnode-bus]
initialize: ar0134d 90-0010
(NvOdmDevice) Error ModuleNotPresent: V4L2Device not available (in dvs/git/dirty/git-master_linux/camera-partner/imager/src/V4L2Device.cpp, function findDevice(), line 245)
(NvOdmDevice) Error ModuleNotPresent:  (propagating from dvs/git/dirty/git-master_linux/camera-partner/imager/src/V4L2Device.cpp, function initialize(), line 55)
(NvOdmDevice) Error ModuleNotPresent:  (propagating from dvs/git/dirty/git-master_linux/camera-partner/imager/src/devices/V4L2SensorViCsi.cpp, function initialize(), line 103)
NvPclDriverInitializeData: Unable to initialize driver v4l2_sensor
NvPclInitializeDrivers: error: Failed to init camera sub module v4l2_sensor
NvPclStartPlatformDrivers: Failed to start module drivers
NvPclDriver_V4L2_Focuser_Stub_Close: Invalid NULL input pPclDriver
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f80b5cd80
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f80b5ce10
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f80b5cea0
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f80b70250
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f80b5cc60
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f80b5ccf0
NvPclStateControllerOpen: Failed ImagerGUID 5. (error 0xA000E)
NvPclStateControllerClose: Module ar0134d_topright_ar0134 closed
NvPclOpen: PCL Open Failed. Error: 0xf
NvPclClose: ++++++++++++++++++++++
NvPclClose: ----------------------
NvPclOpen: ----------------------
SCF: Error BadParameter: Sensor could not be opened. (in src/services/capture/CaptureServiceDeviceSensor.cpp, function getSourceFromGuid(), line 598)
SCF: Error BadParameter:  (propagating from src/services/capture/CaptureService.cpp, function addSourceByGuid(), line 781)
SCF: Error BadParameter:  (propagating from src/api/CameraDriver.cpp, function addSourceByIndex(), line 276)
SCF: Error BadParameter:  (propagating from src/api/CameraDriver.cpp, function getSource(), line 439)
Segmentation fault (core dumped)
root@tegra-ubuntu:/home/nvidia/work/multi/server/tool#

Enable the dev_dbg() in sensor driver to print out the bus number is 30?

devname = “ar0134a 30-0010”;

you mean this ?

[    5.153468] i2c /dev entries driver
[    5.154134] ar0134a 2-0010: [AR0134]: probing v4l2 sensor at addr 0x10.
[    5.219890] 
               ar0134a id=0x2406
[    5.219891] ar0134a 2-0010: Detected ar0134a sensor

I will try it.

The the devname should be “ar0134a 2-0010” instead of “ar0134a 30-0010”

Also failed.

We delete three cameras,just left ar0134a,for simply and clearly

Sorry I have to leave,but I will try it this night&tomorrow.

/ {
	host1x {
		vi@15700000 {
			num-channels = <1>;
			ports {
				#address-cells = <1>;
				#size-cells = <0>;
				port@0 {
					reg = <0>;
					ar0134a_vi_in0: endpoint {
						csi-port = <0>;
						bus-width = <2>;
						remote-endpoint = <&ar0134a_csi_out0>;
					};
                };
		};
    };

		nvcsi@150c0000 {
			num-channels = <1>;
			#address-cells = <1>;
			#size-cells = <0>;
			channel@0 {
				reg = <0>;
				ports {
					#address-cells = <1>;
					#size-cells = <0>;
					port@0 {
						reg = <0>;
						ar0134a_csi_in0: endpoint@0 {
							csi-port = <0>;
							bus-width = <2>;
							remote-endpoint = <&ar0134a_out0>;
						};
					};
					port@1 {
						reg = <1>;
						ar0134a_csi_out0: endpoint@1 {
							remote-endpoint = <&ar0134a_vi_in0>;
						};
					};
				};
			};
		};
	};


	i2c@3180000 {
		status = "okay";
		clock-frequency = <100000>;

			tc358746_a@0e {
				compatible = "nvidia,tc358746a";
				reg = <0x0e>;
                };
			ar0134_a@10 {
				compatible = "nvidia,ar0134a";
				reg = <0x10>;
				devnode = "video0";
				physical_w = "10.0";
				physical_h = "10.0";
				sensor_model ="ar0134a";
				post_crop_frame_drop = "0";
				use_decibel_gain = "false";
				delayed_gain = "false";
				use_sensor_mode_id = "true";

				mode0 {/*mode AR0134_MODE_640X800_CROP_89FPS*/
					mclk_khz = "24000";
					num_lanes = "2";
					tegra_sinterface = "serial_a";
					discontinuous_clk = "no";
					dpcm_enable = "false";
					cil_settletime = "0";
					dynamic_pixel_bit_depth = "12";
					csi_pixel_bit_depth = "12";
                    pixel_t="bayer_rggb12";
					mode_type = "bayer";
					pixel_phase = "rggb";
					active_w = "1280";
					active_h = "720";
					readout_orientation = "0";
					line_length = "1280";
					inherent_gain = "1";
					mclk_multiplier = "3.386";
					pix_clk_hz = "81250000";

					min_gain_val = "0"; /* dB */
					max_gain_val = "48"; /* dB */
					min_hdr_ratio = "1";
					max_hdr_ratio = "1";
					min_framerate = "1.5";
					max_framerate = "60";
					min_exp_time = "30";
					max_exp_time = "660000";
					embedded_metadata_height = "0";
				};

				ports {
					#address-cells = <1>;
					#size-cells = <0>;
					port@0 {
						reg = <0>;
						ar0134a_out0: endpoint {
							csi-port = <0>;
							bus-width = <2>;
							remote-endpoint = <&ar0134a_csi_in0>;
							};
						};
					};
				};
	};

};

/ {

	ar0134_lens@P5V27C {
                            min_focus_distance = "0.0";
                            hyper_focal = "0.0";
                            focal_length = "2.67";
                            f_number = "2.0";
                            aperture = "2.0";
	                    };

	tegra-camera-platform {
		compatible = "nvidia, tegra-camera-platform";
		
		num_csi_lanes = <2>;
		max_lane_speed = <1500000>;
		min_bits_per_pixel = <12>;
		vi_peak_byte_per_pixel = <2>;
		vi_bw_margin_pct = <25>;
		isp_peak_byte_per_pixel = <5>;
		isp_bw_margin_pct = <25>;

		modules {
			module0 {
				badge = "ar0134a_bottomleft_ar0134";
				position = "bottomleft";
				orientation = "0";
				drivernode0 {
					/* Declare PCL support driver (classically known as guid)  */
					pcl_id = "v4l2_sensor";
					/* Driver v4l2 device name */
					devname = "ar0134a 2-0010";
					/* Declare the device-tree hierarchy to driver instance */
					proc-device-tree = "/proc/device-tree/i2c@3180000/ar0134_a@10";
				};
                drivernode1 {
                                pcl_id = "v4l2_lens";
                                proc-device-tree = "/proc/device-tree/ar0134_lens@P5V27C/";
                            };
			};
		};
	};
};
root@tegra-ubuntu:/home/nvidia/work/multi/server/tool# ps -e | grep nvcamera
 2828 ?        00:00:00 nvcamera-daemon
root@tegra-ubuntu:/home/nvidia/work/multi/server/tool# kill 2828
root@tegra-ubuntu:/home/nvidia/work/multi/server/tool# ps -e | grep nvcamera
root@tegra-ubuntu:/home/nvidia/work/multi/server/tool# export enableCamPclLogs=5
root@tegra-ubuntu:/home/nvidia/work/multi/server/tool# export enableCamScfLogs=5
root@tegra-ubuntu:/home/nvidia/work/multi/server/tool# /usr/sbin/nvcamera-daemon 
Thread 1 getting next capture
Thread 1 is waiting
Thread 2 getting next capture
Thread 2 is waiting
Thread 3 getting next capture
Thread 3 is waiting
Thread 4 getting next capture
Thread 4 is waiting
Thread 5 getting next capture
Thread 5 is waiting
Thread 6 getting next capture
Thread 6 is waiting
Thread 7 getting next capture
Thread 7 is waiting
Thread 8 getting next capture
Thread 8 is waiting
Thread 9 getting next capture
Thread 9 is waiting
Thread 10 getting next capture
Thread 10 is waiting
Thread 11 getting next capture
Thread 11 is waiting
Thread 12 getting next capture
Thread 12 is waiting
Starting services...
Worker thread IspHw statsComplete start
Worker thread IspHw frameComplete start
Worker thread CaptureScheduler checkFramePending start
Worker thread CaptureScheduler frameStart start
Worker thread V4L2CaptureScheduler checkCaptureComplete start
Worker thread V4L2CaptureScheduler issueCaptures start
Worker thread PS handleRequests start
getInstance: s_instance(0x7fa8b2b740)
getInstance: s_instance(0x7fa8b2b740)
subscribe: create SensorType(gyroscope) sensor(0x7fa8b2d8c0)
subscribe: create SensorType(accelerometer) sensor(0x7fa8b32d20)
AC plugin not present: dlopen "acplugin.so", acplugin.so: cannot open shared object file: No such file or directory
Services are started
NvPclSetHotplugCallback: ++++++++++++++++++++++
---- Imager: Calibration blob file handling supported in this build ----
NvPclHwGetModuleList: OFParserListModules Succeeded
NvPclHwMatchPartNum: Found calibration Part#:4BA815P2, imx219:"A815P2"
NvPclHwGetModuleList: No module data found
NvPclHwPrintModuleDefinition -- Name: e3322_topleft_A815P2
NvPclHwPrintModuleDefinition -- Position: 3
NvPclHwPrintModuleDefinition -- CalibrationData Found: 1
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].Name: v4l2_sensor
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].DevName: imx219 33-0010
NvPclHwPrintCameraSubModule -- HwCamSubModule[1].Name: v4l2_lens
NvPclHwPrintCameraSubModule -- HwCamSubModule[1].DevName: 
NvPclHwMatchPartNum: Found calibration Part#:4BA815P2, imx219:"A815P2"
NvPclHwGetModuleList: No module data found
NvPclHwPrintModuleDefinition -- Name: e3322_centerright_A815P2
NvPclHwPrintModuleDefinition -- Position: 2
NvPclHwPrintModuleDefinition -- CalibrationData Found: 1
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].Name: v4l2_sensor
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].DevName: imx219 32-0010
NvPclHwPrintCameraSubModule -- HwCamSubModule[1].Name: v4l2_lens
NvPclHwPrintCameraSubModule -- HwCamSubModule[1].DevName: 
NvPclHwMatchPartNum: Found calibration Part#:4BA815P2, imx219:"A815P2"
NvPclHwGetModuleList: No module data found
NvPclHwPrintModuleDefinition -- Name: e3322_centerleft_A815P2
NvPclHwPrintModuleDefinition -- Position: 1
NvPclHwPrintModuleDefinition -- CalibrationData Found: 1
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].Name: v4l2_sensor
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].DevName: imx219 31-0010
NvPclHwPrintCameraSubModule -- HwCamSubModule[1].Name: v4l2_lens
NvPclHwPrintCameraSubModule -- HwCamSubModule[1].DevName: 
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
NvPclHwPrintModuleDefinition -- Name: ar0134a_bottomleft_ar0134
NvPclHwPrintModuleDefinition -- Position: 0
NvPclHwPrintModuleDefinition -- CalibrationData Found: 1
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].Name: v4l2_sensor
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].DevName: ar0134a 2-0010
NvPclHwPrintCameraSubModule -- HwCamSubModule[1].Name: v4l2_lens
NvPclHwPrintCameraSubModule -- HwCamSubModule[1].DevName: 
NvPclHwGetModuleList: OFParserListModules Succeeded
NvPclModuleListInitialize: NvPclModule list[0]: e3322_topleft_A815P2 position3
NvPclModuleListInitialize: NvPclModule list[1]: e3322_centerright_A815P2 position2
NvPclModuleListInitialize: NvPclModule list[2]: e3322_centerleft_A815P2 position1
NvPclModuleListInitialize: NvPclModule list[3]: ar0134a_bottomleft_ar0134 position0
NvPclHwScanExternalCameras -- adding video0 to discover list
NvPclHwScanExternalCameras -- adding video0 to discover list
initialize: /dev/video0
queryControls: 10100739 control Group Hold
queryControls: 10100740 control HDR enable
queryControls: 10100743 control Fuse ID
queryControls: 10100744 control Sensor Mode
queryControls: 10100745 control Gain
queryControls: 10100746 control Exposure
queryControls: 10100747 control Frame Rate
queryControls: 10100836 control Bypass Mode
queryControls: 10100837 control Override Enable
queryControls: 10100838 control Height Align
queryControls: 10100839 control Size Align
queryControls: 10100840 control Write ISP format
queryControls: 10100841 control Sensor Signal Properties
queryControls: 10100842 control Sensor Image Properties
queryControls: 10100843 control Sensor Control Properties
queryControls: 10100844 control Sensor DV Timings
queryControls: 10100866 control Sensor Modes
Ioctl failed: Invalid argument
NvPclHwScanExternalCameras -- adding video0 to discover list
initialize: /dev/video0
queryControls: 10100739 control Group Hold
queryControls: 10100740 control HDR enable
queryControls: 10100743 control Fuse ID
queryControls: 10100744 control Sensor Mode
queryControls: 10100745 control Gain
queryControls: 10100746 control Exposure
queryControls: 10100747 control Frame Rate
queryControls: 10100836 control Bypass Mode
queryControls: 10100837 control Override Enable
queryControls: 10100838 control Height Align
queryControls: 10100839 control Size Align
queryControls: 10100840 control Write ISP format
queryControls: 10100841 control Sensor Signal Properties
queryControls: 10100842 control Sensor Image Properties
queryControls: 10100843 control Sensor Control Properties
queryControls: 10100844 control Sensor DV Timings
queryControls: 10100866 control Sensor Modes
Ioctl failed: Invalid argument
getHotplugMonitor: Getting hotplug monitor instance
 initializeHotplug++
 hotPlugfunc ++ 
 addWatch: Watch added wd='1'
CheckProcDTExists: INFO: accessing /proc/device-tree/tegra-virtual-camera-platform/modules/module0/drivernode1; No such file or directory
OFParserGetVirtualDevice: virtual device driver node not found in proc device-tree
CheckProcDTExists: INFO: accessing /proc/device-tree/tegra-virtual-camera-platform/modules/module1/drivernode0; No such file or directory
OFParserGetVirtualDevice: virtual device driver node not found in proc device-tree
setHotplugCallback: Registered new callback client
NvPclSetHotplugCallback: ----------------------
 hotPlugfunc: reading from inotify FD, Thread waiting 
NvPclOpen: ++++++++++++++++++++++
NvPclStateControllerOpen: Found GUID 3 match at index[0]
NvPclHwInitializeModule: allocate overrides pathname @ 0x7fa8b6f6b0
NvPclHwInitializeModule: allocate overrides pathname @ 0x7fa8b54c10
NvPclHwInitializeModule: allocate overrides pathname @ 0x7fa8b54ca0
NvPclHwInitializeModule: allocate overrides pathname @ 0x7fa8b54d30
NvPclHwInitializeModule: allocate overrides pathname @ 0x7fa8b54dc0
NvPclHwInitializeModule: allocate overrides pathname @ 0x7fa8b54e50
LoadOverridesFile: looking for override file [/Calib/camera_override.isp] 1/16CheckOverridesPermissions: cannot stat file [/Calib/camera_override.isp]
LoadOverridesFile: looking for override file [/data/nvcam/settings/camera_overrides.isp] 2/16CheckOverridesPermissions: cannot stat file [/data/nvcam/settings/camera_overrides.isp]
LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/camera_overrides.isp] 3/16CheckOverridesPermissions: cannot stat file [/opt/nvidia/nvcam/settings/camera_overrides.isp]
LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/camera_overrides.isp] 4/16CheckOverridesPermissions: cannot stat file [/var/nvidia/nvcam/settings/camera_overrides.isp]
LoadOverridesFile: looking for override file [/data/nvcam/camera_overrides.isp] 5/16CheckOverridesPermissions: cannot stat file [/data/nvcam/camera_overrides.isp]
LoadOverridesFile: looking for override file [/data/nvcam/settings/e3322_topleft_A815P2.isp] 6/16CheckOverridesPermissions: cannot stat file [/data/nvcam/settings/e3322_topleft_A815P2.isp]
LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/e3322_topleft_A815P2.isp] 7/16CheckOverridesPermissions: cannot stat file [/opt/nvidia/nvcam/settings/e3322_topleft_A815P2.isp]
LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/e3322_topleft_A815P2.isp] 8/16CheckOverridesPermissions: cannot stat file [/var/nvidia/nvcam/settings/e3322_topleft_A815P2.isp]
---- imager: No override file found. ----
Imager: looking for override file [/mnt/factory/camera/factory.bin] 1/16
Imager: looking for override file [/Calib/factory.bin] 2/16
Imager: looking for override file [/Calib/calibration.bin] 3/16
Imager: looking for override file [(null)] 4/16
Imager: looking for override file [(null)] 5/16
Imager: looking for override file [(null)] 6/16
Imager: looking for override file [(null)] 7/16
Imager: looking for override file [(null)] 8/16
Imager: looking for override file [(null)] 9/16
Imager: looking for override file [(null)] 10/16
Imager: looking for override file [(null)] 11/16
Imager: looking for override file [(null)] 12/16
Imager: looking for override file [(null)] 13/16
Imager: looking for override file [(null)] 14/16
Imager: looking for override file [(null)] 15/16
Imager: looking for override file [(null)] 16/16
Imager: looking for override file [/data/nvcam/settings/factory.bin] 1/16
Imager: looking for override file [/data/nvcam/settings/e3322_topleft_A815P2.bin] 2/16
Imager: looking for override file [/opt/nvidia/nvcam/settings/e3322_topleft_A815P2.bin] 3/16
Imager: looking for override file [/var/nvidia/nvcam/settings/e3322_topleft_A815P2.bin] 4/16
Imager: looking for override file [(null)] 5/16
Imager: looking for override file [(null)] 6/16
Imager: looking for override file [(null)] 7/16
Imager: looking for override file [(null)] 8/16
Imager: looking for override file [(null)] 9/16
Imager: looking for override file [(null)] 10/16
Imager: looking for override file [(null)] 11/16
Imager: looking for override file [(null)] 12/16
Imager: looking for override file [(null)] 13/16
Imager: looking for override file [(null)] 14/16
Imager: looking for override file [(null)] 15/16
Imager: looking for override file [(null)] 16/16
NvPclCreateDriver: Found NvPcl Driver Hal dev_name match (v4l2_sensor)
NvPclCreateDriver: Found a Driver name match (v4l2_sensor)
NvPclCreateDriver: Found NvPcl Driver Hal dev_name match (v4l2_lens)
NvPclCreateDriver: Found a Driver name match (v4l2_lens)
NvPclConnectDrivers: hImager was NULL, creating new imager
NvPclInitializeDrivers: v4l2_sensor ++++++++++++++++++
OFDPropertyGetString: could not read property [devnode-bus]
initialize: imx219 33-0010
(NvOdmDevice) Error ModuleNotPresent: V4L2Device not available (in dvs/git/dirty/git-master_linux/camera-partner/imager/src/V4L2Device.cpp, function findDevice(), line 245)
(NvOdmDevice) Error ModuleNotPresent:  (propagating from dvs/git/dirty/git-master_linux/camera-partner/imager/src/V4L2Device.cpp, function initialize(), line 55)
(NvOdmDevice) Error ModuleNotPresent:  (propagating from dvs/git/dirty/git-master_linux/camera-partner/imager/src/devices/V4L2SensorViCsi.cpp, function initialize(), line 103)
NvPclDriverInitializeData: Unable to initialize driver v4l2_sensor
NvPclInitializeDrivers: error: Failed to init camera sub module v4l2_sensor
NvPclStartPlatformDrivers: Failed to start module drivers
NvPclDriver_V4L2_Focuser_Stub_Close: Invalid NULL input pPclDriver
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7fa8b54d30
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7fa8b54dc0
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7fa8b54e50
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7fa8b6f6b0
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7fa8b54c10
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7fa8b54ca0
NvPclStateControllerOpen: Failed ImagerGUID 3. (error 0xA000E)
NvPclStateControllerClose: Module e3322_topleft_A815P2 closed
NvPclOpen: PCL Open Failed. Error: 0xf
NvPclClose: ++++++++++++++++++++++
NvPclClose: ----------------------
NvPclOpen: ----------------------
SCF: Error BadParameter: Sensor could not be opened. (in src/services/capture/CaptureServiceDeviceSensor.cpp, function getSourceFromGuid(), line 598)
SCF: Error BadParameter:  (propagating from src/services/capture/CaptureService.cpp, function addSourceByGuid(), line 781)
SCF: Error BadParameter:  (propagating from src/api/CameraDriver.cpp, function addSourceByIndex(), line 276)
SCF: Error BadParameter:  (propagating from src/api/CameraDriver.cpp, function getSource(), line 439)
Segmentation fault (core dumped)
root@tegra-ubuntu:/home/nvidia/work/multi/server/tool#
[    5.169723] i2c /dev entries driver
[    5.170375] ar0134a 2-0010: [AR0134]: probing v4l2 sensor at addr 0x10.
[    5.235739] 
               ar0134a id=0x2406
[    5.235739] ar0134a 2-0010: Detected ar0134a sensor
[  458.864283] CPU: 4 PID: 3027 Comm: nvcamera-daemon Tainted: G           O    4.4.38-ml+ #7
[  458.872546] Hardware name: quill (DT)
[  458.876211] task: ffffffc07320e400 ti: ffffffc064dc0000 task.ti: ffffffc064dc0000
[  458.883691] PC is at 0x403038
[  458.886661] LR is at 0x403034
[  458.889633] pc : [<0000000000403038>] lr : [<0000000000403034>] pstate: 60000000
[  458.897025] sp : 0000007f94158290
[  458.900343] x29: 0000007f9415c9d0 x28: 0000000000000000 
[  458.905679] x27: 0000000000000004 x26: 0000007f9415c300 
[  458.911016] x25: 0000000000404000 x24: 0000000000000334 
[  458.916351] x23: 0000007f9415a300 x22: 0000007f94159300 
[  458.921688] x21: 0000007f9415a244 x20: 0000007f94158310 
[  458.927022] x19: 0000007f9415a930 x18: 0000000000000014 
[  458.932357] x17: 0000007f95991fb0 x16: 0000007f956e4540 
[  458.937692] x15: 0000007f96399000 x14: 7265766972446172 
[  458.943032] x13: 656d61432f697061 x12: 2f637273206d6f72 
[  458.948370] x11: 6620676e69746167 x10: 61706f7270282020 
[  458.953703] x9 : 3a726574656d6172 x8 : 0000000000000040 
[  458.959046] x7 : 0000007f8c6b3620 x6 : 0000000000000001 
[  458.964380] x5 : 0000000000000000 x4 : 0000007f8c000b10 
[  458.969714] x3 : 0000000000000000 x2 : 0000000000000001 
[  458.975050] x1 : 0000000000000000 x0 : 0000000000000000 

[  458.981885] Library at 0x403038: 0x400000 /usr/sbin/nvcamera-daemon
[  458.988150] Library at 0x403034: 0x400000 /usr/sbin/nvcamera-daemon
[  458.994413] vdso base = 0x7f96398000

by the way, We update the kernel by “sudo cp Image /boot/”

Looks like your DT have some problem. Did you remove the plugin manager?

yes,We disabled the plugin manager.
and I will try to use plugin manager.

#13 is the file t18x/common/kernel-dts/t18x-common-modules/tegra186-camera-ar0134-li-mip-adpt-a00.dtsi

the t18x/common/kernel-dts/t18x-common-platforms/tegra186-quill-camera-ar0134-li-mipi-adpt-a00.dtsi is:

#include <t18x-common-modules/tegra186-camera-ar0134-li-mipi-adpt-a00.dtsi>
#include "dt-bindings/clock/tegra186-clock.h"

/* camera control gpio definitions */

/ {
	i2c@3180000 {
                    ar0134_a@10 {
                                    /* Define any required hw resources needed by driver */
                                    /* ie. clocks, io pins, power sources */
                                    /* mclk-index indicates the index of the */
                                    /* mclk-name with in the clock-names array */

                                    clocks = <&tegra_car TEGRA186_CLK_EXTPERIPH1>,
                                             <&tegra_car TEGRA186_CLK_PLLP_OUT0>;
                                    clock-names = "extperiph1", "pllp_grtba";
                                    mclk = "extperiph1";
                                    clock-frequency = <24000000>;
                             };
                };
};

and the t18x/quill/kernle-dts/tegra186-quill-p3310-1000-a00-base.dts is:

#include <t18x-common-platforms/tegra186-quill-common-p3310-1000-a00.dtsi>
#include <t18x-common-platforms/tegra186-quill-power-tree-p3310-1000-a00-00.dtsi>
#include <t18x-common-platforms/tegra186-quill-camera-modules.dtsi>
#include <t18x-common-modules/tegra186-display-e3320-1000-a00.dtsi>

/* comms dtsi file should be included after gpio dtsi file */
#include <t18x-common-platforms/tegra186-quill-comms.dtsi>
#include <t18x-common-plugin-manager/tegra186-quill-p3310-1000-a00-plugin-manager.dtsi>
#include <t18x-common-modules/tegra186-super-module-e2614-p2597-1000-a00.dtsi>
//#include <t18x-common-plugin-manager/tegra186-quill-display-plugin-manager.dtsi>
#include <t18x-common-prod/tegra186-priv-quill-p3310-1000-a00-prod.dtsi>
<b>//#include <t18x-common-plugin-manager/tegra186-quill-camera-plugin-manager.dtsi></b>

#include <dt-bindings/linux/driver-info.h>

and the t18x/quill/kernle-dts/tegra186-quill-p3310-1000-c03-00-base.dts is:

#include "tegra186-quill-p3310-1000-a00-00-base.dts"
.......
	i2c@3180000 {
                        status = "okay";
                        clock-frequency = <100000>;

                        tc358746_a@0e{
                                        status = "okay";
                                     };
                        ar0134_a@10{
                                        status = "okay";
                                   };
            };

.......
                vi@15700000 {
                                status = "okay";
                                ports {
                                        status = "okay";
                                        port@0 {
                                                    status = "okay";
                                                    ar0134a_vi_in0: endpoint {
                                                                                status = "okay";
                                                                          };
                                               };
                                };
                            };

                nvcsi@150c0000 {
                                status = "okay";
                                channel@0 {
                                            status = "okay";
                                            ports {
                                                    status = "okay";
                                                    port@0 {
                                                                status = "okay";
                                                                ar0134a_csi_in0: endpoint@0 {
                                                                                            status = "okay";
                                                                                         };
                                                           };
                                                    port@1 {
                                                                status = "okay";
                                                                ar0134a_csi_out0: endpoint@1 {
                                                                                            status = "okay";
                                                                                          };
                                                           };
                                                  };
                                         };
                };
	};

	tcp: tegra-camera-platform {
                                    compatible = "nvidia, tegra-camera-platform";
                                    modules {
                                                module0 {
                                                            status = "okay";
                                                            drivernode0 {
                                                                            status = "okay";
                                                                        };
                                                            drivernode1 {
                                                                            status = "okay";
                                                                            pcl_id = "v4l2_lens";
                                                                        };
                                                        };
                                                module1 {
                                                            status = "okay";
                                                            drivernode0 {
                                                                            status = "okay";
                                                                        };
                                                            drivernode1 {
                                                                            status = "okay";
                                                                            pcl_id = "v4l2_lens";
                                                                        };
                                                        };
                                                module2 {
                                                            status = "okay";
                                                            drivernode0 {
                                                                            status = "okay";
                                                                        };
                                                            drivernode1 {
                                                                            status = "okay";
                                                                            pcl_id = "v4l2_lens";
                                                                        };
                                                        };
                                                module3 {
                                                            status = "okay";
                                                            drivernode0 {
                                                                            status = "okay";
                                                                        };
                                                            drivernode1 {
                                                                            status = "okay";
                                                                            pcl_id = "v4l2_lens";
                                                                        };
                                                        };
                                    };
	};
};

Please remove the plugin manager and replace the tegra186-quill-camera-modules.dtsi by your camera module.

We tried to use plugin manager,but also can’t use nvcamerasrc.

And after disable plugin manager ,replace camera module with our camera dtsi file, can’t use nvcamerasrc.

at t18x/quill/kernel-dts/tegra186-quill-p3310-1000-a00-00-base.dts:

#include <t18x-common-platforms/tegra186-quill-common-p3310-1000-a00.dtsi>
#include <t18x-common-platforms/tegra186-quill-power-tree-p3310-1000-a00-00.dtsi>
[b]//#include <t18x-common-platforms/tegra186-quill-camera-modules.dtsi>
#include "t18x-common-platforms/tegra186-quill-camera-ar0134-li-mipi-adpt-a00.dtsi"[/b]
#include <t18x-common-modules/tegra186-display-e3320-1000-a00.dtsi>

/* comms dtsi file should be included after gpio dtsi file */
#include <t18x-common-platforms/tegra186-quill-comms.dtsi>
#include <t18x-common-plugin-manager/tegra186-quill-p3310-1000-a00-plugin-manager.dtsi>
#include <t18x-common-modules/tegra186-super-module-e2614-p2597-1000-a00.dtsi>
//#include <t18x-common-plugin-manager/tegra186-quill-display-plugin-manager.dtsi>
#include <t18x-common-prod/tegra186-priv-quill-p3310-1000-a00-prod.dtsi>
//#include <t18x-common-plugin-manager/tegra186-quill-camera-plugin-manager.dtsi>

#include <dt-bindings/linux/driver-info.h>
root@tegra-ubuntu:/home/nvidia/multi/server/tool# /usr/sbin/nvcamera-daemon 
Thread 1 getting next capture
Thread 1 is waiting
Thread 2 getting next capture
Thread 2 is waiting
Thread 3 getting next capture
Thread 3 is waiting
Thread 4 getting next capture
Thread 4 is waiting
Thread 5 getting next capture
Thread 5 is waiting
Thread 6 getting next capture
Thread 6 is waiting
Thread 7 getting next capture
Thread 7 is waiting
Thread 8 getting next capture
Thread 8 is waiting
Thread 9 getting next capture
Thread 10 getting next capture
Thread 9 is waiting
Thread 11 getting next capture
Thread 10 is waiting
Thread 12 getting next capture
Thread 12 is waiting
Thread 11 is waiting
Starting services...
Worker thread IspHw statsComplete start
Worker thread IspHw frameComplete start
Worker thread CaptureScheduler checkFramePending start
Worker thread CaptureScheduler frameStart start
Worker thread V4L2CaptureScheduler checkCaptureComplete start
Worker thread V4L2CaptureScheduler issueCaptures start
Worker thread PS handleRequests start
getInstance: s_instance(0x7f80b2b740)
getInstance: s_instance(0x7f80b2b740)
subscribe: create SensorType(gyroscope) sensor(0x7f80b2d8c0)
subscribe: create SensorType(accelerometer) sensor(0x7f80b32d20)
AC plugin not present: dlopen "acplugin.so", acplugin.so: cannot open shared object file: No such file or directory
Services are started
NvPclSetHotplugCallback: ++++++++++++++++++++++
---- Imager: Calibration blob file handling supported in this build ----
NvPclHwGetModuleList: OFParserListModules Succeeded
NvPclHwGetModuleCalib: Error: Invalid module badge info
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
NvPclHwPrintModuleDefinition -- Name: 
NvPclHwPrintModuleDefinition -- Position: 0
NvPclHwPrintModuleDefinition -- CalibrationData Found: 0
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].Name: 
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].DevName: 
NvPclHwPrintCameraSubModule -- HwCamSubModule[1].Name: v4l2_lens
NvPclHwPrintCameraSubModule -- HwCamSubModule[1].DevName: 
NvPclHwGetModuleCalib: Error: Invalid module badge info
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
NvPclHwPrintModuleDefinition -- Name: 
NvPclHwPrintModuleDefinition -- Position: 0
NvPclHwPrintModuleDefinition -- CalibrationData Found: 0
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].Name: 
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].DevName: 
NvPclHwPrintCameraSubModule -- HwCamSubModule[1].Name: v4l2_lens
NvPclHwPrintCameraSubModule -- HwCamSubModule[1].DevName: 
NvPclHwGetModuleCalib: Error: Invalid module badge info
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
NvPclHwPrintModuleDefinition -- Name: 
NvPclHwPrintModuleDefinition -- Position: 0
NvPclHwPrintModuleDefinition -- CalibrationData Found: 0
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].Name: 
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].DevName: 
NvPclHwPrintCameraSubModule -- HwCamSubModule[1].Name: v4l2_lens
NvPclHwPrintCameraSubModule -- HwCamSubModule[1].DevName: 
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
NvPclHwPrintModuleDefinition -- Name: ar0134a_bottomleft_ar0134
NvPclHwPrintModuleDefinition -- Position: 0
NvPclHwPrintModuleDefinition -- CalibrationData Found: 1
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].Name: v4l2_sensor
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].DevName: ar0134a 2-0010
NvPclHwPrintCameraSubModule -- HwCamSubModule[1].Name: v4l2_lens
NvPclHwPrintCameraSubModule -- HwCamSubModule[1].DevName: 
NvPclHwGetModuleList: OFParserListModules Succeeded
NvPclModuleListInitialize: NvPclModule list[0]:  position0
NvPclModuleListInitialize: NvPclModule list[1]:  position0
NvPclModuleListInitialize: NvPclModule list[2]:  position0
NvPclModuleListInitialize: NvPclModule list[3]: ar0134a_bottomleft_ar0134 position0
NvPclHwScanExternalCameras -- adding video0 to discover list
NvPclHwScanExternalCameras -- adding video0 to discover list
initialize: /dev/video0
queryControls: 10100739 control Group Hold
queryControls: 10100740 control HDR enable
queryControls: 10100743 control Fuse ID
queryControls: 10100744 control Sensor Mode
queryControls: 10100745 control Gain
queryControls: 10100746 control Exposure
queryControls: 10100747 control Frame Rate
queryControls: 10100836 control Bypass Mode
queryControls: 10100837 control Override Enable
queryControls: 10100838 control Height Align
queryControls: 10100839 control Size Align
queryControls: 10100840 control Write ISP format
queryControls: 10100841 control Sensor Signal Properties
queryControls: 10100842 control Sensor Image Properties
queryControls: 10100843 control Sensor Control Properties
queryControls: 10100844 control Sensor DV Timings
queryControls: 10100866 control Sensor Modes
Ioctl failed: Invalid argument
NvPclHwScanExternalCameras -- adding video0 to discover list
initialize: /dev/video0
queryControls: 10100739 control Group Hold
queryControls: 10100740 control HDR enable
queryControls: 10100743 control Fuse ID
queryControls: 10100744 control Sensor Mode
queryControls: 10100745 control Gain
queryControls: 10100746 control Exposure
queryControls: 10100747 control Frame Rate
queryControls: 10100836 control Bypass Mode
queryControls: 10100837 control Override Enable
queryControls: 10100838 control Height Align
queryControls: 10100839 control Size Align
queryControls: 10100840 control Write ISP format
queryControls: 10100841 control Sensor Signal Properties
queryControls: 10100842 control Sensor Image Properties
queryControls: 10100843 control Sensor Control Properties
queryControls: 10100844 control Sensor DV Timings
queryControls: 10100866 control Sensor Modes
Ioctl failed: Invalid argument
getHotplugMonitor: Getting hotplug monitor instance
 initializeHotplug++
 hotPlugfunc ++ 
 addWatch: Watch added wd='1'
CheckProcDTExists: INFO: accessing /proc/device-tree/tegra-virtual-camera-platform/modules; No such file or directory
OFParserGetVirtualDevice: NVIDIA Camera virtual enumerator not found in proc device-tree
setHotplugCallback: Registered new callback client
NvPclSetHotplugCallback: ----------------------
 hotPlugfunc: reading from inotify FD, Thread waiting 
NvPclOpen: ++++++++++++++++++++++
NvPclStateControllerOpen: Found GUID 0 match at index[0]
NvPclStateControllerOpen: Found GUID 0 match at index[1]
NvPclStateControllerOpen: Found GUID 0 match at index[2]
NvPclStateControllerOpen: Found GUID 0 match at index[3]
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f80b65900
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f80b65990
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f80b65a20
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f80b65ab0
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f80b65b40
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f80b65bd0
LoadOverridesFile: looking for override file [/Calib/camera_override.isp] 1/16CheckOverridesPermissions: cannot stat file [/Calib/camera_override.isp]
LoadOverridesFile: looking for override file [/data/nvcam/settings/camera_overrides.isp] 2/16CheckOverridesPermissions: cannot stat file [/data/nvcam/settings/camera_overrides.isp]
LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/camera_overrides.isp] 3/16CheckOverridesPermissions: cannot stat file [/opt/nvidia/nvcam/settings/camera_overrides.isp]
LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/camera_overrides.isp] 4/16CheckOverridesPermissions: cannot stat file [/var/nvidia/nvcam/settings/camera_overrides.isp]
LoadOverridesFile: looking for override file [/data/nvcam/camera_overrides.isp] 5/16CheckOverridesPermissions: cannot stat file [/data/nvcam/camera_overrides.isp]
LoadOverridesFile: looking for override file [/data/nvcam/settings/ar0134a_bottomleft_ar0134.isp] 6/16CheckOverridesPermissions: cannot stat file [/data/nvcam/settings/ar0134a_bottomleft_ar0134.isp]
LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/ar0134a_bottomleft_ar0134.isp] 7/16CheckOverridesPermissions: cannot stat file [/opt/nvidia/nvcam/settings/ar0134a_bottomleft_ar0134.isp]
LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/ar0134a_bottomleft_ar0134.isp] 8/16CheckOverridesPermissions: cannot stat file [/var/nvidia/nvcam/settings/ar0134a_bottomleft_ar0134.isp]
---- imager: No override file found. ----
Imager: looking for override file [/mnt/factory/camera/factory.bin] 1/16
Imager: looking for override file [/Calib/factory.bin] 2/16
Imager: looking for override file [/Calib/calibration.bin] 3/16
Imager: looking for override file [(null)] 4/16
Imager: looking for override file [(null)] 5/16
Imager: looking for override file [(null)] 6/16
Imager: looking for override file [(null)] 7/16
Imager: looking for override file [(null)] 8/16
Imager: looking for override file [(null)] 9/16
Imager: looking for override file [(null)] 10/16
Imager: looking for override file [(null)] 11/16
Imager: looking for override file [(null)] 12/16
Imager: looking for override file [(null)] 13/16
Imager: looking for override file [(null)] 14/16
Imager: looking for override file [(null)] 15/16
Imager: looking for override file [(null)] 16/16
Imager: looking for override file [/data/nvcam/settings/factory.bin] 1/16
Imager: looking for override file [/data/nvcam/settings/ar0134a_bottomleft_ar0134.bin] 2/16
Imager: looking for override file [/opt/nvidia/nvcam/settings/ar0134a_bottomleft_ar0134.bin] 3/16
Imager: looking for override file [/var/nvidia/nvcam/settings/ar0134a_bottomleft_ar0134.bin] 4/16
Imager: looking for override file [(null)] 5/16
Imager: looking for override file [(null)] 6/16
Imager: looking for override file [(null)] 7/16
Imager: looking for override file [(null)] 8/16
Imager: looking for override file [(null)] 9/16
Imager: looking for override file [(null)] 10/16
Imager: looking for override file [(null)] 11/16
Imager: looking for override file [(null)] 12/16
Imager: looking for override file [(null)] 13/16
Imager: looking for override file [(null)] 14/16
Imager: looking for override file [(null)] 15/16
Imager: looking for override file [(null)] 16/16
NvPclCreateDriver: Found NvPcl Driver Hal dev_name match (v4l2_sensor)
NvPclCreateDriver: Found a Driver name match (v4l2_sensor)
NvPclCreateDriver: Found NvPcl Driver Hal dev_name match (v4l2_lens)
NvPclCreateDriver: Found a Driver name match (v4l2_lens)
NvPclConnectDrivers: hImager was NULL, creating new imager
NvPclInitializeDrivers: v4l2_sensor ++++++++++++++++++
OFDPropertyGetString: could not read property [devnode-bus]
initialize: ar0134a 2-0010
queryControls: 10100739 control Group Hold
queryControls: 10100740 control HDR enable
queryControls: 10100743 control Fuse ID
queryControls: 10100744 control Sensor Mode
queryControls: 10100745 control Gain
queryControls: 10100746 control Exposure
queryControls: 10100747 control Frame Rate
queryControls: 10100836 control Bypass Mode
queryControls: 10100837 control Override Enable
queryControls: 10100838 control Height Align
queryControls: 10100839 control Size Align
queryControls: 10100840 control Write ISP format
queryControls: 10100841 control Sensor Signal Properties
queryControls: 10100842 control Sensor Image Properties
queryControls: 10100843 control Sensor Control Properties
queryControls: 10100844 control Sensor DV Timings
queryControls: 10100866 control Sensor Modes
Ioctl failed: Invalid argument
OFDPropertyCopyToLong: could not read property [has-eeprom]
Control OTP Data not found
Control Frame Length not found
Control Coarse Time not found
Control Coarse Time Short not found
queryPixelFormats: type: 1, pixelformat 0x32314752 "RG12"
Ioctl failed: Invalid argument
Ioctl failed: Invalid argument
Ioctl failed: Invalid argument
Ioctl failed: Invalid argument
Ioctl failed: Invalid argument
Ioctl failed: Invalid argument
Ioctl failed: Invalid argument
Ioctl failed: Invalid argument
Ioctl failed: Invalid argument
Ioctl failed: Invalid argument
queryFormatSizes: Discrete frameSize 1280x720
Ioctl failed: Invalid argument
Ioctl failed: Invalid argument
loadBinaryBlob: Binary read 0
OFDPropertyGetString: could not read property [type]
loadSubType: Sensor type missing in DT, 199
OFDPropertyCopyToLongLong: could not read property [mode0.exp_time_1h]
OFDPropertyCopyToFloat: could not read property [mode0.gain_step_pitch]
OFDPropertyGetString: could not read property [mode0.x_start]
OFDPropertyGetString: could not read property [mode0.y_start]
OFDPropertyGetString: could not read property [mode0.x_end]
OFDPropertyGetString: could not read property [mode0.y_end]
OFDPropertyGetString: could not read property [mode0.h_scaling]
OFDPropertyGetString: could not read property [mode0.v_scaling]
initialize: Loaded Driver: 1 Modes Available--------------
NvPclInitializeDrivers: v4l2_sensor ------------------
NvPclInitializeDrivers: v4l2_lens ++++++++++++++++++
(NvOdmDevice) Error NotInitialized: hDev Table not initialized (in dvs/git/dirty/git-master_linux/camera-partner/imager/src/devices/V4L2Lens.cpp, function initialize(), line 53)
NvPclDriverInitializeData: Unable to initialize driver v4l2_lens
NvPclInitializeDrivers: error: Failed to init camera sub module v4l2_lens
NvPclStartPlatformDrivers: Failed to start module drivers
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f80b65ab0
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f80b65b40
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f80b65bd0
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f80b65900
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f80b65990
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f80b65a20
NvPclStateControllerOpen: Failed ImagerGUID 0. (error 0x3)
NvPclStateControllerClose: Module ar0134a_bottomleft_ar0134 closed
NvPclOpen: PCL Open Failed. Error: 0xf
NvPclClose: ++++++++++++++++++++++
NvPclClose: ----------------------
NvPclOpen: ----------------------
SCF: Error BadParameter: Sensor could not be opened. (in src/services/capture/CaptureServiceDeviceSensor.cpp, function getSourceFromGuid(), line 598)
SCF: Error BadParameter:  (propagating from src/services/capture/CaptureService.cpp, function addSourceByGuid(), line 781)
SCF: Error BadParameter:  (propagating from src/api/CameraDriver.cpp, function addSourceByIndex(), line 276)
SCF: Error BadParameter:  (propagating from src/api/CameraDriver.cpp, function getSource(), line 439)
Segmentation fault (core dumped)
root@tegra-ubuntu:/home/nvidia/multi/server/tool#

How much modules in your tegra-camera-platform?
Please have a confirm modules and all context in the /proc/device-tree/tegra-camera-platform/ as your define.

ar0134_lens@P5V27C {
                        min_focus_distance = "0.0";
                        hyper_focal = "0.0";
                        focal_length = "2.67";
                        f_number = "2.0";
                        aperture = "2.0";
                    };

We delete ar0134_lens@P5V27C from dtsi file for use plugin manager.

The camera has not RESET or POWER DOWN pin.So,if we power on the tx2,the camera will be always in turn on
state. Just for compiling of device tree,We use two gpio pins for RESET and POWER DOWN which are not used(It means the two pins disconnected between tx2 and bottom board).So some functions of ar0134a.c are empty,though ar0134a.c is very likely imx185.c .

And The CUDA is necessary? We have NOT install the CUDA toolkit.