Camera0 can get raw data by v4l2. but i exec jetson_multimedia_api/sample/09_camera_jpeg_capture failed!

demo log:
./camera_jpeg_capture
[INFO] (NvEglRenderer.cpp:110) Setting Screen width 640 height 480
Error generated. main.cpp, execute:329 No cameras available

kernel log:

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.140 (liyi@ubuntu) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05) ) #74 SMP PREEMPT Tue Mar 2 11:00:04 CST 2021
[    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] Found tegra_fbmem: 00800000@92cb4000
[    0.000000] earlycon: uart8250 at MMIO32 0x0000000070006000 (options '')
[    0.000000] bootconsole [uart8250] enabled
[    0.000000] OF: fdt:Reserved memory: failed to reserve memory for node 'fb0_carveout': base 0x0000000000000000, size 0 MiB
[    0.000000] OF: fdt:Reserved memory: failed to reserve memory for node 'fb0_carveout': base 0x0000000000000000, size 0 MiB
[    0.000000] OF: fdt:Reserved memory: failed to reserve memory for node 'fb1_carveout': base 0x0000000000000000, size 0 MiB
[    0.000000] OF: fdt:Reserved memory: failed to reserve memory for node 'fb1_carveout': base 0x0000000000000000, size 0 MiB
[    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 25 pages/cpu @ffffffc0fefb5000 s61656 r8192 d32552 u102400
[    0.000000] pcpu-alloc: s61656 r8192 d32552 u102400 alloc=25*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,2 earlyprintk=uart8250-32bit,0x70006000 maxcpus=4 usbcore.old_scheme_first=1 lp0_vec=0x1000@0xff780000 core_edp_mv=1125 core_edp_ma=4000 tegra_fbmem=0x800000@0x92cb4000 is_hdmi_initialised=1  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: 29324(89%)
[    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: 3562656K/4159488K available (15102K kernel code, 2878K rwdata, 6552K rodata, 8512K init, 609K bss, 121696K 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 - 0xffffff8008f40000   ( 15104 KB)
[    0.000000]     .rodata : 0xffffff8008f40000 - 0xffffff80095b0000   (  6592 KB)
[    0.000000]       .init : 0xffffff80095b0000 - 0xffffff8009e00000   (  8512 KB)
[    0.000000]       .data : 0xffffff8009e00000 - 0xffffff800a0cf808   (  2879 KB)
[    0.000000]        .bss : 0xffffff800a0cf808 - 0xffffff800a167ebc   (   610 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.001629] Console: colour dummy device 80x25
[    0.001638] console [tty0] enabled
[    0.001644] bootconsole [uart8250] disabled
[    0.001663] kmemleak: Kernel memory leak detector disabled
[    0.001680] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=76800)
[    0.001693] pid_max: default: 32768 minimum: 301
[    0.002148] Security Framework initialized
[    0.002364] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.002373] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.003533] ftrace: allocating 46947 entries in 184 pages
[    0.173033] sched-energy: CPU device node has no sched-energy-costs
[    0.173068] ASID allocator initialised with 65536 entries
[    0.211779] tegra-id: chipid=22117.
[    0.211793] tegra-id: opt_subrevision=0.
[    0.211811] Tegra Speedo/IDDQ fuse revision 4
[    0.211817] Tegra: CPU Speedo ID 9, SoC Speedo ID 0, GPU Speedo ID 2
[    0.211822] Tegra: CPU Process ID 0, SoC Process ID 0, GPU Process ID 0
[    0.211827] Tegra: CPU Speedo Value 2046, SoC Speedo Value 1941, GPU Speedo Value 2050
[    0.211831] Tegra: CPU IDDQ Value 1924, SoC IDDQ Value 2192, GPU IDDQ Value 2630
[    0.211851] Tegra Revision: A02 SKU: 0x8f CPU Process: 0 SoC Process: 0
[    0.211867] DTS File Name: arch/arm64/boot/dts/../../../../../../hardware/nvidia/platform/t210/porg/kernel-dts/tegra210-p3448-0000-p3449-0000-b00.dts
[    0.211874] DTB Build time: Mar  2 2021 11:50:20
[    0.261100] CPU1: Booted secondary processor [411fd071]
[    0.293009] CPU2: Booted secondary processor [411fd071]
[    0.324954] CPU3: Booted secondary processor [411fd071]
[    0.325051] Brought up 4 CPUs
[    0.325058] SMP: Total of 4 processors activated.
[    0.325066] CPU features: detected feature: 32-bit EL0 Support
[    0.325331] CPU: All CPU(s) started at EL2
[    0.325349] alternatives: patching kernel code
[    0.333571] devtmpfs: initialized
[    0.371532] Initilizing CustomIPI irq domain
[    0.371917] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.371935] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.384769] pinctrl core: initialized pinctrl subsystem
[    0.385427] OS set in device tree is not L4T.
[    0.385863] regulator-dummy: no parameters
[    0.386151] Initializing plugin-manager
[    0.386305] Plugin module not found
[    0.386496] node /plugin-manager/fragement@0 match with board >=3448-0000-100
[    0.387020] node /plugin-manager/fragment@1 match with board >=3448-0000-101
[    0.387876] node /plugin-manager/fragement@6 match with odm-data enable-tegra-wdt
[    0.388268] node /plugin-manager/fragement@8 match with odm-data enable-tegra-wdt
[    0.388654] node /plugin-manager/fragement@10 match with board >=3448-0000-300
[    0.390460] node /plugin-manager/fragement@13 match with board >=3448-0000-300
[    0.394125] NET: Registered protocol family 16
[    0.397033] pstore: using zlib compression
[    0.397080] console [pstore-1] enabled
[    0.397085] pstore: Registered ramoops as persistent store backend
[    0.397091] ramoops: attached 0x200000@0xb0000000, ecc: 0/0
[    0.413118] cpuidle: using governor menu
[    0.416271] tegra_smmu 70019000.iommu: Loaded Tegra IOMMU driver
[    0.418188] vdso: 2 pages (1 code @ ffffff8008f47000, 1 data @ ffffff8009e04000)
[    0.418211] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.421641] atomic_pool_init():622: DMA: preallocated 1024 KiB pool for atomic allocations
[    0.423912] Serial: AMBA PL011 UART driver
[    0.424424] tegra_powergate_init: DONE
[    0.424439] DTS File Name: arch/arm64/boot/dts/../../../../../../hardware/nvidia/platform/t210/porg/kernel-dts/tegra210-p3448-0000-p3449-0000-b00.dts
[    0.424445] DTB Build time: Mar  2 2021 11:50:20
[    0.426359] Tegra reboot handler registered.
[    0.430941] iommu: Adding device tegra-carveouts to group 0
[    0.431083] platform tegra-carveouts: domain=ffffffc0f9bba3d8 allocates as[0]=ffffffc0f9bd40a8
[    0.431455] iommu: Adding device smmu_test to group 1
[    0.431507] platform smmu_test: domain=ffffffc0f9bba618 allocates as[0]=ffffffc0f9bd4110
[    0.432333] mc: mapped MMIO address: 0xffffff800802e000 -> 0x70019000
[    0.432408] mc: mapped MMIO address: 0xffffff8008065000 -> 0x7001c000
[    0.432461] mc: mapped MMIO address: 0xffffff8008079000 -> 0x7001d000
[    0.432470] nv-tegra-mc 70019000.mc: No mssnvlink node
[    0.432492] mc-err: mcerr ops are set to t21x
[    0.442787] iommu: Adding device 70090000.xusb to group 2
[    0.443064] iommu: Adding device 70006000.serial to group 3
[    0.443133] platform 70006000.serial: domain=ffffffc0f94cd618 allocates as[0]=ffffffc0f9bd4178
[    0.443574] iommu: Adding device 70006040.serial to group 4
[    0.443856] iommu: Adding device 70006200.serial to group 5
[    0.444075] iommu: Adding device sound to group 6
[    0.444124] platform sound: domain=ffffffc0f94cdb58 allocates as[0]=ffffffc0f9bd41e0
[    0.444683] iommu: Adding device 7000d400.spi to group 7
[    0.444937] iommu: Adding device 7000d600.spi to group 8
[    0.445249] iommu: Adding device 70410000.spi to group 9
[    0.445563] iommu: Adding device 50000000.host1x to group 10
[    0.445844] iommu: Adding device 54080000.vi to group 11
[    0.446241] iommu: Adding device 54600000.isp to group 12
[    0.446501] iommu: Adding device 54680000.isp to group 13
[    0.446811] iommu: Adding device tegradc.0 to group 14
[    0.446869] platform tegradc.0: domain=ffffffc0f94dba98 allocates as[0]=ffffffc0f9bd4248
[    0.451172] platform tegradc.0: IOVA linear map 0x0000000092cb4000(800000)
[    0.451566] platform tegradc.0: IOVA linear map 0x00000000d7000000(19000000)
[    0.451901] iommu: Adding device tegradc.1 to group 15
[    0.451948] platform tegradc.1: domain=ffffffc0f94dbcd8 allocates as[0]=ffffffc0f9bd42b0
[    0.456139] platform tegradc.1: IOVA linear map 0x0000000092cb4000(800000)
[    0.456530] platform tegradc.1: IOVA linear map 0x00000000d7000000(19000000)
[    0.456786] iommu: Adding device 54340000.vic to group 16
[    0.456998] iommu: Adding device 544c0000.nvenc to group 17
[    0.457234] iommu: Adding device 54500000.tsec to group 18
[    0.457444] iommu: Adding device 54100000.tsecb to group 19
[    0.457642] iommu: Adding device 54480000.nvdec to group 20
[    0.457869] iommu: Adding device 54380000.nvjpg to group 21
[    0.458939] iommu: Adding device 546c0000.i2c to group 22
[    0.459277] iommu: Adding device 57000000.gpu to group 23
[    0.459334] platform 57000000.gpu: domain=ffffffc0f94eacd8 allocates as[0]=ffffffc0f9bd4318
[    0.459371] platform 57000000.gpu: domain=ffffffc0f94eacd8 allocates as[1]=ffffffc0f9bd4380
[    0.459411] platform 57000000.gpu: domain=ffffffc0f94eacd8 allocates as[2]=ffffffc0f9bd43e8
[    0.459446] platform 57000000.gpu: domain=ffffffc0f94eacd8 allocates as[3]=ffffffc0f9bd4450
[    0.460353] tegra-pmc 7000e400.pmc: i2c-thermtrip node not found, emergency thermal reset disabled.
[    0.460365] tegra-pmc 7000e400.pmc: scratch reg offset dts data not present
[    0.460377] tegra-pmc: ### PMC reset source: TEGRA_POWER_ON_RESET
[    0.460381] tegra-pmc: ### PMC reset level: TEGRA_RESET_LEVEL_WARM
[    0.460384] tegra-pmc: ### PMC reset status reg: 0x0
[    0.513192] padctrl padctrl.0: Pad control driver tegra-pmc-padctrl registered
[    0.513204] tegra-pmc: Clear bootloader IO dpd settings
[    0.513224] tegra-pmc 7000e400.pmc: IO padctrl driver initialized
[    0.513289] tegra-pmc 7000e400.pmc: PMC: Successfully configure bootrom reset commands
[    0.513574] iommu: Adding device 70012000.se to group 24
[    0.514356] iommu: Adding device 7000c000.i2c to group 25
[    0.514619] iommu: Adding device 7000c400.i2c to group 26
[    0.514885] iommu: Adding device 7000c500.i2c to group 27
[    0.515137] iommu: Adding device 7000c700.i2c to group 28
[    0.515423] iommu: Adding device 7000d000.i2c to group 29
[    0.515674] iommu: Adding device 7000d100.i2c to group 30
[    0.515963] iommu: Adding device sdhci-tegra.0 to group 31
[    0.516018] platform sdhci-tegra.0: domain=ffffffc0f957de58 allocates as[0]=ffffffc0f9bd44b8
[    0.516858] iommu: Adding device 700d0000.xudc to group 32
[    0.520288] vdd-ac-bat: 5000 mV
[    0.520650] vdd-5v0-sys: 5000 mV
[    0.521637] vdd-5v0-hdmi: supplied by vdd-5v0-sys
[    0.521707] vdd-5v0-hdmi: 5000 mV
[    0.522110] vdd-1v8-sys: 1800 mV
[    0.522499] vdd-fan: supplied by vdd-5v0-sys
[    0.522529] vdd-fan: 5000 mV
[    0.522928] vdd-usb-vbus: supplied by vdd-5v0-sys
[    0.522983] vdd-usb-vbus: 5000 mV
[    0.523521] vdd-usb-vbus2: 5000 mV
[    0.553869] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.556349] gpio gpiochip0: gpio-line-names specifies 240 line names but there are 256 lines on the chip
[    0.557992] GPIO line 151 (camera-control-output-low) hogged as output/low
[    0.558014] GPIO line 152 (camera-control-output-low) hogged as output/low
[    0.558051] GPIO line 6 (system-suspend-gpio) hogged as output/high
[    0.558414] gpiochip_setup_dev: registered GPIOs 0 to 255 on device: gpiochip0 (tegra-gpio)
[    0.566464] eventlib_kernel: keventlib is initialized, test id: 0
[    0.566805] SCSI subsystem initialized
[    0.567040] libata version 3.00 loaded.
[    0.567348] usbcore: registered new interface driver usbfs
[    0.567399] usbcore: registered new interface driver hub
[    0.567474] usbcore: registered new device driver usb
[    0.571711] max77620 4-003c: PMIC Version OTP:0x35 and ES:0x8
[    0.576356] random: fast init done
[    0.576372] vdd-core: 600 <--> 1162 mV at 1125 mV
[    0.577425] vdd-ddr-1v1: Bringing 1125000uV into 1150000-1150000uV
[    0.580313] vdd-ddr-1v1: 1150 mV
[    0.584974] vdd-pre-reg-1v35: 1350 mV
[    0.588975] vdd-1v8: 1800 mV
[    0.592973] avdd-sys-1v2: 1200 mV
[    0.596979] vdd-pex-1v0: 1050 mV
[    0.597626] vddio-sdmmc-ap: 1800 <--> 3300 mV at 3300 mV
[    0.598166] max77620-ldo3: at 3100 mV
[    0.600978] vdd-rtc: 850 <--> 1100 mV at 1000 mV
[    0.601533] max77620-ldo5: at 3100 mV
[    0.604983] vddio-sdmmc3-ap: 1800 <--> 3300 mV at 2800 mV
[    0.608972] avdd-1v05-pll: 1050 mV
[    0.612976] avdd-io-hdmi-dp: 1050 mV
[    0.615601] GPIO line 505 (spmic-default-output-high) hogged as output/high
[    0.615890] gpiochip_setup_dev: registered GPIOs 504 to 511 on device: gpiochip1 (max77620-gpio)
[    0.616166] max77620 4-003c: max77620 probe successful
[    0.619015] media: Linux media interface: v0.10
[    0.619073] Linux video capture interface: v2.00
[    0.620023] pps_core: LinuxPPS API ver. 1 registered
[    0.620030] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.620050] PTP clock support registered
[    0.623492] tegra210-emc 7001b000.external-memory-controller: validated EMC DFS table
[    0.624437] Advanced Linux Sound Architecture Driver Initialized.
[    0.625157] Bluetooth: Core ver 2.22
[    0.625206] NET: Registered protocol family 31
[    0.625210] Bluetooth: HCI device and connection manager initialized
[    0.625228] Bluetooth: HCI socket layer initialized
[    0.625237] Bluetooth: L2CAP socket layer initialized
[    0.625262] Bluetooth: SCO socket layer initialized
[    0.627049] tegra210_dvfs: no clock found for sdmmc2_ddr
[    0.627065] tegra210_dvfs: no clock found for sdmmc4_ddr
[    0.627115] tegra210_dvfs: no clock found for sdmmc1_ddr
[    0.627130] tegra210_dvfs: no clock found for sdmmc3_ddr
[    0.630575] tegra_dvfs: Unable to get vdd-cpu rail for step info, defering probe
[    0.631892] vdd-3v3-sys: supplied by vdd-5v0-sys
[    0.631958] vdd-3v3-sys: 3300 mV
[    0.632243] vdd-1v8-sys: supplied by vdd-3v3-sys
[    0.637108] vdd-usb-vbus2: supplied by vdd-3v3-sys
[    0.637605] vdd-3v3-sd: supplied by vdd-3v3-sys
[    0.637653] vdd-3v3-sd: 3300 mV
[    0.638783] avdd-io-edp-1v05: supplied by avdd-1v05-pll
[    0.638836] avdd-io-edp-1v05: 1050 mV
[    0.639297] vdd-usb-hub-en: supplied by vdd-1v8-sys
[    0.639341] vdd-usb-hub-en: 5000 mV
[    0.640867] camchar: rtcpu character device driver loaded
[    0.641590] extcon-gpio-states extcon:extcon@1: Cable state:1, cable id:1
[    0.643111] clocksource: Switched to clocksource arch_sys_counter
[    0.681734] VFS: Disk quotas dquot_6.6.0
[    0.681872] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.682365] nvmap_heap_init: nvmap_heap_init: created heap block cache
[    0.682805] dma_declare_coherent_resizable_cma_memory:324: resizable heap=vpr, base=0x00000000d7000000, size=0x19000000
[    0.682822]  dma-vpr: heap size is not multiple of cma_chunk_size heap_info->num_chunks (13) rem_chunk_size(0x1000000)
[    0.683026] cma: enabled page replacement for spfn=d7000, epfn=f0000
[    0.683031] dma_declare_coherent_resizable_cma_memory:373: resizable cma heap=vpr create successful
[    0.683043] tegra-carveouts tegra-carveouts: assigned reserved memory node vpr-carveout
[    0.683070] tegra-carveouts tegra-carveouts: iram :dma coherent mem declare 0x0000000040001000,258048
[    0.683076] tegra-carveouts tegra-carveouts: assigned reserved memory node iram-carveout
[    0.683139] nvmap: nvmap_select_cache_ops() nvmap cache ops set to set/ways
[    0.683149] nvmap_page_pool_init: Total RAM pages: 1009448
[    0.683154] nvmap_page_pool_init: nvmap page pool size: 126181 pages (492 MB)
[    0.683259] nvmap_background_zero_thread: PP zeroing thread starting.
[    0.683743] misc nvmap: created heap iram base 0x0000000040001000 size (252KiB)
[    0.684788] misc nvmap: created heap vpr base 0x00000000d7000000 size (409600KiB)
[    0.693473] thermal thermal_zone0: Registering thermal zone thermal_zone0 for type AO-therm
[    0.693940] thermal thermal_zone1: Registering thermal zone thermal_zone1 for type CPU-therm
[    0.694326] thermal thermal_zone2: Registering thermal zone thermal_zone2 for type GPU-therm
[    0.694614] thermal thermal_zone3: Registering thermal zone thermal_zone3 for type PLL-therm
[    0.694793] thermal thermal_zone4: Registering thermal zone thermal_zone4 for type PMIC-Die
[    0.695076] pre_t19x_iso_plat_init(): iso emc max clk=1600000KHz
[    0.695081] pre_t19x_iso_plat_init(): max_iso_bw=11520000KB
[    0.695563] NET: Registered protocol family 2
[    0.696529] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
[    0.696742] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
[    0.697287] TCP: Hash tables configured (established 32768 bind 32768)
[    0.697448] UDP hash table entries: 2048 (order: 4, 65536 bytes)
[    0.697534] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
[    0.697946] NET: Registered protocol family 1
[    0.698732] RPC: Registered named UNIX socket transport module.
[    0.698739] RPC: Registered udp transport module.
[    0.698743] RPC: Registered tcp transport module.
[    0.698747] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.698761] PCI: CLS 0 bytes, default 64
[    0.699000] Trying to unpack rootfs image as initramfs...
[    0.931063] Freeing initrd memory: 5356K
[    0.941123] host1x 50000000.host1x: initialized
[    0.943052] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    0.946343] audit: initializing netlink subsys (disabled)
[    0.946414] audit: type=2000 audit(0.791:1): initialized
[    0.947266] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    0.957279] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.958796] ntfs: driver 2.1.32 [Flags: R/W].
[    0.959639] 9p: Installing v9fs 9p2000 file system support
[    0.962973] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 240)
[    0.963166] io scheduler noop registered
[    0.963453] io scheduler cfq registered (default)
[    0.966198] gic 702f9000.agic: GIC IRQ controller registered
[    0.969223] iommu: Adding device 702ef000.adsp to group 33
[    0.978490] iommu: Adding device aconnect@702c0000:adsp_audio to group 34
[    0.978649] tegra-aconnect aconnect@702c0000: Tegra ACONNECT bus registered
[    0.979506] tegra-xusb-padctl 7009f000.xusb_padctl: TEGRA_FUSE_SKU_CALIB_0 = 0x8a28410
[    0.979516] tegra-xusb-padctl 7009f000.xusb_padctl: TEGRA_FUSE_USB_CALIB_EXT_0 = 0x4
[    0.981212] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-usb2.0, lane = usb2-0, function = xusb
[    0.981306] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-usb2.1, lane = usb2-1, function = xusb
[    0.981406] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-usb2.2, lane = usb2-2, function = xusb
[    0.981605] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.3, lane = pcie-0, function = pcie-x1
[    0.981689] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.4, lane = pcie-1, function = pcie-x4
[    0.981778] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.5, lane = pcie-2, function = pcie-x4
[    0.981865] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.6, lane = pcie-3, function = pcie-x4
[    0.981953] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.7, lane = pcie-4, function = pcie-x4
[    0.982037] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.8, lane = pcie-5, function = xusb
[    0.982123] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.9, lane = pcie-6, function = xusb
[    0.982207] li===> usb2 mode:otg
[    0.982511] li===> usb2 mode:host
[    0.982657] li===> usb2 mode:host
[    0.988383] tegra-pwm 7000a000.pwm: PWM clk cannot sleep in ops
[    0.990092] tegra-dfll-pwm 70110000.pwm: DFLL pwm-rate: 12800000
[    0.992029] tegra-pcie 1003000.pcie: 4x1, 1x1 configuration
[    0.993323] tegra-pcie 1003000.pcie: PCIE: Enable power rails
[    0.993678] tegra-pcie 1003000.pcie: probing port 0, using 4 lanes
[    0.994917] tegra_camera_platform tegra-camera-platform: tegra_camera_probe:camera_platform_driver probe
[    0.995278] misc tegra_camera_ctrl: tegra_camera_isomgr_register isp_iso_bw=1500000, vi_iso_bw=3000000, max_bw=3000000
[    0.995308] tegra-pcie 1003000.pcie: probing port 1, using 1 lanes
[    0.995581] Adding domain tsec-pd to PM domain host1x-pd
[    0.998528] tsec 54500000.tsec: initialized
[    1.000002] tsec 54100000.tsecb: initialized
[    1.000738] Adding domain nvdec-pd to PM domain host1x-pd
[    1.004102] nvdec 54480000.nvdec: initialized
[    1.005168] Adding domain vic03-pd to PM domain host1x-pd
[    1.005357] Adding domain msenc-pd to PM domain host1x-pd
[    1.005524] Adding domain nvjpg-pd to PM domain host1x-pd
[    1.009266] falcon 54340000.vic: initialized
[    1.010529] falcon 544c0000.nvenc: initialized
[    1.011929] falcon 54380000.nvjpg: initialized
[    1.016164] tegra_cec 70015000.tegra_cec: dt=1 start=0x70015000 end=0x70015FFF irq=97
[    1.016216] tegra_cec 70015000.tegra_cec: Enable clock result: 0.
[    1.016250] tegra_cec 70015000.tegra_cec: tegra_cec_init started
[    1.016516] tegradc tegradc.0: disp0 connected to head0->/host1x/sor1
[    1.016519] tegra_cec 70015000.tegra_cec: cec_add_sysfs ret=0
[    1.016524] tegra_cec 70015000.tegra_cec: probed
[    1.016614] display board info: id 0x0, fab 0x0
[    1.016680] generic_infoframe_type: 0x87
[    1.016829] tegradc tegradc.0: DT parsed successfully
[    1.016880] tegradc tegradc.0: Display dc.ffffff800ab00000 registered with id=0
[    1.017406] tegradc tegradc.0: Bootloader disp_param detected. Detected mode: 1920x1080 (on 0x0mm) pclk=148350781
[    1.024768] tegra-apbdma 60020000.dma: Tegra20 APB DMA driver register 32 channels
[    1.025717] tegradc tegradc.0: probed
[    1.026455] tegra-pcie 1003000.pcie: PCI host bridge to bus 0000:00
[    1.026464] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    1.026475] pci_bus 0000:00: root bus resource [mem 0x13000000-0x1fffffff]
[    1.026481] pci_bus 0000:00: root bus resource [mem 0x20000000-0x3fffffff pref]
[    1.026487] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.026513] pci 0000:00:01.0: [10de:0fae] type 01 class 0x060400
[    1.026602] pci 0000:00:01.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.026817] pci 0000:00:02.0: [10de:0faf] type 01 class 0x060400
[    1.026876] pci 0000:00:02.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.027068] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.027077] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.027273] pci 0000:01:00.0: [144d:a808] type 00 class 0x010802
[    1.027300] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[    1.030067] tegra-adma 702e2000.adma: Tegra210 ADMA driver registered 22 channels
[    1.030564] tegra-fuse-burn 7000f800.efuse:efuse-burn: shutdown limit check disabled
[    1.030570] tegra-fuse-burn 7000f800.efuse:efuse-burn: Fuse burn driver initialized
[    1.030796] kfuse 7000fc00.kfuse: initialized
[    1.031435] tegra-pmc-iopower pmc-iopower: Regulator supply iopower-dbg-supply not available
[    1.032122] tegra-pmc-iopower pmc-iopower: NO_IOPOWER setting 0x0
[    1.032803] tegra-dfll-pwm 70110000.pwm: DFLL_PWM regulator is available now
[    1.032810] vdd-cpu: 708 <--> 1322 mV at 708 mV
[    1.033119] pwm-regulator pwm_regulators:pwm-regulator@0: PWM regulator registration passed
[    1.034170] vdd-gpu: applied init 1000000uV constraint
[    1.034176] vdd-gpu: 708 <--> 1323 mV at 997 mV
[    1.034494] pwm-regulator pwm_regulators:pwm-regulator@1: PWM regulator registration passed
[    1.037489] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.037552] No Device Node present for smmu client: serial8250 !!
[    1.037560] platform serial8250: No iommus property found in DT node, got swgids from fixup(101004000)
[    1.037587] iommu: Adding device serial8250 to group 35
[    1.039120] console [ttyS0] disabled
[    1.039158] 70006000.serial: ttyS0 at MMIO 0x70006000 (irq = 63, base_baud = 25500000) is a Tegra
[    1.039198] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.039213] console [ttyS0] enabled
[    1.039361] pci 0000:02:00.0: [10ec:8168] type 00 class 0x020000
[    1.039384] pci 0000:02:00.0: reg 0x10: [io  0x0000-0x00ff]
[    1.039410] pci 0000:02:00.0: reg 0x18: [mem 0x00000000-0x00000fff 64bit]
[    1.039428] pci 0000:02:00.0: reg 0x20: [mem 0x00000000-0x00003fff 64bit]
[    1.039570] pci 0000:02:00.0: supports D1 D2
[    1.039574] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.039616] Console: switching to colour frame buffer device 240x67
[    1.039691] tegradc tegradc.0: fb registered
[    1.040023] 70006040.serial: ttyTHS1 at MMIO 0x70006040 (irq = 64, base_baud = 0) is a TEGRA_UART
[    1.040266] serial-tegra 70006200.serial: RX in PIO mode
[    1.040357] 70006200.serial: ttyTHS2 at MMIO 0x70006200 (irq = 65, base_baud = 0) is a TEGRA_UART
[    1.041285] [drm] Initialized
[    1.046929] tegradc tegradc.0: DC initialized, skipping tegra_dc_program_mode.
[    1.046956] tegradc tegradc.0: hdmi: tmds rate:148351K prod-setting:prod_c_hdmi_75m_150m
[    1.047343] tegradc tegradc.0: hdmi: get RGB quant from REG programmed by BL.
[    1.047352] tegradc tegradc.0: hdmi: get YCC quant from REG programmed by BL.
[    1.049266] brd: module loaded
[    1.051185] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    1.051233] pci 0000:00:01.0: BAR 14: assigned [mem 0x13000000-0x130fffff]
[    1.051239] pci 0000:00:02.0: BAR 14: assigned [mem 0x13100000-0x131fffff]
[    1.051245] pci 0000:00:02.0: BAR 13: assigned [io  0x1000-0x1fff]
[    1.051254] pci 0000:01:00.0: BAR 0: assigned [mem 0x13000000-0x13003fff 64bit]
[    1.051269] pci 0000:00:01.0: PCI bridge to [bus 01]
[    1.051276] pci 0000:00:01.0:   bridge window [mem 0x13000000-0x130fffff]
[    1.051287] pci 0000:02:00.0: BAR 4: assigned [mem 0x13100000-0x13103fff 64bit]
[    1.051304] pci 0000:02:00.0: BAR 2: assigned [mem 0x13104000-0x13104fff 64bit]
[    1.051320] pci 0000:02:00.0: BAR 0: assigned [io  0x1000-0x10ff]
[    1.051328] pci 0000:00:02.0: PCI bridge to [bus 02]
[    1.051333] pci 0000:00:02.0:   bridge window [io  0x1000-0x1fff]
[    1.051339] pci 0000:00:02.0:   bridge window [mem 0x13100000-0x131fffff]
[    1.051613] pcieport 0000:00:01.0: Signaling PME through PCIe PME interrupt
[    1.051618] pci 0000:01:00.0: Signaling PME through PCIe PME interrupt
[    1.051625] pcie_pme 0000:00:01.0:pcie001: service driver pcie_pme loaded
[    1.051744] aer 0000:00:01.0:pcie002: service driver aer loaded
[    1.051961] pcieport 0000:00:02.0: Signaling PME through PCIe PME interrupt
[    1.051966] pci 0000:02:00.0: Signaling PME through PCIe PME interrupt
[    1.051972] pcie_pme 0000:00:02.0:pcie001: service driver pcie_pme loaded
[    1.052083] aer 0000:00:02.0:pcie002: service driver aer loaded
[    1.053581] loop: module loaded
[    1.053650] tegra_profiler: version: 1.141, samples/io: 48/28
[    1.053742] tegra_profiler: auth: init
[    1.054302] THERMAL EST: found 2 subdevs
[    1.054307] THERMAL EST num_resources: 0
[    1.054312] [THERMAL EST subdev 0]
[    1.054317] [THERMAL EST subdev 1]
[    1.054636] thermal thermal_zone5: Registering thermal zone thermal_zone5 for type thermal-fan-est
[    1.054639] THERMAL EST: thz register success.
[    1.054732] THERMAL EST: end of probe, return err: 0
[    1.055467] sd: No Scsi addr parsed to reserve index
[    1.055495] hisi_sas: driver version v1.6
[    1.056125] nvme nvme0: pci function 0000:01:00.0
[    1.056166] nvme 0000:01:00.0: enabling device (0000 -> 0002)
[    1.059236] tegra-qspi 70410000.spi: Prod settings list not found
[    1.060058] qspi_mtd spi32766.0: MX25U3235F (4096 Kbytes)
[    1.060067] qspi_mtd spi32766.0: mtd .name = spi32766.0, .size = 0x400000 (4MiB) .erasesize = 0x00001000 (4KiB) .numeraseregions = 0
[    1.062298] libphy: Fixed MDIO Bus: probed
[    1.062981] tun: Universal TUN/TAP device driver, 1.6
[    1.062984] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    1.063664] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    1.063667] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.063714] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
[    1.063717] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.063760] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[    1.063763] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    1.063808] Intel(R) 10GbE PCI Express Linux Network Driver - version 4.6.4
[    1.063811] Copyright(c) 1999 - 2017 Intel Corporation.
[    1.064468] r8168 0000:02:00.0: enabling device (0000 -> 0003)
[    1.064486] r8168 Gigabit Ethernet driver 8.045.08-NAPI loaded
[    1.073148] extcon-disp-state extcon:disp-state: cable 47 state 1
[    1.073159] Extcon AUX1(HDMI) enable
[    1.073689] tegradc tegradc.0: nominal-pclk:148351648 parent:148350781 div:1.0 pclk:148350781 146868084~161703244
[    1.075764] tegradc tegradc.1: disp1 connected to head1->/host1x/sor
[    1.075836] tegradc tegradc.1: No lt-data, using default setting
[    1.075859] tegradc tegradc.1: No hpd-gpio in DT
[    1.075897] tegradc tegradc.1: DT parsed successfully
[    1.075933] tegradc tegradc.1: Display dc.ffffff800d480000 registered with id=1
[    1.076904] tegradc tegradc.1: dpd enable lookup fail:-19
[    1.078535] r8168 0000:02:00.0 (unnamed net_device) (uninitialized): Invalid ethernet address 00:00:00:00:00:00, trying device tree node
[    1.078587] r8168 0000:02:00.0 (unnamed net_device) (uninitialized): Found valid ethernet address 00:04:4b:ec:aa:8b from device tree
[    1.079019] r8168: This product is covered by one or more of the following patents: US6,570,884, US6,115,776, and US6,327,625.
[    1.079053] r8168  Copyright (C) 2017  Realtek NIC software team <nicfae@realtek.com>
                This program comes with ABSOLUTELY NO WARRANTY; for details, please see <http://www.gnu.org/licenses/>.
                This is free software, and you are welcome to redistribute it under certain conditions; see <http://www.gnu.org/licenses/>.
