ToF 316 and IMX219

  1. Where did you get the camera module(s)?
    https://www.uctronics.com/

  2. Model number of the product(s)?
    Arducam IMX316 ToF Camera Module (B0410)
    IMX219 Visible Light Fixed Focus Camera Module (B0191)

  3. What hardware/platform were you working on?
    Jetson Nano and b01 carrier.

  4. Instructions you have followed. (link/manual/etc.)
    Arducam documentation

  5. Problems you were having?
    I am trying to have two cameras, a ToF to obtain the depth and an IMX219 for the rgb.

The ToF after installing the arducam libraries works perfectly, but the IMX219 is not even detected by the system (I have tried with several cameras and both CSI-2:0 and CSI-2:1 pins).

If I connect only the IMX219, the camera is not directly detected by the system.

v4l2-ctl --list-devices
Failed to open /dev/video0: No such file or directory

If I connect the ToF:

v4l2-ctl --list-devices
vi-output, arducam-csi2 7-000c (platform:54080000.vi:0):
        /dev/video0
  1. The dmesg log from your hardware?
    Very long I need to crop it.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.253-tegra (jenkins@feaf98b9a84d) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05) ) #1 SMP PREEMPT Mon Mar 14 02:19:21 UTC 2022
[    0.000000] Boot CPU: AArch64 Processor [411fd071]
[    0.000000] OF: fdt:memory scan node memory@80000000, reg size 32,
[    0.000000] OF: fdt: - 80000000 ,  7ee00000
[    0.000000] OF: fdt: - 100000000 ,  7f200000
[    0.000000] earlycon: uart8250 at MMIO32 0x0000000070006000 (options '')
[    0.000000] bootconsole [uart8250] enabled
[    0.000000] OF: reserved mem: initialized node vpr-carveout, compatible id nvidia,vpr-carveout
[    0.000000] OF: reserved mem: initialized node iram-carveout, compatible id nvidia,iram-carveout
[    0.000000] OF: reserved mem: initialized node ramoops_carveout, compatible id nvidia,ramoops
[    0.000000] cma: Reserved 64 MiB at 0x00000000fac00000
[    0.000000] On node 0 totalpages: 1039872
[    0.000000]   DMA zone: 8192 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 519168 pages, LIFO batch:31
[    0.000000]   Normal zone: 8136 pages used for memmap
[    0.000000]   Normal zone: 520704 pages, LIFO batch:31
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] percpu: Embedded 24 pages/cpu s57624 r8192 d32488 u98304
[    0.000000] pcpu-alloc: s57624 r8192 d32488 u98304 alloc=24*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] CPU features: enabling workaround for ARM erratum 832075
[    0.000000] Speculative Store Bypass Disable mitigation not required
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 1023544
[    0.000000] Kernel command line: tegraid=21.1.2.0.0 ddr_die=4096M@2048M section=512M memtype=0 vpr_resize usb_port_owner_info=0 lane_owner_info=0 emc_max_dvfs=0 touch_id=0@63 video=tegrafb no_console_suspend=1 console=ttyS0,115200n8 debug_uartport=lsport,4 earlyprintk=uart8250-32bit,0x70006000 maxcpus=4 usbcore.old_scheme_first=1 lp0_vec=0x1000@0xff780000 core_edp_mv=1125 core_edp_ma=4000 gpt  earlycon=uart8250,mmio32,0x70006000  root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 quiet root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0
[    0.000000] log_buf_len individual max cpu contribution: 32768 bytes
[    0.000000] log_buf_len total cpu_extra contributions: 98304 bytes
[    0.000000] log_buf_len min size: 32768 bytes
[    0.000000] log_buf_len: 131072 bytes
[    0.000000] early log buf free: 29880(91%)
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] Memory: 3568384K/4159488K available (15358K kernel code, 2958K rwdata, 6752K rodata, 8640K init, 610K bss, 115968K reserved, 475136K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000   (   250 GB)
[    0.000000]       .text : 0xffffff8008080000 - 0xffffff8008f80000   ( 15360 KB)
[    0.000000]     .rodata : 0xffffff8008f80000 - 0xffffff8009620000   (  6784 KB)
[    0.000000]       .init : 0xffffff8009620000 - 0xffffff8009e90000   (  8640 KB)
[    0.000000]       .data : 0xffffff8009e90000 - 0xffffff800a173808   (  2959 KB)
[    0.000000]        .bss : 0xffffff800a173808 - 0xffffff800a20c0b4   (   611 KB)
[    0.000000]     fixed   : 0xffffffbefe7fd000 - 0xffffffbefec00000   (  4108 KB)
[    0.000000]     PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000   (    16 MB)
[    0.000000]     vmemmap : 0xffffffbf00000000 - 0xffffffc000000000   (     4 GB maximum)
[    0.000000]               0xffffffbf00000000 - 0xffffffbf03fc8000   (    63 MB actual)
[    0.000000]     memory  : 0xffffffc000000000 - 0xffffffc0ff200000   (  4082 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 64.
[    0.000000]  RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] /interrupt-controller@60004000: 192 interrupts forwarded to /interrupt-controller
[    0.000000] t210 clock and reset probe
[    0.000000] tegra-pmc: get_secure_pmc_setting: done secure_pmc=1
[    0.000000] clk_cbus_recalc_rate: no gbus parent
[    0.000000] clk_cbus_recalc_rate: no gbus parent
[    0.000000] clk_cbus_recalc_rate: no gbus parent
[    0.000000] clk_cbus_recalc_rate: no gbus parent
[    0.000000] clk_cbus_recalc_rate: no gbus parent
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 19.20MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000005] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.001662] Console: colour dummy device 80x25
[    0.001672] console [tty0] enabled
[    0.001678] bootconsole [uart8250] disabled
[    0.001697] kmemleak: Kernel memory leak detector disabled
[    0.001714] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=76800)
[    0.001726] pid_max: default: 32768 minimum: 301
[    0.002177] Security Framework initialized
[    0.002398] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.002406] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.003515] ftrace: allocating 47126 entries in 185 pages
[    0.171167] sched-energy: CPU device node has no sched-energy-costs
[    0.171200] ASID allocator initialised with 65536 entries
[    0.207772] tegra-id: chipid=22117.
[    0.207783] tegra-id: opt_subrevision=0.
[    0.207802] Tegra Speedo/IDDQ fuse revision 4
[    0.207807] Tegra: CPU Speedo ID 9, SoC Speedo ID 0, GPU Speedo ID 2
[    0.207812] Tegra: CPU Process ID 0, SoC Process ID 0, GPU Process ID 0
[    0.207819] Tegra: CPU Speedo Value 1995, SoC Speedo Value 1892, GPU Speedo Value 2002
[    0.207823] Tegra: CPU IDDQ Value 1456, SoC IDDQ Value 1712, GPU IDDQ Value 2030
[    0.207843] Tegra Revision: A02 SKU: 0x8f CPU Process: 0 SoC Process: 0
[    0.207859] DTS File Name: /var/jenkins_home/workspace/n_nano_kernel_l4t-32.7.1-arducam/kernel/kernel-4.9/arch/arm64/boot/dts/../../../../../../hardware/nvidia/platform/t210/porg/kernel-dts/tegra210-p3448-0000-p3449-0000-b00.dts
[    0.207867] DTB Build time: Mar 14 2022 02:20:00
[    0.257057] CPU1: Booted secondary processor [411fd071]
[    0.288994] CPU2: Booted secondary processor [411fd071]
[    0.320953] CPU3: Booted secondary processor [411fd071]
[    0.321045] Brought up 4 CPUs
[    0.321052] SMP: Total of 4 processors activated.
[    0.321060] CPU features: detected feature: 32-bit EL0 Support
[    0.321322] CPU: All CPU(s) started at EL2
[    0.321338] alternatives: patching kernel code
[    0.329394] devtmpfs: initialized
[    0.367752] Initilizing CustomIPI irq domain
[    0.368061] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.368083] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.378635] pinctrl core: initialized pinctrl subsystem
[    0.379199] OS set in device tree is not L4T.
[    0.379624] regulator-dummy: no parameters
[    0.379903] Initializing plugin-manager
[    0.380050] Plugin module not found
[    0.380238] node /plugin-manager/fragement@0 match with board >=3448-0000-100
[    0.380749] node /plugin-manager/fragment@1 match with board >=3448-0000-101
[    0.381755] node /plugin-manager/fragement@7 match with odm-data enable-pmic-wdt
[    0.381965] node /plugin-manager/fragement@8 match with odm-data enable-pmic-wdt
[    0.382598] node /plugin-manager/fragement@13 match with board >=3448-0000-300
[    0.386058] NET: Registered protocol family 16
[    0.387456] pstore: using zlib compression
[    0.387494] console [pstore-1] enabled
[    0.387498] pstore: Registered ramoops as persistent store backend
[    0.387504] ramoops: attached 0x200000@0xb0000000, ecc: 0/0
[    0.401071] cpuidle: using governor menu
[    0.404340] tegra_smmu 70019000.iommu: Loaded Tegra IOMMU driver
[    0.406230] vdso: 2 pages (1 code @ ffffff8008f87000, 1 data @ ffffff8009e94000)
[    0.406252] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.409487] atomic_pool_init():622: DMA: preallocated 1024 KiB pool for atomic allocations
[    0.411822] Serial: AMBA PL011 UART driver
[    0.412314] tegra_powergate_init: DONE
[    0.412330] DTS File Name: /var/jenkins_home/workspace/n_nano_kernel_l4t-32.7.1-arducam/kernel/kernel-4.9/arch/arm64/boot/dts/../../../../../../hardware/nvidia/platform/t210/porg/kernel-dts/tegra210-p3448-0000-p3449-0000-b00.dts
[    0.412338] DTB Build time: Mar 14 2022 02:20:00
[    0.414243] Tegra reboot handler registered.
[    0.418731] iommu: Adding device tegra-carveouts to group 0
[    0.418857] platform tegra-carveouts: domain=ffffffc0f9be53d8 allocates as[0]=ffffffc0f94580a8
[    0.419208] iommu: Adding device smmu_test to group 1
[    0.419257] platform smmu_test: domain=ffffffc0f9be5618 allocates as[0]=ffffffc0f9458110
[    0.420065] mc: mapped MMIO address: 0xffffff8008041000 -> 0x70019000
[    0.420118] mc: mapped MMIO address: 0xffffff8008067000 -> 0x7001c000
[    0.420168] mc: mapped MMIO address: 0xffffff800807b000 -> 0x7001d000
[    0.420177] nv-tegra-mc 70019000.mc: No mssnvlink node
[    0.420199] mc-err: mcerr ops are set to t21x
[    0.430972] iommu: Adding device 70090000.xusb to group 2
[    0.431248] iommu: Adding device 70006000.serial to group 3
[    0.431319] platform 70006000.serial: domain=ffffffc0f94cf558 allocates as[0]=ffffffc0f9458178
[    0.431739] iommu: Adding device 70006040.serial to group 4
[    0.432007] iommu: Adding device 70006200.serial to group 5
[    0.432234] iommu: Adding device sound to group 6
[    0.432282] platform sound: domain=ffffffc0f94cfa98 allocates as[0]=ffffffc0f94581e0
[    0.432836] iommu: Adding device 7000d400.spi to group 7
[    0.433126] iommu: Adding device 7000d600.spi to group 8
[    0.433405] iommu: Adding device 70410000.spi to group 9
[    0.433706] iommu: Adding device 50000000.host1x to group 10
[    0.433977] iommu: Adding device 54080000.vi to group 11
[    0.434368] iommu: Adding device 54600000.isp to group 12
[    0.434659] iommu: Adding device 54680000.isp to group 13
[    0.434934] iommu: Adding device tegradc.0 to group 14
[    0.434987] platform tegradc.0: domain=ffffffc0f94da9d8 allocates as[0]=ffffffc0f9458248
[    0.435501] platform tegradc.0: IOVA linear map 0x00000000d7000000(19000000)
[    0.435797] iommu: Adding device tegradc.1 to group 15
[    0.435844] platform tegradc.1: domain=ffffffc0f94dac18 allocates as[0]=ffffffc0f94582b0
[    0.436356] platform tegradc.1: IOVA linear map 0x00000000d7000000(19000000)
[    0.436609] iommu: Adding device 54340000.vic to group 16
[    0.436826] iommu: Adding device 544c0000.nvenc to group 17
[    0.437179] iommu: Adding device 54500000.tsec to group 18
[    0.437391] iommu: Adding device 54100000.tsecb to group 19
[    0.437614] iommu: Adding device 54480000.nvdec to group 20
[    0.437803] iommu: Adding device 54380000.nvjpg to group 21
[    0.438840] iommu: Adding device 546c0000.i2c to group 22
[    0.439170] iommu: Adding device 57000000.gpu to group 23
[    0.439221] platform 57000000.gpu: domain=ffffffc0f9509c18 allocates as[0]=ffffffc0f9458318
[    0.439255] platform 57000000.gpu: domain=ffffffc0f9509c18 allocates as[1]=ffffffc0f9458380
[    0.439292] platform 57000000.gpu: domain=ffffffc0f9509c18 allocates as[2]=ffffffc0f94583e8
[    0.439348] platform 57000000.gpu: domain=ffffffc0f9509c18 allocates as[3]=ffffffc0f9458450
[    0.440201] tegra-pmc 7000e400.pmc: i2c-thermtrip node not found, emergency thermal reset disabled.
[    0.440210] tegra-pmc 7000e400.pmc: scratch reg offset dts data not present
[    0.440221] tegra-pmc: ### PMC reset source: TEGRA_SOFTWARE_RESET
[    0.440225] tegra-pmc: ### PMC reset level: TEGRA_RESET_LEVEL_WARM
[    0.440229] tegra-pmc: ### PMC reset status reg: 0x3
[    0.493172] padctrl padctrl.0: Pad control driver tegra-pmc-padctrl registered
[    0.493181] tegra-pmc: Clear bootloader IO dpd settings
[    0.493200] tegra-pmc 7000e400.pmc: IO padctrl driver initialized
[    0.493267] tegra-pmc 7000e400.pmc: PMC: Successfully configure bootrom reset commands
[    0.493551] iommu: Adding device 70012000.se to group 24
[    0.494102] iommu: Adding device 1003000.pcie to group 25
[    0.494154] platform 1003000.pcie: domain=ffffffc0f9596498 allocates as[0]=ffffffc0f94584b8
[    0.494608] iommu: Adding device 7000c000.i2c to group 26
[    0.494864] iommu: Adding device 7000c400.i2c to group 27
[    0.495114] iommu: Adding device 7000c500.i2c to group 28
[    0.495364] iommu: Adding device 7000c700.i2c to group 29
[    0.495615] iommu: Adding device 7000d000.i2c to group 30
[    0.495867] iommu: Adding device 7000d100.i2c to group 31
[    0.496165] iommu: Adding device sdhci-tegra.0 to group 32
[    0.496217] platform sdhci-tegra.0: domain=ffffffc0f9509f18 allocates as[0]=ffffffc0f9458520
[    0.497044] iommu: Adding device 700d0000.xudc to group 33
[    0.500296] vdd-ac-bat: 5000 mV 
[    0.500664] vdd-5v0-sys: 5000 mV 
[    0.501351] vdd-5v0-hdmi: 5000 mV 
[    0.501767] vdd-5v0-hdmi: supplied by vdd-5v0-sys
[    0.502020] vdd-1v8-sys: 1800 mV 
[    0.502445] vdd-fan: 5000 mV 
[    0.502660] vdd-fan: supplied by vdd-5v0-sys
[    0.502869] vdd-usb-vbus: 5000 mV 
[    0.503078] vdd-usb-vbus: supplied by vdd-5v0-sys
[    0.503408] vdd-usb-vbus2: 5000 mV 
[    0.533868] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.536037] gpio gpiochip0: gpio-line-names specifies 240 line names but there are 256 lines on the chip
[    0.537229] GPIO line 6 (system-suspend-gpio) hogged as output/high
[    0.537257] GPIO line 151 (camera-control-output-low) hogged as output/low
[    0.537276] GPIO line 152 (camera-control-output-low) hogged as output/low
[    0.537626] gpiochip_setup_dev: registered GPIOs 0 to 255 on device: gpiochip0 (tegra-gpio)
[    0.545677] eventlib_kernel: keventlib is initialized, test id: 0
[    0.546011] SCSI subsystem initialized
[    0.546194] libata version 3.00 loaded.
[    0.546485] usbcore: registered new interface driver usbfs
[    0.546535] usbcore: registered new interface driver hub
[    0.546575] usbcore: registered new device driver usb
[    0.550511] max77620 4-003c: PMIC Version OTP:0x35 and ES:0x8
[    0.556346] vdd-core: 600 <--> 1162 mV at 1125 mV 
[    0.557311] vdd-ddr-1v1: Bringing 1125000uV into 1150000-1150000uV
[    0.557409] random: fast init done
[    0.560237] vdd-ddr-1v1: 1150 mV 
[    0.564235] vdd-pre-reg-1v35: 1350 mV 
[    0.568232] vdd-1v8: 1800 mV 
[    0.572230] avdd-sys-1v2: 1200 mV 
[    0.576232] vdd-pex-1v0: 1050 mV 
[    0.576895] vddio-sdmmc-ap: 1800 <--> 3300 mV at 3300 mV 
[    0.577436] max77620-ldo3: at 3100 mV 
[    0.580237] vdd-rtc: 850 <--> 1100 mV at 1000 mV 
[    0.580765] max77620-ldo5: at 3100 mV 
[    0.584233] vddio-sdmmc3-ap: 1800 <--> 3300 mV at 2800 mV 
[    0.588231] avdd-1v05-pll: 1050 mV 
[    0.592230] avdd-io-hdmi-dp: 1050 mV 
[    0.594691] GPIO line 505 (spmic-default-output-high) hogged as output/high
[    0.595009] gpiochip_setup_dev: registered GPIOs 504 to 511 on device: gpiochip1 (max77620-gpio)
[    0.595299] max77620 4-003c: max77620 probe successful
[    0.597966] media: Linux media interface: v0.10
[    0.598019] Linux video capture interface: v2.00
[    0.598965] pps_core: LinuxPPS API ver. 1 registered
[    0.598969] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    0.598999] PTP clock support registered
[    0.602050] tegra210-emc 7001b000.external-memory-controller: validated EMC DFS table
[    0.602860] Advanced Linux Sound Architecture Driver Initialized.
[    0.603521] Bluetooth: Core ver 2.22
[    0.603568] NET: Registered protocol family 31
[    0.603574] Bluetooth: HCI device and connection manager initialized
[    0.603587] Bluetooth: HCI socket layer initialized
[    0.603596] Bluetooth: L2CAP socket layer initialized
[    0.603648] Bluetooth: SCO socket layer initialized
[    0.605423] tegra210_dvfs: no clock found for sdmmc2_ddr
[    0.605437] tegra210_dvfs: no clock found for sdmmc4_ddr
[    0.605482] tegra210_dvfs: no clock found for sdmmc1_ddr
[    0.605496] tegra210_dvfs: no clock found for sdmmc3_ddr
[    0.608967] tegra_dvfs: Unable to get vdd-cpu rail for step info, defering probe
[    0.610201] vdd-3v3-sys: 3300 mV 
[    0.610555] vdd-3v3-sys: supplied by vdd-5v0-sys
[    0.610600] vdd-1v8-sys: supplied by vdd-3v3-sys
[    0.612301] vdd-usb-vbus2: supplied by vdd-3v3-sys
[    0.612713] vdd-3v3-sd: 3300 mV 
[    0.613119] vdd-3v3-sd: supplied by vdd-3v3-sys
[    0.613673] avdd-io-edp-1v05: 1050 mV 
[    0.614019] avdd-io-edp-1v05: supplied by avdd-1v05-pll
[    0.614151] vdd-usb-hub-en: 5000 mV 
[    0.614497] vdd-usb-hub-en: supplied by vdd-1v8-sys
[    0.615621] camchar: rtcpu character device driver loaded
[    0.616340] extcon-gpio-states extcon:extcon@1: Cable state:0, cable id:0
[    0.617841] clocksource: Switched to clocksource arch_sys_counter
[    0.657709] VFS: Disk quotas dquot_6.6.0
[    0.657904] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.658405] nvmap_heap_init: nvmap_heap_init: created heap block cache
[    0.658850] dma_declare_coherent_resizable_cma_memory:324: resizable heap=vpr, base=0x00000000d7000000, size=0x19000000
[    0.658868]  dma-vpr: heap size is not multiple of cma_chunk_size heap_info->num_chunks (13) rem_chunk_size(0x1000000)
[    0.659076] cma: enabled page replacement for spfn=d7000, epfn=f0000
[    0.659082] dma_declare_coherent_resizable_cma_memory:373: resizable cma heap=vpr create successful
[    0.659094] tegra-carveouts tegra-carveouts: assigned reserved memory node vpr-carveout
[    0.659125] tegra-carveouts tegra-carveouts: iram :dma coherent mem declare 0x0000000040001000,258048
[    0.659131] tegra-carveouts tegra-carveouts: assigned reserved memory node iram-carveout
[    0.659146] nvmap: nvmap_select_cache_ops() nvmap cache ops set to set/ways
[    0.659155] nvmap_page_pool_init: Total RAM pages: 1010880
[    0.659160] nvmap_page_pool_init: nvmap page pool size: 126360 pages (493 MB)
[    0.659242] nvmap_background_zero_thread: PP zeroing thread starting.
[    0.659643] misc nvmap: created heap iram base 0x0000000040001000 size (252KiB)
[    0.660343] misc nvmap: created heap vpr base 0x00000000d7000000 size (409600KiB)
[    0.670337] thermal thermal_zone0: Registering thermal zone thermal_zone0 for type AO-therm
[    0.670788] thermal thermal_zone1: Registering thermal zone thermal_zone1 for type CPU-therm
[    0.671134] thermal thermal_zone2: Registering thermal zone thermal_zone2 for type GPU-therm
[    0.671401] thermal thermal_zone3: Registering thermal zone thermal_zone3 for type PLL-therm
[    0.671577] thermal thermal_zone4: Registering thermal zone thermal_zone4 for type PMIC-Die
[    0.671841] pre_t19x_iso_plat_init(): iso emc max clk=1600000KHz
[    0.671845] pre_t19x_iso_plat_init(): max_iso_bw=11520000KB
[    0.672262] NET: Registered protocol family 2
[    0.672391] IP idents hash table entries: 65536 (order: 7, 524288 bytes)
[    0.674646] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
[    0.674859] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
[    0.675363] TCP: Hash tables configured (established 32768 bind 32768)
[    0.675522] UDP hash table entries: 2048 (order: 4, 65536 bytes)
[    0.675602] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
[    0.676013] NET: Registered protocol family 1
[    0.676654] RPC: Registered named UNIX socket transport module.
[    0.676658] RPC: Registered udp transport module.
[    0.676661] RPC: Registered tcp transport module.
[    0.676666] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.676678] PCI: CLS 0 bytes, default 64
[    0.676910] Trying to unpack rootfs image as initramfs...
[    0.974462] Freeing initrd memory: 6988K
[    0.984301] host1x 50000000.host1x: initialized
[    0.986217] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    0.989488] audit: initializing netlink subsys (disabled)
[    0.989581] audit: type=2000 audit(0.839:1): initialized
[    0.990329] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    1.000244] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.001690] ntfs: driver 2.1.32 [Flags: R/W].
[    1.002514] 9p: Installing v9fs 9p2000 file system support
[    1.005715] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 240)
[    1.005998] io scheduler noop registered
[    1.006287] io scheduler cfq registered (default)
[    1.008972] gic 702f9000.agic: GIC IRQ controller registered
[    1.011999] iommu: Adding device 702ef000.adsp to group 34
[    1.020810] iommu: Adding device aconnect@702c0000:adsp_audio to group 35
[    1.020956] tegra-aconnect aconnect@702c0000: Tegra ACONNECT bus registered
[    1.021549] tegra-xusb-padctl 7009f000.xusb_padctl: TEGRA_FUSE_SKU_CALIB_0 = 0x8a08c10
[    1.021557] tegra-xusb-padctl 7009f000.xusb_padctl: TEGRA_FUSE_USB_CALIB_EXT_0 = 0x4
[    1.023539] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-usb2.0, lane = usb2-0, function = xusb
[    1.023652] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-usb2.1, lane = usb2-1, function = xusb
[    1.023746] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-usb2.2, lane = usb2-2, function = xusb
[    1.023940] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.3, lane = pcie-0, function = pcie-x1
[    1.024030] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.4, lane = pcie-1, function = pcie-x4
[    1.024124] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.5, lane = pcie-2, function = pcie-x4
[    1.024213] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.6, lane = pcie-3, function = pcie-x4
[    1.024313] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.7, lane = pcie-4, function = pcie-x4
[    1.024398] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.8, lane = pcie-5, function = xusb
[    1.024493] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.9, lane = pcie-6, function = xusb
[    1.030624] tegra-pwm 7000a000.pwm: PWM clk cannot sleep in ops
[    1.032281] tegra-dfll-pwm 70110000.pwm: DFLL pwm-rate: 12800000
[    1.034225] tegra-pcie 1003000.pcie: 4x1, 1x1 configuration
[    1.035519] tegra-pcie 1003000.pcie: PCIE: Enable power rails
[    1.035860] tegra-pcie 1003000.pcie: probing port 0, using 4 lanes
[    1.037040] tegra_camera_platform tegra-camera-platform: tegra_camera_probe:camera_platform_driver probe
[    1.037245] misc tegra_camera_ctrl: tegra_camera_isomgr_register isp_iso_bw=1500000, vi_iso_bw=1500000, max_bw=1500000
[    1.037445] Adding domain tsec-pd to PM domain host1x-pd
[    1.039840] tegra-pcie 1003000.pcie: probing port 1, using 1 lanes
[    1.040759] tsec 54500000.tsec: initialized
[    1.042310] tsec 54100000.tsecb: initialized
[    1.043008] Adding domain nvdec-pd to PM domain host1x-pd
[    1.046434] nvdec 54480000.nvdec: initialized
[    1.047470] Adding domain vic03-pd to PM domain host1x-pd
[    1.047642] Adding domain msenc-pd to PM domain host1x-pd
[    1.047799] Adding domain nvjpg-pd to PM domain host1x-pd
[    1.051703] falcon 54340000.vic: initialized
[    1.052919] falcon 544c0000.nvenc: initialized
[    1.054216] falcon 54380000.nvjpg: initialized
[    1.058457] tegra_cec 70015000.tegra_cec: dt=1 start=0x70015000 end=0x70015FFF irq=97
[    1.058500] tegra_cec 70015000.tegra_cec: Enable clock result: 0.
[    1.058532] tegra_cec 70015000.tegra_cec: tegra_cec_init started
[    1.058678] tegradc tegradc.0: disp0 connected to head0->/host1x/sor1
[    1.058778] display board info: id 0x0, fab 0x0
[    1.058824] tegra_cec 70015000.tegra_cec: cec_add_sysfs ret=0
[    1.058830] tegra_cec 70015000.tegra_cec: probed
[    1.058835] generic_infoframe_type: 0x87
[    1.058979] tegradc tegradc.0: DT parsed successfully
[    1.059025] tegradc tegradc.0: Display dc.ffffff800abc0000 registered with id=0
[    1.063043] tegradc tegradc.0: probed
[    1.063752] Console: switching to colour frame buffer device 80x30
[    1.063788] tegradc tegradc.0: fb registered
[    1.064981] tegradc tegradc.1: disp1 connected to head1->/host1x/sor
[    1.065062] tegradc tegradc.1: No lt-data, using default setting
[    1.065089] tegradc tegradc.1: No hpd-gpio in DT
[    1.065123] tegradc tegradc.1: DT parsed successfully
[    1.065172] tegradc tegradc.1: Display dc.ffffff800ad40000 registered with id=1
[    1.067090] tegra-apbdma 60020000.dma: Tegra20 APB DMA driver register 32 channels
[    1.068066] tegradc tegradc.1: dpd enable lookup fail:-19
[    1.573877] Host read timeout at address 545c00c4
[    1.575210] tegra-adma 702e2000.adma: Tegra210 ADMA driver registered 22 channels
[    1.575594] tegradc tegradc.1: probed
[    1.575966] tegradc tegradc.1: fb registered
[    1.576123] tegra-fuse-burn 7000f800.efuse:efuse-burn: shutdown limit check disabled
...
  1. Troubleshooting attempts you’ve made?
    A lot :sweat_smile:

  2. What help do you need?
    I need both cameras to work on the jetson nano.

Hi,
We have just written a cpp file to fulfill this requirement on the Raspberry Pi. It works well.
Maybe you can refer to the source code and modify it to meet your needs. We do not know what video port each camera takes up. At the preview_depth, it will call the video 0 by default.