IMX378 camera freezes on Jetpack 3.2.1

We are producing IMX378 camera module and Jetson TX2 carry board.
Updating to Jetpack 3.2.1 will freeze on gst-launch.
RAW acquisition succeeds in bypass mode of V4L2.
Please let me know if anything is known.
Attach device tree information.

gst-launch-1.0 nvcamerasr fpsRange=“30.0 30.0”
! “video/x-raw(memory:NVMM), width=(int)3840, height=(int)2160, framerate=30/1” ! nvvidconv flip-method=2
! “video/x-raw, width=(int)3840, height=(int)2160, framerate=(fraction)30/1” ! queue ! xvimagesink

v4l2-ctl -d /dev/video0 --set-fmt-video=width=3840,height=2160,pixelformat=RG10 --set-ctrl bypass_mode=0 --stream-count=10 --stream-to=test.raw

L4T28.2.1(Jetpack 3.3) -> NG
https://developer.download.nvidia.com/embedded/L4T/r28_Release_v2.1/public_sources.tbz2

L4T28.2(Jetpack 3.2.1) -> NG
http://developer.download.nvidia.com/embedded/L4T/r28_Release_v2.0/GA/BSP/tx2_sources.tbz2

L4T28.2rc(Jetpack 3.2) -> OK
http://developer.download.nvidia.com/embedded/L4T/r28_Release_v2.0/BSP/source_release.tbz2

L4T28.1(Jetpack 3.1) -> OK
http://developer.download.nvidia.com/embedded/L4T/r28_Release_v1.0/BSP/source_release.tbz2

L4T27.1(Jetpack 3.0) -> OK
http://developer.download.nvidia.com/embedded/L4T/r27_Release_v1.0/BSP/r27.1.0_sources.tbz2

An excerpt of the device tree information is shown below.

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

		nvcsi@150c0000 {
			num-channels = <6>;
			channel@0 {
				reg = <0>;
				ports {
					#address-cells = <1>;
					#size-cells = <0>;
					port@0 {
						reg = <0>;
						csi_in0: endpoint@0 {
							csi-port = <0>;
							bus-width = <2>;
							remote-endpoint = <&imx378_out0>;
						};
					};
					port@1 {
						reg = <1>;
						csi_out0: endpoint@1 {
							remote-endpoint = <&vi_in0>;
						};
					};
				};
			};
		};
	};

	i2c@3180000 {
		tca9548@70 {
			i2c@0 {
				imx378_a@1a {
					devnode = "video0";
					compatible = "nvidia,imx378";
					reg = <0x1a>;

					physical_w = "7.564";
					physical_h = "5.476";

					sensor_model ="imx378";
					dovdd-supply = <&en_vdd_cam>;
					avdd-reg = "vana";
					dvdd-reg = "vdig";
					iovdd-reg = "dovdd";

					mode0 { // IMX378_MODE_4056X3040
						mclk_khz = "18000";
						num_lanes = "2";
						tegra_sinterface = "serial_a";
						discontinuous_clk = "yes";
						cil_settletime = "0";
						active_w = "4056";
						active_h = "3040";
						pixel_t = "bayer_rggb";
						readout_orientation = "90";
						line_length = "4350";
						inherent_gain = "1";
						mclk_multiplier = "348/3";
						pix_clk_hz = "208800000";

						min_gain_val = "1.0";
						max_gain_val = "22.0";
						min_hdr_ratio = "1";
						max_hdr_ratio = "64";
						min_framerate = "1";
						max_framerate = "15";
						min_exp_time = "1";
						max_exp_time = "65515";
					};
					mode1 { // IMX378_MODE_3840X2160
						mclk_khz = "18000";
						num_lanes = "2";
						tegra_sinterface = "serial_a";
						discontinuous_clk = "yes";
						cil_settletime = "0";
						active_w = "3840";
						active_h = "2160";
						pixel_t = "bayer_rggb";
						readout_orientation = "90";
						line_length = "4392";
						inherent_gain = "1";
						mclk_multiplier = "246/3";
						pix_clk_hz = "147600000";

						min_gain_val = "1.0";
						max_gain_val = "22.0";
						min_hdr_ratio = "1";
						max_hdr_ratio = "64";
						min_framerate = "1";
						max_framerate = "15";
						min_exp_time = "1";
						max_exp_time = "65515";
					};
					mode2 { // IMX378_MODE_1920X1080
						mclk_khz = "18000";
						num_lanes = "2";
						tegra_sinterface = "serial_a";
						discontinuous_clk = "yes";
						cil_settletime = "0";
						active_w = "1920";
						active_h = "1080";
						pixel_t = "bayer_rggb";
						readout_orientation = "90";
						line_length = "2196";
						inherent_gain = "1";
						mclk_multiplier = "246/3";
						pix_clk_hz = "147600000";

						min_gain_val = "1.0";
						max_gain_val = "22.0";
						min_hdr_ratio = "1";
						max_hdr_ratio = "64";
						min_framerate = "1";
						max_framerate = "60";
						min_exp_time = "1";
						max_exp_time = "65515";
					};
					mode3 { // IMX378_MODE_640X480
						mclk_khz = "18000";
						num_lanes = "2";
						tegra_sinterface = "serial_a";
						discontinuous_clk = "yes";
						cil_settletime = "0";
						active_w = "640";
						active_h = "480";
						pixel_t = "bayer_rggb";
						readout_orientation = "90";
						line_length = "1562";
						inherent_gain = "1";
						mclk_multiplier = "350/3";
						pix_clk_hz = "420000000";

						min_gain_val = "1.0";
						max_gain_val = "22.0";
						min_hdr_ratio = "1";
						max_hdr_ratio = "64";
						min_framerate = "1";
						max_framerate = "240";
						min_exp_time = "1";
						max_exp_time = "65515";
					};
					ports {
						#address-cells = <1>;
						#size-cells = <0>;
						port@0 {
							reg = <0>;
							imx378_out0: endpoint {
								csi-port = <0>;
								bus-width = <2>;
								remote-endpoint = <&csi_in0>;
							};
						};
					};
				};
			};
		};
	};

	lens_imx378_a@3e {
		min_focus_distance = "0.0";
		hyper_focal = "0.0";
		focal_length = "4.52";
		f_number = "2.0";
		aperture = "2.0";
	};

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

		modules {
			module0 {
				status = "okay";
				badge = "imx378_CH1_396CP";
				position = "0";
				orientation = "1";
				drivernode0 {
					status = "okay";
					/* Declare PCL support driver (classically known as guid)  */
					pcl_id = "v4l2_sensor";
					/* Driver v4l2 device name */
					devname = "imx378 30-001a";
					/* Declare the device-tree hierarchy to driver instance */
					proc-device-tree = "/proc/device-tree/i2c@3180000/tca9548@70/i2c@0/imx378_a@1a";
				};
				drivernode1 {
					/* Declare PCL support driver (classically known as guid)  */
					pcl_id = "v4l2_lens";
					proc-device-tree = "/proc/device-tree/lens_imx378_a@3e/";
				};
			};
		};
	};
};

We are interested in a solution for this as well for the same IMX378 for Jetpack 3.3. Thank you kindly.

Get more information by below command.

sudo su
kill the process of argus_daemon or nvcamera-daemon
export enableCamPclLogs=5
export enableCamScfLogs=5
/usr/sbin/argus_daemon      option for argus
/usr/sbin/nvcamera-daemon   option for gst-launch
 
launch camera from another console

The following log information is attached.

root@tegra-ubuntu:/home/nvidia# pkill argus_daemon
root@tegra-ubuntu:/home/nvidia# pkill nvcamera-daemon
root@tegra-ubuntu:/home/nvidia# export enableCamPclLogs=5
root@tegra-ubuntu:/home/nvidia# export enableCamScfLogs=5
root@tegra-ubuntu:/home/nvidia# /usr/sbin/argus_daemon &
[1] 2802
root@tegra-ubuntu:/home/nvidia# /usr/sbin/nvcamera-daemon &
[2] 2803
root@tegra-ubuntu:/home/nvidia# === Listening for connections... ===
Thread 1 getting next capture
Thread 1 is waiting
Thread 2 getting next capture
Thread 2 is waiting
Thread 3 getting next captureThread 4 getting next capture
Thread 4 is waiting