[    1.079581] PPP generic driver version 2.4.2
[    1.079720] PPP BSD Compression module registered
[    1.079723] PPP Deflate Compression module registered
[    1.079738] PPP MPPE Compression module registered
[    1.079742] NET: Registered protocol family 24
[    1.079793] usbcore: registered new interface driver r8152
[    1.079841] usbcore: registered new interface driver asix
[    1.079883] usbcore: registered new interface driver ax88179_178a
[    1.079917] usbcore: registered new interface driver cdc_ether
[    1.079952] usbcore: registered new interface driver net1080
[    1.079985] usbcore: registered new interface driver cdc_subset
[    1.080016] usbcore: registered new interface driver zaurus
[    1.080068] usbcore: registered new interface driver cdc_ncm
[    1.080215] VFIO - User Level meta-driver version: 0.3
[    1.081247] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.081257] ehci-pci: EHCI PCI platform driver
[    1.081297] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.081304] ohci-pci: OHCI PCI platform driver
[    1.081343] ohci-platform: OHCI generic platform driver
[    1.083275] li===> usb2.0 ports idx:0 mode:3
[    1.083319] li===> usb2.0 ports idx:1 mode:1
[    1.083376] li===> usb2.0 ports idx:2 mode:1
[    1.083394] tegra-xusb 70090000.xusb: USB2 port 0 has OTG_CAP
[    1.084007] tegra-xusb-padctl 7009f000.xusb_padctl: enabled OTG on UTMI pad 0
[    1.085038] tegra-xusb 70090000.xusb: extcon 0: ffffffc0fa5d3c00 id
[    1.086490] usbcore: registered new interface driver uas
[    1.086545] usbcore: registered new interface driver usb-storage
[    1.086628] usbcore: registered new interface driver usbserial
[    1.086837] tegradc tegradc.1: probed
[    1.087083] tegradc tegradc.1: fb registered
[    1.087122] tegra-xusb 70090000.xusb: Firmware timestamp: 2019-10-17 15:58:59 UTC, Version: 50.25 release
[    1.087151] tegra-xusb 70090000.xusb: xHCI Host Controller
[    1.087168] tegra-xusb 70090000.xusb: new USB bus registered, assigned bus number 1
[    1.087887] tegra-xusb 70090000.xusb: hcc params 0x0184f525 hci version 0x100 quirks 0x00050010
[    1.087923] tegra-xusb 70090000.xusb: irq 61, io mem 0x70090000
[    1.088078] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.088085] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.088089] usb usb1: Product: xHCI Host Controller
[    1.088094] usb usb1: Manufacturer: Linux 4.9.140 xhci-hcd
[    1.088098] usb usb1: SerialNumber: 70090000.xusb
[    1.088501] hub 1-0:1.0: USB hub found
[    1.088535] hub 1-0:1.0: 5 ports detected
[    1.089009] tegra-xusb 70090000.xusb: xHCI Host Controller
[    1.089019] tegra-xusb 70090000.xusb: new USB bus registered, assigned bus number 2
[    1.089088] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.089186] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[    1.089192] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.089197] usb usb2: Product: xHCI Host Controller
[    1.089201] usb usb2: Manufacturer: Linux 4.9.140 xhci-hcd
[    1.089206] usb usb2: SerialNumber: 70090000.xusb
[    1.090892] tegradc tegradc.1: dp: aux write retry (0x10000100) -- 2
[    1.091431] hub 2-0:1.0: USB hub found
[    1.091464] hub 2-0:1.0: 4 ports detected
[    1.091515] tegra-xudc-new 700d0000.xudc: device count: 1
[    1.092351] tegradc tegradc.1: dp: aux write retry (0x10000100) -- 1
[    1.092444] tegra-xudc-new 700d0000.xudc: USB charger detection disabled
[    1.092453] tegra-xudc-new 700d0000.xudc: vbus state: 1
[    1.092464] tegra-xudc-new 700d0000.xudc: device mode on: 0
[    1.092483] tegra-xusb-padctl 7009f000.xusb_padctl: power on UTMI pads 0
[    1.092500] tegra-xudc-new 700d0000.xudc: active: 0 => 1
[    1.092981] mousedev: PS/2 mouse device common for all mice
[    1.093045] usbcore: registered new interface driver xpad
[    1.093807] tegradc tegradc.1: dp: aux write retry (0x10000100) -- 0
[    1.095259] tegradc tegradc.1: dp: aux write got error (0x10000100)
[    1.101568] tegradc tegradc.1: dp: Failed for I2C write addr:80, size:1, stat:0x10000100
[    1.115775] tegradc tegradc.1: nominal-pclk:25200000 parent:25200000 div:1.0 pclk:25200000 24948000~27468000
[    1.116478] tegradc tegradc.1: dp: aux write retry (0x10000100) -- 2
[    1.117929] tegradc tegradc.1: dp: aux write retry (0x10000100) -- 1
[    1.119325] tegradc tegradc.1: dp: aux write retry (0x10000100) -- 0
[    1.120775] tegradc tegradc.1: dp: aux write got error (0x10000100)
[    1.127075] tegradc tegradc.1: dp: Failed to write DPCD data. CMD 0x600, Status 0x10000100
[    1.136046] tegradc tegradc.1: dp: aux write retry (0x10000100) -- 2
[    1.137495] tegradc tegradc.1: dp: aux write retry (0x10000100) -- 1
[    1.138944] tegradc tegradc.1: dp: aux write retry (0x10000100) -- 0
[    1.140394] tegradc tegradc.1: dp: aux write got error (0x10000100)
[    1.146676] tegradc tegradc.1: dp: Failed to write DPCD data. CMD 0x600, Status 0x10000100
[    1.155533] tegradc tegradc.1: dp: aux write retry (0x10000100) -- 2
[    1.156982] tegradc tegradc.1: dp: aux write retry (0x10000100) -- 1
[    1.158430] tegradc tegradc.1: dp: aux write retry (0x10000100) -- 0
[    1.159749] tegradc tegradc.1: dp: aux write got error (0x10000100)
[    1.166025] tegradc tegradc.1: dp: Failed to write DPCD data. CMD 0x600, Status 0x10000100
[    1.174985] tegradc tegradc.1: dp: aux write retry (0x10000100) -- 2
[    1.176464] tegradc tegradc.1: dp: aux write retry (0x10000100) -- 1
[    1.177924] tegradc tegradc.1: dp: aux write retry (0x10000100) -- 0
[    1.179397] tegradc tegradc.1: dp: aux write got error (0x10000100)
[    1.185695] tegradc tegradc.1: dp: Failed to write DPCD data. CMD 0x600, Status 0x10000100
[    1.194090] tegra-xusb-padctl 7009f000.xusb_padctl: power on UTMI pads 1
[    1.194176] tegradc tegradc.1: dp: failed to exit panel power save mode (0xfffffff2)
[    1.202044] hpd: state 7 (Takeover from bootloader), hpd 1, pending_hpd_evt 1
[    1.202049] hpd: switching from state 7 (Takeover from bootloader) to state 1 (Check Plug)
[    1.204212]  nvme0n1: p1
[    1.209818] tegradc tegradc.0: blank - powerdown
[    1.223405] max77686-rtc max77620-rtc: rtc core: registered max77620-rtc as rtc0
[    1.225540] rtc rtc1: alarm rtc device
[    1.225553] tegra_rtc 7000e000.rtc: rtc core: registered 7000e000.rtc as rtc1
[    1.225570] tegra_rtc 7000e000.rtc: Tegra internal Real Time Clock
[    1.225937] i2c /dev entries driver
[    1.227217] ar0521 2-0036: probing v4l2 sensor at addr 0x36
[    1.227329] li===> camera_common_parse_ports: port 2 num of lanes 4
[    1.227445] ar0521 2-0036: tegracam sensor driver:ar0521_v2.0.6
[    1.227450] ar0521 2-0036: camera_common_mclk_enable: enable MCLK with 24000000 Hz
[    1.227477] ar0521 2-0036: ar0521_power_on: power on
[    1.250599] li===> regmap_i2c_read: addr:0x36 reg_size:2 value_size:2
[    1.250602] li===> reg:0x30 0x1a
[    1.250793] tegra-i2c 7000c500.i2c: no acknowledge from address 0x36
[    1.250822] ar0521 2-0036: ar0521_board_setup: error during i2c read probe (-121)
[    1.250826] ar0521 2-0036: ar0521_power_off: power off
[    1.250853] ar0521 2-0036: camera_common_mclk_disable: disable MCLK
[    1.250868] ar0521 2-0036: board setup failed
[    1.250933] ar0521: probe of 2-0036 failed with error -121
[    1.250997] ar0521 6-0036: probing v4l2 sensor at addr 0x36
[    1.251109] li===> camera_common_parse_ports: port 4 num of lanes 4
[    1.251218] ar0521 6-0036: tegracam sensor driver:ar0521_v2.0.6
[    1.251222] ar0521 6-0036: camera_common_mclk_enable: enable MCLK with 24000000 Hz
[    1.251238] ar0521 6-0036: ar0521_power_on: power on
[    1.257022] extcon-disp-state extcon:disp-state: cable 47 state 0
[    1.257024] Extcon AUX1(HDMI) disable
[    1.274358] li===> regmap_i2c_read: addr:0x36 reg_size:2 value_size:2
[    1.274360] li===> reg:0x30 0x1a
[    1.274659] ar0521 6-0036: ar0521_power_off: power off
[    1.274684] ar0521 6-0036: camera_common_mclk_disable: disable MCLK
[    1.274733] ar0521 6-0036: li===> tegracam_init_ctrl_ranges_by_mode: modeidx:0 num_modes:2
[    1.275238] max77620-power max77620-power: Event recorder REG_NVERC : 0x0
[    1.277094] tegra_soctherm 700e2000.soctherm: pllx_offset tz:0 max:14, min:2
[    1.277099] tegra_soctherm 700e2000.soctherm: pllx_offset tz:2 max:8, min:4
[    1.277397] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[    1.277409] tegra_soctherm 700e2000.soctherm: thermtrip: will shut down when cpu reaches 102500 mC
[    1.277417] tegra_soctherm 700e2000.soctherm: throttrip: will throttle when cpu reaches 100500 mC
[    1.277554] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[    1.277563] tegra_soctherm 700e2000.soctherm: thermtrip: will shut down when gpu reaches 103000 mC
[    1.277569] tegra_soctherm 700e2000.soctherm: throttrip: will throttle when gpu reaches 101000 mC
[    1.277719] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[    1.277727] tegra_soctherm 700e2000.soctherm: thermtrip: will shut down when pll reaches 127000 mC
[    1.277731] tegra_soctherm 700e2000.soctherm: throttrip: pll: missing hot temperature
[    1.277920] tegra_soctherm 700e2000.soctherm: failed to register sensor: -19
[    1.278567] tegra_aotag tegra-aotag: Registering sensor 0
[    1.278616] tegra_aotag tegra-aotag: Invalid temp readout
[    1.278636] tegra_aotag tegra-aotag: Invalid temp readout
[    1.278652] tegra_aotag tegra-aotag: Bound to TZ : ID 0
[    1.278660] tegra_aotag tegra-aotag: Probe done [SUCCESS]:0
[    1.279453] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[    1.279467] tegra_dfll_action dfll-cdev-cap: Tegra DFLL 'cap cooling device' registered
[    1.279620] tegra_aotag tegra-aotag: Invalid temp readout
[    1.279641] tegra_dfll_action dfll-cdev-floor: Tegra DFLL 'floor cooling device' registered
[    1.279974] parse_throttle_dt_data: Num cap clks = 6
[    1.279978] parse_throttle_dt_data: clk=cclk_g type=2
[    1.279985] parse_throttle_dt_data: clk=gpu type=4
[    1.280004] parse_throttle_dt_data: clk=cap.throttle.c2bus type=0
[    1.280021] parse_throttle_dt_data: clk=cap.throttle.c3bus type=0
[    1.280041] parse_throttle_dt_data: clk=cap.throttle.sclk type=0
[    1.280044] parse_throttle_dt_data: clk=emc type=3
[    1.280335] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[    1.280435] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[    1.280543] tegra_throttle_probe: probe successful. #cdevs=4
[    1.281142] FAN dev name: pwm-fan
[    1.281190] FAN:gpio request success.
[    1.281239] pwm_fan_driver pwm-fan: cap state:7, cap pwm:255
[    1.281476] pwm_fan_driver pwm-fan: got pwm for fan. polarity is normal
[    1.281592] pwm_fan_driver pwm-fan: fan tach request irq success
[    1.281598] pwm_fan_driver pwm-fan: tach period: 1000
[    1.281670] pwm_fan_driver pwm-fan: index 0: pwm=0, rpm=0, rru=40, rrd=40, state:2
[    1.281674] pwm_fan_driver pwm-fan: index 1: pwm=80, rpm=1000, rru=2, rrd=2, state:2
[    1.281678] pwm_fan_driver pwm-fan: index 2: pwm=120, rpm=2000, rru=1, rrd=1, state:2
[    1.281682] pwm_fan_driver pwm-fan: index 3: pwm=160, rpm=3000, rru=1, rrd=1, state:2
[    1.281685] pwm_fan_driver pwm-fan: index 4: pwm=255, rpm=4000, rru=1, rrd=1, state:3
[    1.281689] pwm_fan_driver pwm-fan: index 5: pwm=255, rpm=5000, rru=1, rrd=1, state:3
[    1.281692] pwm_fan_driver pwm-fan: index 6: pwm=255, rpm=6000, rru=1, rrd=1, state:3
[    1.281696] pwm_fan_driver pwm-fan: index 7: pwm=255, rpm=7000, rru=1, rrd=1, state:4
[    1.281700] pwm_fan_driver pwm-fan: index 8: pwm=255, rpm=10000, rru=1, rrd=1, state:4
[    1.281704] pwm_fan_driver pwm-fan: index 9: pwm=255, rpm=11000, rru=1, rrd=1, state:4
[    1.282266] tegra-wdt 60005100.watchdog: Tegra WDT enabled on probe. Timeout = 120 seconds.
[    1.282586] tegra-wdt 60005100.watchdog: initialized (timeout = 120 sec, nowayout = 1)
[    1.283397] device-mapper: uevent: version 1.0.3
[    1.283793] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised: dm-devel@redhat.com
[    1.286375] tegra210-cpufreq cpufreq: probe()...completed
[    1.287080] sdhci: Secure Digital Host Controller Interface driver
[    1.287081] sdhci: Copyright(c) Pierre Ossman
[    1.287083] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.287278] tegradc tegradc.0: unblank
[    1.287593] sdhci-tegra sdhci-tegra.0: Got CD GPIO
[    1.288022] sdhci-tegra sdhci-tegra.0: Client registration for eMC Successful
[    1.288142] sdhci-tegra sdhci-tegra.0: wakeup init done, cdirq 300
[    1.293323] tegra-se 70012000.se: tegra_se_probe: complete
[    1.294003] hidraw: raw HID events driver (C) Jiri Kosina
[    1.295820] usbcore: registered new interface driver usbhid
[    1.295821] usbhid: USB HID core driver
[    1.298050] tegra21x_actmon 6000c800.actmon: in actmon_register()...
[    1.298213] tegra21x_actmon 6000c800.actmon: initialization Completed for the device mc_all
[    1.300081] nvpmodel: initialized successfully
[    1.301024] usbcore: registered new interface driver snd-usb-audio
[    1.301080] No Device Node present for smmu client: snd-soc-dummy !!
[    1.301084] platform snd-soc-dummy: No iommus property found in DT node, got swgids from fixup(101004000)
[    1.301101] iommu: Adding device snd-soc-dummy to group 36
[    1.307361] hpd: state 1 (Check Plug), hpd 1, pending_hpd_evt 0
[    1.307366] hpd: switching from state 1 (Check Plug) to state 2 (Check EDID)
[    1.312887] input: tegra-hda HDMI/DP,pcm=3 as /devices/70030000.hda/sound/card0/input0
[    1.315328] hpd: state 2 (Check EDID), hpd 1, pending_hpd_evt 0
[    1.315978] tegradc tegradc.1: dp: aux write retry (0x10000100) -- 2
[    1.317344] OPE platform probe
[    1.317429] tegradc tegradc.1: dp: aux write retry (0x10000100) -- 1
[    1.317450] OPE platform probe successful
[    1.317477] OPE platform probe
[    1.317555] OPE platform probe successful
[    1.318927] tegradc tegradc.1: dp: aux write retry (0x10000100) -- 0
[    1.320377] tegradc tegradc.1: dp: aux write got error (0x10000100)
[    1.320381] tegradc tegradc.1: dp: Failed to write DPCD data. CMD 0x600, Status 0x10000100
[    1.321018] tegradc tegradc.1: dp: aux write retry (0x10000100) -- 2
[    1.322457] tegradc tegradc.1: dp: aux write retry (0x10000100) -- 1
[    1.323629] tegradc tegradc.0: nominal-pclk:148500000 parent:148500000 div:1.0 pclk:148500000 147015000~161865000
[    1.323681] tegradc tegradc.0: hdmi: tmds rate:148500K prod-setting:prod_c_hdmi_75m_150m
[    1.323732] tegradc tegradc.1: dp: aux write retry (0x10000100) -- 0
[    1.324643] tegradc tegradc.0: hdmi: get RGB quant from EDID.
[    1.324650] tegradc tegradc.0: hdmi: get YCC quant from EDID.
[    1.325172] tegradc tegradc.1: dp: aux write got error (0x10000100)
[    1.325175] tegradc tegradc.1: dp: Failed to write DPCD data. CMD 0x600, Status 0x10000100
[    1.325810] tegradc tegradc.1: dp: aux write retry (0x10000100) -- 2
[    1.327251] tegradc tegradc.1: dp: aux write retry (0x10000100) -- 1
[    1.328692] tegradc tegradc.1: dp: aux write retry (0x10000100) -- 0
[    1.330187] tegradc tegradc.1: dp: aux write got error (0x10000100)
[    1.330190] tegradc tegradc.1: dp: Failed to write DPCD data. CMD 0x600, Status 0x10000100
[    1.330822] tegradc tegradc.1: dp: aux write retry (0x10000100) -- 2
[    1.332188] tegradc tegradc.1: dp: aux write retry (0x10000100) -- 1
[    1.333626] tegradc tegradc.1: dp: aux write retry (0x10000100) -- 0
[    1.335062] tegradc tegradc.1: dp: aux write got error (0x10000100)
[    1.335065] tegradc tegradc.1: dp: Failed to write DPCD data. CMD 0x600, Status 0x10000100
[    1.335067] tegradc tegradc.1: dp: failed to exit panel power save mode (0xfffffff2)
[    1.335072] hpd: edid read prepare failed
[    1.335072] hpd: DC from connected to disconnected
[    1.335360] mmc0: SDHCI controller on sdhci-tegra.0 [sdhci-tegra.0] using ADMA 64-bit with 64 bit addr
[    1.340847] tegra-asoc: sound: ADMAIF1 <-> ADMAIF1 mapping ok
[    1.340961] tegra-asoc: sound: ADMAIF2 <-> ADMAIF2 mapping ok
[    1.341076] tegra-asoc: sound: ADMAIF3 <-> ADMAIF3 mapping ok
[    1.341190] tegra-asoc: sound: ADMAIF4 <-> ADMAIF4 mapping ok
[    1.341330] tegra-asoc: sound: ADMAIF5 <-> ADMAIF5 mapping ok
[    1.341444] tegra-asoc: sound: ADMAIF6 <-> ADMAIF6 mapping ok
[    1.341552] tegra-asoc: sound: ADMAIF7 <-> ADMAIF7 mapping ok
[    1.341663] tegra-asoc: sound: ADMAIF8 <-> ADMAIF8 mapping ok
[    1.341776] tegra-asoc: sound: ADMAIF9 <-> ADMAIF9 mapping ok
[    1.341886] tegra-asoc: sound: ADMAIF10 <-> ADMAIF10 mapping ok
[    1.353630] u32 classifier
[    1.353631]     Actions configured
[    1.353699] Initializing XFRM netlink socket
[    1.354404] NET: Registered protocol family 10
[    1.355072] NET: Registered protocol family 17
[    1.355082] NET: Registered protocol family 15
[    1.355181] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.355227] Bluetooth: RFCOMM socket layer initialized
[    1.355236] Bluetooth: RFCOMM ver 1.11
[    1.355240] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    1.355244] Bluetooth: HIDP socket layer initialized
[    1.355263] 9pnet: Installing 9P2000 support
[    1.355296] Key type dns_resolver registered
[    1.355732] Registered cp15_barrier emulation handler
[    1.355737] Registered setend emulation handler
[    1.359258] extcon-disp-state extcon:disp-state: cable 47 state 1
[    1.359260] Extcon AUX1(HDMI) enable
[    1.359599] registered taskstats version 1
[    1.360209] Adding domain ve2-pd to PM domain host1x-pd
[    1.360455] Adding domain ve-pd to PM domain host1x-pd
[    1.362373] isp 54600000.isp: initialized
[    1.363314] isp 54680000.isp: initialized
[    1.373298] last reset is due to power on reset
[    1.373301] KERNEL: PMC reset status reg: 0x0
[    1.373362] BL: PMC reset status reg: 0x0
[    1.373364] BL: PMIC poweroff Event Recorder: 0x40
[    1.374820] clk_cbus_recalc_rate: no gbus parent
[    1.374825] clk_cbus_round_rate: no gbus parent
[    1.374827] clk_cbus_round_rate: no gbus parent
[    1.374833] clk_cbus_recalc_rate: no gbus parent
[    1.374910] tegradc tegradc.0: sync windows ret = 247
[    1.374936] clk_cbus_recalc_rate: no gbus parent
[    1.374939] clk_cbus_round_rate: no gbus parent
[    1.374941] clk_cbus_round_rate: no gbus parent
[    1.374944] clk_cbus_recalc_rate: no gbus parent
[    1.375658] tegra_dvfs: GPU-cap: registered
[    1.375714] tegra dvfs: vdd-cpu: nominal 1168mV, offset 708000uV, step 19200uV, scaling enabled
[    1.375716] tegra dvfs: vdd-core: nominal 1125mV, offset 600000uV, step 12500uV, scaling enabled
[    1.375718] tegra dvfs: vdd-gpu: nominal 1068mV, offset 708000uV, step 10000uV, scaling enabled
[    1.377006] tegra_dvfs: vdd-gpu-vts: registered
[    1.377695] tegra_core_action core_dvfs_cdev_floor: Tegra CORE DVFS 'floor cooling device' registered
[    1.378253] tegra_core_action core_dvfs_cdev_cap: Tegra CORE DVFS 'cap cooling device' registered
[    1.378802] input: gpio-keys as /devices/gpio-keys/input/input1
[    1.415110] usb 1-2: new full-speed USB device number 2 using tegra-xusb
[    1.417382] tegra_rtc 7000e000.rtc: setting system clock to 2000-01-01 01:00:13 UTC (946688413)
[    1.418353] vi 54080000.vi: vi_probe: ++
[    1.421330] vi 54080000.vi: initialized
[    1.421361] li===> csi->iomem: 0xffffff800d700838 0xffffff800d701038 0xffffff800d701838
[    1.421363] li===> csi_port:4 pixel_parser:0xffffff800d701838 cil:0xffffff800d70192c tpg:0xffffff800d7019c4
[    1.421365] li===> csi_port:2 pixel_parser:0xffffff800d701038 cil:0xffffff800d70112c tpg:0xffffff800d7011c4
[    1.421367] li===> vi->num_channels:2
[    1.424084] li===> vi init port:4 numlanes: 4
[    1.424089] li===> tegra_channel_fmt_align width:1920 height:1080 denominator:1 numerator:2          fmt_align:2 align:2 bpl:3840
[    1.424091] li===> tegra_channel_fmt_align bytesperline:3840 bpl:3840
[    1.424094] li===> tegra_channel_fmt_align bpl :3840 32768 3840 stride_align:1 bytesperline:3840
[    1.424100] li===> vi init port:2 numlanes: 4
[    1.424103] li===> tegra_channel_fmt_align width:1920 height:1080 denominator:1 numerator:2          fmt_align:2 align:2 bpl:3840
[    1.424105] li===> tegra_channel_fmt_align bytesperline:3840 bpl:3840
[    1.424107] li===> tegra_channel_fmt_align bpl :3840 32768 3840 stride_align:1 bytesperline:3840
[    1.424211] vi 54080000.vi: subdev nvcsi--2 bound
[    1.424223] vi 54080000.vi: subdev ar0521 6-0036 bound
[    1.424476] li===> tegra_channel_fmt_align width:2592 height:1944 denominator:1 numerator:2          fmt_align:2 align:2 bpl:5184
[    1.424478] li===> tegra_channel_fmt_align bytesperline:5184 bpl:5184
[    1.424480] li===> tegra_channel_fmt_align bpl :5184 32768 5184 stride_align:1 bytesperline:5184
[    1.424553] li===> tegra_channel_fmt_align width:2592 height:1944 denominator:1 numerator:2          fmt_align:2 align:2 bpl:5184
[    1.424554] li===> tegra_channel_fmt_align bytesperline:5184 bpl:5184
[    1.424556] li===> tegra_channel_fmt_align bpl :5184 32768 5184 stride_align:1 bytesperline:5184
[    1.424561] li===> tegra_channel_fmt_align width:2592 height:1944 denominator:1 numerator:2          fmt_align:2 align:2 bpl:5184
[    1.424562] li===> tegra_channel_fmt_align bytesperline:5184 bpl:5184
[    1.424564] li===> tegra_channel_fmt_align bpl :5184 32768 5184 stride_align:1 bytesperline:5184
[    1.424569] li===> tegra_channel_fmt_align width:2592 height:1944 denominator:1 numerator:2          fmt_align:2 align:2 bpl:5184
[    1.424571] li===> tegra_channel_fmt_align bytesperline:5184 bpl:5184
[    1.424573] li===> tegra_channel_fmt_align bpl :5184 32768 5184 stride_align:1 bytesperline:5184
[    1.426672] vi 54080000.vi: subdev nvcsi--1 bound
[    1.427485] Disable partitions left on by BL
[    1.427488]   disb
[    1.427527] bwmgr: missing cdev-type property
[    1.427623] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[    1.427628] DRAM derating cdev registered.
[    1.428740] vdd-fan: disabling
[    1.428742] vdd-usb-vbus: disabling
[    1.428744] vdd-usb-vbus2: disabling
[    1.428753] vddio-sdmmc3-ap: disabling
[    1.428836] vdd-usb-hub-en: disabling
[    1.428914] ALSA device list:
[    1.428916]   #0: tegra-hda at 0x70038000 irq 83
[    1.428918]   #1: tegra-snd-t210ref-mobile-rt565x
[    1.441092] usb 1-2: New USB device found, idVendor=062a, idProduct=4101
[    1.441096] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.441098] usb 1-2: Product: 2.4G Keyboard Mouse
[    1.441100] usb 1-2: Manufacturer: MOSART Semi.
[    1.443206] input: MOSART Semi. 2.4G Keyboard Mouse as /devices/70090000.xusb/usb1/1-2/1-2:1.0/0003:062A:4101.0001/input/input2
[    1.481397] extcon-disp-state extcon:disp-state: cable 51 state 1
[    1.481400] Extcon HDMI: HPD enabled
[    1.481421] tegradc tegradc.0: hdmi: plugged
[    1.484401] Freeing unused kernel memory: 8512K
[    1.503575] hid-generic 0003:062A:4101.0001: input,hidraw0: USB HID v1.10 Keyboard [MOSART Semi. 2.4G Keyboard Mouse] on usb-70090000.xusb-2/input0
[    1.505983] input: MOSART Semi. 2.4G Keyboard Mouse as /devices/70090000.xusb/usb1/1-2/1-2:1.1/0003:062A:4101.0002/input/input3
[    1.510516] Root device found: mmcblk0p1
[    1.534145] mmc0: hw tuning done ...
[    1.534179] mmc0: new ultra high speed SDR104 SDXC card at address 5048
[    1.534500] mmcblk0: mmc0:5048 SD128 119 GiB
[    1.538883]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14
[    1.567583] hid-generic 0003:062A:4101.0002: input,hidraw1: USB HID v1.10 Mouse [MOSART Semi. 2.4G Keyboard Mouse] on usb-70090000.xusb-2/input1
[    1.715158] Found dev node: /dev/mmcblk0p1
[    2.039129] tegra_cec 70015000.tegra_cec: physical address: 10:00.
[    2.103699] tegra_cec 70015000.tegra_cec: Sent <Text View On> res: -113.
[    2.103702] tegra_cec 70015000.tegra_cec: tegra_cec_init Done.
[    2.211670] EXT4-fs (mmcblk0p1): 14 orphan inodes deleted
[    2.211673] EXT4-fs (mmcblk0p1): recovery complete
[    2.228757] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[    2.229475] Rootfs mounted over mmcblk0p1
[    2.245899] Switching from initrd to actual rootfs
[    2.363571] tegradc tegradc.1: blank - powerdown
[    2.363582] extcon-disp-state extcon:disp-state: cable 44 state 0 already set.
[    2.363584] Extcon DP: HPD disabled
[    2.363587] hpd: hpd_switch 0
[    2.363590] hpd: switching from state 2 (Check EDID) to state 3 (Disabled)
[    2.467466] systemd[1]: System time before build time, advancing clock.
[    2.518326] ip_tables: (C) 2000-2006 Netfilter Core Team
[    2.530739] cgroup: cgroup2: unknown option "nsdelegate"
[    2.554336] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[    2.555150] systemd[1]: Detected architecture arm64.
[    2.578963] systemd[1]: Set hostname to <nano-desktop>.
[    2.705371] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[    2.705381] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[    2.841496] random: systemd: uninitialized urandom read (16 bytes read)
[    2.841725] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    2.841808] random: systemd: uninitialized urandom read (16 bytes read)
[    2.841827] systemd[1]: Reached target Swap.
[    2.841864] random: systemd: uninitialized urandom read (16 bytes read)
[    2.843464] systemd[1]: Created slice System Slice.
[    2.843781] systemd[1]: Listening on Journal Socket.
[    2.845862] systemd[1]: Mounting RPC Pipe File System...
[    2.890512] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
[    3.197095] systemd-journald[1998]: Received request to flush runtime journal from PID 1
[    4.337241] ar0521 6-0036: ar0521_open:
[    4.343702] ar0521 6-0036: camera_common_mclk_enable: enable MCLK with 24000000 Hz
[    4.344299] ar0521 6-0036: ar0521_power_on: power on
[    4.375006] li===> regmap_i2c_read: addr:0x36 reg_size:2 value_size:2
[    4.375011] li===> reg:0x31 0xfe
[    4.501833] ===ar0521_reg_30fps_init OK!===
[    4.501844] ar0521 6-0036: li===> tegracam_init_ctrl_ranges_by_mode: modeidx:0 num_modes:2
[    4.502204] ar0521 6-0036: ar0521_power_off: power off
[    4.502291] ar0521 6-0036: camera_common_mclk_disable: disable MCLK
[    4.502316] li===> tegra_vi2_power_on: ret:0
[    4.502326] ar0521 6-0036: camera_common_mclk_enable: enable MCLK with 24000000 Hz
[    4.502396] ar0521 6-0036: ar0521_power_on: power on
[    4.525987] li===> vi2_power_on: ret:0
[    4.526193] ar0521 6-0036: ar0521_power_off: power off
[    4.526905] ar0521 6-0036: camera_common_mclk_disable: disable MCLK
[    4.639435] random: crng init done
[    4.639440] random: 7 urandom warning(s) missed due to ratelimiting
[    4.759518] nvgpu: 57000000.gpu           gm20b_init_clk_setup_sw:1268 [INFO]  GPCPLL initial settings: NA mode, M=1, N=34, P=3 (id = 1)
[    4.803828] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[    4.803852] cpu-throttle-alert cooling device registered.
[    4.803987] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[    4.804002] gpu-throttle-alert cooling device registered.
[    4.804155] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[    4.804167] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[    4.804180] hot-surface-alert cooling device registered.
[    5.251570] tegra-xusb 70090000.xusb: Upgrade port 0 to USB3.0
[    5.251577] tegra-xusb 70090000.xusb: Upgrade port 1 to USB3.0
[    5.359525] usb usb2: usb_suspend_both: status 0
[    5.556976] using random self ethernet address
[    5.561696] using random host ethernet address
[    6.185740] Mass Storage Function, version: 2009/09/11
[    6.185747] LUN: removable file: (no medium)
[    6.193493] using random self ethernet address
[    6.198055] using random host ethernet address
[    6.261297] rndis0: HOST MAC ba:49:56:2a:d5:a8
[    6.261814] rndis0: MAC ba:49:56:2a:d5:a9
[    6.263792] usb0: HOST MAC ba:49:56:2a:d5:aa
[    6.263829] usb0: MAC ba:49:56:2a:d5:ab
[    6.263861] tegra-xudc-new 700d0000.xudc: ep 0 (type: 0, dir: out) enabled
[    6.269096] l4tbr0: port 1(rndis0) entered blocking state
[    6.269101] l4tbr0: port 1(rndis0) entered disabled state
[    6.269928] device rndis0 entered promiscuous mode
[    6.295150] IPv6: ADDRCONF(NETDEV_UP): rndis0: link is not ready
[    6.308410] l4tbr0: port 2(usb0) entered blocking state
[    6.308416] l4tbr0: port 2(usb0) entered disabled state
[    6.309011] device usb0 entered promiscuous mode
[    6.333345] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[    7.219537] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    7.220635] eth0: 0xffffff800a36e000, 00:04:4b:ec:aa:8b, IRQ 407
[    7.258621] zram: Added device: zram0
[    7.263671] zram: Added device: zram1
[    7.270255] zram: Added device: zram2
[    7.275512] zram: Added device: zram3
[    7.292649] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    7.314756] zram0: detected capacity change from 0 to 518615040
[    7.388629] Adding 506456k swap on /dev/zram0.  Priority:5 extents:1 across:506456k SS
[    7.401816] zram1: detected capacity change from 0 to 518615040
[    7.425448] Adding 506456k swap on /dev/zram1.  Priority:5 extents:1 across:506456k SS
[    7.429172] zram2: detected capacity change from 0 to 518615040
[    7.449002] Adding 506456k swap on /dev/zram2.  Priority:5 extents:1 across:506456k SS
[    7.457525] zram3: detected capacity change from 0 to 518615040
[    7.474664] Adding 506456k swap on /dev/zram3.  Priority:5 extents:1 across:506456k SS
[    9.073020] tegradc tegradc.0: blank - powerdown
[    9.124962] extcon-disp-state extcon:disp-state: cable 47 state 0
[    9.124970] Extcon AUX1(HDMI) disable
[    9.145305] tegradc tegradc.0: unblank
[    9.155036] tegradc tegradc.0: nominal-pclk:148500000 parent:148500000 div:1.0 pclk:148500000 147015000~161865000
[    9.155133] tegradc tegradc.0: hdmi: tmds rate:148500K prod-setting:prod_c_hdmi_75m_150m
[    9.156138] tegradc tegradc.0: hdmi: get RGB quant from EDID.
[    9.156144] tegradc tegradc.0: hdmi: get YCC quant from EDID.
[    9.194242] extcon-disp-state extcon:disp-state: cable 47 state 1
[    9.194246] Extcon AUX1(HDMI) enable
[    9.199338] tegradc tegradc.0: unblank
[    9.199347] tegradc tegradc.1: blank - powerdown
[   10.461447] fuse init (API version 7.26)
[   11.383170] r8168: eth0: link up
[   11.383211] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   12.878732] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   12.878743] Bluetooth: BNEP socket layer initialized
[   14.543596] tegradc tegradc.0: unblank
[   14.543606] tegradc tegradc.1: blank - powerdown
[  117.278571] ar0521 6-0036: camera_common_mclk_enable: enable MCLK with 24000000 Hz
[  117.278652] ar0521 6-0036: ar0521_power_on: power on
[  117.383240] ===ar0521_reg_30fps_init OK!===
[  117.383252] ar0521 6-0036: li===> tegracam_init_ctrl_ranges_by_mode: modeidx:0 num_modes:2
[  117.383634] ar0521 6-0036: ar0521_power_off: power off
[  117.383728] ar0521 6-0036: camera_common_mclk_disable: disable MCLK
[  117.383753] li===> tegra_vi2_power_on: ret:0
[  117.383766] ar0521 6-0036: camera_common_mclk_enable: enable MCLK with 24000000 Hz
[  117.383843] ar0521 6-0036: ar0521_power_on: power on
[  117.407033] li===> vi2_power_on: ret:0
[  117.407508] ar0521 6-0036: ar0521_power_off: power off
[  117.407638] ar0521 6-0036: camera_common_mclk_disable: disable MCLK
[  117.413483] li===> tegra_vi2_power_on: ret:0
[  117.413508] ar0521 6-0036: camera_common_mclk_enable: enable MCLK with 24000000 Hz
[  117.413789] ar0521 6-0036: ar0521_power_on: power on
[  117.437122] li===> vi2_power_on: ret:0
[  117.437605] ar0521 6-0036: ar0521_power_off: power off
[  117.437979] ar0521 6-0036: camera_common_mclk_disable: disable MCLK
[  117.470129] li===> tegra_vi2_power_on: ret:0
[  117.470155] ar0521 6-0036: camera_common_mclk_enable: enable MCLK with 24000000 Hz
[  117.470275] ar0521 6-0036: ar0521_power_on: power on
[  117.493514] li===> vi2_power_on: ret:0
[  117.493598] ar0521 6-0036: ar0521_power_off: power off
[  117.493875] ar0521 6-0036: camera_common_mclk_disable: disable MCLK

