Core1106 dual cam support

  • Hello, the DTS configuration of the dual camera can refer to the configuration of <Luckfox Pico SDK>/sysdrv/source/kernel/arch/arm/boot/dts/rv1106-evb-dual-cam.dtsi, According to the ISP documentation, the resolution of each camera is supported up to 1920x1080 when using the dual camera and the frame rate will decrease due to the increase in ISP throughput, You can use the built-in sample_multi_vi and sample_demo_dual_camera_wrap to perform RAW image acquisition and stream ingest tests
  • Crocodile wrote: 2025-02-07 2:26 Hello, the DTS configuration of the dual camera can refer to the configuration of <Luckfox Pico SDK>/sysdrv/source/kernel/arch/arm/boot/dts/rv1106-evb-dual-cam.dtsi, According to the ISP documentation, the resolution of each camera is supported up to 1920x1080 when using the dual camera and the frame rate will decrease due to the increase in ISP throughput, You can use the built-in sample_multi_vi and sample_demo_dual_camera_wrap to perform RAW image acquisition and stream ingest tests
    Hello,
    I have followed rv1106-evb-dual-cam.dtsi to configure dual camera for RV1106.
    Here is the output of v4l2-ctl --list-devices:

    Code: Select all

    ~ # v4l2-ctl --list-devices
    rkisp-statistics (platform: rkisp):
            /dev/video30
            /dev/video31
            /dev/video40
            /dev/video41
    
    rkcif-mipi-lvds (platform:rkcif):
            /dev/media0
            /dev/media1
    
    rkcif (platform:rkcif-mipi-lvds):
            /dev/video0
            /dev/video1
            /dev/video2
            /dev/video3
            /dev/video4
            /dev/video5
            /dev/video6
            /dev/video7
            /dev/video8
            /dev/video9
            /dev/video10
    
    rkcif (platform:rkcif-mipi-lvds1):
            /dev/video11
            /dev/video12
            /dev/video13
            /dev/video14
            /dev/video15
            /dev/video16
            /dev/video17
            /dev/video18
            /dev/video19
            /dev/video20
            /dev/video21
    
    rkisp_mainpath (platform:rkisp-vir0):
            /dev/video22
            /dev/video23
            /dev/video24
            /dev/video25
            /dev/video26
            /dev/video27
            /dev/video28
            /dev/video29
            /dev/media2
    
    rkisp_mainpath (platform:rkisp-vir1):
            /dev/video32
            /dev/video33
            /dev/video34
            /dev/video35
            /dev/video36
            /dev/video37
            /dev/video38
            /dev/video39
            /dev/media3
    
    However when I tried to capture video from video22 or video32 using v4l2-ctrl, it just stuck there.
    Can you please advice what I did wrong?
  • Hello, please attach the device tree file and boot logs you are using, and make sure that your camera is ready to use in a single-camera configuration, the node of v4l2-ctl --list-devices can only confirm that rkisp is working properly and the node is assigned
  • Crocodile wrote: 2025-02-18 2:47 Hello, please attach the device tree file and boot logs you are using, and make sure that your camera is ready to use in a single-camera configuration, the node of v4l2-ctl --list-devices can only confirm that rkisp is working properly and the node is assigned
    Here is the device tree configuration

    Code: Select all

    &csi2_dphy_hw {
    	status = "okay";
    };
    
    &csi2_dphy1 {
    	status = "okay";
    
    	ports {
    		#address-cells = <1>;
    		#size-cells = <0>;
    
    		port@0 {
    			reg = <0>;
    			#address-cells = <1>;
    			#size-cells = <0>;
    
    			csi_dphy_input0: endpoint@1 {
    				reg = <1>;
    				remote-endpoint = <&ov6211_0_out>;
    				data-lanes = <1>;
    			};
    		};
    
    		port@1 {
    			reg = <1>;
    			#address-cells = <1>;
    			#size-cells = <0>;
    
    			csi_dphy_output: endpoint@0 {
    				reg = <0>;
    				remote-endpoint = <&mipi_csi2_input>;
    			};
    		};
    	};
    };
    
    &csi2_dphy2 {
    	status = "okay";
    
    	ports {
    		#address-cells = <1>;
    		#size-cells = <0>;
    
    		port@0 {
    			reg = <0>;
    			#address-cells = <1>;
    			#size-cells = <0>;
    
    			csi_dphy_input1: endpoint@1 {
    				reg = <1>;
    				remote-endpoint = <&ov6211_1_out>;
    				data-lanes = <1>;
    			};
    		};
    
    		port@1 {
    			reg = <1>;
    			#address-cells = <1>;
    			#size-cells = <0>;
    
    			csi_dphy_output1: endpoint@0 {
    				reg = <0>;
    				remote-endpoint = <&mipi1_csi2_input>;
    			};
    		};
    	};
    };
    
    &i2c3 {
    	status = "okay";
    	clock-frequency = <400000>;
    	pinctrl-names = "default";
    	pinctrl-0 = <&i2c3m2_xfer>;
    
    	ov6211@60 {
    		compatible = "ovti,ov6211";
    		status = "okay";
    		reg = <0x60>;
    		clocks = <&cru MCLK_REF_MIPI1>;
    		clock-names = "xvclk";
    		reset-gpios = <&gpio1 RK_PC6 GPIO_ACTIVE_HIGH>;
    		pinctrl-names = "default";
    		pinctrl-0 = <&mipi_refclk_out1>;
    		rockchip,camera-module-index = <1>;
    		rockchip,camera-module-facing = "back";
    		rockchip,camera-module-name = "WS-eye-track-S1-1025";
    		rockchip,camera-module-lens-name = "default";
    		port {
    			ov6211_1_out: endpoint {
    				remote-endpoint = <&csi_dphy_input1>;
    				data-lanes = <1>;
    			};
    		};
    	};
    };
    
    &i2c4 {
    	status = "okay";
    	clock-frequency = <400000>;
    	pinctrl-names = "default";
    	pinctrl-0 = <&i2c4m2_xfer>;
    
    	ov6211@60 {
    		compatible = "ovti,ov6211";
    		status = "okay";
    		reg = <0x60>;
    		clocks = <&cru MCLK_REF_MIPI0>;
    		clock-names = "xvclk";
    		reset-gpios = <&gpio1 RK_PC7 GPIO_ACTIVE_HIGH>;
    		pinctrl-names = "default";
    		pinctrl-0 = <&mipi_refclk_out0>;
    		rockchip,camera-module-index = <0>;
    		rockchip,camera-module-facing = "front";
    		rockchip,camera-module-name = "WS-eye-track-S1-1025";
    		rockchip,camera-module-lens-name = "default";
    		port {
    			ov6211_0_out: endpoint {
    				remote-endpoint = <&csi_dphy_input0>;
    				data-lanes = <1>;
    			};
    		};
    	};
    };
    
    &mipi0_csi2 {
    	status = "okay";
    
    	ports {
    		#address-cells = <1>;
    		#size-cells = <0>;
    
    		port@0 {
    			reg = <0>;
    			#address-cells = <1>;
    			#size-cells = <0>;
    
    			mipi_csi2_input: endpoint@1 {
    				reg = <1>;
    				remote-endpoint = <&csi_dphy_output>;
    			};
    		};
    
    		port@1 {
    			reg = <1>;
    			#address-cells = <1>;
    			#size-cells = <0>;
    
    			mipi_csi2_output: endpoint@0 {
    				reg = <0>;
    				remote-endpoint = <&cif_mipi_in>;
    			};
    		};
    	};
    };
    
    &mipi1_csi2 {
    	status = "okay";
    
    	ports {
    		#address-cells = <1>;
    		#size-cells = <0>;
    
    		port@0 {
    			reg = <0>;
    			#address-cells = <1>;
    			#size-cells = <0>;
    
    			mipi1_csi2_input: endpoint@1 {
    				reg = <1>;
    				remote-endpoint = <&csi_dphy_output1>;
    			};
    		};
    
    		port@1 {
    			reg = <1>;
    			#address-cells = <1>;
    			#size-cells = <0>;
    
    			mipi1_csi2_output: endpoint@0 {
    				reg = <0>;
    				remote-endpoint = <&cif_mipi_in1>;
    			};
    		};
    	};
    };
    
    &rkcif {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&mipi_pins>;
    };
    
    &rkcif_mipi_lvds {
    	status = "okay";
    
    	port {
    		/* MIPI CSI-2 endpoint */
    		cif_mipi_in: endpoint {
    			remote-endpoint = <&mipi_csi2_output>;
    		};
    	};
    };
    
    &rkcif_mipi_lvds_sditf {
    	status = "okay";
    
    	port {
    		/* MIPI CSI-2 endpoint */
    		mipi_lvds_sditf: endpoint {
    			remote-endpoint = <&isp_in>;
    		};
    	};
    };
    
    &rkcif_mipi_lvds1 {
    	status = "okay";
    
    	port {
    		/* MIPI CSI-2 endpoint */
    		cif_mipi_in1: endpoint {
    			remote-endpoint = <&mipi1_csi2_output>;
    		};
    	};
    };
    
    &rkcif_mipi_lvds1_sditf {
    	status = "okay";
    
    	port {
    		/* MIPI CSI-2 endpoint */
    		mipi_lvds1_sditf: endpoint {
    			remote-endpoint = <&isp_in1>;
    		};
    	};
    };
    
    &rkisp {
    	status = "okay";
    };
    
    &rkisp_vir0 {
    	status = "okay";
    
    	port@0 {
    		isp_in: endpoint {
    			remote-endpoint = <&mipi_lvds_sditf>;
    		};
    	};
    };
    
    &rkisp_vir1 {
    	status = "okay";
    
    	port@0 {
    		isp_in1: endpoint {
    			remote-endpoint = <&mipi_lvds1_sditf>;
    		};
    	};
    };
    
    The camera sensor is OV6211. We have developed the driver ourself and it is working very well on each single CSI port.

    Here is the boot log

    Code: Select all

    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 5.10.160 (thanhloc@ThanhLoc2z2) (arm-rockchip830-linux-uclibcgnueabihf-gcc (crosstool-NG 1.24.0) 8.3.0, GNU ld (crosstool-NG 1.24.0) 2.32) #2 Wed Feb 12 19:33:02 +07 2025
    [    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=50c53c7d
    [    0.000000] CPU: div instructions available: patching division code
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] OF: fdt: Machine model: Eyedra
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] cma: Reserved 45056 KiB at 0x0d400000
    [    0.000000] Zone ranges:
    [    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 65024
    [    0.000000] Kernel command line: user_debug=31 storagemedia=mtd androidboot.storagemedia=mtd androidboot.mode=normal  rootwait earlycon=uart8250,mmio32,0xff4c0000 console=ttyFIQ0 snd_soc_core.prealloc_buffer_size_kbytes=16 coherent_pool=0 mtdparts=spi-nand0:256K(env),256K@256K(idblock),512K(uboot),4M(boot),4M(boot_b),118M(rootfs),118M(rootfs_b),10M(userdata) ubi.mtd=rootfs root=ubi0:rootfs rootfstype=ubifs rk_dma_heap_cma=44M androidboot.fwver=uboot-02/13/2025
    [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] Memory: 208112K/262144K available (3789K kernel code, 379K rwdata, 1800K rodata, 176K init, 138K bss, 8976K reserved, 45056K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
    [    0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
    [    0.000016] Switching to timer-based delay loop, resolution 41ns
    [    0.000451] Console: colour dummy device 80x30
    [    0.000489] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
    [    0.000504] pid_max: default: 4096 minimum: 301
    [    0.000667] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
    [    0.000680] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
    [    0.001236] CPU: Testing write buffer coherency: ok
    [    0.001781] Setting up static identity map for 0x81c0 - 0x81f8
    [    0.002245] devtmpfs: initialized
    [    0.008574] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
    [    0.008742] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.008761] futex hash table entries: 16 (order: -5, 192 bytes, linear)
    [    0.008838] pinctrl core: initialized pinctrl subsystem
    [    0.009942] NET: Registered protocol family 16
    [    0.010338] DMA: failed to allocate 0 KiB pool for atomic coherent allocation
    [    0.010862] Registered FIQ tty driver
    [    0.011158] thermal_sys: Registered thermal governor 'step_wise'
    [    0.011164] thermal_sys: Registered thermal governor 'user_space'
    [    0.011379] cpuidle: using governor menu
    [    0.023812] rockchip-gpio ff380000.gpio: probed /pinctrl/gpio@ff380000
    [    0.024576] rockchip-gpio ff530000.gpio: probed /pinctrl/gpio@ff530000
    [    0.025184] rockchip-gpio ff540000.gpio: probed /pinctrl/gpio@ff540000
    [    0.025768] rockchip-gpio ff550000.gpio: probed /pinctrl/gpio@ff550000
    [    0.026346] rockchip-gpio ff560000.gpio: probed /pinctrl/gpio@ff560000
    [    0.026431] rockchip-pinctrl pinctrl: probed pinctrl
    [    0.034645] fiq_debugger fiq_debugger.0: IRQ uart_irq not found
    [    0.034668] fiq_debugger fiq_debugger.0: IRQ wakeup not found
    [    0.034915] printk: console [ttyFIQ0] enabled
    [    0.035085] Registered fiq debugger ttyFIQ0
    [    0.036124] reg-fixed-voltage vdd-arm: Fixed regulator specified with variable voltages
    [    0.036149] reg-fixed-voltage: probe of vdd-arm failed with error -22
    [    0.036724] SCSI subsystem initialized
    [    0.036913] usbcore: registered new interface driver usbfs
    [    0.036959] usbcore: registered new interface driver hub
    [    0.037012] usbcore: registered new device driver usb
    [    0.037215] mc: Linux media interface: v0.10
    [    0.037259] videodev: Linux video capture interface: v2.00
    [    0.038290] Advanced Linux Sound Architecture Driver Initialized.
    [    0.038947] rockchip-cpuinfo cpuinfo: SoC            : 11061000
    [    0.038968] rockchip-cpuinfo cpuinfo: Serial         : 64f9a655f3313f7b
    [    0.039311] rockchip,rknpor-powergood ff000000.syscon:rknpor-powergood: probe success!
    [    0.040045] clocksource: Switched to clocksource arch_sys_counter
    Seeding 256 bits and crediting
    [    0.045778] NET: Registered protocol family 2
    Saving 256 bits of creditable seed for next boot
    [    0.045993] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
    Starting syslogd: OK
    [    0.046447] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
    Starting watchdogd: [    0.046479] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
    [    0.046503] TCP bind hash table entries: 2048 (order: 1, 8192 bytes, linear)
    [    0.046526] TCP: Hash tables configured (established 2048 bind 2048)
    OK
    [    0.046610] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
    Starting klogd: [    0.046630] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
    [    0.046748] NET: Registered protocol family 1
    OK
    [    0.047309] RPC: Registered named UNIX socket transport module.
    [    0.047331] RPC: Registered udp transport module.
    [    0.047338] RPC: Registered tcp transport module.
    [    0.047345] RPC: Registered tcp NFSv4.1 backchannel transport module.
    Running sysctl: [    0.050421] rockchip-thermal ff3c8000.tsadc: tsadc is probed successfully!
    [    0.051361] Initialise system trusted keyrings
    [    0.051577] workingset: timestamp_bits=30 max_order=16 bucket_order=0
    [    0.054955] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.055656] NFS: Registering the id_resolver key type
    [    0.055721] Key type id_resolver registered
    OK
    [    0.055732] Key type id_legacy registered
    [    0.055773] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    [    0.056248] Key type asymmetric registered
    [    0.056268] Asymmetric key parser 'x509' registered
    [    0.056290] io scheduler mq-deadline registered
    [    0.056631] rockchip-usb2phy ff3e0000.usb2-phy: IRQ index 0 not found
    [    0.061082] dma-pl330 ff420000.dma-controller: Loaded driver for PL330 DMAC-241330
    [    0.061111] dma-pl330 ff420000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16
    [    0.061830] rockchip-pvtm ff240000.pvtm: pvtm@0 probed
    [    0.061994] rockchip-pvtm ff390000.pvtm: pvtm@0 probed
    [    0.062283] rockchip-system-monitor rockchip-system-monitor: system monitor probe
    [    0.062768] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
    [    0.067996] random: crng init done
    [    0.075643] brd: module loaded
    [    0.080672] loop: module loaded
    [    0.082604] spi-nand spi2.0: Winbond SPI NAND was found.
    [    0.082634] spi-nand spi2.0: 256 MiB, block size: 128 KiB, page size: 2048, OOB size: 128
    [    0.083680] 8 cmdlinepart partitions found on MTD device spi-nand0
    [    0.083696] Creating 8 MTD partitions on "spi-nand0":
    [    0.083706] 0x000000000000-0x000000040000 : "env"
    [    0.085350] 0x000000040000-0x000000080000 : "idblock"
    [    0.086856] 0x000000080000-0x000000100000 : "uboot"
    [    0.088353] 0x000000100000-0x000000500000 : "boot"
    [    0.089877] 0x000000500000-0x000000900000 : "boot_b"
    [    0.091525] 0x000000900000-0x000007f00000 : "rootfs"
    [    0.093538] 0x000007f00000-0x00000f500000 : "rootfs_b"
    [    0.095542] 0x00000f500000-0x00000ff00000 : "userdata"
    [    0.098137] rk_gmac-dwmac ffa80000.ethernet: IRQ eth_lpi not found
    [    0.098305] rk_gmac-dwmac ffa80000.ethernet: PTP uses main clock
    [    0.098350] rk_gmac-dwmac ffa80000.ethernet: no regulator found
    [    0.098364] rk_gmac-dwmac ffa80000.ethernet: clock input or output? (input).
    [    0.098375] rk_gmac-dwmac ffa80000.ethernet: Can not read property: tx_delay.
    [    0.098383] rk_gmac-dwmac ffa80000.ethernet: set tx_delay to 0xffffffff
    [    0.098391] rk_gmac-dwmac ffa80000.ethernet: Can not read property: rx_delay.
    [    0.098399] rk_gmac-dwmac ffa80000.ethernet: set rx_delay to 0xffffffff
    [    0.098470] rk_gmac-dwmac ffa80000.ethernet: integrated PHY? (yes).
    [    0.098484] rk_gmac-dwmac ffa80000.ethernet: cannot get clock mac_clk_rx
    [    0.098494] rk_gmac-dwmac ffa80000.ethernet: cannot get clock mac_clk_tx
    [    0.098524] rk_gmac-dwmac ffa80000.ethernet: cannot get clock clk_mac_speed
    [    0.098534] rk_gmac-dwmac ffa80000.ethernet: clock input from PHY
    [    0.098775] rk_gmac-dwmac ffa80000.ethernet: init for RMII
    [    0.098951] rk_gmac-dwmac ffa80000.ethernet: User ID: 0x30, Synopsys ID: 0x51
    [    0.098971] rk_gmac-dwmac ffa80000.ethernet:         DWMAC4/5
    [    0.098984] rk_gmac-dwmac ffa80000.ethernet: DMA HW capability register supported
    [    0.098993] rk_gmac-dwmac ffa80000.ethernet: RX Checksum Offload Engine supported
    [    0.099001] rk_gmac-dwmac ffa80000.ethernet: TX Checksum insertion supported
    [    0.099009] rk_gmac-dwmac ffa80000.ethernet: Wake-Up On Lan supported
    [    0.099016] rk_gmac-dwmac ffa80000.ethernet: TSO supported
    [    0.099023] rk_gmac-dwmac ffa80000.ethernet: Enable RX Mitigation via HW Watchdog Timer
    [    0.099032] rk_gmac-dwmac ffa80000.ethernet: TSO feature enabled
    [    0.099043] rk_gmac-dwmac ffa80000.ethernet: Using 40 bits DMA width
    [    0.105928] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    0.106327] gadgetfs: USB Gadget filesystem, version 24 Aug 2004
    [    0.106372] Mass Storage Function, version: 2009/09/11
    [    0.106386] LUN: removable file: (no medium)
    [    0.106414] no file given for LUN0
    [    0.106444] udc ffb00000.usb: failed to start g_mass_storage: -22
    [    0.106924] i2c /dev entries driver
    [    0.109960] usbcore: registered new interface driver uvcvideo
    [    0.109982] USB Video Class driver (1.1.1)
    [    0.111377] cpu cpu0: leakage=14
    [    0.111886] Synopsys Designware Multimedia Card Interface Driver
    [    0.114610] NET: Registered protocol family 17
    [    0.114702] Key type dns_resolver registered
    [    0.115601] Loading compiled-in X.509 certificates
    [    0.131582] ubi0: attaching mtd5
    [    0.335013] ubi0: scanning is finished
    [    0.339472] ubi0: attached mtd5 (name "rootfs", size 118 MiB)
    [    0.339493] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    [    0.339502] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
    [    0.339510] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
    [    0.339519] ubi0: good PEBs: 944, bad PEBs: 0, corrupted PEBs: 0
    [    0.339527] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
    [    0.339537] ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 1026802528
    [    0.339546] ubi0: available PEBs: 0, total reserved PEBs: 944, PEBs reserved for bad PEB handling: 40
    [    0.340652] ALSA device list:
    [    0.340670]   No soundcards found.
    [    0.341183] ubi0: background thread "ubi_bgt0d" started, PID 55
    [    0.341400] UBIFS (ubi0:0): Mounting in unauthenticated mode
    [    0.373715] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs", R/O mode
    [    0.373740] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [    0.373753] UBIFS (ubi0:0): FS size: 112881664 bytes (107 MiB, 889 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
    [    0.373762] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
    [    0.373773] UBIFS (ubi0:0): media format: w4/r0 (latest is w5/r0), UUID 996C2D88-1AB0-4219-B3C5-E5D3FB0C91E3, small LPT model
    [    0.374626] VFS: Mounted root (ubifs filesystem) readonly on device 0:14.
    [    0.375463] devtmpfs: mounted
    [    0.375627] Freeing unused kernel memory: 176K
    [    0.375636] Kernel memory protection not selected by kernel config.
    [    0.375662] Run /sbin/init as init process
    [    0.381998] process '/bin/busybox' started with executable stack
    [    0.435152] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 58
    configuring USB Gadget with acm, adb, and ncm
    [    0.991717] rk_dvbm ffa70000.rkdvbm: probe start
    [    0.991756] rk_dvbm ffa70000.rkdvbm: dvbm ctx f677255f
    [    0.992009] rk_dvbm ffa70000.rkdvbm: probe success
    [    1.003533] rkcifhw ffa10000.rkcif: no iommu attached, using non-iommu buffers
    [    1.003563] rkcifhw ffa10000.rkcif: No reserved memory region assign to CIF
    [    1.003943] rkcif rkcif-mipi-lvds: rkcif driver version: v00.02.00
    [    1.004051] rkcif rkcif-mipi-lvds: attach to cif hw node
    [    1.004065] rkcif rkcif-mipi-lvds: failed to get dphy hw node
    [    1.004076] rkcif rkcif-mipi-lvds: rkcif wait line 0
    [    1.004085] rkcif rkcif-mipi-lvds: rkcif fastboot reserve bufs num 3
    [    1.004098] : terminal subdev does not exist
    [    1.004110] : terminal subdev does not exist
    [    1.004117] : terminal subdev does not exist
    starting adb daemon
    [    1.004126] : terminal subdev does not exist
    [    1.004135] : get_remote_sensor: video pad[0] is null
    [    1.004145] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed!
    [    1.004156] : rkcif_scale_set_fmt: req(80, 60) src out(0, 0)
    [    1.004164] : get_remote_sensor: video pad[0] is null
    [    1.004171] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed!
    [    1.004179] : rkcif_scale_set_fmt: req(80, 60) src out(0, 0)
    [    1.004186] : get_remote_sensor: video pad[0] is null
    [    1.004193] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed!
    [    1.004201] : rkcif_scale_set_fmt: req(80, 60) src out(0, 0)
    [    1.004209] : get_remote_sensor: video pad[0] is null
    [    1.004215] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed!
    [    1.004223] : rkcif_scale_set_fmt: req(80, 60) src out(0, 0)
    [    1.005776] rkcif rkcif-mipi-lvds: No memory-region-thunderboot specified
    [    1.005962] rkcif rkcif-mipi-lvds1: rkcif driver version: v00.02.00
    [    1.006068] rkcif rkcif-mipi-lvds1: attach to cif hw node
    [    1.006083] rkcif rkcif-mipi-lvds1: failed to get dphy hw node
    [    1.006094] rkcif rkcif-mipi-lvds1: rkcif wait line 0
    [    1.006103] rkcif rkcif-mipi-lvds1: rkcif fastboot reserve bufs num 3
    [    1.006116] : terminal subdev does not exist
    [    1.006126] : terminal subdev does not exist
    [    1.006133] : terminal subdev does not exist
    [    1.006140] : terminal subdev does not exist
    [    1.006151] : get_remote_sensor: video pad[0] is null
    [    1.006160] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed!
    [    1.006170] : rkcif_scale_set_fmt: req(80, 60) src out(0, 0)
    [    1.006179] : get_remote_sensor: video pad[0] is null
    [    1.006186] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed!
    [    1.006195] : rkcif_scale_set_fmt: req(80, 60) src out(0, 0)
    [    1.006203] : get_remote_sensor: video pad[0] is null
    [    1.006210] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed!
    [    1.006218] : rkcif_scale_set_fmt: req(80, 60) src out(0, 0)
    [    1.006225] : get_remote_sensor: video pad[0] is null
    [    1.006231] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed!
    [    1.006239] : rkcif_scale_set_fmt: req(80, 60) src out(0, 0)
    [    1.008344] rkcif rkcif-mipi-lvds1: No memory-region-thunderboot specified
    [    1.009443] rockchip-mipi-csi2-hw ffa20000.mipi-csi2-hw: enter mipi csi2 hw probe!
    [    1.009601] rockchip-mipi-csi2-hw ffa20000.mipi-csi2-hw: probe success, v4l2_dev:mipi-csi2-hw!
    [    1.009705] rockchip-mipi-csi2-hw ffa30000.mipi-csi2-hw: enter mipi csi2 hw probe!
    [    1.009823] rockchip-mipi-csi2-hw ffa30000.mipi-csi2-hw: probe success, v4l2_dev:mipi-csi2-hw!
    [    1.010190] rockchip-mipi-csi2 mipi0-csi2: attach to csi2 hw node
    [    1.010250] rkcif rkcif-mipi-lvds: Entity type for entity rockchip-mipi-csi2 was not initialized!
    [    1.010267] rockchip-mipi-csi2: Async registered subdev
    [    1.010275] rockchip-mipi-csi2: probe success, v4l2_dev:rkcif-mipi-lvds!
    [    1.010405] rockchip-mipi-csi2 mipi1-csi2: attach to csi2 hw node
    [    1.010450] rkcif rkcif-mipi-lvds1: Entity type for entity rockchip-mipi-csi2 was not initialized!
    [    1.010463] rockchip-mipi-csi2: Async registered subdev
    [    1.010471] rockchip-mipi-csi2: probe success, v4l2_dev:rkcif-mipi-lvds1!
    [    1.025830] rkisp_hw ffa00000.rkisp: is_thunderboot: 0
    [    1.025862] rkisp_hw ffa00000.rkisp: Missing rockchip,grf property
    [    1.025906] rkisp_hw ffa00000.rkisp: max input:0x0@0fps
    [    1.026073] rkisp_hw ffa00000.rkisp: get sram size:253952
    [    1.026088] rkisp_hw ffa00000.rkisp: no iommu attached, using non-iommu buffers
    [    1.026098] rkisp_hw ffa00000.rkisp: No reserved memory region. default cma area!
    [    1.026408] rkisp rkisp-vir0: rkisp driver version: v02.05.00
    [    1.026522] rkisp rkisp-vir0: No memory-region-thunderboot specified
    [    1.027267] rkisp rkisp-vir0: Entity type for entity rkisp-isp-subdev was not initialized!
    [    1.028792] rkisp rkisp-vir1: rkisp driver version: v02.05.00
    [    1.028915] rkisp rkisp-vir1: No memory-region-thunderboot specified
    [    1.029681] rkisp rkisp-vir1: Entity type for entity rkisp-isp-subdev was not initialized!
    [    1.038974] rockchip-csi2-dphy-hw ff3e8000.csi2-dphy-hw: csi2 dphy hw probe successfully!
    [    1.046181] rockchip-csi2-dphy csi2-dphy1: csi2 dphy1 probe successfully!
    [    1.046386] rockchip-csi2-dphy csi2-dphy2: csi2 dphy2 probe successfully!
    [    1.053711] ov6211 3-0060: driver version: 00.01.01
    [    1.053803] ov6211 3-0060: could not get default pinstate
    [    1.053814] ov6211 3-0060: could not get sleep pinstate
    [    1.053838] ov6211 3-0060: supply avdd not found, using dummy regulator
    [    1.054020] ov6211 3-0060: supply dovdd not found, using dummy regulator
    [    1.054078] ov6211 3-0060: supply dvdd not found, using dummy regulator
    [    1.071308] ov6211 3-0060: Detected OV000067 sensor
    [    1.071361] rockchip-csi2-dphy csi2-dphy2: dphy2 matches m01_b_ov6211 3-0060:bus type 5
    [    1.071958] rkcif-mipi-lvds1: Async subdev notifier completed
    [    1.072246] ov6211 4-0060: driver version: 00.01.01
    [    1.072322] ov6211 4-0060: could not get default pinstate
    [    1.072334] ov6211 4-0060: could not get sleep pinstate
    [    1.072357] ov6211 4-0060: supply avdd not found, using dummy regulator
    [    1.072518] ov6211 4-0060: supply dovdd not found, using dummy regulator
    [    1.072588] ov6211 4-0060: supply dvdd not found, using dummy regulator
    [    1.074006] rkisp-vir1: Async subdev notifier completed
    [    1.089755] ov6211 4-0060: Detected OV000067 sensor
    [    1.089811] rockchip-csi2-dphy csi2-dphy1: dphy1 matches m00_f_ov6211 4-0060:bus type 5
    [    1.090859] rkcif-mipi-lvds: Async subdev notifier completed
    [    1.092107] rkisp-vir0: Async subdev notifier completed
    [    1.092789] rkcif rkcif-mipi-lvds: clear unready subdev num: 0
    [    1.092830] rkcif rkcif-mipi-lvds1: clear unready subdev num: 0
    [    1.093007] rkisp rkisp-vir0: clear unready subdev num: 0
    [    1.093024] rkisp rkisp-vir1: clear unready subdev num: 0
    [    1.102019] rga: rga2, irq = 37, match scheduler
    [    1.102254] rga: rga2 hardware loaded successfully, hw_version:3.3.87975.
    [    1.102279] rga: rga2 probe successfully
    [    1.102478] rga_iommu: IOMMU binding successfully, default mapping core[0x4]
    [    1.103238] rga: Module initialized. v1.3.1
    [    1.109291] mpp_vcodec: loading out-of-tree module taints kernel.
    [    1.123210] mpp_vcodec: init new
    [    1.123360] mpp_service mpp-srv: 424abb9b author: Yandong Lin 2024-04-29 [mpp_enc]: fix wrap enc sw timeout when resolution switch
    [    1.123376] mpp_service mpp-srv: probe start
    [    1.124167] mpp_rkvenc_540c ffa50000.rkvenc: probing start
    [    1.124414] mpp_rkvenc_540c ffa50000.rkvenc: probing finish
    [    1.124776] mpp_vepu_pp ffa60000.rkvenc-pp: probe device
    [    1.124870] mpp_vepu_pp ffa60000.rkvenc-pp: shared_rst_a_pp is not found!
    [    1.124881] vepu_pp_init:526: No aclk reset resource define
    [    1.124890] mpp_vepu_pp ffa60000.rkvenc-pp: shared_rst_h_pp is not found!
    [    1.124897] vepu_pp_init:529: No hclk reset resource define
    [    1.125646] mpp_vepu_pp ffa60000.rkvenc-pp: probing finish
    [    1.125835] mpp_service mpp-srv: probe success
    [    1.160254] rockit_load start
    [    1.164571] rockit_load end
    [    1.217373] file system registered
    [    1.221799] using random self ethernet address
    [    1.221830] using random host ethernet address
    [    1.313391] read descriptors
    [    1.313440] read strings
    [    2.264844] usb0: HOST MAC 00:11:22:33:44:55
    [    2.264871] usb0: MAC 00:11:22:33:44:56
    bringing up usb0
    ***********/dev/ubi7_0 not exist***********
    ***********/dev/ubi7 not exist***********
    [    2.304425] ubi7: attaching mtd7
    [    2.322044] ubi7: scanning is finished
    [    2.325527] ubi7: attached mtd7 (name "userdata", size 10 MiB)
    UBI device number 7, total 80 LEBs (10158080 bytes, 9.6 MiB), available 0 LEBs (0 bytes), LEB size 126976 bytes (124.0 KiB)
    [    2.325545] ubi7: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    try to make volume: /dev/ubi7_0 ...
    [    2.325554] ubi7: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
    ubimkvol /dev/ubi7 -N userdata -s 0
    [    2.325565] ubi7: VID header offset: 2048 (aligned 2048), data offset: 4096
    ubimkvol: error!: bad volume size: "0"
    [    2.325573] ubi7: good PEBs: 80, bad PEBs: 0, corrupted PEBs: 0
    [    2.325582] ubi7: user volume: 1, internal volumes: 1, max. volumes count: 128
    [    2.325591] ubi7: max/mean erase counter: 5/2, WL threshold: 4096, image sequence number: 300558260
    Starting DHCP server: [    2.325601] ubi7: available PEBs: 0, total reserved PEBs: 80, PEBs reserved for bad PEB handling: 40
    [    2.325772] ubi7: background thread "ubi_bgt7d" started, PID 160
    [    2.347084] UBIFS (ubi7:0): Mounting in unauthenticated mode
    [    2.347282] UBIFS (ubi7:0): background thread "ubifs_bgt7_0" started, PID 165
    [    2.371022] dwc3 ffb00000.usb: device reset
    [    2.371622] UBIFS (ubi7:0): UBIFS: mounted UBI device 7, volume 0, name "userdata"
    [    2.371641] UBIFS (ubi7:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [    2.371654] UBIFS (ubi7:0): FS size: 3301376 bytes (3 MiB, 26 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
    [    2.371663] UBIFS (ubi7:0): reserved for root: 155931 bytes (152 KiB)
    [    2.371675] UBIFS (ubi7:0): media format: w5/r0 (latest is w5/r0), UUID 453E419E-AC59-4BA6-A53B-31AEE5582F81, small LPT model
    [    2.473687] android_work: sent uevent USB_STATE=CONNECTED
    [    2.627518] android_work: sent uevent USB_STATE=CONFIGURED
    OK
    
  • Judging from the information you provided, there is no problem, if the dual camera calls the ISP at the same time, the RKISP will take over the CIF stream processing, and the way to read the image using v4l2-ctl is not feasible, to get the raw image still needs to call rockchip's API and execute the command

    Code: Select all

    sample_multi_vi -w 1920 -h 1080 -a /etc/iqfiles/ -n 2 -l 10 -o /data/
    
    The source code of sample_multi_vi is public, and you can view the source code for further development if necessary
  • Crocodile wrote: 2025-02-18 6:06 Judging from the information you provided, there is no problem, if the dual camera calls the ISP at the same time, the RKISP will take over the CIF stream processing, and the way to read the image using v4l2-ctl is not feasible, to get the raw image still needs to call rockchip's API and execute the command

    Code: Select all

    sample_multi_vi -w 1920 -h 1080 -a /etc/iqfiles/ -n 2 -l 10 -o /data/
    
    The source code of sample_multi_vi is public, and you can view the source code for further development if necessary
    Well when I try sample_multi_vi, the issue still happens.
    This is the log

    Code: Select all

    ~ # sample_multi_vi -w 400 -h 400 -l 1 -n 2 -o .
    #CameraNum: 2
    #Output Path: .
    #IQ Path: (null)
    rockit log path (null), log_size = 0, can use export rt_log_path=, export rt_log_size= change
    log_file = (nil)
    RTVersion        00:00:51-258 {dump              :064} ---------------------------------------------------------
    RTVersion        00:00:51-258 {dump              :065} rockit version: git-4720dc10a Tue Apr 30 15:47:55 2024 +0800
    RTVersion        00:00:51-258 {dump              :066} rockit building: built- 2024-04-30 15:53:43
    RTVersion        00:00:51-259 {dump              :067} ---------------------------------------------------------
    (null)           00:00:51-259 {log_level_init    :207}
    
     please use echo name=level > /tmp/rt_log_level set log level
            name: all cmpi mb sys vdec venc rgn vpss vgs tde avs wbc vo vi ai ao aenc adec
            log_level: 0 1 2 3 4 5 6
    
    rockit default level 4, can use export rt_log_level=x, x=0,1,2,3,4,5,6 change
    (null)           00:00:51-259 {read_log_level    :098} text is all=4
    (null)           00:00:51-259 {read_log_level    :100} module is all, log_level is 4
    RKViDev          00:00:51-263 {vi_set_dev_attr   :612} VI_DEV_ATTR_S all parameter reserved
    (null)           00:00:51-264 {monitor_log_level :149} #Start monitor_log_level thread, arg:(nil)
    RTIsp3x          00:00:51-266 {ispInitDevice     :591} sensor name = m00_f_ov6211 4-0060
    RTIsp3x          00:00:51-287 {ispInitDevice     :591} sensor name = m01_b_ov6211 3-0060
    RTDeviceSensorV4 00:00:51-325 {ispOpenDevice     :502} v4l2_open(/dev/video0), handler=17
    RTDeviceSensorV4 00:00:51-326 {ispOpenDevice     :502} v4l2_open(/dev/v4l-subdev7), handler=19
    RTDeviceSensorV4 00:00:51-326 {close             :112} do RTDeviceSensorV4L2 close
    RTDeviceSensorV4 00:00:51-326 {close             :112} do RTDeviceSensorV4L2 close
    RKViChn          00:00:51-346 {prepareRuntime    :354} ---------------------------------------------------------
    RKViChn          00:00:51-346 {prepareRuntime    :356} vi version: 1.22, name:vvi
    RKViChn          00:00:51-346 {prepareRuntime    :357} rockit-ko version: vmpi:28ee389dbc33
    RKViChn          00:00:51-346 {prepareRuntime    :358} rockit-ko building: -2024-05-24-18:15:06
    RKViChn          00:00:51-346 {prepareRuntime    :359} ---------------------------------------------------------
    cmpi             00:00:51-347 {prepareRuntime    :378} mb pool create success, MBCnt= 2
    RTIsp3x          00:00:51-348 {ispInitDevice     :591} sensor name = m00_f_ov6211 4-0060
    RTIsp3x          00:00:51-351 {ispInitDevice     :591} sensor name = m01_b_ov6211 3-0060
    cmpi             00:00:51-353 {createRuntime     :634} >>>>>>>>> Sensor link info dump: <<<<<<<<<
    cmpi             00:00:51-354 {createRuntime     :636}   vicap media name           : /dev/media0
    cmpi             00:00:51-354 {createRuntime     :637}   vicap model name           : rkcif-mipi-lvds
    cmpi             00:00:51-354 {createRuntime     :638}   camera id                  : 0
    cmpi             00:00:51-354 {createRuntime     :639}   sensor name                : m00_f_ov6211 4-0060
    cmpi             00:00:51-354 {createRuntime     :641}   stream_cif_mipi_id0 video name: /dev/video0
    cmpi             00:00:51-354 {createRuntime     :642}   stream_cif_mipi_id1 video name: /dev/video1
    cmpi             00:00:51-354 {createRuntime     :643}   stream_cif_mipi_id2 video name: /dev/video2
    cmpi             00:00:51-354 {createRuntime     :644}   stream_cif_mipi_id3 video name: /dev/video3
    cmpi             00:00:51-354 {createRuntime     :646}   sensor raw width           : 400
    cmpi             00:00:51-354 {createRuntime     :647}   sensor raw height          : 400
    cmpi             00:00:51-354 {createRuntime     :648} ---------------------------------------------------------
    cmpi             00:00:51-355 {createRuntime     :654}   isp media name           : /dev/media2
    cmpi             00:00:51-355 {createRuntime     :655}   isp model name           : rkisp0
    cmpi             00:00:51-355 {createRuntime     :656}   isp driver name          : rkisp-vir0
    cmpi             00:00:51-355 {createRuntime     :657}   isp dev name             : /dev/v4l-subdev8
    cmpi             00:00:51-355 {createRuntime     :659}   isp rawrd0_m_path        : /dev/video28
    cmpi             00:00:51-355 {createRuntime     :660}   isp rawrd1_l_path        :
    cmpi             00:00:51-355 {createRuntime     :661}   isp rawrd2_s_path        : /dev/video29
    cmpi             00:00:51-355 {createRuntime     :664}   mainpath video name      : /dev/video22
    cmpi             00:00:51-355 {createRuntime     :665}   selfpath video name      : /dev/video23
    cmpi             00:00:51-355 {createRuntime     :666}   bypasspath video name    : /dev/video24
    cmpi             00:00:51-355 {createRuntime     :667}   sensor link type         : 2
    cmpi             00:00:51-356 {createRuntime     :668}   sensor is united         : 0
    cmpi             00:00:51-356 {createRuntime     :672} ---------------------------------------------------------
    cmpi             00:00:51-356 {createRuntime     :711} [non-WRAP MODE]: buff size = 240000
    RTIsp3x          00:00:51-358 {ispInitDevice     :591} sensor name = m00_f_ov6211 4-0060
    RTIsp3x          00:00:51-361 {ispInitDevice     :591} sensor name = m01_b_ov6211 3-0060
    RTDeviceV4L2     00:00:51-363 {open              :137} cameraIndex:0, entityName:rkisp_mainpath
    RTDeviceV4L2     00:00:51-363 {open              :143} open video name(/dev/video22)
    RTDeviceV4L2     00:00:51-364 {ispCameraInfo     :567} current device:/dev/video22 isn't compatible(cap:0x84201000) device,memoryType:4, retry:0
    RTDeviceV4L2     00:00:51-364 {ispInitFormat     :767} ioctl VIDIOC_S_FMT OK
    cmpi             00:00:51-364 {start             :1093} =========== vi Start startRuntime ===========
    RTDeviceV4L2     00:00:51-364 {ispStreamOn       :458} do ispStreamOn start
    RTDeviceV4L2     00:00:51-393 {ispStreamOn       :511} do ispStreamOn done
    RKViDev          00:00:51-394 {vi_set_dev_attr   :612} VI_DEV_ATTR_S all parameter reserved
    RTDeviceSensorV4 00:00:51-409 {ispOpenDevice     :502} v4l2_open(/dev/video11), handler=24
    RTDeviceSensorV4 00:00:51-409 {ispOpenDevice     :502} v4l2_open(/dev/v4l-subdev2), handler=27
    RTDeviceSensorV4 00:00:51-409 {close             :112} do RTDeviceSensorV4L2 close
    RTDeviceSensorV4 00:00:51-409 {close             :112} do RTDeviceSensorV4L2 close
    RKViChn          00:00:51-429 {prepareRuntime    :354} ---------------------------------------------------------
    RKViChn          00:00:51-429 {prepareRuntime    :356} vi version: 1.22, name:vvi
    RKViChn          00:00:51-429 {prepareRuntime    :357} rockit-ko version: vmpi:28ee389dbc33
    RKViChn          00:00:51-429 {prepareRuntime    :358} rockit-ko building: -2024-05-24-18:15:06
    RKViChn          00:00:51-429 {prepareRuntime    :359} ---------------------------------------------------------
    cmpi             00:00:51-429 {prepareRuntime    :378} mb pool create success, MBCnt= 2
    RTIsp3x          00:00:51-432 {ispInitDevice     :591} sensor name = m00_f_ov6211 4-0060
    RTIsp3x          00:00:51-434 {ispInitDevice     :591} sensor name = m01_b_ov6211 3-0060
    cmpi             00:00:51-436 {createRuntime     :634} >>>>>>>>> Sensor link info dump: <<<<<<<<<
    cmpi             00:00:51-436 {createRuntime     :636}   vicap media name           : /dev/media1
    cmpi             00:00:51-436 {createRuntime     :637}   vicap model name           : rkcif-mipi-lvds1
    cmpi             00:00:51-437 {createRuntime     :638}   camera id                  : 1
    cmpi             00:00:51-437 {createRuntime     :639}   sensor name                : m01_b_ov6211 3-0060
    cmpi             00:00:51-437 {createRuntime     :641}   stream_cif_mipi_id0 video name: /dev/video11
    cmpi             00:00:51-437 {createRuntime     :642}   stream_cif_mipi_id1 video name: /dev/video12
    cmpi             00:00:51-437 {createRuntime     :643}   stream_cif_mipi_id2 video name: /dev/video13
    cmpi             00:00:51-437 {createRuntime     :644}   stream_cif_mipi_id3 video name: /dev/video14
    cmpi             00:00:51-437 {createRuntime     :646}   sensor raw width           : 400
    cmpi             00:00:51-437 {createRuntime     :647}   sensor raw height          : 400
    cmpi             00:00:51-437 {createRuntime     :648} ---------------------------------------------------------
    cmpi             00:00:51-437 {createRuntime     :654}   isp media name           : /dev/media3
    cmpi             00:00:51-437 {createRuntime     :655}   isp model name           : rkisp1
    cmpi             00:00:51-437 {createRuntime     :656}   isp driver name          : rkisp-vir1
    cmpi             00:00:51-437 {createRuntime     :657}   isp dev name             : /dev/v4l-subdev3
    cmpi             00:00:51-438 {createRuntime     :659}   isp rawrd0_m_path        : /dev/video38
    cmpi             00:00:51-438 {createRuntime     :660}   isp rawrd1_l_path        :
    cmpi             00:00:51-438 {createRuntime     :661}   isp rawrd2_s_path        : /dev/video39
    cmpi             00:00:51-438 {createRuntime     :664}   mainpath video name      : /dev/video32
    cmpi             00:00:51-438 {createRuntime     :665}   selfpath video name      : /dev/video33
    cmpi             00:00:51-438 {createRuntime     :666}   bypasspath video name    : /dev/video34
    cmpi             00:00:51-438 {createRuntime     :667}   sensor link type         : 2
    cmpi             00:00:51-438 {createRuntime     :668}   sensor is united         : 0
    cmpi             00:00:51-438 {createRuntime     :672} ---------------------------------------------------------
    cmpi             00:00:51-439 {createRuntime     :711} [non-WRAP MODE]: buff size = 240000
    RTIsp3x          00:00:51-441 {ispInitDevice     :591} sensor name = m00_f_ov6211 4-0060
    RTIsp3x          00:00:51-443 {ispInitDevice     :591} sensor name = m01_b_ov6211 3-0060
    RTDeviceV4L2     00:00:51-446 {open              :137} cameraIndex:1, entityName:rkisp_mainpath
    RTDeviceV4L2     00:00:51-446 {open              :143} open video name(/dev/video32)
    RTDeviceV4L2     00:00:51-447 {ispCameraInfo     :567} current device:/dev/video32 isn't compatible(cap:0x84201000) device,memoryType:4, retry:0
    RTDeviceV4L2     00:00:51-447 {ispInitFormat     :767} ioctl VIDIOC_S_FMT OK
    cmpi             00:00:51-447 {start             :1093} =========== vi Start startRuntime ===========
    RTDeviceV4L2     00:00:51-447 {ispStreamOn       :458} do ispStreamOn start
    RTDeviceV4L2     00:00:51-476 {ispStreamOn       :511} do ispStreamOn done
    main initial finish
    
    
    It stuck at "main initial finish"
  • Check to see if there is enough CMA space available, that the logs you provided are missing buffer pool allocations during initialization, or that you can execute them first

    Code: Select all

    sample_multi_vi -w 1920 -h 1080 -a /etc/iqfiles/ -n 1 -l 10 -o /data/
    
    See if an image of a single sensor is available
  • Hello,

    I just found out that If I run rkaiq_3A_server, the issue is solved.
    Is this rkaiq_3A_server mandatory for dual cam?
  • The rkaiq_3A_server is a part of the Rockit library, but it has been separated. Theoretically, any process running related to RKISP will implement the functionality of rkaiq_3A_server (not necessarily by directly calling rkaiq_3A_server). Currently, it seems that the 3A functionality in the sample application is not executing properly. If starting rkaiq_3A_server resolves the issue, it can be temporarily ignored.