Thread 3 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(0x7fa4b29800)
getInstance: s_instance(0x7fa4b29800)
subscribe: create SensorType(gyroscope) sensor(0x7fa4b2b980)
subscribe: create SensorType(accelerometer) sensor(0x7fa4b30de0)
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
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
NvPclHwPrintModuleDefinition -- Name: imx378_CH1_396CP
NvPclHwPrintModuleDefinition -- Position: 0
NvPclHwPrintModuleDefinition -- CalibrationData Found: 1
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].Name: v4l2_sensor
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].DevName: imx378 30-001a
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
NvPclHwPrintModuleDefinition -- Name: imx378_CH2_396CP
NvPclHwPrintModuleDefinition -- Position: 1
NvPclHwPrintModuleDefinition -- CalibrationData Found: 1
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].Name: v4l2_sensor
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].DevName: imx378 31-001a
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
NvPclHwPrintModuleDefinition -- Name: imx378_CH3_396CP
NvPclHwPrintModuleDefinition -- Position: 2
NvPclHwPrintModuleDefinition -- CalibrationData Found: 1
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].Name: v4l2_sensor
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].DevName: imx378 32-001a
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
NvPclHwPrintModuleDefinition -- Name: imx378_CH4_396CP
NvPclHwPrintModuleDefinition -- Position: 3
NvPclHwPrintModuleDefinition -- CalibrationData Found: 1
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].Name: v4l2_sensor
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].DevName: imx378 33-001a
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
NvPclHwPrintModuleDefinition -- Name: imx378_CH5_396CP
NvPclHwPrintModuleDefinition -- Position: 4
NvPclHwPrintModuleDefinition -- CalibrationData Found: 1
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].Name: v4l2_sensor
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].DevName: imx378 34-001a
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
NvPclHwPrintModuleDefinition -- Name: imx378_CH6_396CP
NvPclHwPrintModuleDefinition -- Position: 5
NvPclHwPrintModuleDefinition -- CalibrationData Found: 1
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].Name: v4l2_sensor
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].DevName: imx378 35-001a
NvPclHwGetModuleList: OFParserListModules Succeeded
NvPclModuleListInitialize: NvPclModule list[0]: imx378_CH1_396CP position0
NvPclModuleListInitialize: NvPclModule list[1]: imx378_CH2_396CP position1
NvPclModuleListInitialize: NvPclModule list[2]: imx378_CH3_396CP position2
NvPclModuleListInitialize: NvPclModule list[3]: imx378_CH4_396CP position3
NvPclModuleListInitialize: NvPclModule list[4]: imx378_CH5_396CP position4
NvPclModuleListInitialize: NvPclModule list[5]: imx378_CH6_396CP position5
NvPclHwScanExternalCameras -- adding video5 to discover list
NvPclHwScanExternalCameras -- adding video4 to discover list
NvPclHwScanExternalCameras -- adding video3 to discover list
NvPclHwScanExternalCameras -- adding video2 to discover list
NvPclHwScanExternalCameras -- adding video1 to discover list
NvPclHwScanExternalCameras -- adding video0 to discover list
NvPclHwScanExternalCameras -- adding video5 to discover list
NvPclHwScanExternalCameras -- adding video4 to discover list
NvPclHwScanExternalCameras -- adding video3 to discover list
NvPclHwScanExternalCameras -- adding video2 to discover list
NvPclHwScanExternalCameras -- adding video1 to discover list
NvPclHwScanExternalCameras -- adding video0 to discover list
initialize: /dev/video0
queryControls: 10100736 control Frame Length
queryControls: 10100737 control Coarse Time
queryControls: 10100738 control Coarse Time Short
queryControls: 10100739 control Group Hold
queryControls: 10100740 control HDR enable
queryControls: 10100745 control Gain
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
initialize: /dev/video1
queryControls: 10100736 control Frame Length
queryControls: 10100737 control Coarse Time
queryControls: 10100738 control Coarse Time Short
queryControls: 10100739 control Group Hold
queryControls: 10100740 control HDR enable
queryControls: 10100745 control Gain
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
initialize: /dev/video2
queryControls: 10100736 control Frame Length
queryControls: 10100737 control Coarse Time
queryControls: 10100738 control Coarse Time Short
queryControls: 10100739 control Group Hold
queryControls: 10100740 control HDR enable
queryControls: 10100745 control Gain
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
initialize: /dev/video3
queryControls: 10100736 control Frame Length
queryControls: 10100737 control Coarse Time
queryControls: 10100738 control Coarse Time Short
queryControls: 10100739 control Group Hold
queryControls: 10100740 control HDR enable
queryControls: 10100745 control Gain
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
initialize: /dev/video4
queryControls: 10100736 control Frame Length
queryControls: 10100737 control Coarse Time
queryControls: 10100738 control Coarse Time Short
queryControls: 10100739 control Group Hold
queryControls: 10100740 control HDR enable
queryControls: 10100745 control Gain
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
initialize: /dev/video5
queryControls: 10100736 control Frame Length
queryControls: 10100737 control Coarse Time
queryControls: 10100738 control Coarse Time Short
queryControls: 10100739 control Group Hold
queryControls: 10100740 control HDR enable
queryControls: 10100745 control Gain
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 video5 to discover list
NvPclHwScanExternalCameras -- adding video4 to discover list
NvPclHwScanExternalCameras -- adding video3 to discover list
NvPclHwScanExternalCameras -- adding video2 to discover list
NvPclHwScanExternalCameras -- adding video1 to discover list
NvPclHwScanExternalCameras -- adding video0 to discover list
initialize: /dev/video0
queryControls: 10100736 control Frame Length
queryControls: 10100737 control Coarse Time
queryControls: 10100738 control Coarse Time Short
queryControls: 10100739 control Group Hold
queryControls: 10100740 control HDR enable
queryControls: 10100745 control Gain
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
initialize: /dev/video1
queryControls: 10100736 control Frame Length
queryControls: 10100737 control Coarse Time
queryControls: 10100738 control Coarse Time Short
queryControls: 10100739 control Group Hold
queryControls: 10100740 control HDR enable
queryControls: 10100745 control Gain
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
initialize: /dev/video2
queryControls: 10100736 control Frame Length
queryControls: 10100737 control Coarse Time
queryControls: 10100738 control Coarse Time Short
queryControls: 10100739 control Group Hold
queryControls: 10100740 control HDR enable
queryControls: 10100745 control Gain
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
initialize: /dev/video3
queryControls: 10100736 control Frame Length
queryControls: 10100737 control Coarse Time
queryControls: 10100738 control Coarse Time Short
queryControls: 10100739 control Group Hold
queryControls: 10100740 control HDR enable
queryControls: 10100745 control Gain
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
initialize: /dev/video4
queryControls: 10100736 control Frame Length
queryControls: 10100737 control Coarse Time
queryControls: 10100738 control Coarse Time Short
queryControls: 10100739 control Group Hold
queryControls: 10100740 control HDR enable
queryControls: 10100745 control Gain
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
initialize: /dev/video5
queryControls: 10100736 control Frame Length
queryControls: 10100737 control Coarse Time
queryControls: 10100738 control Coarse Time Short
queryControls: 10100739 control Group Hold
queryControls: 10100740 control HDR enable
queryControls: 10100745 control Gain
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
 hotPlugfunc: reading from inotify FD, Thread waiting