Hi,
Looks like the device tree is not ready. Please check sensor driver programming guide in document:
https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/camera_sensor_prog.html#

Hi DaneLLL,
i use v4l2-ctl can get raw10 data.

i2c@546c0000 {
imx219_cam0: rbpcv2_imx219_e@36 {
compatible = “nvidia,ar0521”;
/* I2C device address */
reg = <0x36>;

			/* V4L2 device node location */
			devnode = "video0";

			/* Physical dimensions of sensor */
			physical_w = "3.680";
			physical_h = "2.760";

			sensor_model = "ar0521";

			use_sensor_mode_id = "true";

			/**
			* ==== Modes ====
			* A modeX node is required to support v4l2 driver
			* implementation with NVIDIA camera software stack
			*
			* == Signal properties ==
			*
			* phy_mode = "";
			* PHY mode used by the MIPI lanes for this device
			*
			* tegra_sinterface = "";
			* CSI Serial interface connected to tegra
			* Incase of virtual HW devices, use virtual
			* For SW emulated devices, use host
			*
			* pix_clk_hz = "";
			* Sensor pixel clock used for calculations like exposure and framerate
			*
			* readout_orientation = "0";
			* Based on camera module orientation.
			* Only change readout_orientation if you specifically
			* Program a different readout order for this mode
			*
			* == Image format Properties ==
			*
			* active_w = "";
			* Pixel active region width
			*
			* active_h = "";
			* Pixel active region height
			*
			* pixel_t = "";
			* The sensor readout pixel pattern
			*
			* line_length = "";
			* Pixel line length (width) for sensor mode.
			*
			* == Source Control Settings ==
			*
			* Gain factor used to convert fixed point integer to float
			* Gain range [min_gain/gain_factor, max_gain/gain_factor]
			* Gain step [step_gain/gain_factor is the smallest step that can be configured]
			* Default gain [Default gain to be initialized for the control.
			*     use min_gain_val as default for optimal results]
			* Framerate factor used to convert fixed point integer to float
			* Framerate range [min_framerate/framerate_factor, max_framerate/framerate_factor]
			* Framerate step [step_framerate/framerate_factor is the smallest step that can be configured]
			* Default Framerate [Default framerate to be initialized for the control.
			*     use max_framerate to get required performance]
			* Exposure factor used to convert fixed point integer to float
			* For convenience use 1 sec = 1000000us as conversion factor
			* Exposure range [min_exp_time/exposure_factor, max_exp_time/exposure_factor]
			* Exposure step [step_exp_time/exposure_factor is the smallest step that can be configured]
			* Default Exposure Time [Default exposure to be initialized for the control.
			*     Set default exposure based on the default_framerate for optimal exposure settings]
			*
			* gain_factor = ""; (integer factor used for floating to fixed point conversion)
			* min_gain_val = ""; (ceil to integer)
			* max_gain_val = ""; (ceil to integer)
			* step_gain_val = ""; (ceil to integer)
			* default_gain = ""; (ceil to integer)
			* Gain limits for mode
			*
			* exposure_factor = ""; (integer factor used for floating to fixed point conversion)
			* min_exp_time = ""; (ceil to integer)
			* max_exp_time = ""; (ceil to integer)
			* step_exp_time = ""; (ceil to integer)
			* default_exp_time = ""; (ceil to integer)
			* Exposure Time limits for mode (sec)
			*
			* framerate_factor = ""; (integer factor used for floating to fixed point conversion)
			* min_framerate = ""; (ceil to integer)
			* max_framerate = ""; (ceil to integer)
			* step_framerate = ""; (ceil to integer)
			* default_framerate = ""; (ceil to integer)
			* Framerate limits for mode (fps)
			*
			* embedded_metadata_height = "";
			* Sensor embedded metadata height in units of rows.
			* If sensor does not support embedded metadata value should be 0.
			*/
			mode0 { /* IMX219_MODE_3264x2464_21FPS */
				mclk_khz = "24000";
				num_lanes = "4";
				tegra_sinterface = "serial_e";
				phy_mode = "DPHY";
				discontinuous_clk = "no";
				dpcm_enable = "false";
				cil_settletime = "0";

				active_w = "2592";
				active_h = "1944";
				pixel_t = "bayer_grbg";
				readout_orientation = "90";
				line_length = "3040";
				inherent_gain = "1";
				mclk_multiplier = "9.33";
				pix_clk_hz = "188000000";

				gain_factor = "16";
				framerate_factor = "1000000";
				exposure_factor = "1000000";
				min_gain_val = "16"; /* 1.00x */
				max_gain_val = "170"; /* 10.66x */
				step_gain_val = "1";
				default_gain = "16"; /* 1.00x */
				min_hdr_ratio = "1";
				max_hdr_ratio = "1";
				min_framerate = "2000000"; /* 2.0 fps */
				max_framerate = "30000000"; /* 60.0 fps */
				step_framerate = "1";
				default_framerate = "30000000"; /* 60.0 fps */
				min_exp_time = "100"; /* us */
				max_exp_time = "16666"; /* us */
				step_exp_time = "1";
				default_exp_time = "2495"; /* us */

				embedded_metadata_height = "1";
			};
			mode1 { /* IMX219_MODE_3264x1848_28FPS */
				mclk_khz = "24000";
				num_lanes = "4";
				tegra_sinterface = "serial_e";
				phy_mode = "DPHY";
				discontinuous_clk = "no";
				dpcm_enable = "false";
				cil_settletime = "0";

				active_w = "2592";
				active_h = "1944";
				pixel_t = "bayer_grbg";
				readout_orientation = "90";
				line_length = "3040";
				inherent_gain = "1";
				mclk_multiplier = "9.33";
				pix_clk_hz = "188000000";

				gain_factor = "16";
				framerate_factor = "1000000";
				exposure_factor = "1000000";
				min_gain_val = "16"; /* 1.00x */
				max_gain_val = "170"; /* 10.66x */
				step_gain_val = "1";
				default_gain = "16"; /* 1.00x */
				min_hdr_ratio = "1";
				max_hdr_ratio = "1";
				min_framerate = "2000000"; /* 2.0 fps */
				max_framerate = "30000000"; /* 30.0 fps */
				step_framerate = "1";
				default_framerate = "30000000"; /* 30.0 fps */
				min_exp_time = "200"; /* us */
				max_exp_time = "33332"; /* us */
				step_exp_time = "1";
				default_exp_time = "2495"; /* us */

				embedded_metadata_height = "1";
			};

			ports {
				#address-cells = <1>;
				#size-cells = <0>;

				port@0 {
					reg = <0>;
					rbpcv2_imx219_dual_out0: endpoint {
						port-index = <4>;
						bus-width = <4>;
						remote-endpoint = <&rbpcv2_imx219_csi_in0>;
					};
				};
			};
		};
	};

