Orin Nano with IMX568 Cam0 port not working

I have Orin Nano developer kit and I’ve been trying to use a camera imx568 on Orin Nano with MIPI-CSI-2 by using this repo
We can get images from cam1 port but we cannot get images from cam0 port. Configuration file and other outputs below

First I did quicksetup with the instructions. Setup completed and no error seen.

My camera dtsi configuration is below.

/*
 * Copyright (c) 2023, Vision Components GmbH.  All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 * more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#include <dt-bindings/media/camera.h>

// ------------------------------------------------------------------------------------------------
//  Driver Configuration for NVIDIA Jetson Orin Nano on NVIDIA Jetson Orin Nano Developer Kit
// ------------------------------------------------------------------------------------------------
#define VC_MIPI_CAM_1       1   // 1: Enabled, 0: Disabled  (serial_a => CSI Port 0 => VI Stream 0)
#define VC_MIPI_CAM_0       1   // 1: Enabled, 0: Disabled  (serial_c => CSI Port 2 => VI Stream 2)
// ------------------------------------------------------------------------------------------------
//  Supported number of lanes
// -----+------------------------------------------------------------------------------------------
//  1   | OV7251, IMX296, IMX297
//  2   | OV9281, IMX264, IMX265
//  2,4 | IMX178, IMX183, IMX226, IMX250, IMX252, IMX273, IMX290, IMX327, IMX335, IMX392, 
//      | IMX412, IMX415, IMX568
// -----+------------------------------------------------------------------------------------------
#define VC_MIPI_LANES       4   // 1, 2, 4 Lanes
// ------------------------------------------------------------------------------------------------
//  Embedded Metadata Height
// -----+------------------------------------------------------------------------------------------
//  0   | IMX178, IMX183, IMX226, IMX250, IMX252, IMX264, IMX265, IMX273, IMX392, OV7251, OV9281
//  1   | IMX290, IMX327, IMX335, IMX415, IMX568
//  2   | IMX296, IMX297, IMX412
// -----+------------------------------------------------------------------------------------------
#define VC_MIPI_METADATA_H  "1" // "0", "1", "2" Lines of meta data
// ------------------------------------------------------------------------------------------------
//   Sensor Manufacturer
// -----+------------------------------------------------------------------------------------------
//   1  | Sony Sensor (IMX)
//   2  | Omni Vision Sensor (OV)
// -----+------------------------------------------------------------------------------------------
#define VC_MIPI_MANUFACTURER 1
// ------------------------------------------------------------------------------------------------
//  GStreamer Support
// ------------------------------------------------------------------------------------------------
//  If you want to use GStreamer with nvarguscamerasrc you have to adjust this settings in the 
//  device tree below. The sections which have to be modified are marked by a comment. 
//  To find the correct parameter values please follow the instruction in the main README.md of 
//  this repository https://github.com/VC-MIPI-modules/vc_mipi_nvidia#gstreamer-support
// ------------------------------------------------------------------------------------------------

#if VC_MIPI_LANES == 1
    #define BUS_WIDTH 1
    #define NUM_LANES "1" 
    #define NUM_CSI_LANES 2
#endif
#if VC_MIPI_LANES == 2
    #define BUS_WIDTH 2
    #define NUM_LANES "2" 
    #define NUM_CSI_LANES 4
#endif
#if VC_MIPI_LANES == 4
    #define BUS_WIDTH 4
    #define NUM_LANES "4" 
    #define NUM_CSI_LANES 8
#endif

#if VC_MIPI_CAM_1 == 1 && VC_MIPI_CAM_0 == 1
    #define VC_MIPI_CAMERAS 2
#else
    #define VC_MIPI_CAMERAS 1
#endif

/ {
	tegra-capture-vi  {
		num-channels = <VC_MIPI_CAMERAS>;
		ports {
			#address-cells = <1>;
			#size-cells = <0>;
#if VC_MIPI_CAM_1 == 1
			vc_vi_port0: port@0 {
				reg = <0>;
				vc_vi_in0: endpoint {
					port-index = <1>;
					bus-width = <BUS_WIDTH>;
					remote-endpoint = <&vc_csi_out0>;
				};
			};
#endif
#if VC_MIPI_CAM_0 == 1
			vc_vi_port1: port@1 {
				reg = <1>;
				vc_vi_in1: endpoint {
					port-index = <2>;
					bus-width = <BUS_WIDTH>;
					remote-endpoint = <&vc_csi_out1>;
				};
			};
#endif
		}; // ports
	};

	host1x@13e00000 {
		nvcsi@15a00000 {
			num-channels = <VC_MIPI_CAMERAS>;
			#address-cells = <1>;
			#size-cells = <0>;
#if VC_MIPI_CAM_1 == 1
			vc_csi_chan0: channel@0 {
				reg = <0>;
				ports {
					#address-cells = <1>;
					#size-cells = <0>;
						vc_csi_chan0_port0: port@0 {
						reg = <0>;
						vc_csi_in0: endpoint@0 {
							port-index = <1>;
							bus-width = <BUS_WIDTH>;
							remote-endpoint = <&vc_mipi_out0>;
						};
					};
					vc_csi_chan0_port1: port@1 {
						reg = <1>;
						vc_csi_out0: endpoint@1 {
							remote-endpoint = <&vc_vi_in0>;
						};
					};
				};
			};
#endif

#if VC_MIPI_CAM_0 == 1
			vc_csi_chan1: channel@1 {
				reg = <1>;
				ports {
					#address-cells = <1>;
					#size-cells = <0>;
					vc_csi_chan1_port0: port@0 {
						reg = <0>;
						vc_csi_in1: endpoint@2 {
							port-index = <2>;
							bus-width = <BUS_WIDTH>;
							remote-endpoint = <&vc_mipi_out1>;
						};
					};
					vc_csi_chan1_port1: port@1 {
						reg = <1>;
						vc_csi_out1: endpoint@3 {
							remote-endpoint = <&vc_vi_in1>;
						};
					};
				};
			};
#endif
		};
	};

	cam_i2cmux {
#if VC_MIPI_CAM_1 == 1
		i2c@0 {
#if VC_MIPI_MANUFACTURER == 1
			vc_mipi_cam0: vc_mipi@1a {
				reg                     = <0x1a>;
#else
			vc_mipi_cam0: vc_mipi@60 {
				reg                     = <0x60>;
#endif
				compatible              = "nvidia,vc_mipi";
				devnode                 = "video0";
				use_sensor_mode_id      = "false";
				sensor_model            = "vc_mipi";

				num_lanes               = NUM_LANES;
				trigger_mode            = "0";
				io_mode                 = "0";

				// ----------------------------------------------------
				// If you want to use GStreamer with nvarguscamerasrc
				// you have to adjust this settings
				physical_w              = "6.773";
				physical_h              = "5.612";
				// ----------------------------------------------------

				// This node is needed by the Tegra framework.
				// You don't have to change any settings if just want 
				// to use the V4L API.
				mode0 {
					num_lanes                = NUM_LANES;
					tegra_sinterface         = "serial_b";
					embedded_metadata_height = VC_MIPI_METADATA_H;
					readout_orientation      = "0";
					lane_polarity            = "6";

					// ----------------------------------------------------
					// If you want to use GStreamer with nvarguscamerasrc
					// you have to adjust this settings. 
					active_l                 = "0";
					active_t                 = "0";
					active_w                 = "2472";
					active_h                 = "2048";
					mode_type                = "bayer";
					pixel_phase              = "rggb";
					csi_pixel_bit_depth      = "10";

					min_gain_val             = "0";         // mdB
					max_gain_val             = "48000";     // mdB
					step_gain_val            = "1";       // mdB
					default_gain             = "0";         // mdB

					min_exp_time             = "1";         // us
					max_exp_time             = "1000000";   // us
					step_exp_time            = "1";         // us
					default_exp_time         = "10000";     // us

					// For applications like argus_camera, there should 
					// be a minimal frame rate greater than zero!
					min_framerate            = "100";       // mHz
					max_framerate            = "78800";     // mHz
					step_framerate           = "100";       // mHz
					default_framerate        = "78800";     // mHz
					// ----------------------------------------------------

					gain_factor              = "1000";
					exposure_factor          = "1000000";
					framerate_factor         = "1000";
					inherent_gain            = "1";
					min_hdr_ratio            = "1";
					max_hdr_ratio            = "1";

					line_length              = "0";
					phy_mode                 = "DPHY";
					discontinuous_clk        = "no";
					mclk_khz                 = "24000";
					pix_clk_hz               = "215000000";
					mclk_multiplier          = "0.0";  	// deprecated
					cil_settletime           = "0";
					dpcm_enable              = "false";
				};

				ports {
					#address-cells = <1>;
					#size-cells = <0>;
					port@0 {
						reg = <0>;
						vc_mipi_out0: endpoint {
							port-index = <1>;
							bus-width = <BUS_WIDTH>;
							remote-endpoint = <&vc_csi_in0>;
						};
					};
				};
			};
		};
#endif // VC_MIPI_CAM_1

#if VC_MIPI_CAM_0 == 1
		i2c@1 {
#if VC_MIPI_MANUFACTURER == 1
			vc_mipi_cam1: vc_mipi@1a {
				reg                     = <0x1a>;
#else
			vc_mipi_cam1: vc_mipi@60 {
				reg                     = <0x60>;
#endif
				compatible              = "nvidia,vc_mipi";
				devnode                 = "video1";
				use_sensor_mode_id      = "false";
				sensor_model            = "vc_mipi";

				num_lanes               = NUM_LANES;
				trigger_mode            = "0";
				io_mode                 = "0";

				// ----------------------------------------------------
				// If you want to use GStreamer with nvarguscamerasrc
				// you have to adjust this settings
				physical_w              = "6.773";
				physical_h              = "5.655";
				// ----------------------------------------------------

				// This node is needed by the Tegra framework.
				// You don't have to change any settings if just want 
				// to use the V4L API.
				mode0 {
					num_lanes                = NUM_LANES;
					tegra_sinterface         = "serial_c";
					embedded_metadata_height = VC_MIPI_METADATA_H;
					readout_orientation      = "0";
					lane_polarity            = "0";

					// ----------------------------------------------------
					// If you want to use GStreamer with nvarguscamerasrc
					// you have to adjust this settings. 
					active_l                 = "0";
					active_t                 = "0";
					active_w                 = "2472";
					active_h                 = "2048";
					mode_type                = "bayer";
					pixel_phase              = "rggb";
					csi_pixel_bit_depth      = "10";

					min_gain_val             = "0";         // mdB
					max_gain_val             = "48000";     // mdB
					step_gain_val            = "100";       // mdB
					default_gain             = "0";         // mdB

					min_exp_time             = "1";         // us
					max_exp_time             = "1000000";   // us
					step_exp_time            = "1";         // us
					default_exp_time         = "10000";     // us

					// For applications like argus_camera, there should 
					// be a minimal frame rate greater than zero!
					min_framerate            = "100";       // mHz
					max_framerate            = "78800";     // mHz
					step_framerate           = "100";       // mHz
					default_framerate        = "78800";     // mHz
					// ----------------------------------------------------

					gain_factor              = "1000";
					exposure_factor          = "1000000";
					framerate_factor         = "1000";
					inherent_gain            = "1";
					min_hdr_ratio            = "1";
					max_hdr_ratio            = "1";

					line_length              = "0";
					phy_mode                 = "DPHY";
					discontinuous_clk        = "no";
					mclk_khz                 = "24000";
					pix_clk_hz               = "600000000"; // 205000000 - 600000000 tested with IMX568
					mclk_multiplier          = "0.0";		// deprecated
					cil_settletime           = "0";
					dpcm_enable              = "false";
				};

				ports {
					#address-cells = <1>;
					#size-cells = <0>;
					port@0 {
						reg = <0>;
						vc_mipi_out1: endpoint {
							port-index = <2>;
							bus-width = <BUS_WIDTH>;
							remote-endpoint = <&vc_csi_in1>;
						};
					};
				};
			};
		};
#endif // VC_MIPI_CAM_0
	};

	lens@vc_mipi {
		min_focus_distance  = "0.0";
		hyper_focal         = "0.0";
		focal_length        = "6.0";
		f_number            = "2.0";
		aperture            = "0.0";
	};
};

/ {
	tcp: tegra-camera-platform {
		compatible = "nvidia, tegra-camera-platform";

		num_csi_lanes = <NUM_CSI_LANES>;
		max_lane_speed = <1500000>;
		min_bits_per_pixel = <10>;
		vi_peak_byte_per_pixel = <2>;
		vi_bw_margin_pct = <25>;
		max_pixel_rate = <240000>;
		isp_peak_byte_per_pixel = <5>;
		isp_bw_margin_pct = <25>;

		modules {
#if VC_MIPI_CAM_1 == 1
			cam_module0: module0 {
				badge = "jakku_front_vc_mipi";
				position = "front";
				orientation = "1";
				cam_module0_drivernode0: drivernode0 {
					pcl_id = "v4l2_sensor";
#if VC_MIPI_MANUFACTURER == 1
					devname = "vc_mipi 9-001a";
					proc-device-tree = "/proc/device-tree/cam_i2cmux/i2c@0/vc_mipi@1a";
#else
					devname = "vc_mipi 9-0060";
					proc-device-tree = "/proc/device-tree/cam_i2cmux/i2c@0/vc_mipi@60";
#endif
				};
				cam_module0_drivernode1: drivernode1 {
					pcl_id = "v4l2_lens";
					proc-device-tree = "/proc/device-tree/lens@vc_mipi/";
				};
			};
#endif // VC_MIPI_CAM_1
			
#if VC_MIPI_CAM_0 == 1
			cam_module1: module1 {
				badge = "jakku_rear_vc_mipi";
				position = "rear";
				orientation = "1";
				cam_module1_drivernode0: drivernode0 {
				pcl_id = "v4l2_sensor";
#if VC_MIPI_MANUFACTURER == 1
				devname = "vc_mipi 10-001a";
				proc-device-tree = "/proc/device-tree/cam_i2cmux/i2c@1/vc_mipi@1a";
#else
				devname = "vc_mipi 10-0060";
				proc-device-tree = "/proc/device-tree/cam_i2cmux/i2c@1/vc_mipi@60";
#endif	
				};
				cam_module1_drivernode1: drivernode1 {
					pcl_id = "v4l2_lens";
					proc-device-tree = "/proc/device-tree/lens@vc_mipi/";
				};
			};
#endif // VC_MIPI_CAM_0
		};
	};
};

#define CAM0_PWDN	TEGRA234_MAIN_GPIO(H, 6)
#define CAM1_PWDN	TEGRA234_MAIN_GPIO(AC, 0)
#define CAM_I2C_MUX 	TEGRA234_AON_GPIO(CC, 3)

/ {
	cam_i2cmux {
		status = "okay";
		compatible = "i2c-mux-gpio";
		#address-cells = <1>;
		#size-cells = <0>;
		mux-gpios = <&tegra_aon_gpio CAM_I2C_MUX GPIO_ACTIVE_HIGH>;
		i2c-parent = <&cam_i2c>;
#if VC_MIPI_CAM_1 == 1
		i2c@0 {
			status = "okay";
			reg = <0>;
			#address-cells = <1>;
			#size-cells = <0>;
#if VC_MIPI_MANUFACTURER == 1
			vc_mipi@1a {
#else
			vc_mipi@60 {
#endif
				reset-gpios = <&tegra_main_gpio CAM0_PWDN GPIO_ACTIVE_HIGH>;
			};
		};
#endif
#if VC_MIPI_CAM_0 == 1
		i2c@1 {
			status = "okay";
			reg = <1>;
			#address-cells = <1>;
			#size-cells = <0>;
#if VC_MIPI_MANUFACTURER == 1
			vc_mipi@1a {
#else
            		vc_mipi@60 {
#endif
				reset-gpios = <&tegra_main_gpio CAM1_PWDN GPIO_ACTIVE_HIGH>;
			};
		};
#endif
	};

	gpio@2200000 {
		camera-control-output-low {
			gpio-hog;
			output-low;
			gpios = <CAM0_PWDN 0 CAM1_PWDN 0>;
			label = "cam0-pwdn","cam1-pwdn";
		};
	};
};

dmesg is here

[  189.067207] vc_mipi 9-001a: vc_core_set_framerate(): Set framerate 41554 mHz
[  189.074502] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 10000 us
[  189.085201] vc_mipi 9-001a: vc_core_set_framerate(): Set framerate 30000 mHz
[  189.092527] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 10000 us
[  189.101261] vc_mipi 9-001a: vc_sen_set_gain(): Set sensor gain: 10
[  189.107939] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 33330 us
[  189.120776] bwmgr API not supported
[  189.121080] vc_mipi 9-001a: vc_core_set_format(): Set format 0x300f (RG10)
[  189.131793] vc_mipi 9-001a: vc_core_try_format(): Try format 0x300f (RG10, format: 0x2b)
[  189.131798] vc_mipi 9-001a: vc_update_image_size_from_mode(): Update image size from mode0 (l: 0, t: 0, w: 2464, h: 2048)
[  189.143094] vc_mipi 9-001a: vc_sen_set_gain(): Set sensor gain: 10
[  189.149729] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 33330 us
[  189.158418] vc_mipi 9-001a: vc_core_set_framerate(): Set framerate 30000 mHz
[  189.165671] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 33330 us
[  189.174355] i2c 9-0010: vc_mod_set_mode(): Set module mode: 10 (lanes: 4, format: RG10, type: EXT.TRG)
[  189.183944] i2c 9-0010: vc_mod_set_power(): Set module power: down
[  189.184213] i2c 9-0010: vc_mod_set_power(): Set module power: up
[  189.585492] vc_mipi 9-001a: vc_sen_set_roi(): Set sensor roi: (left: 0, top: 0, width: 2464, height: 2048)
[  189.596860] vc_mipi 9-001a: vc_sen_set_roi(): i2c_write_reg:  14658
[  189.603358] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 33330 us
[  189.612125] vc_mipi 9-001a: vc_sen_set_gain(): Set sensor gain: 10
[  189.618818] vc_mipi 9-001a: vc_sen_set_blacklevel(): Set sensor black level: 60
[  189.626657] vc_mipi 9-001a: vc_sen_start_stream(): Start streaming
[  189.834097] bwmgr API not supported
[ 1034.174784] vc_mipi 9-001a: vc_sen_stop_stream(): Stop streaming
[ 1034.239951] bwmgr API not supported
[ 1036.795497] vc_mipi 9-001a: vc_core_set_framerate(): Set framerate 67060 mHz
[ 1036.806408] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 33330 us
[ 1036.815174] vc_mipi 9-001a: vc_sen_set_gain(): Set sensor gain: 0
[ 1036.823687] vc_mipi 9-001a: vc_core_set_framerate(): Set framerate 30000 mHz
[ 1036.830982] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 33330 us
[ 1036.840442] vc_mipi 9-001a: vc_sen_set_gain(): Set sensor gain: 10
[ 1036.850549] bwmgr API not supported
[ 1036.850859] vc_mipi 9-001a: vc_core_set_format(): Set format 0x300f (RG10)
[ 1036.861586] vc_mipi 9-001a: vc_core_try_format(): Try format 0x300f (RG10, format: 0x2b)
[ 1036.861591] vc_mipi 9-001a: vc_update_image_size_from_mode(): Update image size from mode0 (l: 0, t: 0, w: 2464, h: 2048)
[ 1036.872915] vc_mipi 9-001a: vc_sen_set_gain(): Set sensor gain: 10
[ 1036.879591] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 33330 us
[ 1036.888319] vc_mipi 9-001a: vc_core_set_framerate(): Set framerate 30000 mHz
[ 1036.895696] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 33330 us
[ 1036.904479] vc_mipi 9-001a: vc_sen_set_roi(): Set sensor roi: (left: 0, top: 0, width: 2464, height: 2048)
[ 1036.915849] vc_mipi 9-001a: vc_sen_set_roi(): i2c_write_reg:  14658
[ 1036.922304] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 33330 us
[ 1036.931055] vc_mipi 9-001a: vc_sen_start_stream(): Start streaming
[ 1037.138411] bwmgr API not supported
[ 1077.915361] vc_mipi 9-001a: vc_sen_stop_stream(): Stop streaming
[ 1077.980722] bwmgr API not supported
[ 1088.440177] vc_mipi 9-001a: vc_core_set_framerate(): Set framerate 67060 mHz
[ 1088.451107] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 33330 us
[ 1088.459915] vc_mipi 9-001a: vc_sen_set_gain(): Set sensor gain: 0
[ 1088.467680] vc_mipi 9-001a: vc_core_set_framerate(): Set framerate 30000 mHz
[ 1088.474980] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 33330 us
[ 1088.483714] vc_mipi 9-001a: vc_sen_set_gain(): Set sensor gain: 10
[ 1088.493863] bwmgr API not supported
[ 1088.494171] vc_mipi 9-001a: vc_core_set_format(): Set format 0x300f (RG10)
[ 1088.504873] vc_mipi 9-001a: vc_core_try_format(): Try format 0x300f (RG10, format: 0x2b)
[ 1088.504878] vc_mipi 9-001a: vc_update_image_size_from_mode(): Update image size from mode0 (l: 0, t: 0, w: 2464, h: 2048)
[ 1088.516180] vc_mipi 9-001a: vc_sen_set_gain(): Set sensor gain: 10
[ 1088.522818] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 33330 us
[ 1088.531503] vc_mipi 9-001a: vc_core_set_framerate(): Set framerate 30000 mHz
[ 1088.538774] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 33330 us
[ 1088.547471] vc_mipi 9-001a: vc_sen_set_roi(): Set sensor roi: (left: 0, top: 0, width: 2464, height: 2048)
[ 1088.558607] vc_mipi 9-001a: vc_sen_set_roi(): i2c_write_reg:  14658
[ 1088.565067] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 33330 us
[ 1088.573748] vc_mipi 9-001a: vc_sen_start_stream(): Start streaming
[ 1088.781042] bwmgr API not supported
[ 1101.227032] vc_mipi 9-001a: vc_sen_stop_stream(): Stop streaming
[ 1101.292261] bwmgr API not supported
[ 1102.786192] vc_mipi 9-001a: vc_core_set_framerate(): Set framerate 67060 mHz
[ 1102.797078] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 33330 us
[ 1102.805919] vc_mipi 9-001a: vc_sen_set_gain(): Set sensor gain: 0
[ 1102.814286] vc_mipi 9-001a: vc_core_set_framerate(): Set framerate 30000 mHz
[ 1102.821649] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 33330 us
[ 1102.830543] vc_mipi 9-001a: vc_sen_set_gain(): Set sensor gain: 10
[ 1102.840631] bwmgr API not supported
[ 1102.840940] vc_mipi 9-001a: vc_core_set_format(): Set format 0x300f (RG10)
[ 1102.851634] vc_mipi 9-001a: vc_core_try_format(): Try format 0x300f (RG10, format: 0x2b)
[ 1102.851639] vc_mipi 9-001a: vc_update_image_size_from_mode(): Update image size from mode0 (l: 0, t: 0, w: 2464, h: 2048)
[ 1102.862928] vc_mipi 9-001a: vc_sen_set_gain(): Set sensor gain: 10
[ 1102.869546] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 33330 us
[ 1102.878193] vc_mipi 9-001a: vc_core_set_framerate(): Set framerate 30000 mHz
[ 1102.885449] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 33330 us
[ 1102.894117] vc_mipi 9-001a: vc_sen_set_roi(): Set sensor roi: (left: 0, top: 0, width: 2464, height: 2048)
[ 1102.905203] vc_mipi 9-001a: vc_sen_set_roi(): i2c_write_reg:  14658
[ 1102.911671] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 33330 us
[ 1102.920319] vc_mipi 9-001a: vc_sen_start_stream(): Start streaming``

Gstream Command

gst-launch-1.0 nvarguscamerasrc sensor-id=X ! 'video/x-raw(memory:NVMM),width=2472,height=2048,framerate=78/1,format=NV12' ! nvvidconv ! fpsdisplaysink video-sink=xvimagesink sync=false

Gstream output

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected...
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 2464 x 2048 FR = 78.800002 fps Duration = 12690355 ; Analog Gain range min 0.000000, max 48.000000; Exposure Range min 1000, max 1000000000;

GST_ARGUS: Running with following settings:
   Camera index = 0 
   Camera mode  = 0 
   Output Stream W = 2464 H = 2048 
   seconds to Run    = 0 
   Frame Rate = 78.800002 
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
nvbuf_utils: dmabuf_fd -1 mapped entry NOT found
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, threadExecute:694 NvBufSurfaceFromFd Failed.
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, threadFunction:247 (propagating)
ERROR: from element /GstPipeline:pipeline0/GstNvArgusCameraSrc:nvarguscamerasrc0: CANCELLED
Additional debug info:
Argus Error Status
Execution ended after 0:00:00.420879376
Setting pipeline to NULL ...
GST_ARGUS: Cleaning up

Did you confirm the VC_MIPI_LANES?
You may dump the device tree to confirm the configuration.

sudo dtc -I fs -O dts -o extracted_proc.dts /proc/device-tree

sorry for the late reply.

ext.txt (410.9 KB)

Please configure as 2 lanes configure to try.
You may need to get the trace log if still have problem.

https://elinux.org/Jetson/l4t/Camera_BringUp#Steps_to_enable_more_debug_messages

Orin Nano CAM0 only support 2 lanes configuration and the port-index should set to 1 the tegra_sinterface is serial_b.

Thanks

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