setHotplugCallback: Registered new callback client
NvPclSetHotplugCallback: ----------------------
NvPclOpen: ++++++++++++++++++++++
NvPclStateControllerOpen: Found GUID 0 match at index[0]
NvPclHwInitializeModule: allocate overrides pathname @ 0x7fa4b52d10
NvPclHwInitializeModule: allocate overrides pathname @ 0x7fa4b52da0
NvPclHwInitializeModule: allocate overrides pathname @ 0x7fa4b52e30
NvPclHwInitializeModule: allocate overrides pathname @ 0x7fa4b52ec0
NvPclHwInitializeModule: allocate overrides pathname @ 0x7fa4b52f50
NvPclHwInitializeModule: allocate overrides pathname @ 0x7fa4b52fe0
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/imx378_CH1_396CP.isp] 6/16CheckOverridesPermissions: cannot stat file [/data/nvcam/settings/imx378_CH1_396CP.isp]
LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/imx378_CH1_396CP.isp] 7/16CheckOverridesPermissions: cannot stat file [/opt/nvidia/nvcam/settings/imx378_CH1_396CP.isp]
LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/imx378_CH1_396CP.isp] 8/16CheckOverridesPermissions: cannot stat file [/var/nvidia/nvcam/settings/imx378_CH1_396CP.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/imx378_CH1_396CP.bin] 2/16
Imager: looking for override file [/opt/nvidia/nvcam/settings/imx378_CH1_396CP.bin] 3/16
Imager: looking for override file [/var/nvidia/nvcam/settings/imx378_CH1_396CP.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)
NvPclConnectDrivers: hImager was NULL, creating new imager
NvPclInitializeDrivers: v4l2_sensor ++++++++++++++++++
OFDPropertyGetString: could not read property [devnode-bus]
initialize: imx378 30-001a
queryControls: 10100736 control Frame Length
queryControls: 10100737 control Coarse Time
queryControls: 10100738 control Coarse Time Short
queryControls: 10100739 control Group Hold
queryControls: 10100740 control HDR enable
queryControls: 10100745 control Gain
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
OFDPropertyGetString: could not read property [use_decibel_gain]
OFDPropertyGetString: could not read property [use_sensor_mode_id]
OFDPropertyGetString: could not read property [delayed_gain]
OFDPropertyCopyToLong: could not read property [has-eeprom]
Control Fuse ID not found
Control OTP Data not found
Control Frame Rate not found
Control Exposure not found
findCustomCids: calculated MaxCoarseDiff 20
queryPixelFormats: type: 1, pixelformat 0x30314752 "RG10"
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

Did you post full log?

Yes. It is full log.
It stops at line 436.

It’s 6 sensors design? Why the device tree only have one?

The following is the device tree information for 6 sensors.