Hi DaneLLL,
Now i use 2 4-line sensor. and exec ./camera_jpeg_capture, video1 can exec success. and i print the cameraDevices.size(), but it’s value=1.

How does the program determine how many cameras there are?

Hi DaneLLL,
I don’t know how to confirm where my problem is?
If v4l2 can work normally, then i2c and csi should be able to work normally. And it’s can detect the device /dev/video.

/ {
host1x {
vi_base: vi {
num-channels = <2>;
ports {
#address-cells = <1>;
#size-cells = <0>;
vi_port0: port@0 {
reg = <0>;
rbpcv2_imx219_vi_in0: endpoint {
port-index = <4>;
bus-width = <4>;
remote-endpoint = <&rbpcv2_imx219_csi_out0>;
};
};
vi_port1: port@1 {
reg = <1>;
rbpcv2_imx219_vi_in1: endpoint {
port-index = <2>;
bus-width = <4>;
remote-endpoint = <&rbpcv2_imx219_csi_out1>;
};
};
};
};

	csi_base: nvcsi {
		num-channels = <2>;
		#address-cells = <1>;
		#size-cells = <0>;
		csi_chan0: channel@0 {
			reg = <0>;
			ports {
				#address-cells = <1>;
				#size-cells = <0>;
				csi_chan0_port0: port@0 {
					reg = <0>;
					rbpcv2_imx219_csi_in0: endpoint@0 {
						port-index = <4>;
						bus-width = <4>;
						remote-endpoint = <&rbpcv2_imx219_dual_out0>;
					};
				};
				csi_chan0_port1: port@1 {
					reg = <1>;
					rbpcv2_imx219_csi_out0: endpoint@1 {
						remote-endpoint = <&rbpcv2_imx219_vi_in0>;
					};
				};
			};
		};
		csi_chan1: channel@1 {
			reg = <1>;
			ports {
				#address-cells = <1>;
				#size-cells = <0>;
				csi_chan1_port0: port@2 {
					reg = <0>;
					rbpcv2_imx219_csi_in1: endpoint@2 {
						port-index = <2>;
						bus-width = <4>;
						remote-endpoint = <&rbpcv2_imx219_out1>;
					};
				};
				csi_chan1_port1: port@3 {
					reg = <1>;
					rbpcv2_imx219_csi_out1: endpoint@3 {
						remote-endpoint = <&rbpcv2_imx219_vi_in1>;
					};
				};
			};
		};
	};
	
	i2c@546c0000 {
		imx219_cam0: rbpcv2_imx219_e@36 {
			compatible = "nvidia,ar0521";
			/* I2C device address */
			reg = <0x36>;

			/* V4L2 device node location */
			devnode = "video0";

			/* Physical dimensions of sensor */
			physical_w = "3.680";
			physical_h = "2.760";

			sensor_model = "ar0521";

			use_sensor_mode_id = "true";

			/**
			* ==== Modes ====
			* A modeX node is required to support v4l2 driver
			* implementation with NVIDIA camera software stack
			*
			* == Signal properties ==
			*
			* phy_mode = "";
			* PHY mode used by the MIPI lanes for this device
			*
			* tegra_sinterface = "";
			* CSI Serial interface connected to tegra
			* Incase of virtual HW devices, use virtual
			* For SW emulated devices, use host
			*
			* pix_clk_hz = "";
			* Sensor pixel clock used for calculations like exposure and framerate
			*
			* readout_orientation = "0";
			* Based on camera module orientation.
			* Only change readout_orientation if you specifically
			* Program a different readout order for this mode
			*
			* == Image format Properties ==
			*
			* active_w = "";
			* Pixel active region width
			*
			* active_h = "";
			* Pixel active region height
			*
			* pixel_t = "";
			* The sensor readout pixel pattern
			*
			* line_length = "";
			* Pixel line length (width) for sensor mode.
			*
			* == Source Control Settings ==
			*
			* Gain factor used to convert fixed point integer to float
			* Gain range [min_gain/gain_factor, max_gain/gain_factor]
			* Gain step [step_gain/gain_factor is the smallest step that can be configured]
			* Default gain [Default gain to be initialized for the control.
			*     use min_gain_val as default for optimal results]
			* Framerate factor used to convert fixed point integer to float
			* Framerate range [min_framerate/framerate_factor, max_framerate/framerate_factor]
			* Framerate step [step_framerate/framerate_factor is the smallest step that can be configured]
			* Default Framerate [Default framerate to be initialized for the control.
			*     use max_framerate to get required performance]
			* Exposure factor used to convert fixed point integer to float
			* For convenience use 1 sec = 1000000us as conversion factor
			* Exposure range [min_exp_time/exposure_factor, max_exp_time/exposure_factor]
			* Exposure step [step_exp_time/exposure_factor is the smallest step that can be configured]
			* Default Exposure Time [Default exposure to be initialized for the control.
			*     Set default exposure based on the default_framerate for optimal exposure settings]
			*
			* gain_factor = ""; (integer factor used for floating to fixed point conversion)
			* min_gain_val = ""; (ceil to integer)
			* max_gain_val = ""; (ceil to integer)
			* step_gain_val = ""; (ceil to integer)
			* default_gain = ""; (ceil to integer)
			* Gain limits for mode
			*
			* exposure_factor = ""; (integer factor used for floating to fixed point conversion)
			* min_exp_time = ""; (ceil to integer)
			* max_exp_time = ""; (ceil to integer)
			* step_exp_time = ""; (ceil to integer)
			* default_exp_time = ""; (ceil to integer)
			* Exposure Time limits for mode (sec)
			*
			* framerate_factor = ""; (integer factor used for floating to fixed point conversion)
			* min_framerate = ""; (ceil to integer)
			* max_framerate = ""; (ceil to integer)
			* step_framerate = ""; (ceil to integer)
			* default_framerate = ""; (ceil to integer)
			* Framerate limits for mode (fps)
			*
			* embedded_metadata_height = "";
			* Sensor embedded metadata height in units of rows.
			* If sensor does not support embedded metadata value should be 0.
			*/
			mode0 { /* IMX219_MODE_3264x2464_21FPS */
				mclk_khz = "24000";
				num_lanes = "4";
				tegra_sinterface = "serial_e";
				phy_mode = "DPHY";
				discontinuous_clk = "no";
				dpcm_enable = "false";
				cil_settletime = "0";

				active_w = "2592";
				active_h = "1944";
				pixel_t = "bayer_grbg";
				readout_orientation = "90";
				line_length = "3040";
				inherent_gain = "1";
				mclk_multiplier = "7.83";
				pix_clk_hz = "188000000";

				gain_factor = "16";
				framerate_factor = "1000000";
				exposure_factor = "1000000";
				min_gain_val = "16"; /* 1.00x */
				max_gain_val = "170"; /* 10.66x */
				step_gain_val = "1";
				default_gain = "16"; /* 1.00x */
				min_hdr_ratio = "1";
				max_hdr_ratio = "1";
				min_framerate = "2000000"; /* 2.0 fps */
				max_framerate = "30000000"; /* 30.0 fps */
				step_framerate = "1";
				default_framerate = "30000000"; /* 30.0 fps */
				min_exp_time = "100"; /* us */
				max_exp_time = "16666"; /* us */
				step_exp_time = "1";
				default_exp_time = "2495"; /* us */

				embedded_metadata_height = "1";
			};
			mode1 { /* IMX219_MODE_3264x1848_28FPS */
				mclk_khz = "24000";
				num_lanes = "4";
				tegra_sinterface = "serial_e";
				phy_mode = "DPHY";
				discontinuous_clk = "no";
				dpcm_enable = "false";
				cil_settletime = "0";

				active_w = "2600";
				active_h = "1952";
				pixel_t = "bayer_grbg";
				readout_orientation = "90";
				line_length = "3040";
				inherent_gain = "1";
				mclk_multiplier = "21.33";
				pix_clk_hz = "512000000";

				gain_factor = "16";
				framerate_factor = "1000000";
				exposure_factor = "1000000";
				min_gain_val = "16"; /* 1.00x */
				max_gain_val = "170"; /* 10.66x */
				step_gain_val = "1";
				default_gain = "16"; /* 1.00x */
				min_hdr_ratio = "1";
				max_hdr_ratio = "1";
				min_framerate = "2000000"; /* 2.0 fps */
				max_framerate = "60000000"; /* 60.0 fps */
				step_framerate = "1";
				default_framerate = "60000000"; /* 60.0 fps */
				min_exp_time = "200"; /* us */
				max_exp_time = "33332"; /* us */
				step_exp_time = "1";
				default_exp_time = "2495"; /* us */

				embedded_metadata_height = "1";
			};

			ports {
				#address-cells = <1>;
				#size-cells = <0>;

				port@0 {
					reg = <0>;
					rbpcv2_imx219_dual_out0: endpoint {
						port-index = <4>;
						bus-width = <4>;
						remote-endpoint = <&rbpcv2_imx219_csi_in0>;
					};
				};
			};
		};
	};
};

i2c@7000c500 {
	imx219_cam1: rbpcv2_imx219_c@36 {
		compatible = "nvidia,ar0521";
		/* I2C device address */
		reg = <0x36>;

		/* V4L2 device node location */
		devnode = "video1";

		/* Physical dimensions of sensor */
		physical_w = "3.680";
		physical_h = "2.760";

		sensor_model = "ar0521";

		use_sensor_mode_id = "true";

		/**
		* ==== Modes ====
		* A modeX node is required to support v4l2 driver
		* implementation with NVIDIA camera software stack
		*
		* == Signal properties ==
		*
		* phy_mode = "";
		* PHY mode used by the MIPI lanes for this device
		*
		* tegra_sinterface = "";
		* CSI Serial interface connected to tegra
		* Incase of virtual HW devices, use virtual
		* For SW emulated devices, use host
		*
		* pix_clk_hz = "";
		* Sensor pixel clock used for calculations like exposure and framerate
		*
		* readout_orientation = "0";
		* Based on camera module orientation.
		* Only change readout_orientation if you specifically
		* Program a different readout order for this mode
		*
		* == Image format Properties ==
		*
		* active_w = "";
		* Pixel active region width
		*
		* active_h = "";
		* Pixel active region height
		*
		* pixel_t = "";
		* The sensor readout pixel pattern
		*
		* line_length = "";
		* Pixel line length (width) for sensor mode.
		*
		* == Source Control Settings ==
		*
		* Gain factor used to convert fixed point integer to float
		* Gain range [min_gain/gain_factor, max_gain/gain_factor]
		* Gain step [step_gain/gain_factor is the smallest step that can be configured]
		* Default gain [Default gain to be initialized for the control.
		*     use min_gain_val as default for optimal results]
		* Framerate factor used to convert fixed point integer to float
		* Framerate range [min_framerate/framerate_factor, max_framerate/framerate_factor]
		* Framerate step [step_framerate/framerate_factor is the smallest step that can be configured]
		* Default Framerate [Default framerate to be initialized for the control.
		*     use max_framerate to get required performance]
		* Exposure factor used to convert fixed point integer to float
		* For convenience use 1 sec = 1000000us as conversion factor
		* Exposure range [min_exp_time/exposure_factor, max_exp_time/exposure_factor]
		* Exposure step [step_exp_time/exposure_factor is the smallest step that can be configured]
		* Default Exposure Time [Default exposure to be initialized for the control.
		*     Set default exposure based on the default_framerate for optimal exposure settings]
		*
		* gain_factor = ""; (integer factor used for floating to fixed point conversion)
		* min_gain_val = ""; (ceil to integer)
		* max_gain_val = ""; (ceil to integer)
		* step_gain_val = ""; (ceil to integer)
		* default_gain = ""; (ceil to integer)
		* Gain limits for mode
		*
		* exposure_factor = ""; (integer factor used for floating to fixed point conversion)
		* min_exp_time = ""; (ceil to integer)
		* max_exp_time = ""; (ceil to integer)
		* step_exp_time = ""; (ceil to integer)
		* default_exp_time = ""; (ceil to integer)
		* Exposure Time limits for mode (sec)
		*
		* framerate_factor = ""; (integer factor used for floating to fixed point conversion)
		* min_framerate = ""; (ceil to integer)
		* max_framerate = ""; (ceil to integer)
		* step_framerate = ""; (ceil to integer)
		* default_framerate = ""; (ceil to integer)
		* Framerate limits for mode (fps)
		*
		* embedded_metadata_height = "";
		* Sensor embedded metadata height in units of rows.
		* If sensor does not support embedded metadata value should be 0.
		*/
		mode0 { /* IMX219_MODE_3264x2464_21FPS */
			mclk_khz = "24000";
			num_lanes = "4";
			tegra_sinterface = "serial_c";
			phy_mode = "DPHY";
			discontinuous_clk = "no";
			dpcm_enable = "false";
			cil_settletime = "0";

			active_w = "2592";
			active_h = "1944";
			pixel_t = "bayer_grbg";
			readout_orientation = "90";
			line_length = "3040";
			inherent_gain = "1";
			mclk_multiplier = "7.83";
			pix_clk_hz = "188000000";

			gain_factor = "16";
			framerate_factor = "1000000";
			exposure_factor = "1000000";
			min_gain_val = "16"; /* 1.00x */
			max_gain_val = "170"; /* 10.66x */
			step_gain_val = "1";
			default_gain = "16"; /* 1.00x */
			min_hdr_ratio = "1";
			max_hdr_ratio = "1";
			min_framerate = "2000000"; /* 2.0 fps */
			max_framerate = "30000000"; /* 30.0 fps */
			step_framerate = "1";
			default_framerate = "30000000"; /* 30.0 fps */
			min_exp_time = "100"; /* us */
			max_exp_time = "16666"; /* us */
			step_exp_time = "1";
			default_exp_time = "2495"; /* us */

			embedded_metadata_height = "1";
		};
		mode1 { /* IMX219_MODE_3264x1848_28FPS */
			mclk_khz = "24000";
			num_lanes = "4";
			tegra_sinterface = "serial_c";
			phy_mode = "DPHY";
			discontinuous_clk = "no";
			dpcm_enable = "false";
			cil_settletime = "0";

			active_w = "2600";
			active_h = "1952";
			pixel_t = "bayer_grbg";
			readout_orientation = "90";
			line_length = "3040";
			inherent_gain = "1";
			mclk_multiplier = "21.33";
			pix_clk_hz = "512000000";

			gain_factor = "16";
			framerate_factor = "1000000";
			exposure_factor = "1000000";
			min_gain_val = "16"; /* 1.00x */
			max_gain_val = "170"; /* 10.66x */
			step_gain_val = "1";
			default_gain = "16"; /* 1.00x */
			min_hdr_ratio = "1";
			max_hdr_ratio = "1";
			min_framerate = "2000000"; /* 2.0 fps */
			max_framerate = "60000000"; /* 60.0 fps */
			step_framerate = "1";
			default_framerate = "60000000"; /* 60.0 fps */
			min_exp_time = "200"; /* us */
			max_exp_time = "33332"; /* us */
			step_exp_time = "1";
			default_exp_time = "2495"; /* us */

			embedded_metadata_height = "1";
		};

		ports {
			#address-cells = <1>;
			#size-cells = <0>;

			port@0 {
				reg = <0>;
				rbpcv2_imx219_out1: endpoint {
					port-index = <2>;
					bus-width = <4>;
					remote-endpoint = <&rbpcv2_imx219_csi_in1>;
				};
			};
		};
	};
};

lens_imx219@RBPCV2 {
	min_focus_distance = "0.0";
	hyper_focal = "0.0";
	focal_length = "3.04";
	f_number = "2.0";
	aperture = "0.0";
};

};

