Thank You!
When I connect to the first or second camera, capture is always from the first camera, i.e., through “/proc/device-tree/host1x/i2c@546c0000/tca9546@70/i2c@0/rbpcv2_imx219_a@10”.
If I physically disconnect the first camera, then the second will be defined as “imx219 31-0010” and “/dev/video0”, i.e., all is OK. But if I connect to this camera there will be an error.
Work always CSI_A port and i2c@0.
What is wrong?
DTS:
tegra-camera-platform {
compatible = "nvidia, tegra-camera-platform";
status = "okay";
num_csi_lanes = <0x4>;
max_lane_speed = <0x16e360>;
min_bits_per_pixel = <0xa>;
vi_peak_byte_per_pixel = <0x2>;
vi_bw_margin_pct = <0x19>;
max_pixel_rate = <0x3a980>;
isp_peak_byte_per_pixel = <0x5>;
isp_bw_margin_pct = <0x19>;
modules {
module0 {
badge = "porg_front_RBPCV2";
position = "front";
orientation = [31 00];
drivernode0 {
pcl_id = "v4l2_sensor";
devname = "imx219 30-0010";
proc-device-tree = "/proc/device-tree/host1x/i2c@546c0000/tca9546@70/i2c@0/rbpcv2_imx219_a@10";
};
drivernode1 {
pcl_id = "v4l2_lens";
proc-device-tree = "/proc/device-tree/lens_imx219@RBPCV2/";
};
};
module1 {
badge = "porg_rear_RBPCV2";
position = "rear";
orientation = [31 00];
drivernode0 {
pcl_id = "v4l2_sensor";
devname = "imx219 31-0010";
proc-device-tree = "/proc/device-tree/host1x/i2c@546c0000/tca9546@70/i2c@1/rbpcv2_imx219_f@10";
};
drivernode1 {
pcl_id = "v4l2_lens";
proc-device-tree = "/proc/device-tree/lens_imx219@RBPCV2/";
};
};
};
};
I also edited next sections: vi, nvcsi and i2c@546c0000.
I can upload the full DTS file.
Image file - not changed.
If I change Image from Linux_for_Tegra/rootfs/boot the OS isn’t loading.
Regards!