/ {
	host1x {
		vi@15700000 {
			num-channels = <6>;
			ports {
				#address-cells = <1>;
				#size-cells = <0>;
				port@0 {
					reg = <0>;
					vi_in0: endpoint {
						csi-port = <0>;
						bus-width = <2>;
						remote-endpoint = <&csi_out0>;
					};
				};
				port@1 {
					reg = <1>;
					vi_in1: endpoint {
						csi-port = <1>;
						bus-width = <2>;
						remote-endpoint = <&csi_out1>;
					};
				};
				port@2 {
					reg = <2>;
					vi_in2: endpoint {
						csi-port = <2>;
						bus-width = <2>;
						remote-endpoint = <&csi_out2>;
					};
				};
				port@3 {
					reg = <3>;
					vi_in3: endpoint {
						csi-port = <3>;
						bus-width = <2>;
						remote-endpoint = <&csi_out3>;
					};
				};
				port@4 {
					reg = <4>;
					vi_in4: endpoint {
						csi-port = <4>;
						bus-width = <2>;
						remote-endpoint = <&csi_out4>;
					};
				};
				port@5 {
					reg = <5>;
					vi_in5: endpoint {
						csi-port = <5>;
						bus-width = <2>;
						remote-endpoint = <&csi_out5>;
					};
				};
			};
		};

		nvcsi@150c0000 {
			num-channels = <6>;
			channel@0 {
				reg = <0>;
				ports {
					#address-cells = <1>;
					#size-cells = <0>;
					port@0 {
						reg = <0>;
						csi_in0: endpoint@0 {
							csi-port = <0>;
							bus-width = <2>;
							remote-endpoint = <&imx378_out0>;
						};
					};
					port@1 {
						reg = <1>;
						csi_out0: endpoint@1 {
							remote-endpoint = <&vi_in0>;
						};
					};
				};
			};
			channel@1 {
				reg = <1>;
				ports {
					#address-cells = <1>;
					#size-cells = <0>;
					port@0 {
						reg = <0>;
						csi_in1: endpoint@2 {
							csi-port = <1>;
							bus-width = <2>;
							remote-endpoint = <&imx378_out1>;
						};
					};
					port@1 {
						reg = <1>;
						csi_out1: endpoint@3 {
							remote-endpoint = <&vi_in1>;
						};
					};
				};
			};
			channel@2 {
				reg = <2>;
				ports {
					#address-cells = <1>;
					#size-cells = <0>;
					port@0 {
						reg = <0>;
						csi_in2: endpoint@4 {
							csi-port = <2>;
							bus-width = <2>;
							remote-endpoint = <&imx378_out2>;
						};
					};
					port@1 {
						reg = <1>;
						csi_out2: endpoint@5 {
							remote-endpoint = <&vi_in2>;
						};
					};
				};
			};
			channel@3 {
				reg = <3>;
				ports {
					#address-cells = <1>;
					#size-cells = <0>;
					port@0 {
						reg = <0>;
						csi_in3: endpoint@6 {
							csi-port = <3>;
							bus-width = <2>;
							remote-endpoint = <&imx378_out3>;
						};
					};
					port@1 {
						reg = <1>;
						csi_out3: endpoint@7 {
							remote-endpoint = <&vi_in3>;
						};
					};
				};
			};
			channel@4 {
				reg = <4>;
				ports {
					#address-cells = <1>;
					#size-cells = <0>;
					port@0 {
						reg = <0>;
						csi_in4: endpoint@8 {
							csi-port = <4>;
							bus-width = <2>;
							remote-endpoint = <&imx378_out4>;
						};
					};
					port@1 {
						reg = <1>;
						csi_out4: endpoint@9 {
							remote-endpoint = <&vi_in4>;
						};
					};
				};
			};
			channel@5 {
				reg = <5>;
				ports {
					#address-cells = <1>;
					#size-cells = <0>;
					port@0 {
						reg = <0>;
						csi_in5: endpoint@10 {
							csi-port = <5>;
							bus-width = <2>;
							remote-endpoint = <&imx378_out5>;
						};
					};
					port@1 {
						reg = <1>;
						csi_out5: endpoint@11 {
							remote-endpoint = <&vi_in5>;
						};
					};
				};
			};
		};
	};

	i2c@3180000 {
		tca9548@70 {
			i2c@0 {
				imx378_a@1a {
					devnode = "video0";
					compatible = "nvidia,imx378";
					reg = <0x1a>;

					physical_w = "7.564";
					physical_h = "5.476";

					sensor_model ="imx378";
					dovdd-supply = <&en_vdd_cam>;
					avdd-reg = "vana";
					dvdd-reg = "vdig";
					iovdd-reg = "dovdd";

					mode0 { // IMX378_MODE_4056X3040
						mclk_khz = "18000";
						num_lanes = "2";
						tegra_sinterface = "serial_a";
						discontinuous_clk = "yes";
						cil_settletime = "0";
						active_w = "4056";
						active_h = "3040";
						pixel_t = "bayer_rggb";
						readout_orientation = "90";
						line_length = "4350";
						inherent_gain = "1";
						mclk_multiplier = "348/3";
						pix_clk_hz = "208800000";

						min_gain_val = "1.0";
						max_gain_val = "22.0";
						min_hdr_ratio = "1";
						max_hdr_ratio = "64";
						min_framerate = "1";
						max_framerate = "15";
						min_exp_time = "1";
						max_exp_time = "65515";
					};
					mode1 { // IMX378_MODE_3840X2160
						mclk_khz = "18000";
						num_lanes = "2";
						tegra_sinterface = "serial_a";
						discontinuous_clk = "yes";
						cil_settletime = "0";
						active_w = "3840";
						active_h = "2160";
						pixel_t = "bayer_rggb";
						readout_orientation = "90";
						line_length = "4392";
						inherent_gain = "1";
						mclk_multiplier = "246/3";
						pix_clk_hz = "147600000";

						min_gain_val = "1.0";
						max_gain_val = "22.0";
						min_hdr_ratio = "1";
						max_hdr_ratio = "64";
						min_framerate = "1";
						max_framerate = "15";
						min_exp_time = "1";
						max_exp_time = "65515";
					};
					mode2 { // IMX378_MODE_1920X1080
						mclk_khz = "18000";
						num_lanes = "2";
						tegra_sinterface = "serial_a";
						discontinuous_clk = "yes";
						cil_settletime = "0";
						active_w = "1920";
						active_h = "1080";
						pixel_t = "bayer_rggb";
						readout_orientation = "90";
						line_length = "2196";
						inherent_gain = "1";
						mclk_multiplier = "246/3";
						pix_clk_hz = "147600000";

						min_gain_val = "1.0";
						max_gain_val = "22.0";
						min_hdr_ratio = "1";
						max_hdr_ratio = "64";
						min_framerate = "1";
						max_framerate = "60";
						min_exp_time = "1";
						max_exp_time = "65515";
					};
					mode3 { // IMX378_MODE_640X480
						mclk_khz = "18000";
						num_lanes = "2";
						tegra_sinterface = "serial_a";
						discontinuous_clk = "yes";
						cil_settletime = "0";
						active_w = "640";
						active_h = "480";
						pixel_t = "bayer_rggb";
						readout_orientation = "90";
						line_length = "1562";
						inherent_gain = "1";
						mclk_multiplier = "350/3";
						pix_clk_hz = "420000000";

						min_gain_val = "1.0";
						max_gain_val = "22.0";
						min_hdr_ratio = "1";
						max_hdr_ratio = "64";
						min_framerate = "1";
						max_framerate = "240";
						min_exp_time = "1";
						max_exp_time = "65515";
					};
					ports {
						#address-cells = <1>;
						#size-cells = <0>;
						port@0 {
							reg = <0>;
							imx378_out0: endpoint {
								csi-port = <0>;
								bus-width = <2>;
								remote-endpoint = <&csi_in0>;
							};
						};
					};
				};
			};
			i2c@1 {
				imx378_b@1a {
					devnode = "video1";
					compatible = "nvidia,imx378";
					reg = <0x1a>;

					physical_w = "7.564";
					physical_h = "5.476";

					sensor_model ="imx378";
					dovdd-supply = <&en_vdd_cam>;
					avdd-reg = "vana";
					dvdd-reg = "vdig";
					iovdd-reg = "dovdd";

					mode0 { // IMX378_MODE_4056X3040
						mclk_khz = "18000";
						num_lanes = "2";
						tegra_sinterface = "serial_b";
						discontinuous_clk = "yes";
						cil_settletime = "0";
						active_w = "4056";
						active_h = "3040";
						pixel_t = "bayer_rggb";
						readout_orientation = "90";
						line_length = "4350";
						inherent_gain = "1";
						mclk_multiplier = "348/3";
						pix_clk_hz = "208800000";

						min_gain_val = "1.0";
						max_gain_val = "22.0";
						min_hdr_ratio = "1";
						max_hdr_ratio = "64";
						min_framerate = "1";
						max_framerate = "15";
						min_exp_time = "1";
						max_exp_time = "65515";
					};
					mode1 { // IMX378_MODE_3840X2160
						mclk_khz = "18000";
						num_lanes = "2";
						tegra_sinterface = "serial_b";
						discontinuous_clk = "yes";
						cil_settletime = "0";
						active_w = "3840";
						active_h = "2160";
						pixel_t = "bayer_rggb";
						readout_orientation = "90";
						line_length = "4392";
						inherent_gain = "1";
						mclk_multiplier = "246/3";
						pix_clk_hz = "147600000";

						min_gain_val = "1.0";
						max_gain_val = "22.0";
						min_hdr_ratio = "1";
						max_hdr_ratio = "64";
						min_framerate = "1";
						max_framerate = "15";
						min_exp_time = "1";
						max_exp_time = "65515";
					};
					mode2 { // IMX378_MODE_1920X1080
						mclk_khz = "18000";
						num_lanes = "2";
						tegra_sinterface = "serial_b";
						discontinuous_clk = "yes";
						cil_settletime = "0";
						active_w = "1920";
						active_h = "1080";
						pixel_t = "bayer_rggb";
						readout_orientation = "90";
						line_length = "2196";
						inherent_gain = "1";
						mclk_multiplier = "246/3";
						pix_clk_hz = "147600000";

						min_gain_val = "1.0";
						max_gain_val = "22.0";
						min_hdr_ratio = "1";
						max_hdr_ratio = "64";
						min_framerate = "1";
						max_framerate = "60";
						min_exp_time = "1";
						max_exp_time = "65515";
					};
					mode3 { // IMX378_MODE_640X480
						mclk_khz = "18000";
						num_lanes = "2";
						tegra_sinterface = "serial_b";
						discontinuous_clk = "yes";
						cil_settletime = "0";
						active_w = "640";
						active_h = "480";
						pixel_t = "bayer_rggb";
						readout_orientation = "90";
						line_length = "1562";
						inherent_gain = "1";
						mclk_multiplier = "350/3";
						pix_clk_hz = "420000000";

						min_gain_val = "1.0";
						max_gain_val = "22.0";
						min_hdr_ratio = "1";
						max_hdr_ratio = "64";
						min_framerate = "1";
						max_framerate = "240";
						min_exp_time = "1";
						max_exp_time = "65515";
					};
					ports {
						#address-cells = <1>;
						#size-cells = <0>;
						port@0 {
							reg = <0>;
							imx378_out1: endpoint {
								csi-port = <1>;
								bus-width = <2>;
								remote-endpoint = <&csi_in1>;
							};
						};
					};
				};
			};
			i2c@2 {
				imx378_c@1a {
					devnode = "video2";
					compatible = "nvidia,imx378";
					reg = <0x1a>;

					physical_w = "7.564";
					physical_h = "5.476";

					sensor_model ="imx378";
					dovdd-supply = <&en_vdd_cam>;
					avdd-reg = "vana";
					dvdd-reg = "vdig";
					iovdd-reg = "dovdd";

					mode0 { // IMX378_MODE_4056X3040
						mclk_khz = "18000";
						num_lanes = "2";
						tegra_sinterface = "serial_c";
						discontinuous_clk = "yes";
						cil_settletime = "0";
						active_w = "4056";
						active_h = "3040";
						pixel_t = "bayer_rggb";
						readout_orientation = "90";
						line_length = "4350";
						inherent_gain = "1";
						mclk_multiplier = "348/3";
						pix_clk_hz = "208800000";

						min_gain_val = "1.0";
						max_gain_val = "22.0";
						min_hdr_ratio = "1";
						max_hdr_ratio = "64";
						min_framerate = "1";
						max_framerate = "15";
						min_exp_time = "1";
						max_exp_time = "65515";
					};
					mode1 { // IMX378_MODE_3840X2160
						mclk_khz = "18000";
						num_lanes = "2";
						tegra_sinterface = "serial_c";
						discontinuous_clk = "yes";
						cil_settletime = "0";
						active_w = "3840";
						active_h = "2160";
						pixel_t = "bayer_rggb";
						readout_orientation = "90";
						line_length = "4392";
						inherent_gain = "1";
						mclk_multiplier = "246/3";
						pix_clk_hz = "147600000";

						min_gain_val = "1.0";
						max_gain_val = "22.0";
						min_hdr_ratio = "1";
						max_hdr_ratio = "64";
						min_framerate = "1";
						max_framerate = "15";
						min_exp_time = "1";
						max_exp_time = "65515";
					};
					mode2 { // IMX378_MODE_1920X1080
						mclk_khz = "18000";
						num_lanes = "2";
						tegra_sinterface = "serial_c";
						discontinuous_clk = "yes";
						cil_settletime = "0";
						active_w = "1920";
						active_h = "1080";
						pixel_t = "bayer_rggb";
						readout_orientation = "90";
						line_length = "2196";
						inherent_gain = "1";
						mclk_multiplier = "246/3";
						pix_clk_hz = "147600000";

						min_gain_val = "1.0";
						max_gain_val = "22.0";
						min_hdr_ratio = "1";
						max_hdr_ratio = "64";
						min_framerate = "1";
						max_framerate = "60";
						min_exp_time = "1";
						max_exp_time = "65515";
					};
					mode3 { // IMX378_MODE_640X480
						mclk_khz = "18000";
						num_lanes = "2";
						tegra_sinterface = "serial_c";
						discontinuous_clk = "yes";
						cil_settletime = "0";
						active_w = "640";
						active_h = "480";
						pixel_t = "bayer_rggb";
						readout_orientation = "90";
						line_length = "1562";
						inherent_gain = "1";
						mclk_multiplier = "350/3";
						pix_clk_hz = "420000000";

						min_gain_val = "1.0";
						max_gain_val = "22.0";
						min_hdr_ratio = "1";
						max_hdr_ratio = "64";
						min_framerate = "1";
						max_framerate = "240";
						min_exp_time = "1";
						max_exp_time = "65515";
					};
					ports {
						#address-cells = <1>;
						#size-cells = <0>;
						port@0 {
							reg = <0>;
							imx378_out2: endpoint {
								csi-port = <2>;
								bus-width = <2>;
								remote-endpoint = <&csi_in2>;
							};
						};
					};
				};
			};
			i2c@3 {
				imx378_d@1a {
					devnode = "video3";
					compatible = "nvidia,imx378";
					reg = <0x1a>;

					physical_w = "7.564";
					physical_h = "5.476";

					sensor_model ="imx378";
					dovdd-supply = <&en_vdd_cam>;
					avdd-reg = "vana";
					dvdd-reg = "vdig";
					iovdd-reg = "dovdd";

					mode0 { // IMX378_MODE_4056X3040
						mclk_khz = "18000";
						num_lanes = "2";
						tegra_sinterface = "serial_d";
						discontinuous_clk = "yes";
						cil_settletime = "0";
						active_w = "4056";
						active_h = "3040";
						pixel_t = "bayer_rggb";
						readout_orientation = "90";
						line_length = "4350";
						inherent_gain = "1";
						mclk_multiplier = "348/3";
						pix_clk_hz = "208800000";

						min_gain_val = "1.0";
						max_gain_val = "22.0";
						min_hdr_ratio = "1";
						max_hdr_ratio = "64";
						min_framerate = "1";
						max_framerate = "15";
						min_exp_time = "1";
						max_exp_time = "65515";
					};
					mode1 { // IMX378_MODE_3840X2160
						mclk_khz = "18000";
						num_lanes = "2";
						tegra_sinterface = "serial_d";
						discontinuous_clk = "yes";
						cil_settletime = "0";
						active_w = "3840";
						active_h = "2160";
						pixel_t = "bayer_rggb";
						readout_orientation = "90";
						line_length = "4392";
						inherent_gain = "1";
						mclk_multiplier = "246/3";
						pix_clk_hz = "147600000";

						min_gain_val = "1.0";
						max_gain_val = "22.0";
						min_hdr_ratio = "1";
						max_hdr_ratio = "64";
						min_framerate = "1";
						max_framerate = "15";
						min_exp_time = "1";
						max_exp_time = "65515";
					};
					mode2 { // IMX378_MODE_1920X1080
						mclk_khz = "18000";
						num_lanes = "2";
						tegra_sinterface = "serial_d";
						discontinuous_clk = "yes";
						cil_settletime = "0";
						active_w = "1920";
						active_h = "1080";
						pixel_t = "bayer_rggb";
						readout_orientation = "90";
						line_length = "2196";
						inherent_gain = "1";
						mclk_multiplier = "246/3";
						pix_clk_hz = "147600000";

						min_gain_val = "1.0";
						max_gain_val = "22.0";
						min_hdr_ratio = "1";
						max_hdr_ratio = "64";
						min_framerate = "1";
						max_framerate = "60";
						min_exp_time = "1";
						max_exp_time = "65515";
					};
					mode3 { // IMX378_MODE_640X480
						mclk_khz = "18000";
						num_lanes = "2";
						tegra_sinterface = "serial_d";
						discontinuous_clk = "yes";
						cil_settletime = "0";
						active_w = "640";
						active_h = "480";
						pixel_t = "bayer_rggb";
						readout_orientation = "90";
						line_length = "1562";
						inherent_gain = "1";
						mclk_multiplier = "350/3";
						pix_clk_hz = "420000000";

						min_gain_val = "1.0";
						max_gain_val = "22.0";
						min_hdr_ratio = "1";
						max_hdr_ratio = "64";
						min_framerate = "1";
						max_framerate = "240";
						min_exp_time = "1";
						max_exp_time = "65515";
					};
					ports {
						#address-cells = <1>;
						#size-cells = <0>;
						port@0 {
							reg = <0>;
							imx378_out3: endpoint {
								csi-port = <3>;
								bus-width = <2>;
								remote-endpoint = <&csi_in3>;
							};
						};
					};
				};
			};
			i2c@4 {
				imx378_e@1a {
					devnode = "video4";
					compatible = "nvidia,imx378";
					reg = <0x1a>;

					physical_w = "7.564";
					physical_h = "5.476";

					sensor_model ="imx378";
					dovdd-supply = <&en_vdd_cam>;
					avdd-reg = "vana";
					dvdd-reg = "vdig";
					iovdd-reg = "dovdd";

					mode0 { // IMX378_MODE_4056X3040
						mclk_khz = "18000";
						num_lanes = "2";
						tegra_sinterface = "serial_e";
						discontinuous_clk = "yes";
						cil_settletime = "0";
						active_w = "4056";
						active_h = "3040";
						pixel_t = "bayer_rggb";
						readout_orientation = "90";
						line_length = "4350";
						inherent_gain = "1";
						mclk_multiplier = "348/3";
						pix_clk_hz = "208800000";

						min_gain_val = "1.0";
						max_gain_val = "22.0";
						min_hdr_ratio = "1";
						max_hdr_ratio = "64";
						min_framerate = "1";
						max_framerate = "15";
						min_exp_time = "1";
						max_exp_time = "65515";
					};
					mode1 { // IMX378_MODE_3840X2160
						mclk_khz = "18000";
						num_lanes = "2";
						tegra_sinterface = "serial_e";
						discontinuous_clk = "yes";
						cil_settletime = "0";
						active_w = "3840";
						active_h = "2160";
						pixel_t = "bayer_rggb";
						readout_orientation = "90";
						line_length = "4392";
						inherent_gain = "1";
						mclk_multiplier = "246/3";
						pix_clk_hz = "147600000";

						min_gain_val = "1.0";
						max_gain_val = "22.0";
						min_hdr_ratio = "1";
						max_hdr_ratio = "64";
						min_framerate = "1";
						max_framerate = "15";
						min_exp_time = "1";
						max_exp_time = "65515";
					};
					mode2 { // IMX378_MODE_1920X1080
						mclk_khz = "18000";
						num_lanes = "2";
						tegra_sinterface = "serial_e";
						discontinuous_clk = "yes";
						cil_settletime = "0";
						active_w = "1920";
						active_h = "1080";
						pixel_t = "bayer_rggb";
						readout_orientation = "90";
						line_length = "2196";
						inherent_gain = "1";
						mclk_multiplier = "246/3";
						pix_clk_hz = "147600000";

						min_gain_val = "1.0";
						max_gain_val = "22.0";
						min_hdr_ratio = "1";
						max_hdr_ratio = "64";
						min_framerate = "1";
						max_framerate = "60";
						min_exp_time = "1";
						max_exp_time = "65515";
					};
					mode3 { // IMX378_MODE_640X480
						mclk_khz = "18000";
						num_lanes = "2";
						tegra_sinterface = "serial_e";
						discontinuous_clk = "yes";
						cil_settletime = "0";
						active_w = "640";
						active_h = "480";
						pixel_t = "bayer_rggb";
						readout_orientation = "90";
						line_length = "1562";
						inherent_gain = "1";
						mclk_multiplier = "350/3";
						pix_clk_hz = "420000000";

						min_gain_val = "1.0";
						max_gain_val = "22.0";
						min_hdr_ratio = "1";
						max_hdr_ratio = "64";
						min_framerate = "1";
						max_framerate = "240";
						min_exp_time = "1";
						max_exp_time = "65515";
					};
					ports {
						#address-cells = <1>;
						#size-cells = <0>;
						port@0 {
							reg = <0>;
							imx378_out4: endpoint {
								csi-port = <4>;
								bus-width = <2>;
								remote-endpoint = <&csi_in4>;
							};
						};
					};
				};
			};
			i2c@5 {
				imx378_f@1a {
					devnode = "video5";
					compatible = "nvidia,imx378";
					reg = <0x1a>;

					physical_w = "7.564";
					physical_h = "5.476";

					sensor_model ="imx378";
					dovdd-supply = <&en_vdd_cam>;
					avdd-reg = "vana";
					dvdd-reg = "vdig";
					iovdd-reg = "dovdd";

					mode0 { // IMX378_MODE_4056X3040
						mclk_khz = "18000";
						num_lanes = "2";
						tegra_sinterface = "serial_f";
						discontinuous_clk = "yes";
						cil_settletime = "0";
						active_w = "4056";
						active_h = "3040";
						pixel_t = "bayer_rggb";
						readout_orientation = "90";
						line_length = "4350";
						inherent_gain = "1";
						mclk_multiplier = "348/3";
						pix_clk_hz = "208800000";

						min_gain_val = "1.0";
						max_gain_val = "22.0";
						min_hdr_ratio = "1";
						max_hdr_ratio = "64";
						min_framerate = "1";
						max_framerate = "15";
						min_exp_time = "1";
						max_exp_time = "65515";
					};
					mode1 { // IMX378_MODE_3840X2160
						mclk_khz = "18000";
						num_lanes = "2";
						tegra_sinterface = "serial_f";
						discontinuous_clk = "yes";
						cil_settletime = "0";
						active_w = "3840";
						active_h = "2160";
						pixel_t = "bayer_rggb";
						readout_orientation = "90";
						line_length = "4392";
						inherent_gain = "1";
						mclk_multiplier = "246/3";
						pix_clk_hz = "147600000";

						min_gain_val = "1.0";
						max_gain_val = "22.0";
						min_hdr_ratio = "1";
						max_hdr_ratio = "64";
						min_framerate = "1";
						max_framerate = "15";
						min_exp_time = "1";
						max_exp_time = "65515";
					};
					mode2 { // IMX378_MODE_1920X1080
						mclk_khz = "18000";
						num_lanes = "2";
						tegra_sinterface = "serial_f";
						discontinuous_clk = "yes";
						cil_settletime = "0";
						active_w = "1920";
						active_h = "1080";
						pixel_t = "bayer_rggb";
						readout_orientation = "90";
						line_length = "2196";
						inherent_gain = "1";
						mclk_multiplier = "246/3";
						pix_clk_hz = "147600000";

						min_gain_val = "1.0";
						max_gain_val = "22.0";
						min_hdr_ratio = "1";
						max_hdr_ratio = "64";
						min_framerate = "1";
						max_framerate = "60";
						min_exp_time = "1";
						max_exp_time = "65515";
					};
					mode3 { // IMX378_MODE_640X480
						mclk_khz = "18000";
						num_lanes = "2";
						tegra_sinterface = "serial_f";
						discontinuous_clk = "yes";
						cil_settletime = "0";
						active_w = "640";
						active_h = "480";
						pixel_t = "bayer_rggb";
						readout_orientation = "90";
						line_length = "1562";
						inherent_gain = "1";
						mclk_multiplier = "350/3";
						pix_clk_hz = "420000000";

						min_gain_val = "1.0";
						max_gain_val = "22.0";
						min_hdr_ratio = "1";
						max_hdr_ratio = "64";
						min_framerate = "1";
						max_framerate = "240";
						min_exp_time = "1";
						max_exp_time = "65515";
					};
					ports {
						#address-cells = <1>;
						#size-cells = <0>;
						port@0 {
							reg = <0>;
							imx378_out5: endpoint {
								csi-port = <5>;
								bus-width = <2>;
								remote-endpoint = <&csi_in5>;
							};
						};
					};
				};
			};
		};
	};

	lens_imx378_a@3e {
		min_focus_distance = "0.0";
		hyper_focal = "0.0";
		focal_length = "4.52";
		f_number = "2.0";
		aperture = "2.0";
	};
	lens_imx378_b@3e {
		min_focus_distance = "0.0";
		hyper_focal = "0.0";
		focal_length = "4.52";
		f_number = "2.0";
		aperture = "2.0";
	};
	lens_imx378_c@3e {
		min_focus_distance = "0.0";
		hyper_focal = "0.0";
		focal_length = "4.52";
		f_number = "2.0";
		aperture = "2.0";
	};
	lens_imx378_d@3e {
		min_focus_distance = "0.0";
		hyper_focal = "0.0";
		focal_length = "4.52";
		f_number = "2.0";
		aperture = "2.0";
	};
	lens_imx378_e@3e {
		min_focus_distance = "0.0";
		hyper_focal = "0.0";
		focal_length = "4.52";
		f_number = "2.0";
		aperture = "2.0";
	};
	lens_imx378_f@3e {
		min_focus_distance = "0.0";
		hyper_focal = "0.0";
		focal_length = "4.52";
		f_number = "2.0";
		aperture = "2.0";
	};

	tegra-camera-platform {
		compatible = "nvidia, tegra-camera-platform";
		/**
		* Physical settings to calculate max ISO BW
		*
		* num_csi_lanes = <>;
		* Total number of CSI lanes when all cameras are active
		*
		* max_lane_speed = <>;
		* Max lane speed in Kbit/s
		*
		* min_bits_per_pixel = <>;
		* Min bits per pixel
		*
		* vi_peak_byte_per_pixel = <>;
		* Max byte per pixel for the VI ISO case
		*
		* vi_bw_margin_pct = <>;
		* Vi bandwidth margin in percentage
		*
		* max_pixel_rate = <>;
		* Max pixel rate in Kpixel/s for the ISP ISO case
		*
		* isp_peak_byte_per_pixel = <>;
		* Max byte per pixel for the ISP ISO case
		*
		* isp_bw_margin_pct = <>;
		* Isp bandwidth margin in percentage
		*/
		num_csi_lanes = <12>;
		max_lane_speed = <1500000>;
		min_bits_per_pixel = <10>;
		vi_peak_byte_per_pixel = <2>;
		vi_bw_margin_pct = <25>;
		max_pixel_rate = <750000>;
		isp_peak_byte_per_pixel = <5>;
		isp_bw_margin_pct = <25>;

		/**
		 * The general guideline for naming badge_info contains 3 parts, and is as follows,
		 * The first part is the camera_board_id for the module; if the module is in a FFD
		 * platform, then use the platform name for this part.
		 * The second part contains the position of the module, ex. "rear" or "front".
		 * The third part contains the last 6 characters of a part number which is found
		 * in the module's specsheet from the vender.
		 */
		modules {
			module5 {
				status = "okay";
				badge = "imx378_CH1_396CP";
				position = "0";
				orientation = "1";
				drivernode0 {
					status = "okay";
					/* Declare PCL support driver (classically known as guid)  */
					pcl_id = "v4l2_sensor";
					/* Driver v4l2 device name */
					devname = "imx378 30-001a";
					/* Declare the device-tree hierarchy to driver instance */
					proc-device-tree = "/proc/device-tree/i2c@3180000/tca9548@70/i2c@0/imx378_a@1a";
				};
				drivernode1 {
					/* Declare PCL support driver (classically known as guid)  */
					pcl_id = "v4l2_lens";
					proc-device-tree = "/proc/device-tree/lens_imx378_a@3e/";
				};
			};
			module4 {
				status = "okay";
				badge = "imx378_CH2_396CP";
				position = "1";
				orientation = "1";
				drivernode0 {
					status = "okay";
					/* Declare PCL support driver (classically known as guid)  */
					pcl_id = "v4l2_sensor";
					/* Driver v4l2 device name */
					devname = "imx378 31-001a";
					/* Declare the device-tree hierarchy to driver instance */
					proc-device-tree = "/proc/device-tree/i2c@3180000/tca9548@70/i2c@1/imx378_b@1a";
				};
				drivernode1 {
					/* Declare PCL support driver (classically known as guid)  */
					pcl_id = "v4l2_lens";
					proc-device-tree = "/proc/device-tree/lens_imx378_b@3e/";
				};
			};
			module3 {
				status = "okay";
				badge = "imx378_CH3_396CP";
				position = "2";
				orientation = "1";
				drivernode0 {
					status = "okay";
					/* Declare PCL support driver (classically known as guid)  */
					pcl_id = "v4l2_sensor";
					/* Driver v4l2 device name */
					devname = "imx378 32-001a";
					/* Declare the device-tree hierarchy to driver instance */
					proc-device-tree = "/proc/device-tree/i2c@3180000/tca9548@70/i2c@2/imx378_c@1a";
				};
				drivernode1 {
					/* Declare PCL support driver (classically known as guid)  */
					pcl_id = "v4l2_lens";
					proc-device-tree = "/proc/device-tree/lens_imx378_c@3e/";
				};
			};
			module2 {
				status = "okay";
				badge = "imx378_CH4_396CP";
				position = "3";
				orientation = "1";
				drivernode0 {
					status = "okay";
					/* Declare PCL support driver (classically known as guid)  */
					pcl_id = "v4l2_sensor";
					/* Driver v4l2 device name */
					devname = "imx378 33-001a";
					/* Declare the device-tree hierarchy to driver instance */
					proc-device-tree = "/proc/device-tree/i2c@3180000/tca9548@70/i2c@3/imx378_d@1a";
				};
				drivernode1 {
					/* Declare PCL support driver (classically known as guid)  */
					pcl_id = "v4l2_lens";
					proc-device-tree = "/proc/device-tree/lens_imx378_d@3e/";
				};
			};
			module1 {
				status = "okay";
				badge = "imx378_CH5_396CP";
				position = "4";
				orientation = "1";
				drivernode0 {
					status = "okay";
					/* Declare PCL support driver (classically known as guid)  */
					pcl_id = "v4l2_sensor";
					/* Driver v4l2 device name */
					devname = "imx378 34-001a";
					/* Declare the device-tree hierarchy to driver instance */
					proc-device-tree = "/proc/device-tree/i2c@3180000/tca9548@70/i2c@4/imx378_e@1a";
				};
				drivernode1 {
					/* Declare PCL support driver (classically known as guid)  */
					pcl_id = "v4l2_lens";
					proc-device-tree = "/proc/device-tree/lens_imx378_e@3e/";
				};
			};
			module0 {
				status = "okay";
				badge = "imx378_CH6_396CP";
				position = "5";
				orientation = "1";
				drivernode0 {
					status = "okay";
					/* Declare PCL support driver (classically known as guid)  */
					pcl_id = "v4l2_sensor";
					/* Driver v4l2 device name */
					devname = "imx378 35-001a";
					/* Declare the device-tree hierarchy to driver instance */
					proc-device-tree = "/proc/device-tree/i2c@3180000/tca9548@70/i2c@5/imx378_f@1a";
				};
				drivernode1 {
					/* Declare PCL support driver (classically known as guid)  */
					pcl_id = "v4l2_lens";
					proc-device-tree = "/proc/device-tree/lens_imx378_f@3e/";
				};
			};
		};
	};
};