/ {
tcp: 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 = <8>;
	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>;

	/**
	 * 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 vendor.
	 */
	modules {
		cam_module0: module0 {
			badge = "porg_front_RBPCV2";
			position = "front";
			orientation = "1";
			cam_module0_drivernode0: drivernode0 {
				pcl_id = "v4l2_sensor";
				devname = "ar0521 6-0036";
				proc-device-tree = "/proc/device-tree/host1x/i2c@546c0000/rbpcv2_imx219_e@36";
			};
			cam_module0_drivernode1: drivernode1 {
				pcl_id = "v4l2_lens";
				proc-device-tree = "/proc/device-tree/lens_imx219@RBPCV2/";
			};
		};
		cam_module1: module1 {
			badge = "porg_rear_RBPCV2";
			position = "rear";
			orientation = "1";
			cam_module1_drivernode0: drivernode0 {
				pcl_id = "v4l2_sensor";
				devname = "ar0521 2-0036";
				proc-device-tree = "/proc/device-tree/i2c@7000c500/rbpcv2_imx219_c@36";
			};
			cam_module1_drivernode1: drivernode1 {
				pcl_id = "v4l2_lens";
				proc-device-tree = "/proc/device-tree/lens_imx219@RBPCV2/";
			};
		};
	};
};

};