Does nvgstcapture-1.0 working?

nvgstcapture-1.0 returns the following error.

nvidia@tegra-ubuntu:~$ nvgstcapture-1.0
Encoder null, cannot set bitrate!
Encoder Profile = High
Supported resolutions in case of ARGUS Camera
  (2) : 640x480
  (3) : 1280x720
  (4) : 1920x1080
  (5) : 2104x1560
  (6) : 2592x1944
  (7) : 2616x1472
  (8) : 3840x2160
  (9) : 3896x2192
  (10): 4208x3120
  (11): 5632x3168
  (12): 5632x4224

Runtime ARGUS Camera Commands:

  Help : 'h'
  Quit : 'q'
  Set Capture Mode:
      mo:<val>
          (1): image
          (2): video
  Get Capture Mode:
      gmo
  Set sensor orientation:
      so:<val>
          (0): none
          (1): Rotate counter-clockwise 90 degrees
          (2): Rotate 180 degrees
          (3): Rotate clockwise 90 degrees
  Get sensor orientation:
      gso
  Set Whitebalance Mode:
      wb:<val>
          (0): off
          (1): auto
          (2): incandescent
          (3): fluorescent
          (4): warm-fluorescent
          (5): daylight
          (6): cloudy-daylight
          (7): twilight
          (8): shade
          (9): manual
  Get Whitebalance Mode:
      gwb
  Set Saturation (0 to 2):
      st:<val> e.g., st:1.25
  Get Saturation:
      gst
  Capture: enter 'j' OR
           followed by a timer (e.g., jx5000, capture after 5 seconds) OR
           followed by multishot count (e.g., j:6, capture 6 images)
           timer/multihot values are optional, capture defaults to single shot with timer=0s
  Start Recording : enter '1'
  Stop Recording  : enter '0'
  Video snapshot  : enter '2' (While recording video)
  Get Preview Resolution:
      gpcr
  Get Image Capture Resolution:
      gicr
  Get Video Capture Resolution:
      gvcr


Runtime encoder configuration options:

  Set Encoding Bit-rate(in bytes):
      br:<val> e.g., br:4000000
  Get Encoding Bit-rate(in bytes):
      gbr
  Set Encoding Profile(only for H.264):
      ep:<val> e.g., ep:1
          (0): Baseline
          (1): Main
          (2): High
  Get Encoding Profile(only for H.264):
      gep
  Force IDR Frame on video Encoder(only for H.264):
      Enter 'f' 


bitrate = 4000000
Encoder Profile = High
** Message: <main:5684> iterating capture loop ....
Framerate set to : 30 at NvxVideoEncoderSetParameterNvMMLiteOpen : Block : BlockType = 4 
===== MSENC =====
GST_ARGUS: Running with following settings:
   Camera index = 0 
   Camera mode  = 0 
   Output Stream W = 640 H = 480 
   seconds to Run    = 0 
NvMMLiteBlockCreate : Block : BlockType = 4 
mo:2
Changing capture mode to 2
(1): image
(2): video
j:1
1

Recording Started, Enter (0) to stop OR (2) to take snapshot 
(Argus) Error Timeout:  (propagating from src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 134)
(Argus) Error Timeout:  (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 101)
(Argus) Error Timeout:  (propagating from src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 134)
(Argus) Error Timeout:  (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 101)
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:358 Failed to create CameraProvider