/ {
host1x {
i2c@546c0000 {
rbpcv2_imx219_e@36 {
status = “disabled”;
clocks = <&tegra_car TEGRA210_CLK_CLK_OUT_3>;
clock-names = “clk_out_3”;
clock-frequency = <24000000>;
mclk = “clk_out_3”;
reset-gpios = <&gpio CAM2_PWDN GPIO_ACTIVE_HIGH>;
};
};
};

i2c@7000c500 {
	rbpcv2_imx219_c@36 {
		status = "disabled";
		clocks = <&tegra_car TEGRA210_CLK_CLK_OUT_3>;
		clock-names = "clk_out_3";
		clock-frequency = <24000000>;
		mclk = "clk_out_3";
		reset-gpios = <&gpio CAM1_PWDN GPIO_ACTIVE_HIGH>;
	};
};

gpio@6000d000 {
	camera-control-output-low {
		gpio-hog;
		output-low;
		gpios = < CAM1_PWDN 0  CAM2_PWDN 0>;
		label = "cam1-pwdn", "cam2-pwdn";
	};
};

};

fragement@10 {
ids = “>=3448-0000-300”, “>=3448-0002-300”;

		/* IMX219 dual sensor module */
		override@4 {
			target = <&imx219_cam0>;
			_overlay_ {
				status = "okay";
			};
		};
		override@5 {
			target = <&cam_module0>;
			_overlay_ {
				status = "okay";
				badge = "porg_front_RBPCV2";
				position = "front";
				orientation = "1";
			};
		};
		override@6 {
			target = <&cam_module0_drivernode0>;
			_overlay_ {
				status = "okay";
				pcl_id = "v4l2_sensor";
				devname = "ar0521 6-0036";
				proc-device-tree = "/proc/device-tree/hostlx/i2c@546c0000/rbpcv2_imx219_e@36";
			};
		};
		override@7 {
			target = <&cam_module0_drivernode1>;
			_overlay_ {
				status = "okay";
				pcl_id = "v4l2_lens";
				proc-device-tree = "/proc/device-tree/lens_imx219@RBPCV2/";
			};
		};
		override@8 {
			target = <&imx219_cam1>;
			_overlay_ {
				status = "okay";
			};
		};
		override@9 {
			target = <&cam_module1>;
			_overlay_ {
				status = "okay";
				badge = "porg_rear_RBPCV2";
				position = "rear";
				orientation = "1";
			};
		};
		override@10 {
			target = <&cam_module1_drivernode0>;
			_overlay_ {
				status = "okay";
				pcl_id = "v4l2_sensor";
				devname = "ar0521 2-0036";
				proc-device-tree = "/proc/device-tree/i2c@7000c500/rbpcv2_imx219_c@36";
			};
		};
		override@11 {
			target = <&cam_module1_drivernode1>;
			_overlay_ {
				status = "okay";
				pcl_id = "v4l2_lens";
				proc-device-tree = "/proc/device-tree/lens_imx219@RBPCV2/";
			};
		};
		/* Enable VI ports */
		override@12 {
			target = <&vi_base>;
			_overlay_ {
				num-channels=<2>;
			};
		};
		override@13 {
			target = <&vi_port0>;
			_overlay_ {
				status = "okay";
			};
		};
		override@14 {
			target = <&vi_port1>;
			_overlay_ {
				status = "okay";
			};
		};
		override@15 {
			target = <&rbpcv2_imx219_vi_in0>;
			_overlay_ {
				status = "okay";
				port-index = <4>;
				bus-width = <4>;
				remote-endpoint = <&rbpcv2_imx219_csi_out0>;
			};
		};
		override@16 {
			target = <&rbpcv2_imx219_vi_in1>;
			_overlay_ {
				status = "okay";
				port-index = <2>;
				bus-width = <4>;
				remote-endpoint = <&rbpcv2_imx219_csi_out1>;
			};
		};
		/* Enable CSI ports */
		override@17 {
			target = <&csi_base>;
			_overlay_ {
				num-channels = <2>;
			};
		};
		override@18 {
			target = <&csi_chan0>;
			_overlay_ {
				status = "okay";
			};
		};
		override@19 {
			target = <&csi_chan0_port0>;
			_overlay_ {
				status = "okay";
			};
		};
		override@20 {
			target = <&rbpcv2_imx219_csi_in0>;
			_overlay_ {
				status = "okay";
				port-index = <4>;
				bus-width = <4>;
				remote-endpoint = <&rbpcv2_imx219_dual_out0>;
			};
		};
		override@21 {
			target = <&csi_chan0_port1>;
			_overlay_ {
				status = "okay";
			};
		};
		override@22 {
			target = <&rbpcv2_imx219_csi_out0>;
			_overlay_ {
				status = "okay";
			};
		};
		override@23 {
			target = <&csi_chan1>;
			_overlay_ {
				status = "okay";
			};
		};
		override@24 {
			target = <&csi_chan1_port0>;
			_overlay_ {
				status = "okay";
			};
		};
		override@25 {
			target = <&rbpcv2_imx219_csi_in1>;
			_overlay_ {
				status = "okay";
				port-index = <2>;
				bus-width = <4>;
				remote-endpoint = <&rbpcv2_imx219_out1>;
			};
		};
		override@26 {
			target = <&csi_chan1_port1>;
			_overlay_ {
				status = "okay";
			};
		};
		override@27 {
			target = <&rbpcv2_imx219_csi_out1>;
			_overlay_ {
				status = "okay";
			};
		};
		/* tegra-camera-platform settings */
		override@28 {
			target = <&tcp>;
			_overlay_ {
				num_csi_lanes = <8>;
				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>;
			};
		};
	};