The log of argus_daemon and nvcamera-daemon at that time is as follows.

pkill argus_daemon
pkill nvcamera-daemon
root@tegra-ubuntu:/home/nvidia# pkill argus_daemon
root@tegra-ubuntu:/home/nvidia# pkill nvcamera-daemon
export enableCamPclLogs=5
root@tegra-ubuntu:/home/nvidia# export enableCamPclLogs=5
root@tegra-ubuntu:/home/nvidia# export enableCamScfLogs=5
root@tegra-ubuntu:/home/nvidia# /usr/sbin/argus_daemon &
[1] 3221
root@tegra-ubuntu:/home/nvidia# /usr/sbin/nvcamera-daemon &
[2] 3222
root@tegra-ubuntu:/home/nvidia# === Listening for connections... ===
=== Connection 7F91B8F1E0 established ===
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 10 getting next capture
Thread 10 is waiting
Thread 11 getting next capture
Thread 11 is waiting
Thread 9 getting next capture
Thread 9 is waiting
Starting services...
Thread 12 getting next capture
Thread 12 is waiting
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(0x7f8cacf850)
getInstance: s_instance(0x7f8cacf850)
subscribe: create SensorType(gyroscope) sensor(0x7f8cad0a00)
subscribe: create SensorType(accelerometer) sensor(0x7f8cb310f0)
AC plugin not present: dlopen "acplugin.so", acplugin.so: cannot open shared obj                                                                                        ect file: No such file or directory
Services are started
NvPclSetHotplugCallback: ++++++++++++++++++++++
---- Imager: Calibration blob file handling supported in this build ----
NvPclHwGetModuleList: OFParserListModules Succeeded
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
NvPclHwPrintModuleDefinition -- Name: imx378_CH1_396CP
NvPclHwPrintModuleDefinition -- Position: 0
NvPclHwPrintModuleDefinition -- CalibrationData Found: 1
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].Name: v4l2_sensor
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].DevName: imx378 30-001a
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
NvPclHwPrintModuleDefinition -- Name: imx378_CH2_396CP
NvPclHwPrintModuleDefinition -- Position: 1
NvPclHwPrintModuleDefinition -- CalibrationData Found: 1
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].Name: v4l2_sensor
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].DevName: imx378 31-001a
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
NvPclHwPrintModuleDefinition -- Name: imx378_CH3_396CP
NvPclHwPrintModuleDefinition -- Position: 2
NvPclHwPrintModuleDefinition -- CalibrationData Found: 1
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].Name: v4l2_sensor
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].DevName: imx378 32-001a
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
NvPclHwPrintModuleDefinition -- Name: imx378_CH4_396CP
NvPclHwPrintModuleDefinition -- Position: 3
NvPclHwPrintModuleDefinition -- CalibrationData Found: 1
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].Name: v4l2_sensor
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].DevName: imx378 33-001a
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
NvPclHwPrintModuleDefinition -- Name: imx378_CH5_396CP
NvPclHwPrintModuleDefinition -- Position: 4
NvPclHwPrintModuleDefinition -- CalibrationData Found: 1
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].Name: v4l2_sensor
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].DevName: imx378 34-001a
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
NvPclHwPrintModuleDefinition -- Name: imx378_CH6_396CP
NvPclHwPrintModuleDefinition -- Position: 5
NvPclHwPrintModuleDefinition -- CalibrationData Found: 1
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].Name: v4l2_sensor
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].DevName: imx378 35-001a
NvPclHwGetModuleList: OFParserListModules Succeeded
NvPclModuleListInitialize: NvPclModule list[0]: imx378_CH1_396CP position0
NvPclModuleListInitialize: NvPclModule list[1]: imx378_CH2_396CP position1
NvPclModuleListInitialize: NvPclModule list[2]: imx378_CH3_396CP position2
NvPclModuleListInitialize: NvPclModule list[3]: imx378_CH4_396CP position3
NvPclModuleListInitialize: NvPclModule list[4]: imx378_CH5_396CP position4
NvPclModuleListInitialize: NvPclModule list[5]: imx378_CH6_396CP position5
NvPclHwScanExternalCameras -- adding video5 to discover list
NvPclHwScanExternalCameras -- adding video4 to discover list
NvPclHwScanExternalCameras -- adding video3 to discover list
NvPclHwScanExternalCameras -- adding video2 to discover list
NvPclHwScanExternalCameras -- adding video1 to discover list
NvPclHwScanExternalCameras -- adding video0 to discover list
NvPclHwScanExternalCameras -- adding video5 to discover list
NvPclHwScanExternalCameras -- adding video4 to discover list
NvPclHwScanExternalCameras -- adding video3 to discover list
NvPclHwScanExternalCameras -- adding video2 to discover list
NvPclHwScanExternalCameras -- adding video1 to discover list
NvPclHwScanExternalCameras -- adding video0 to discover list
initialize: /dev/video0

Does any error message from kernel?

Attach a dump of the kernel’s message by dmesg command.

[  334.712154] tegradc 15210000.nvdisplay: blank - powerdown
[  334.830766] PD DISP2 index4 DOWN
[  334.830892] PD DISP1 index3 DOWN
[  334.830991] PD DISP0 index2 DOWN
[  345.132041] tegradc 15210000.nvdisplay: hdmi: unplugged
[  345.189889] tegradc 15210000.nvdisplay: blank - powerdown
[  345.195341] tegradc 15210000.nvdisplay: unblank
[  345.199939] tegradc 15210000.nvdisplay: unblank
[  345.456427] tegradc 15210000.nvdisplay: blank - powerdown
[  345.461908] tegradc 15210000.nvdisplay: hdmi: plugged
[  345.470736] tegradc 15210000.nvdisplay: blank - powerdown
[  345.476159] tegradc 15210000.nvdisplay: unblank
[  345.476172] PD DISP0 index2 UP
[  345.477103] PD DISP1 index3 UP
[  345.477190] PD DISP2 index4 UP
[  345.478667] Parent Clock set for DC plld2
[  345.481469] tegradc 15210000.nvdisplay: hdmi: pclk:297000K, set prod-setting:prod_c_300M
[  346.538034] tegradc 15210000.nvdisplay: unblank
[  346.845429] tegradc 15210000.nvdisplay: blank - powerdown
[  346.953293] PD DISP2 index4 DOWN
[  346.953415] PD DISP1 index3 DOWN
[  346.953517] PD DISP0 index2 DOWN
[  346.969749] tegradc 15210000.nvdisplay: unblank
[  346.969768] PD DISP0 index2 UP
[  346.975599] PD DISP1 index3 UP
[  346.975734] PD DISP2 index4 UP
[  346.977890] Parent Clock set for DC plld2
[  346.979577] tegradc 15210000.nvdisplay: hdmi: pclk:297000K, set prod-setting:prod_c_300M
[  347.072903] tegradc 15210000.nvdisplay: unblank
[  762.390101] tegradc 15210000.nvdisplay: unblank
[  762.471780] tegradc 15210000.nvdisplay: blank - powerdown
[  762.587763] PD DISP2 index4 DOWN
[  762.588042] PD DISP1 index3 DOWN
[  762.588228] PD DISP0 index2 DOWN
[  762.606341] tegradc 15210000.nvdisplay: unblank
[  762.606456] PD DISP0 index2 UP
[  762.609771] PD DISP1 index3 UP
[  762.611952] PD DISP2 index4 UP
[  762.620853] Parent Clock set for DC plld2
[  762.623720] tegradc 15210000.nvdisplay: hdmi: pclk:297000K, set prod-setting:prod_c_300M
[  762.718016] tegradc 15210000.nvdisplay: unblank

kernel.txt (70.5 KB)

Still image by v4l2 can be capture with no error message.

v4l2-ctl -d /dev/video0 --set-fmt-video=width=4056,height=3040,pixelformat=RG10 \
 --set-ctrl frame_length=3200 \
 --set-ctrl coarse_time=3000 \
 --set-ctrl gain=100 \
 --set-ctrl bypass_mode=0 \
 --stream-mmap --stream-skip=1 --stream-count=1 --stream-to=test.raw --verbose

Did you compare your sensor driver with reference driver to check if update?
Like the CID as below.

diff --git a/drivers/media/i2c/imx185.c b/drivers/media/i2c/imx185.c
index cfd0c27..5d372f2 100644
--- a/drivers/media/i2c/imx185.c
+++ b/drivers/media/i2c/imx185.c
@@ -27,6 +27,7 @@
 #include <linux/of_gpio.h>

 #include <media/tegra_v4l2_camera.h>
+#include <media/tegra-v4l2-camera.h>
 #include <media/camera_common.h>
 #include "imx185_mode_tbls.h"

@@ -96,7 +97,7 @@ static struct v4l2_ctrl_config ctrl_config_list[] = {
 /* Do not change the name field for the controls! */
        {
                .ops = &imx185_ctrl_ops,
-               .id = V4L2_CID_GAIN,
+               .id = TEGRA_CAMERA_CID_GAIN,
                .name = "Gain",
                .type = V4L2_CTRL_TYPE_INTEGER64,
                .flags = V4L2_CTRL_FLAG_SLIDER,
@@ -107,7 +108,7 @@ static struct v4l2_ctrl_config ctrl_config_list[] = {
        },

According to your advice, I compared the difference between jetpack 3.2 and jetpack 3.2.1.
As a result, I noticed the following differences.
I confirmed that it works correctly with IMX378 by adapting the difference.
Thank you very much.

$ diff a/drivers/media/i2c/imx219.c b/drivers/media/i2c/imx219.c
731d730
<       char debugfs_name[32];
796,798c795,797
<       snprintf(debugfs_name, sizeof(debugfs_name), "%s.%s",
<               dev_driver_string(&client->dev), dev_name(&client->dev));
<       camera_common_create_debugfs(common_data, debugfs_name);
---
>       err = camera_common_initialize(common_data, "imx219");
>       if (err)
>               return err;
847c846
<       camera_common_remove_debugfs(s_data);
---
>       camera_common_cleanup(s_data);

Sorry to revive an old thread (well, several months old), but do you mind sharing where you are getting the IMX378 modules, @yasuo-tanaka?

We are hoping to use them as well. And would also be interested in your carrier board.

Thanks in advance,
Brandon

Dear Brandon-san

Thank you for your inquiry.

You can purchase the IMX378 module and the Jetson carrier board together from the following sites.
https://www.chip1stop.com/JPN/en/view/dispDetail/DispDetail?partId=CTAC-0000004&keyword=CA378-AOIS_JSX2_2L

It is the product introduction of our homepage.
https://www.centuryarks.com/en/products/cm

Download the latest IMX378 driver and sample program from here.
https://github.com/centuryarks/CA378-AOIS

Best Regards,
Yasuo Tanaka

Tanaka-san,

I asked elsewhere, but is there support for the USB-3 adapter under linux? I’m trying to use it on a Xavier-NX running JetPack 4.4 and am only getting noisy images. All of your documentation is geared toward the i2c connection.