imx219_cam0: rbpcv2_imx219_e work failed.
imx219_cam1: rbpcv2_imx219_c works fine.

hello y2zwei,

could you please refer to Jetson Nano Product Design Guide.
you may also check [Table 8-3. CSI Configuration] for reference,
thanks

Hi Jerry,
hardware: csi2+csi3
rbpcv2_imx219_e :
tegra_sinterface = “serial_e”;
num_lanes = “4”;
port-index = <4>;
bus-width = <4>;

when i use port-index=2 instead of port-index = 4, i use v4l2-ctl can’t get the mipi data.
and the err log : video4linux video0: frame start syncpt timeout!0

and when i exec sample 09_camera_jpeg_capture.
the demo print No cameras available

Now i only plug in a camera.

hello y2zwei,

did you had board customization?
you should have DT configuration as same as your board schematic.
thanks

Hi Jerry,

hello y2zwei,

what did you meant about csi2+csi3?

BTW,
are you able to generate correct port bindings for rbpcv2_imx219_e?
you may execute media-ctl to verify the port binding result,
for example, $ sudo media-ctl -p -d /dev/media0

1

hello y2zwei,

are you having DT implementation with single camera definition to get the device topology as above?
it seems there’s only 1-cam register to linux kernel for the usage, it’s 6-0036 AR0521.