yuanjie1590 发表于 2022-4-18 17:51:09

如何移植一个新的摄像头呢? 比如imx415

本帖最后由 yuanjie1590 于 2022-4-18 17:57 编辑

现在我移植一款imx415的摄像头后,已经可以检测到这个摄像头了
[    0.805710] imx415 1-001a: Detected imx415 id 0000e0
但是当我执行
/oem/RkLunch-stop.sh   /oem/usr/bin/dbserver &
/usr/bin/ispserver &

这三个命令后,再执行
v4l2-ctl -d /dev/video19 \--set-fmt-video=width=1920,height=1080,pixelformat=NV12 \--stream-mmap=3 \--stream-skip=3 \--stream-to=/tmp/cif.out \--stream-count=1 \--stream-poll
得到的/tmp/cif.out文件始终是0,并且会打印select timeout 这句log;
我用示波器测量了摄像头的reset,pwdn, mipi等接口,都有波形输出,并且mclk也有正确的37Mhz的频率,那么问题是出在哪里呢?
完整日志
[    0.000000] Booting Linux on physical CPU 0xf00
[    0.000000] Linux version 4.19.111 (sc820@sc820-vm) (rv1126_rv1109_linux_20220125.xml) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05)) #1 SMP PREEMPT Mon Apr 11 15:33:45 CST 2022
[    0.000000] CPU: ARMv7 Processor revision 5 (ARMv7), cr=10c5387d
[    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: Firefly Core-RV1126-JD4 BE-45 Board
[    0.000000] earlycon: uart8250 at MMIO32 0xff570000 (options '')
[    0.000000] bootconsole enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created CMA memory pool at 0x7f800000, size 8 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Reserved memory: created CMA memory pool at 0x6dc00000, size 256 MiB
[    0.000000] OF: reserved mem: initialized node isp, compatible id shared-dma-pool
[    0.000000] On node 0 totalpages: 523704
[    0.000000]   Normal zone: 2048 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 261560 pages, LIFO batch:63
[    0.000000]   HighMem zone: 262144 pages, LIFO batch:63
[    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.0
[    0.000000] percpu: Embedded 15 pages/cpu s32204 r8192 d21044 u61440
[    0.000000] pcpu-alloc: s32204 r8192 d21044 u61440 alloc=15*4096
[    0.000000] pcpu-alloc: 0 1 2 3
[    0.000000] Built 1 zonelists, mobility grouping on.Total pages: 521656
[    0.000000] Kernel command line: user_debug=31 storagemedia=emmc androidboot.storagemedia=emmc androidboot.mode=normalro rootwait earlycon=uart8250,mmio32,0xff570000 console=ttyFIQ0 root=PARTLABEL=rootfs rootfstype=ext4 overlayroot=device:dev=PARTLABEL=userdata,fstype=ext4,mkfs=1 cgroup_enable=memory swapaccount=1 snd_aloop.index=7
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 1781440K/2094816K available (9216K kernel code, 422K rwdata, 2468K rodata, 1024K init, 321K bss, 43040K reserved, 270336K cma-reserved, 777000K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]   vector: 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]   fixmap: 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]   vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]   lowmem: 0xb0000000 - 0xf0000000   (1024 MB)
[    0.000000]   pkmap   : 0xafe00000 - 0xb0000000   (   2 MB)
[    0.000000]   modules : 0xaf000000 - 0xafe00000   (14 MB)
[    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (10208 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 423 kB)
[    0.000000]      .bss : 0x(ptrval) - 0x(ptrval)   ( 322 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000]Tasks RCU enabled.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: random: get_random_bytes called from start_kernel+0x328/0x4ac with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000009] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000755] Switching to timer-based delay loop, resolution 41ns
[    0.002665] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000)
[    0.003624] pid_max: default: 4096 minimum: 301
[    0.004237] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.004863] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.006326] CPU: Testing write buffer coherency: ok
[    0.007176] /cpus/cpu@f00 missing clock-frequency property
[    0.007703] /cpus/cpu@f01 missing clock-frequency property
[    0.008224] /cpus/cpu@f02 missing clock-frequency property
[    0.008746] /cpus/cpu@f03 missing clock-frequency property
[    0.009263] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[    0.010565] Setting up static identity map for 0x100000 - 0x100060
[    0.011321] rcu: Hierarchical SRCU implementation.
[    0.012415] smp: Bringing up secondary CPUs ...
[    0.014489] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[    0.016232] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[    0.017987] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
[    0.018131] smp: Brought up 1 node, 4 CPUs
[    0.020133] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.020713] CPU: All CPU(s) started in SVC mode.
[    0.022193] devtmpfs: initialized
[    0.050182] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.050258] Unpacking initramfs...
[    0.051716] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[    0.052629] futex hash table entries: 16 (order: -2, 1024 bytes)
[    0.053457] pinctrl core: initialized pinctrl subsystem
[    0.055393] NET: Registered protocol family 16
[    0.056695] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.059562] cpuidle: using governor menu
[    0.059975] Registered FIQ tty driver
[    0.061104] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.061884] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.065194] console enabled
[    0.065927] pstore: Registered ramoops as persistent store backend
[    0.066512] ramoops: attached 0x100000@0x8000000, ecc: 0/0
[    0.096721] gpio gpiochip0: (gpio0): added GPIO chardev (254:0)
[    0.096866] gpiochip_setup_dev: registered GPIOs 0 to 31 on device: gpiochip0 (gpio0)
[    0.097104] gpio gpiochip1: (gpio1): added GPIO chardev (254:1)
[    0.097234] gpiochip_setup_dev: registered GPIOs 32 to 63 on device: gpiochip1 (gpio1)
[    0.097440] gpio gpiochip2: (gpio2): added GPIO chardev (254:2)
[    0.097573] gpiochip_setup_dev: registered GPIOs 64 to 95 on device: gpiochip2 (gpio2)
[    0.097773] gpio gpiochip3: (gpio3): added GPIO chardev (254:3)
[    0.097895] gpiochip_setup_dev: registered GPIOs 96 to 127 on device: gpiochip3 (gpio3)
[    0.098102] gpio gpiochip4: (gpio4): added GPIO chardev (254:4)
[    0.098216] gpiochip_setup_dev: registered GPIOs 128 to 129 on device: gpiochip4 (gpio4)
[    0.118969] cryptd: max_cpu_qlen set to 1000
[    0.120427] fiq debugger fiq mode enabled
[    0.121278] console enabled
[    0.122003] bootconsole disabled
[    0.122724] Registered fiq debugger ttyFIQ0
[    0.123445] rockchip-pm rockchip-suspend: not set pwm-regulator-config
[    0.124670] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vccsys'
[    0.125438] of_get_named_gpiod_flags: parsed 'gpio' property of node '/vcc-4g' - status (0)
[    0.126036] of_get_named_gpiod_flags: parsed 'gpio' property of node '/vcc5v0-usb2-host-regulator' - status (0)
[    0.126614] of_get_named_gpiod_flags: parsed 'gpio' property of node '/otg-vbus-regulator' - status (0)
[    0.127153] of_get_named_gpiod_flags: parsed 'gpio' property of node '/gpio-fan' - status (0)
[    0.127643] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vdd-logic'
[    0.128734] rk_iommu ffb00f00.iommu: version = 1
[    0.129528] rk_iommu ffb20800.iommu: version = 1
[    0.130025] rk_iommu ffb60e00.iommu: version = 1
[    0.130619] rk_iommu ffb80480.iommu: version = 1
[    0.131055] rk_iommu ffb90800.iommu: version = 1
[    0.131471] rk_iommu ffbb0f00.iommu: version = 1
[    0.132588] SCSI subsystem initialized
[    0.132934] usbcore: registered new interface driver usbfs
[    0.133040] usbcore: registered new interface driver hub
[    0.133179] usbcore: registered new device driver usb
[    0.133303] media: Linux media interface: v0.10
[    0.133384] videodev: Linux video capture interface: v2.00
[    0.133460] pps_core: LinuxPPS API ver. 1 registered
[    0.133486] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.133534] PTP clock support registered
[    0.135244] Advanced Linux Sound Architecture Driver Initialized.
[    0.136044] Bluetooth: Core ver 2.22
[    0.136135] NET: Registered protocol family 31
[    0.136161] Bluetooth: HCI device and connection manager initialized
[    0.136194] Bluetooth: HCI socket layer initialized
[    0.136223] Bluetooth: L2CAP socket layer initialized
[    0.136287] Bluetooth: SCO socket layer initialized
[    0.136830] rockchip-cpuinfo cpuinfo: SoC            : 11260000
[    0.136875] rockchip-cpuinfo cpuinfo: Serial         : e9c931a80a18cc06
[    0.138116] clocksource: Switched to clocksource arch_sys_counter
[    0.140924] NET: Registered protocol family 2
[    0.141911] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    0.141978] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.142144] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.142351] TCP: Hash tables configured (established 8192 bind 8192)
[    0.142522] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.142607] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.142883] NET: Registered protocol family 1
[    0.145192] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    0.147993] Initialise system trusted keyrings
[    0.148351] workingset: timestamp_bits=29 max_order=19 bucket_order=0
[    0.156171] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.159109] Key type asymmetric registered
[    0.159156] Asymmetric key parser 'x509' registered
[    0.159239] bounce: pool size: 64 pages
[    0.159330] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    0.159361] io scheduler noop registered
[    0.159383] io scheduler deadline registered
[    0.159591] io scheduler cfq registered (default)
[    0.159623] io scheduler mq-deadline registered
[    0.159646] io scheduler kyber registered
[    0.159814] io scheduler bfq registered
[    0.163226] rockchip-usb2phy-naneng ff4c0000.usb2-phy: GPIO lookup for consumer vup
[    0.163241] rockchip-usb2phy-naneng ff4c0000.usb2-phy: using device tree for GPIO lookup
[    0.163270] of_get_named_gpiod_flags: can't parse 'vup-gpios' property of node '/usb2-phy@ff4c0000'
[    0.163292] of_get_named_gpiod_flags: can't parse 'vup-gpio' property of node '/usb2-phy@ff4c0000'
[    0.163306] rockchip-usb2phy-naneng ff4c0000.usb2-phy: using lookup tables for GPIO lookup
[    0.163317] rockchip-usb2phy-naneng ff4c0000.usb2-phy: No GPIO consumer vup found
[    0.164253] phy phy-ff4c0000.usb2-phy.1: Linked as a consumer to regulator.4
[    0.166211] rockchip-usb2phy-naneng ff4c8000.usb2-phy: GPIO lookup for consumer vup
[    0.166225] rockchip-usb2phy-naneng ff4c8000.usb2-phy: using device tree for GPIO lookup
[    0.166253] of_get_named_gpiod_flags: can't parse 'vup-gpios' property of node '/usb2-phy@ff4c8000'
[    0.166274] of_get_named_gpiod_flags: can't parse 'vup-gpio' property of node '/usb2-phy@ff4c8000'
[    0.166287] rockchip-usb2phy-naneng ff4c8000.usb2-phy: using lookup tables for GPIO lookup
[    0.166298] rockchip-usb2phy-naneng ff4c8000.usb2-phy: No GPIO consumer vup found
[    0.166501] phy phy-ff4c8000.usb2-phy.2: Linked as a consumer to regulator.3
[    0.170483] pwm-backlight backlight: GPIO lookup for consumer enable
[    0.170498] pwm-backlight backlight: using device tree for GPIO lookup
[    0.170543] of_get_named_gpiod_flags: parsed 'enable-gpios' property of node '/backlight' - status (0)
[    0.170573] gpio gpiochip1: Persistence not supported for GPIO 3
[    0.170578] no flags found for enable
[    0.170610] pwm-backlight backlight: backlight supply power not found, using dummy regulator
[    0.170760] pwm-backlight backlight: Linked as a consumer to regulator.0
[    0.171186] mpp_service mpp-srv: 92c80dd author: Yandong Lin 2021-08-10 video: rockchip: mpp: workaround patch for rv1126 iommu issue
[    0.171224] mpp_service mpp-srv: probe start
[    0.172345] iommu: Adding device ffb80000.rkvdec to group 3
[    0.172410] mpp_rkvdec ffb80000.rkvdec: Linked as a consumer to ffb80480.iommu
[    0.172621] mpp_rkvdec ffb80000.rkvdec: probing start
[    0.173332] mpp_rkvdec ffb80000.rkvdec: shared_niu_a is not found!
[    0.173371] rkvdec_init:1190: No niu aclk reset resource define
[    0.173401] mpp_rkvdec ffb80000.rkvdec: shared_niu_h is not found!
[    0.173425] rkvdec_init:1193: No niu hclk reset resource define
[    0.173777] mpp_rkvdec ffb80000.rkvdec: probing finish
[    0.174643] iommu: Adding device ffbb0000.rkvenc to group 5
[    0.174708] mpp_rkvenc ffbb0000.rkvenc: Linked as a consumer to ffbb0f00.iommu
[    0.175092] mpp_rkvenc ffbb0000.rkvenc: probing start
[    0.175770] mpp_rkvenc ffbb0000.rkvenc: venc regulator not ready, retry
[    0.175797] rkvenc_init:1202: failed to add venc devfreq
[    0.176986] iommu: Adding device ffb90400.vdpu to group 4
[    0.177051] mpp_vdpu2 ffb90400.vdpu: Linked as a consumer to ffb90800.iommu
[    0.177171] mpp_vdpu2 ffb90400.vdpu: probe device
[    0.177710] mpp_vdpu2 ffb90400.vdpu: reset_group->rw_sem_on=0
[    0.177766] mpp_vdpu2 ffb90400.vdpu: reset_group->rw_sem_on=0
[    0.178059] mpp_vdpu2 ffb90400.vdpu: probing finish
[    0.178838] iommu: Adding device ffb90000.vepu to group 4
[    0.178902] mpp_vepu2 ffb90000.vepu: Linked as a consumer to ffb90800.iommu
[    0.179040] mpp_vepu2 ffb90000.vepu: probe device
[    0.179633] mpp_vepu2 ffb90000.vepu: reset_group->rw_sem_on=0
[    0.179684] mpp_vepu2 ffb90000.vepu: reset_group->rw_sem_on=0
[    0.179939] mpp_vepu2 ffb90000.vepu: probing finish
[    0.180525] iommu: Adding device ffb20000.iep to group 1
[    0.180588] mpp-iep2 ffb20000.iep: Linked as a consumer to ffb20800.iommu
[    0.180706] mpp-iep2 ffb20000.iep: probe device
[    0.181513] mpp-iep2 ffb20000.iep: allocate roi buffer failed
[    0.181739] mpp-iep2 ffb20000.iep: probing finish
[    0.182034] mpp_service mpp-srv: probe success
[    0.187490] dma-pl330 ff4e0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.187546] dma-pl330 ff4e0000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16
[    0.189799] rockchip-system-monitor rockchip-system-monitor: system monitor probe
[    0.190809] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[    0.191809] ff410000.serial: ttyS1 at MMIO 0xff410000 (irq = 30, base_baud = 1500000) is a 16550A
[    0.192667] ff560000.serial: ttyS0 at MMIO 0xff560000 (irq = 33, base_baud = 1500000) is a 16550A
[    0.193502] ff580000.serial: ttyS3 at MMIO 0xff580000 (irq = 34, base_baud = 1500000) is a 16550A
[    0.194235] ff590000.serial: ttyS4 at MMIO 0xff590000 (irq = 35, base_baud = 1500000) is a 16550A
[    0.196494] random: fast init done
[    0.196892] random: crng init done
[    0.197461] iommu: Adding device ffb00000.vop to group 0
[    0.197528] rockchip-vop ffb00000.vop: Linked as a consumer to ffb00f00.iommu
[    0.201886] rockchip-drm display-subsystem: Linked as a consumer to ffb00000.vop
[    0.203016] rockchip-drm display-subsystem: Linked as a consumer to ffb30000.dsi
[    0.204426] rockchip-drm display-subsystem: devfreq is not set
[    0.205012] rockchip-drm display-subsystem: bound ffb00000.vop (ops 0xb0a3e080)
[    0.205099] dw-mipi-dsi ffb30000.dsi: *ERROR* Failed to find panel or bridge: -517
[    0.205140] rockchip-drm display-subsystem: failed to bind ffb30000.dsi (ops 0xb0a447ac): -517
[    0.205435] rockchip-drm display-subsystem: master bind failed: -517
[    0.211012] panel-simple-dsi ffb30000.dsi.0: ffb30000.dsi.0 supply power not found, using dummy regulator
[    0.211211] panel-simple-dsi ffb30000.dsi.0: Linked as a consumer to regulator.0
[    0.211272] panel-simple-dsi ffb30000.dsi.0: ffb30000.dsi.0 supply vsp not found, using dummy regulator
[    0.211383] panel-simple-dsi ffb30000.dsi.0: ffb30000.dsi.0 supply vsn not found, using dummy regulator
[    0.211528] panel-simple-dsi ffb30000.dsi.0: GPIO lookup for consumer enable
[    0.211539] panel-simple-dsi ffb30000.dsi.0: using device tree for GPIO lookup
[    0.211591] of_get_named_gpiod_flags: parsed 'enable-gpios' property of node '/dsi@ffb30000/panel@0' - status (0)
[    0.211619] gpio gpiochip0: Persistence not supported for GPIO 30
[    0.211625] no flags found for enable
[    0.211637] panel-simple-dsi ffb30000.dsi.0: GPIO lookup for consumer reset
[    0.211646] panel-simple-dsi ffb30000.dsi.0: using device tree for GPIO lookup
[    0.211679] of_get_rsed 'reset-gpios' property of node '/dsi@ffb30000/panel@0' - status (0)
[    0.211698] gpio gpiochip1: Persistence not supported for GPIO 2
[    0.211703] no flags found for reset
[    0.220191] loop: module loaded
[    0.220932] zram: Added device: zram0
[    0.223556] mdio_bus fixed-0: GPIO lookup for consumer reset
[    0.223570] mdio_bus fixed-0: using lookup tables for GPIO lookup
[    0.223581] mdio_bus fixed-0: No GPIO consumer reset found
[    0.223620] libphy: Fixed MDIO Bus: probed
[    0.225809] rk_gmac-dwmac ffc40000.ethernet: no regulator found
[    0.225868] rk_gmac-dwmac ffc40000.ethernet: clock input or output? (output).
[    0.225893] rk_gmac-dwmac ffc40000.ethernet: TX delay(0x2a).
[    0.225922] rk_gmac-dwmac ffc40000.ethernet: RX delay(0x1a).
[    0.225956] rk_gmac-dwmac ffc40000.ethernet: integrated PHY? (no).
[    0.231082] rk_gmac-dwmac ffc40000.ethernet: init for RGMII
[    0.231421] rk_gmac-dwmac ffc40000.ethernet: User ID: 0x30, Synopsys ID: 0x51
[    0.231501] rk_gmac-dwmac ffc40000.ethernet:         DWMAC4/5
[    0.231531] rk_gmac-dwmac ffc40000.ethernet: DMA HW capability register supported
[    0.231557] rk_gmac-dwmac ffc40000.ethernet: RX Checksum Offload Engine supported
[    0.231582] rk_gmac-dwmac ffc40000.ethernet: TX Checksum insertion supported
[    0.231606] rk_gmac-dwmac ffc40000.ethernet: Wake-Up On Lan supported
[    0.231676] rk_gmac-dwmac ffc40000.ethernet: TSO supported
[    0.231704] rk_gmac-dwmac ffc40000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    0.231732] rk_gmac-dwmac ffc40000.ethernet: TSO feature enabled
[    0.231944] mdio_bus stmmac-0: GPIO lookup for consumer reset
[    0.231954] mdio_bus stmmac-0: using device tree for GPIO lookup
[    0.231984] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ethernet@ffc40000/mdio'
[    0.232005] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ethernet@ffc40000/mdio'
[    0.232020] mdio_bus stmmac-0: using lookup tables for GPIO lookup
[    0.232031] mdio_bus stmmac-0: No GPIO consumer reset found
[    0.232067] of_get_named_gpiod_flags: parsed 'snps,reset-gpio' property of node '/ethernet@ffc40000' - status (0)
[    0.364876] libphy: stmmac: probed
[    0.365695] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ethernet@ffc40000/mdio/phy@0'
[    0.367057] PPP generic driver version 2.4.2
[    0.367372] PPP BSD Compression module registered
[    0.367405] PPP Deflate Compression module registered
[    0.367448] PPP MPPE Compression module registered
[    0.367473] NET: Registered protocol family 24
[    0.367615] usbcore: registered new interface driver r8152
[    0.367715] usbcore: registered new interface driver asix
[    0.367806] usbcore: registered new interface driver ax88179_178a
[    0.367880] usbcore: registered new interface driver cdc_ether
[    0.367954] usbcore: registered new interface driver net1080
[    0.368028] usbcore: registered new interface driver cdc_subset
[    0.368182] usbcore: registered new interface driver zaurus
[    0.368309] usbcore: registered new interface driver cdc_ncm
[    0.368391] usbcore: registered new interface driver qmi_wwan
[    0.370352] dwc3 ffd00000.dwc3: Failed to get clk 'ref': -2
[    0.377127] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.377186] ehci-platform: EHCI generic platform driver
[    0.380874] ehci-platform ffe00000.usb: EHCI Host Controller
[    0.380956] ehci-platform ffe00000.usb: new USB bus registered, assigned bus number 1
[    0.381187] ehci-platform ffe00000.usb: irq 70, io mem 0xffe00000
[    0.391535] ehci-platform ffe00000.usb: USB 2.0 started, EHCI 1.00
[    0.391871] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    0.391907] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.391934] usb usb1: Product: EHCI Host Controller
[    0.391960] usb usb1: Manufacturer: Linux 4.19.111 ehci_hcd
[    0.391990] usb usb1: SerialNumber: ffe00000.usb
[    0.392860] hub 1-0:1.0: USB hub found
[    0.392943] hub 1-0:1.0: 1 port detected
[    0.393795] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.393849] ohci-platform: OHCI generic platform driver
[    0.394564] ohci-platform ffe10000.usb: Generic Platform OHCI controller
[    0.394628] ohci-platform ffe10000.usb: new USB bus registered, assigned bus number 2
[    0.394942] ohci-platform ffe10000.usb: irq 71, io mem 0xffe10000
[    0.455840] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 4.19
[    0.455897] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.455919] usb usb2: Product: Generic Platform OHCI controller
[    0.455963] usb usb2: Manufacturer: Linux 4.19.111 ohci_hcd
[    0.455990] usb usb2: SerialNumber: ffe10000.usb
[    0.456879] hub 2-0:1.0: USB hub found
[    0.456955] hub 2-0:1.0: 1 port detected
[    0.458852] usbcore: registered new interface driver cdc_wdm
[    0.459030] usbcore: registered new interface driver usb-storage
[    0.459209] usbcore: registered new interface driver option
[    0.459277] usbserial: USB Serial support registered for GSM modem (1-port)
[    0.460473] i2c /dev entries driver
[    0.462640] rk808 0-0020: chip id: 0x8090
[    0.462758] rk808 0-0020: No cache defaults, reading back from HW
[    0.469203] rk808 0-0020: source: on=0x40, off=0x00
[    0.469258] rk808 0-0020: support dcdc3 fb mode:-22, -1329979440
[    0.469284] rk808 0-0020: support pmic reset mode:0,0
[    0.469695] gpiochip_find_base: found new base at 511
[    0.469972] gpio gpiochip5: (rk817-gpio): added GPIO chardev (254:5)
[    0.470112] gpiochip_setup_dev: registered GPIOs 511 to 511 on device: gpiochip5 (rk817-gpio)
[    0.470273] gpio gpiochip5: (rk817-gpio): created GPIO range 0->0 ==> rk805-pinctrl PIN 0->0
[    0.473692] rk808 0-0020: GPIO lookup for consumer dvs
[    0.473708] rk808 0-0020: using device tree for GPIO lookup
[    0.473743] of_get_named_gpiod_flags: can't parse 'dvs-gpios' property of node '/i2c@ff3f0000/pmic@20'
[    0.473766] of_get_named_gpiod_flags: can't parse 'dvs-gpio' property of node '/i2c@ff3f0000/pmic@20'
[    0.473780] rk808 0-0020: using lookup tables for GPIO lookup
[    0.473791] rk808 0-0020: No GPIO consumer dvs found
[    0.473803] rk808-regulator rk808-regulator: there is no dvs0 gpio
[    0.473856] rk808 0-0020: GPIO lookup for consumer dvs
[    0.473864] rk808 0-0020: using device tree for GPIO lookup
[    0.473888] of_get_named_gpiod_flags: can't parse 'dvs-gpios' property of node '/i2c@ff3f0000/pmic@20'
[    0.473908] of_get_named_gpiod_flags: can't parse 'dvs-gpio' property of node '/i2c@ff3f0000/pmic@20'
[    0.473920] rk808 0-0020: using lookup tables for GPIO lookup
[    0.473929] rk808 0-0020: No GPIO consumer dvs found
[    0.473939] rk808-regulator rk808-regulator: there is no dvs1 gpio
[    0.474051] DCDC_REG1: supplied by vcc5v0_sys
[    0.474626] DCDC_REG2: supplied by vcc5v0_sys
[    0.475229] DCDC_REG3: supplied by vcc5v0_sys
[    0.475800] DCDC_REG4: supplied by vcc5v0_sys
[    0.476345] DCDC_REG5: supplied by vcc5v0_sys
[    0.476849] LDO_REG1: supplied by vcc_buck5
[    0.477378] LDO_REG2: supplied by vcc_buck5
[    0.477894] LDO_REG3: supplied by vcc_buck5
[    0.478443] LDO_REG4: supplied by vcc_buck5
[    0.479010] LDO_REG5: supplied by vcc_buck5
[    0.479523] LDO_REG6: supplied by vcc_buck5
[    0.480048] LDO_REG7: supplied by vcc5v0_sys
[    0.480571] LDO_REG8: supplied by vcc5v0_sys
[    0.481120] LDO_REG9: supplied by vcc5v0_sys
[    0.481668] SWITCH_REG1: supplied by vcc5v0_sys
[    0.482171] SWITCH_REG2: supplied by vcc3v3_sys
[    0.484609] input: rk805 pwrkey as /devices/platform/ff3f0000.i2c/i2c-0/0-0020/rk805-pwrkey/input/input0
[    0.487864] rk808-rtc rk808-rtc: registered as rtc0
[    0.488504] rk808-rtc rk808-rtc: setting system clock to 2022-04-18 09:40:32 UTC (1650274832)
[    0.490861] pca953x 1-0020: GPIO lookup for consumer reset
[    0.490873] pca953x 1-0020: using device tree for GPIO lookup
[    0.490903] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/i2c@ff510000/i2c1gpio@27'
[    0.490925] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/i2c@ff510000/i2c1gpio@27'
[    0.490938] pca953x 1-0020: using lookup tables for GPIO lookup
[    0.490950] pca953x 1-0020: No GPIO consumer reset found
[    0.490996] pca953x 1-0020: 1-0020 supply vcc not found, using dummy regulator
[    0.491137] pca953x 1-0020: Linked as a consumer to regulator.0
[    0.491352] pca953x 1-0020: failed reading register
[    0.491522] pca953x 1-0020: Dropping the link to regulator.0
[    0.500972] of_get_named_gpiod_flags: parsed 'himax,irq-gpio' property of node '/i2c@ff510000/hxchipset@48' - status (0)
[    0.501006] of_get_named_gpiod_flags: parsed 'himax,rst-gpio' property of node '/i2c@ff510000/hxchipset@48' - status (0)
[    0.501029] of_get_named_gpiod_flags: can't parse 'himax,3v3-gpio' property of node '/i2c@ff510000/hxchipset@48'
[    0.588790] himax_tp: probe of 1-0048 failed with error -9
[    0.589166] rockchip-pinctrl pinctrl: pin gpio3-0 already requested by ff580000.serial; cannot claim for ff530000.i2c
[    0.589204] rockchip-pinctrl pinctrl: pin-96 (ff530000.i2c) status -22
[    0.589236] rockchip-pinctrl pinctrl: could not request pin 96 (gpio3-0) from group i2c4m0-xferon device rockchip-pinctrl
[    0.589262] rk3x-i2c ff530000.i2c: Error applying setting, reverse things back
[    0.589304] rk3x-i2c: probe of ff530000.i2c failed with error -22
[    0.590350] ircut cam_ircut: driver version: 00.01.00
[    0.590660] ircut cam_ircut: failed get pulse-width,use dafult value 100
[    0.590698] ircut cam_ircut: GPIO lookup for consumer ircut-open
[    0.590707] ircut cam_ircut: using device tree for GPIO lookup
[    0.590743] ircut cam_ircut: No GPIO consumer ircut-open found
[    0.590753] ircut cam_ircut: Failed to get ircut-open-gpios
[    0.590783] ircut cam_ircut: GPIO lookup for consumer ircut-close
[    0.590792] ircut cam_ircut: using device tree for GPIO lookup
[    0.590820] ircut cam_ircut: No GPIO consumer ircut-close found
[    0.590830] ircut cam_ircut: Failed to get ircut-close-gpios
[    0.590853] ircut cam_ircut: GPIO lookup for consumer led
[    0.590862] ircut cam_ircut: using device tree for GPIO lookup
[    0.590887] of_get_named_gpiod_flags: can't parse 'led-gpios' property of node '/cam_ircut'
[    0.590907] of_get_named_gpiod_flags: can't parse 'led-gpio' property of node '/cam_ircut'
[    0.590921] ircut cam_ircut: using lookup tables for GPIO lookup
[    0.590932] ircut cam_ircut: No GPIO consumer led found
[    0.590960] ircut cam_ircut: probe successful!
[    0.591984] rockchip-mipi-csi2: probe success, v4l2_dev:(null)!
[    0.593493] rkcifhw ffae0000.rkcif: no iommu attached, using non-iommu buffers
[    0.593561] rkcifhw ffae0000.rkcif: assigned reserved memory node isp
[    0.593716] rkcif rkcif_dvp: rkcif driver version: v00.01.0a
[    0.593822] rkcif rkcif_dvp: attach to cif hw node
[    0.593846] rkcif rkcif_dvp: rkcif wait line 0
[    0.595132] rkcif_dvp: cif_subdev_notifier: no subdev be found!
[    0.595159] rkcif_dvp: Failed to register subdev notifier(-19)
[    0.596193] rkcif rkcif_dvp: detach to cif hw node
[    0.596336] rkcif rkcif_mipi_lvds: rkcif driver version: v00.01.0a
[    0.596449] rkcif rkcif_mipi_lvds: attach to cif hw node
[    0.596480] rkcif rkcif_mipi_lvds: rkcif wait line 0
[    0.597665] rkcif rkcif_mipi_lvds: Entity type for entity rockchip-mipi-csi2 was not initialized!
[    0.597703] rockchip-mipi-csi2: Async registered subdev
[    0.600364] rkisp_hw ffb50000.rkisp: is_thunderboot: 0
[    0.600412] rkisp_hw ffb50000.rkisp: Missing rockchip,grf property
[    0.600765] rkisp_hw ffb50000.rkisp: iommu is disabled, using non-iommu buffers
[    0.600820] rkisp_hw ffb50000.rkisp: assigned reserved memory node isp
[    0.601180] rkisp rkisp-vir0: rkisp driver version: v01.06.02
[    0.601292] rkisp rkisp-vir0: GPIO lookup for consumer vsirq
[    0.601302] rkisp rkisp-vir0: using device tree for GPIO lookup
[    0.601332] of_get_named_gpiod_flags: can't parse 'vsirq-gpios' property of node '/rkisp-vir0'
[    0.601352] of_get_named_gpiod_flags: can't parse 'vsirq-gpio' property of node '/rkisp-vir0'
[    0.601366] rkisp rkisp-vir0: using lookup tables for GPIO lookup
[    0.601377] rkisp rkisp-vir0: No GPIO consumer vsirq found
[    0.601489] rkisp rkisp-vir0: No memory-region-thunderboot specified
[    0.601799] rkisp rkisp-vir0: Entity type for entity rkisp-isp-subdev was not initialized!
[    0.601841] rkisp rkisp-vir0: Entity type for entity rkisp-csi-subdev was not initialized!
[    0.601877] rkisp rkisp-vir0: Entity type for entity rkisp-bridge-ispp was not initialized!
[    0.605975] iommu: Adding device ffb60000.rkispp to group 2
[    0.606054] rkispp_hw ffb60000.rkispp: Linked as a consumer to ffb60e00.iommu
[    0.606519] rkispp_hw ffb60000.rkispp: max input:3840x2160@30fps
[    0.606574] rkispp_hw ffb60000.rkispp: can't request region for resource
[    0.606867] rkispp_hw ffb60000.rkispp: failed to get cru reset
[    0.607197] rkispp rkispp-vir0: rkispp driver version: v01.06.02
[    0.609775] rkispp rkispp-vir2: rkispp driver version: v01.06.02
[    0.612736] usbcore: registered new interface driver uvcvideo
[    0.612778] USB Video Class driver (1.1.1)
[    0.613348] rockchip-iodomain fe020000.syscon:io-domains: Linked as a consumer to regulator.19
[    0.613420] rockchip-iodomain fe020000.syscon:io-domains: vccio2(3300000 uV) supplied by vccio_sd
[    0.613555] rockchip-iodomain fe020000.syscon:io-domains: Linked as a consumer to regulator.15
[    0.613614] rockchip-iodomain fe020000.syscon:io-domains: vccio3(1800000 uV) supplied by vcc_1v8
[    0.613765] rockchip-iodomain fe020000.syscon:io-domains: vccio4(1800000 uV) supplied by vcc_1v8
[    0.613937] rockchip-iodomain fe020000.syscon:io-domains: Linked as a consumer to regulator.22
[    0.614007] rockchip-iodomain fe020000.syscon:io-domains: vccio5(3300000 uV) supplied by vcc_3v3
[    0.614163] rockchip-iodomain fe020000.syscon:io-domains: vccio6(3300000 uV) supplied by vcc_3v3
[    0.614309] rockchip-iodomain fe020000.syscon:io-domains: vccio7(1800000 uV) supplied by vcc_1v8
[    0.614459] rockchip-iodomain fe020000.syscon:io-domains: Linked as a consumer to regulator.13
[    0.614506] rockchip-iodomain fe020000.syscon:io-domains: pmuio0(1800000 uV) supplied by vcc1v8_pmu
[    0.614655] rockchip-iodomain fe020000.syscon:io-domains: Linked as a consumer to regulator.10
[    0.614710] rockchip-iodomain fe020000.syscon:io-domains: pmuio1(3300000 uV) supplied by vcc3v3_sys
[    0.618313] rockchip-thermal ff5f0000.tsadc: tsadc trimmed value = -10
[    0.618729] rockchip-thermal ff5f0000.tsadc: tsadc is probed successfully!
[    0.619252] rockchip-thermal ff5f8000.tsadc: tsadc trimmed value = -9
[    0.619559] rockchip-thermal ff5f8000.tsadc: tsadc is probed successfully!
[    0.620627] Bluetooth: HCI UART driver ver 2.3
[    0.620653] Bluetooth: HCI UART protocol H4 registered
[    0.621030] cpu cpu0: bin=0
[    0.621093] cpu cpu0: leakage=1.875
[    0.621266] cpu cpu0: Linked as a consumer to regulator.8
[    0.633233] cpu cpu0: temp=44300, pvtm=100965 (100874 + 91)
[    0.633577] cpu cpu0: pvtm-volt-sel=1
[    0.633697] cpu cpu0: Dropping the link to regulator.8
[    0.633779] cpu cpu0: bin-scale=5
[    0.634310] cpu cpu0: Linked as a consumer to regulator.8
[    0.634408] cpu cpu0: Dropping the link to regulator.8
[    0.634671] cpu cpu0: Linked as a consumer to regulator.8
[    0.636065] cpu cpu0: avs=0
[    0.636519] energy_model: Created perf domain 0-3
[    0.636582] cpu cpu0: l=-2147483648 h=2147483647 hyst=0 l_limit=0 h_limit=0 h_table=0
[    0.636633] cpu cpu0: failed to read out thermal zone (-22)
[    0.637469] cpu cpu0: failed to find power_model node
[    0.637562] cpuidle: enable-method property 'psci' found operations
[    0.637682] cpuidle: enable-method property 'psci' found operations
[    0.637765] cpuidle: enable-method property 'psci' found operations
[    0.637840] cpuidle: enable-method property 'psci' found operations
[    0.638475] pwrseq_simple sdio-pwrseq: GPIO lookup for consumer reset
[    0.638484] pwrseq_simple sdio-pwrseq: using device tree for GPIO lookup
[    0.638512] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/sdio-pwrseq' - status (0)
[    0.638529] gpio gpiochip0: Persistence not supported for GPIO 6
[    0.638923] Synopsys Designware Multimedia Card Interface Driver
[    0.639436] dwmmc_rockchip ffc50000.dwmmc: IDMAC supports 32-bit address mode.
[    0.639487] dwmmc_rockchip ffc50000.dwmmc: Using internal DMA controller.
[    0.639508] dwmmc_rockchip ffc50000.dwmmc: Version ID is 270a
[    0.639574] dwmmc_rockchip ffc50000.dwmmc: DW MMC controller at irq 65,32 bit host data width,256 deep fifo
[    0.639636] dwmmc_rockchip ffc50000.dwmmc: GPIO lookup for consumer wp
[    0.639640] dwmmc_rockchip ffc50000.dwmmc: using device tree for GPIO lookup
[    0.639650] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/dwmmc@ffc50000'
[    0.639658] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/dwmmc@ffc50000'
[    0.639665] dwmmc_rockchip ffc50000.dwmmc: using lookup tables for GPIO lookup
[    0.639670] dwmmc_rockchip ffc50000.dwmmc: No GPIO consumer wp found
[    0.639697] mmc_host mmc0: card is non-removable.
[    0.652566] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    0.666096] dwmmc_rockchip ffc60000.dwmmc: IDMAC supports 32-bit address mode.
[    0.666183] dwmmc_rockchip ffc60000.dwmmc: Using internal DMA controller.
[    0.666204] dwmmc_rockchip ffc60000.dwmmc: Version ID is 270a
[    0.666261] dwmmc_rockchip ffc60000.dwmmc: DW MMC controller at irq 66,32 bit host data width,256 deep fifo
[    0.666384] dwmmc_rockchip ffc60000.dwmmc: Linked as a consumer to regulator.20
[    0.666459] dwmmc_rockchip ffc60000.dwmmc: Linked as a consumer to regulator.19
[    0.666501] dwmmc_rockchip ffc60000.dwmmc: GPIO lookup for consumer cd
[    0.666505] dwmmc_rockchip ffc60000.dwmmc: using device tree for GPIO lookup
[    0.666521] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/dwmmc@ffc60000'
[    0.666530] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/dwmmc@ffc60000'
[    0.666537] dwmmc_rockchip ffc60000.dwmmc: using lookup tables for GPIO lookup
[    0.666542] dwmmc_rockchip ffc60000.dwmmc: No GPIO consumer cd found
[    0.666548] dwmmc_rockchip ffc60000.dwmmc: GPIO lookup for consumer wp
[    0.666552] dwmmc_rockchip ffc60000.dwmmc: using device tree for GPIO lookup
[    0.666560] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/dwmmc@ffc60000'
[    0.666601] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/dwmmc@ffc60000'
[    0.666607] dwmmc_rockchip ffc60000.dwmmc: using lookup tables for GPIO lookup
[    0.666611] dwmmc_rockchip ffc60000.dwmmc: No GPIO consumer wp found
[    0.678673] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    0.692426] dwmmc_rockchip ffc70000.dwmmc: IDMAC supports 32-bit address mode.
[    0.692516] dwmmc_rockchip ffc70000.dwmmc: Using internal DMA controller.
[    0.692540] dwmmc_rockchip ffc70000.dwmmc: Version ID is 270a
[    0.692665] dwmmc_rockchip ffc70000.dwmmc: DW MMC controller at irq 67,32 bit host data width,256 deep fifo
[    0.692854] dwmmc_rockchip ffc70000.dwmmc: GPIO lookup for consumer wp
[    0.692860] dwmmc_rockchip ffc70000.dwmmc: using device tree for GPIO lookup
[    0.692878] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/dwmmc@ffc70000'
[    0.692887] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/dwmmc@ffc70000'
[    0.692895] dwmmc_rockchip ffc70000.dwmmc: using lookup tables for GPIO lookup
[    0.692900] dwmmc_rockchip ffc70000.dwmmc: No GPIO consumer wp found
[    0.692929] dwmmc_rockchip ffc70000.dwmmc: allocated mmc-pwrseq
[    0.692951] mmc_host mmc1: card is non-removable.
[    0.697175] mmc_host mmc0: Bus speed (slot 0) = 198000000Hz (slot req 200000000Hz, actual 198000000HZ div = 0)
[    0.697264] dwmmc_rockchip ffc50000.dwmmc: Successfully tuned phase to 90
[    0.698598] mmc0: new HS200 MMC card at address 0001
[    0.700177] mmcblk0: mmc0:0001 AJTD4R 14.6 GiB
[    0.700938] mmcblk0boot0: mmc0:0001 AJTD4R partition 1 4.00 MiB
[    0.702005] mmcblk0boot1: mmc0:0001 AJTD4R partition 2 4.00 MiB
[    0.702611] mmcblk0rpmb: mmc0:0001 AJTD4R partition 3 4.00 MiB, chardev (241:0)
[    0.704986] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    0.709137]mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9
[    0.715134] Freeing initrd memory: 8948K
[    0.718249] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/work' - status (0)
[    0.718281] gpio gpiochip0: Persistence not supported for GPIO 4
[    0.718284] no flags found for gpios
[    0.718481] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/user' - status (0)
[    0.718506] gpio gpiochip0: Persistence not supported for GPIO 16
[    0.718510] no flags found for gpios
[    0.719276] usbcore: registered new interface driver usbkbd
[    0.719350] usbcore: registered new interface driver usbmouse
[    0.720593] rockchip-saradc ff5e0000.saradc: Linked as a consumer to regulator.15
[    0.721156] rksfc_base v1.1 2016-01-08
[    0.721503] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    0.721608] rksfc ffc90000.sfc: rksfc_probe clk rate = 79200000
[    0.721662] rkflash_dev_init enter
[    0.721680] sfc nor id: 0 0 0
[    0.721691] rkflash is invalid
[    0.721694] rkflash_dev_init enter
[    0.721715] sfc_nand id: 0 0 0
[    0.721723] rkflash is invalid
[    0.728573] rk817-codec rk817-codec: DMA mask not set
[    0.728799] rk817_codec_parse_dt_property: rk809 have no io-channels defined
[    0.728894] of_get_named_gpiod_flags: parsed 'hp-det' property of node '/i2c@ff3f0000/pmic@20/codec' - status (0)
[    0.728950] rk817-codec rk817-codec: GPIO lookup for consumer hp-ctl
[    0.728958] rk817-codec rk817-codec: using device tree for GPIO lookup
[    0.728987] of_get_named_gpiod_flags: parsed 'hp-ctl-gpios' property of node '/i2c@ff3f0000/pmic@20/codec' - status (0)
[    0.729014] gpio gpiochip1: Persistence not supported for GPIO 23
[    0.729033] rk817-codec rk817-codec: GPIO lookup for consumer spk-ctl
[    0.729039] rk817-codec rk817-codec: using device tree for GPIO lookup
[    0.729073] of_get_named_gpiod_flags: parsed 'spk-ctl-gpios' property of node '/i2c@ff3f0000/pmic@20/codec' - status (0)
[    0.729096] gpio gpiochip3: Persistence not supported for GPIO 30
[    0.734654] NET: Registered protocol family 17
[    0.734698] NET: Registered protocol family 15
[    0.735373] Bluetooth: RFCOMM TTY layer initialized
[    0.735425] Bluetooth: RFCOMM socket layer initialized
[    0.735472] Bluetooth: RFCOMM ver 1.11
[    0.735514] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    0.735544] Bluetooth: HIDP socket layer initialized
[    0.735572] : Enter rfkill_rk_init
[    0.735581] : Enter rfkill_wlan_init
[    0.735912] : Enter rfkill_wlan_probe
[    0.735967] : wlan_platdata_parse_dt: wifi_chip_type = ap6236
[    0.735979] : wlan_platdata_parse_dt: enable wifi power control.
[    0.735990] : wlan_platdata_parse_dt: wifi power controled by gpio.
[    0.736014] of_get_named_gpiod_flags: can't parse 'WIFI,poweren_gpio' property of node '/wireless-wlan'
[    0.736022] of_get_named_gpiod_flags: can't parse 'WIFI,vbat_gpio' property of node '/wireless-wlan'
[    0.736031] of_get_named_gpiod_flags: can't parse 'WIFI,reset_gpio' property of node '/wireless-wlan'
[    0.736049] of_get_named_gpiod_flags: parsed 'WIFI,host_wake_irq' property of node '/wireless-wlan' - status (0)
[    0.736052] : wlan_platdata_parse_dt: WIFI,host_wake_irq = 8, flags = 0.
[    0.736085] : rfkill_wlan_probe: init gpio
[    0.736098] : Exit rfkill_wlan_probe
[    0.736426] of_get_named_gpiod_flags: parsed 'uart_rts_gpios' property of node '/wireless-bluetooth' - status (0)
[    0.736430] : bluetooth_platdata_parse_dt: get property: uart_rts_gpios = 48.
[    0.736457] of_get_named_gpiod_flags: parsed 'BT,power_gpio' property of node '/wireless-bluetooth' - status (0)
[    0.736460] : bluetooth_platdata_parse_dt: get property: BT,power_gpio = 7.
[    0.736477] of_get_named_gpiod_flags: can't parse 'BT,reset_gpio' property of node '/wireless-bluetooth'
[    0.736485] of_get_named_gpiod_flags: can't parse 'BT,wake_gpio' property of node '/wireless-bluetooth'
[    0.736498] of_get_named_gpiod_flags: parsed 'BT,wake_host_irq' property of node '/wireless-bluetooth' - status (0)
[    0.736501] : bluetooth_platdata_parse_dt: get property: BT,wake_host_irq = 5.
[    0.736510] : bluetooth_platdata_parse_dt: clk_get failed!!!.
[    0.736556] : Request irq for bt wakeup host
[    0.736674] : ** disable irq
[    0.736779] : bt shut off power
[    0.736830] : bt_default device registered.
[    0.737061] flash vendor_init_thread!
[    0.737077] flash vendor storage:20170308 ret = -1
[    0.737772] imx415 1-001a: driver version: 00.01.06
[    0.737808] imx415 1-001a:Get hdr mode failed! no hdr default
[    0.737829] imx415 1-001a: GPIO lookup for consumer reset
[    0.737834] imx415 1-001a: using device tree for GPIO lookup
[    0.737861] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/i2c@ff510000/imx415@1a' - status (0)
[    0.737879] gpio gpiochip4: Persistence not supported for GPIO 0
[    0.737881] no flags found for reset
[    0.737886] imx415 1-001a: GPIO lookup for consumer power
[    0.737889] imx415 1-001a: using device tree for GPIO lookup
[    0.737904] of_get_named_gpiod_flags: parsed 'power-gpios' property of node '/i2c@ff510000/imx415@1a' - status (0)
[    0.737913] gpio gpiochip1: Persistence not supported for GPIO 28
[    0.737915] no flags found for power
[    0.737956] imx415 1-001a: could not get sleep pinstate
[    0.738064] imx415 1-001a: Linked as a consumer to regulator.17
[    0.738148] imx415 1-001a: Linked as a consumer to regulator.15
[    0.738201] imx415 1-001a: Linked as a consumer to regulator.18
[    0.751227] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    0.754418] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.758253] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.761567] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    0.765684] mmc1: queuing unknown CIS tuple 0x81 (9 bytes)
[    0.781212] vendor storage:20190527 ret = 0
[    0.805710] imx415 1-001a: Detected imx415 id 0000e0
[    0.805819] rockchip-mipi-dphy-rx ff4b0000.csi-dphy: match m01_f_imx415 1-001a:bus type 4
[    0.809386] rkcif_mipi_lvds: Async subdev notifier completed
[    0.811023] Registering SWP/SWPB emulation handler
[    0.815543] Loading compiled-in X.509 certificates
[    0.817493] rga2: Driver loaded successfully ver:3.2.56726
[    0.817904] rga2: Module initialized.
[    0.842305] mpp_rkvenc ffbb0000.rkvenc: probing start
[    0.843118] mpp_rkvenc ffbb0000.rkvenc: Linked as a consumer to regulator.7
[    0.843179] mpp_rkvenc ffbb0000.rkvenc: bin=0
[    0.843203] mpp_rkvenc ffbb0000.rkvenc: leakage=1.750
[    0.843250] mpp_rkvenc ffbb0000.rkvenc: Failed to get pvtm
[    0.843277] mpp_rkvenc ffbb0000.rkvenc: bin-scale=37
[    0.843559] mpp_rkvenc ffbb0000.rkvenc: avs=0
[    0.843804] mpp_rkvenc ffbb0000.rkvenc: failed to find power_model node
[    0.843820] mpp_rkvenc ffbb0000.rkvenc: failed to initialize power model
[    0.843950] mpp_rkvenc ffbb0000.rkvenc: l=-2147483648 h=2147483647 hyst=0 l_limit=0 h_limit=0 h_table=0
[    0.843973] mpp_rkvenc ffbb0000.rkvenc: failed to read out thermal zone (-22)
[    0.844640] mpp_rkvenc ffbb0000.rkvenc: probing finish
[    0.846554] rockchip-drm display-subsystem: devfreq is not set
[    0.846832] rockchip-drm display-subsystem: bound ffb00000.vop (ops 0xb0a3e080)
[    0.846886] rockchip-drm display-subsystem: bound ffb30000.dsi (ops 0xb0a447ac)
[    0.846906] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    0.846913] No driver support for vblank timestamp query.
[    0.853328] Initialized rockchip 2.0.0 20140818 for display-subsystem on minor 0
[    0.853801] input: adc-keys as /devices/platform/adc-keys/input/input1
[    0.854346] of_get_named_gpiod_flags: can't parse 'simple-audio-card,hp-det-gpio' property of node '/rk809-sound'
[    0.854357] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/rk809-sound'
[    0.857185] asoc-simple-card rk809-sound: rk817-hifi <-> ff800000.i2s mapping ok
[    0.857253] asoc-simple-card rk809-sound: ASoC: no source widget found for MICBIAS1
[    0.857272] asoc-simple-card rk809-sound: ASoC: Failed to add route MICBIAS1 -> direct -> Mic Jack
[    0.857288] asoc-simple-card rk809-sound: ASoC: no sink widget found for IN1P
[    0.857304] asoc-simple-card rk809-sound: ASoC: Failed to add route Mic Jack -> direct -> IN1P
[    0.857324] asoc-simple-card rk809-sound: ASoC: no source widget found for HPOL
[    0.857345] asoc-simple-card rk809-sound: ASoC: Failed to add route HPOL -> direct -> Headphone Jack
[    0.857365] asoc-simple-card rk809-sound: ASoC: no source widget found for HPOR
[    0.857386] asoc-simple-card rk809-sound: ASoC: Failed to add route HPOR -> direct -> Headphone Jack
[    0.858478] input: rockchip,rk809-codec Headphone Jack as /devices/platform/rk809-sound/sound/card0/input2
[    0.860273] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    0.860947] dhd_module_init: in Dongle Host Driver, version 1.579.77.41.22 (r-20191105-2)(20191120-1)
[    0.860974] ======== dhd_wlan_init_plat_data ========
[    0.860988] : rockchip_wifi_get_oob_irq: Enter
[    0.861080] dhd_wlan_init_gpio: WL_HOST_WAKE=-1, oob_irq=111, oob_irq_flags=0x414
[    0.861099] dhd_wlan_init_gpio: WL_REG_ON=-1
[    0.861116] dhd_wifi_platform_load: Enter
[    0.861133] Power-up adapter 'DHD generic adapter'
[    0.861186] wifi_platform_set_power = 1
[    0.861204] ======== PULL WL_REG_ON(-1) HIGH! ========
[    0.861217] : rockchip_wifi_power: 1
[    0.861236] : wifi turn on power
[    0.861296] ==gsl_ts_init==
[    0.861374] ret=0
[    0.861472] rkcif rkcif_mipi_lvds: clear unready subdev num: 0
[    0.862390] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    0.863265] mmc1: new high speed SDIO card at address 0001
[    0.870074] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=88.32
[    0.870105] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    0.870118] usb 1-1: Product: USB2.0 Hub
[    0.870982] hub 1-1:1.0: USB hub found
[    0.871373] hub 1-1:1.0: 4 ports detected
[    0.877442] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    0.877874] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    0.877889] cfg80211: failed to load regulatory.db
[    0.878430] rkisp rkisp-vir0: clear unready subdev num: 1
[    0.879376] rkisp0: Async subdev notifier completed
[    0.879883] dwmmc_rockchip ffc50000.dwmmc: Successfully tuned phase to 270
[    0.883231] dwmmc_rockchip ffc50000.dwmmc: Successfully tuned phase to 90
[    0.883646] ret 1024 0
[    0.883894] ALSA device list:
[    0.883906]   #0: rockchip,rk809-codec
[    0.883915]   #7: Loopback 1
[    0.884749] Freeing unused kernel memory: 1024K
[    0.884911] Run /init as init process
[    1.154949] usb 1-1.3: new high-speed USB device number 3 using ehci-platform
[    1.164859] wifi_platform_bus_enumerate device present 1
[    1.164891] ======== Card detection to detect SDIO card! ========
[    1.164900] mmc1:mmc host rescan start!
[    1.181212] bcmsdh_register: register client driver
[    1.181848] bcmsdh_sdmmc_probe: Enter num=1
[    1.182412] bcmsdh_sdmmc_probe: Enter num=2
[    1.182456] bus num (host idx)=1, slot num (rca)=1
[    1.182466] found adapter info 'DHD generic adapter'
[    1.182559] sdioh_attach: set sd_f2_blocksize 256
[    1.182643] sdioh_attach: sd clock rate = 0
[    1.183021] dhdsdio_probe : no mutex held. set lock
[    1.183179] F1 signature read @0x18000000=0x1542a9a6
[    1.186756] F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x2 pkg:0x4
[    1.187647] DHD: dongle ram size is set to 524288(orig 524288) at 0x0
[    1.187820] dhd_conf_set_chiprev : chip=0xa9a6, chiprev=2
[    1.188020] CFG80211-ERROR) wl_setup_wiphy : Registering Vendor80211
[    1.188590] CFG80211-ERROR) wl_setup_wiphy : SAE support
[    1.188816] CFG80211-ERROR) wl_init_prof : wl_init_prof: No profile
[    1.191209] dhd_attach(): thread:dhd_watchdog_thread:7f started
[    1.191352] dhd_attach(): thread:dhd_dpc:80 started
[    1.191499] dhd_attach(): thread:dhd_rxf:81 started
[    1.191526] dhd_deferred_work_init: work queue initialized
[    1.191542] dhd_tcpack_suppress_set: TCP ACK Suppress mode 0 -> mode 2
[    1.191607] dhd_bus_set_default_min_res_mask: Unhandled chip id
[    1.191872] sdioh_cis_read: func_cis_ptr=0x1070
[    1.200688] Dongle Host Driver, version 1.579.77.41.22 (r-20191105-2)(20191120-1)
[    1.201176] Register interface MAC: d4:9c:dd:75:33:ea
[    1.201176]
[    1.201239] dhd_tcpack_suppress_set: TCP ACK Suppress mode 2 -> mode 0
[    1.201261] dhd_wl_ioctl: returning as busstate=0
[    1.201271] dhd_dbg_detach_pkt_monitor, 2204
[    1.201302] dhd_bus_devreset: == Power OFF ==
[    1.201572] bcmsdh_oob_intr_unregister: Enter
[    1.201586] bcmsdh_oob_intr_unregister: irq is not registered
[    1.201600] dhd_txglom_enable: enable 0
[    1.201610] dhd_bus_devreset:WLAN OFF DONE
[    1.201654] wifi_platform_set_power = 0
[    1.201666] ======== PULL WL_REG_ON(-1) LOW! ========
[    1.201677] : rockchip_wifi_power: 0
[    1.201694] : wifi shut off power
[    1.201708] dhdsdio_probe : the lock is released.
[    1.202031] dhd_module_init: Exit err=0
[    1.253136] usb 1-1.3: New USB device found, idVendor=0bda, idProduct=8152, bcdDevice=20.00
[    1.253182] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    1.253192] usb 1-1.3: Product: USB 10/100 LAN
[    1.253201] usb 1-1.3: Manufacturer: Realtek
[    1.253211] usb 1-1.3: SerialNumber: 00E04C19727B
[    1.334896] usb 1-1.3: reset high-speed USB device number 3 using ehci-platform
[    1.513443] r8152 1-1.3:1.0 eth1: v2.12.0 (2019/04/29)
[    1.513500] r8152 1-1.3:1.0 eth1: This product is covered by one or more of the following patents:
[    1.513500]          US6,570,884, US6,115,776, and US6,327,625.
[    1.513500]
[    1.715123] phy phy-ff4c0000.usb2-phy.1: charger = USB_CDP_CHARGER
[    3.620897] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null)
[    3.772632] EXT4-fs (mmcblk0p8): warning: mounting unchecked fs, running e2fsck is recommended
[    3.774914] EXT4-fs (mmcblk0p8): mounted filesystem without journal. Opts: (null)
[    4.183456] udevd: starting version 3.2.7
[    4.189639] udevd: specified group 'kvm' unknown
[    4.206767] rkispp0: scale2:0x0 out of range:
[    4.206767]
[    4.206825] rkispp0: scale2:0x0 out of range:
[    4.206825]
[    4.206846] rkispp0: scale2:0x0 out of range:
[    4.206846]
[    4.206863] rkispp0: scale2:0x0 out of range:
[    4.206863]
[    4.206879] rkispp0: scale2:0x0 out of range:
[    4.206879]
[    4.216738] udevd: starting eudev-3.2.7
[    4.240084] udevd: specified group 'kvm' unknown
[    4.820604] imx415 1-001a: set fmt: cur_mode: 3864x2192, hdr: 5
[    4.822608] imx415 1-001a: set vblank 0x968 vts 2300
[    4.855692] imx415 1-001a: set vblank 0xd00 vts 2760
[    4.855744] imx415 1-001a: imx415 is not streaming, save hdr ae!
[    4.938881] rkcif_mipi_lvds: stream start streaming
[    4.944164] rkcif_mipi_lvds: Allocate dummy buffer, size: 0x00a05000
[    4.944509] rkcif_mipi_lvds: stream start streaming
[    4.944565] rockchip-mipi-csi2 ffb10000.mipi-csi2: stream on, src_sd: 420a339f, sd_name:rockchip-mipi-dphy-rx
[    4.944578] rockchip-mipi-csi2 ffb10000.mipi-csi2: stream ON
[    4.944604] rockchip-mipi-dphy-rx ff4b0000.csi-dphy: stream on:1
[    4.944621] rockchip-mipi-dphy-rx: data_rate_mbps 1486
[    4.945703] rockchip-mipi-dphy-rx ff4b0000.csi-dphy: stream on:1
[    4.945737] imx415 1-001a: s_stream: 1. 3864x2192, hdr: 5, bpp: 10
[    5.010143] imx415 1-001a: set vblank 0xd00 vts 2760
[    5.014063] imx415 1-001a: rev exp req: L_exp: 0x0, 0x19e, M_exp: 0x44, 0x0 S_exp: 0x0, 0x0
[    5.019291] imx415 1-001a: line(1576) rhs1 81, rhs1 min -979 rhs1 max 4453
[    5.019313] imx415 1-001a: line(1586) rhs1 81, short time 68 rhs1_old 77, rhs1_new 81
[    5.019329] imx415 1-001a: fsc=5520,RHS1_MAX=4453,SHR1_MIN=9,rhs1_max=4453
[    5.019345] imx415 1-001a: l_exp_time=414,s_exp_time=68,shr0=5106,shr1=13,rhs1=81,l_a_gain=0,s_a_gain=0
[    5.743257] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null)
[    6.265679] Generic PHY stmmac-0:00: attached PHY driver (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[    6.266426] rk_gmac-dwmac ffc40000.ethernet: rk_get_eth_addr: mac address: 66:9d:6a:38:00:31
[    6.266452] rk_gmac-dwmac ffc40000.ethernet: device MAC address 66:9d:6a:38:00:31
[    6.266472] dwmac4: Master AXI performs any burst length
[    6.266496] rk_gmac-dwmac ffc40000.ethernet eth0: No Safety Features support found
[    6.266524] rk_gmac-dwmac ffc40000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[    6.266800] rk_gmac-dwmac ffc40000.ethernet eth0: registered PTP clock
[    6.520645] file system registered
[    6.548575] using random self ethernet address
[    6.548825] using random host ethernet address
[    6.569365] Mass Storage Function, version: 2009/09/11
[    6.569576] LUN: removable file: (no medium)
[    6.662809] read descriptors
[    6.662873] read strings
[    7.286327] rk_gmac-dwmac ffc40000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    7.711281] galcore: loading out-of-tree module taints kernel.
[    7.720521] galcore: npu init.
[    7.721690] galcore: start npu probe.
[    7.721966] galcore ffbc0000.npu: Linked as a consumer to regulator.7
[    7.723148] npu: platform_get_irq irq = 69
[    7.723191] npu: platform_get_resource registerMemBase = ffbc0000, registerMemSize = 4000
[    7.723216] Galcore version 6.4.3.5.293908
[    7.723231] Galcore options:
[    7.723247]   irqLine         = 69
[    7.723265]   registerMemBase   = 0xFFBC0000
[    7.723287]   registerMemSize   = 0x00004000
[    7.723300]   contiguousSize    = 0x00400000
[    7.723311]   contiguousBase    = 0x0
[    7.723321]   externalSize      = 0x00000000
[    7.723345]   externalBase      = 0x0
[    7.723355]   exclusiveSize   = 0x00000000
[    7.723371]   exclusiveBase   = 0x0
[    7.723388]   bankSize          = 0x00000000
[    7.723411]   fastClear         = -1
[    7.723433]   compression       = 15
[    7.723449]   powerManagement   = 1
[    7.723464]   baseAddress       = 0x00000000
[    7.723478]   physSize          = 0x00000000
[    7.723494]   recovery          = 1
[    7.723510]   stuckDump         = 0
[    7.723533]   gpuProfiler       = 1
[    7.723545]   userClusterMask   = 0x0
[    7.723555]   GPU smallBatch    = 1
[    7.723565]   allMapInOne       = 1
[    7.723585]   irqs            =
[    7.723589] 69,
[    7.723604] -1,
[    7.723621] -1,
[    7.723641] -1,
[    7.723664] -1,
[    7.723679] -1,
[    7.723692] -1,
[    7.723706] -1,
[    7.723719] -1,
[    7.723732] -1,
[    7.723745]
[    7.723770]   registerBases   =
[    7.723773] 0xFFBC0000,
[    7.723787] 0x00000000,
[    7.723797] 0x00000000,
[    7.723807] 0x00000000,
[    7.723822] 0x00000000,
[    7.723837] 0x00000000,
[    7.723851] 0x00000000,
[    7.723864] 0x00000000,
[    7.723877] 0x00000000,
[    7.723891] 0x00000000,
[    7.723904]
[    7.723929]   registerSizes   =
[    7.723932] 0x00004000,
[    7.723946] 0x00000000,
[    7.723960] 0x00000000,
[    7.723973] 0x00000000,
[    7.723987] 0x00000000,
[    7.724000] 0x00000000,
[    7.724014] 0x00000000,
[    7.724028] 0x00000000,
[    7.724037] 0x00000000,
[    7.724050] 0x00000000,
[    7.724063]
[    7.724087]   chipIDs         =
[    7.724090] 0xFFFFFFFF,
[    7.724105] 0xFFFFFFFF,
[    7.724118] 0xFFFFFFFF,
[    7.724132] 0xFFFFFFFF,
[    7.724146] 0xFFFFFFFF,
[    7.724160] 0xFFFFFFFF,
[    7.724173] 0xFFFFFFFF,
[    7.724187] 0xFFFFFFFF,
[    7.724205] 0xFFFFFFFF,
[    7.724219] 0xFFFFFFFF,
[    7.724232]
[    7.724257]   core 0 internal sRAMBases =
[    7.724260] 0xFFFFFFFFFFFFFFFF,
[    7.724271] 0xFFFFFFFFFFFFFFFF,
[    7.724281]
[    7.724308]   core 1 internal sRAMBases =
[    7.724310] 0xFFFFFFFFFFFFFFFF,
[    7.724324] 0xFFFFFFFFFFFFFFFF,
[    7.724338]
[    7.724363]   core 2 internal sRAMBases =
[    7.724366] 0xFFFFFFFFFFFFFFFF,
[    7.724380] 0xFFFFFFFFFFFFFFFF,
[    7.724393]
[    7.724419]   core 3 internal sRAMBases =
[    7.724422] 0xFFFFFFFFFFFFFFFF,
[    7.724436] 0xFFFFFFFFFFFFFFFF,
[    7.724449]
[    7.724475]   core 4 internal sRAMBases =
[    7.724477] 0xFFFFFFFFFFFFFFFF,
[    7.724492] 0xFFFFFFFFFFFFFFFF,
[    7.724502]
[    7.724520]   core 5 internal sRAMBases =
[    7.724523] 0xFFFFFFFFFFFFFFFF,
[    7.724537] 0xFFFFFFFFFFFFFFFF,
[    7.724550]
[    7.724576]   core 6 internal sRAMBases =
[    7.724578] 0xFFFFFFFFFFFFFFFF,
[    7.724593] 0xFFFFFFFFFFFFFFFF,
[    7.724606]
[    7.724631]   core 7 internal sRAMBases =
[    7.724634] 0xFFFFFFFFFFFFFFFF,
[    7.724648] 0xFFFFFFFFFFFFFFFF,
[    7.724661]
[    7.724687]   core 8 internal sRAMBases =
[    7.724689] 0xFFFFFFFFFFFFFFFF,
[    7.724704] 0xFFFFFFFFFFFFFFFF,
[    7.724717]
[    7.724737]   core 9 internal sRAMBases =
[    7.724739] 0xFFFFFFFFFFFFFFFF,
[    7.724750] 0xFFFFFFFFFFFFFFFF,
[    7.724829]
[    7.724862]   External sRAMBases =
[    7.724866] 0xffffffffffffffff,
[    7.724888] 0xffffffffffffffff,
[    7.724923]
[    7.724963]   mmuPageTablePool= 1
[    7.724988]   mmuDynamicMap   = 1
[    7.725018]   isrPoll         = 0x00000000
[    7.725039] Build options:
[    7.725054]   gcdGPU_TIMEOUT    = 20000
[    7.725069]   gcdGPU_2D_TIMEOUT = 4000
[    7.725083]   gcdINTERRUPT_STATISTIC = 1
[    7.729371] Galcore Info: ContiguousBase=0x7f95a000 ContiguousSize=0x400000
[    7.734269] Galcore Info: MMU mapped core 0 SRAM hardware virtual address=0x400000 size=0x40000
[    7.734314] Galcore Info: MMU mapped core 0 SRAM hardware virtual address=0x440000 size=0x40000
[    7.736304] NN flop resetting...
[    7.741907] galcore ffbc0000.npu: Init npu devfreq
[    7.741957] galcore ffbc0000.npu: bin=0
[    7.742007] galcore ffbc0000.npu: leakage=1.500
[    7.754592] galcore ffbc0000.npu: temp=44700, pvtm=100989 (100989 + 0)
[    7.755205] galcore ffbc0000.npu: pvtm-volt-sel=1
[    7.755338] galcore ffbc0000.npu: bin-scale=23
[    7.756656] galcore ffbc0000.npu: avs=0
[    7.757493] galcore ffbc0000.npu: l=-2147483648 h=2147483647 hyst=0 l_limit=0 h_limit=0 h_table=0
[    7.757545] galcore ffbc0000.npu: failed to read out thermal zone (-22)
[    7.757711] galcore ffbc0000.npu: failed to find power_model node
[    7.757745] galcore ffbc0000.npu: failed to initialize power model
[    7.824598] dwc3 ffd00000.dwc3: device reset
[    7.905066] dwc3 ffd00000.dwc3: device reset
[    7.905200] android_work: did not send uevent (0 0   (null))
[    7.969365] android_work: sent uevent USB_STATE=CONNECTED
[    7.997014] configfs-gadget gadget: high-speed config #1: b
[    7.997262] android_work: sent uevent USB_STATE=CONFIGURED
[    9.985490] EXT4-fs (mmcblk0p9): mounting ext2 file system using the ext4 subsystem
[    9.989889] EXT4-fs (mmcblk0p9): mounted filesystem without journal. Opts: (null)
[   10.014351] updateEngine: unhandled page fault (11) at 0x00000000, code 0x017
[   10.014367] pgd = 2547a7ab
[   10.014406] *pgd=7edec835
[   10.014425] CPU: 1 PID: 998 Comm: updateEngine Tainted: G         O      4.19.111 #1
[   10.014439] Hardware name: Generic DT based system
[   10.014459] PC is at 0xa6c44bfe
[   10.014472] LR is at 0x1184c
[   10.014486] pc : [<a6c44bfe>]    lr : [<0001184c>]    psr: 200d0030
[   10.014499] sp : aee18bf0ip : a6c48f5dfp : 00000000
[   10.014512] r10: 00000000r9 : 00000000r8 : aee18ecb
[   10.014526] r7 : 00000000r6 : 00000000r5 : ffffffffr4 : 00000000
[   10.014539] r3 : 00000000r2 : 00000001r1 : 00000000r0 : 00000000
[   10.014554] Flags: nzCvIRQs onFIQs onMode USER_32ISA ThumbSegment user
[   10.014569] Control: 10c5387dTable: 3d12006aDAC: 00000055
[   10.014587] CPU: 1 PID: 998 Comm: updateEngine Tainted: G         O      4.19.111 #1
[   10.014599] Hardware name: Generic DT based system
[   10.014634] [<b010f408>] (unwind_backtrace) from [<b010b970>] (show_stack+0x10/0x14)
[   10.014662] [<b010b970>] (show_stack) from [<b09b89e4>] (dump_stack+0x90/0xa4)
[   10.014687] [<b09b89e4>] (dump_stack) from [<b011373c>] (__do_user_fault+0x130/0x134)
[   10.014710] [<b011373c>] (__do_user_fault) from [<b0113980>] (do_page_fault+0x240/0x348)
[   10.014732] [<b0113980>] (do_page_fault) from [<b0113c18>] (do_DataAbort+0x4c/0xec)
[   10.014754] [<b0113c18>] (do_DataAbort) from [<b0101d7c>] (__dabt_usr+0x3c/0x40)
[   10.014769] Exception stack(0xeb737fb0 to 0xeb737ff8)
[   10.014785] 7fa0:                                     00000000 00000000 00000001 00000000
[   10.014801] 7fc0: 00000000 ffffffff 00000000 00000000 aee18ecb 00000000 00000000 00000000
[   10.014815] 7fe0: a6c48f5d aee18bf0 0001184c a6c44bfe 200d0030 ffffffff
[   10.708717] rkispp0: output:0x0 should euqal to input:3840x2160
[   10.708768] rkispp0: output:0x0 should euqal to input:3840x2160
[   10.708786] rkispp0: output:0x0 should euqal to input:3840x2160
[   10.708805] rkispp0: output:0x0 should euqal to input:3840x2160
[   10.708824] rkispp0: output:0x0 should euqal to input:3840x2160
[   10.708841] rkispp0: output:0x0 should euqal to input:3840x2160
[   10.711166] rkispp0: output:2688x1520 should euqal to input:3840x2160
[   11.088327] usb 1-1.2: new high-speed USB device number 4 using ehci-platform
[   11.198562] usb 1-1.2: New USB device found, idVendor=2c7c, idProduct=0125, bcdDevice= 3.18
[   11.198617] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   11.198640] usb 1-1.2: Product: Android
[   11.198660] usb 1-1.2: Manufacturer: Android
[   11.201641] idVendor 11388 idP 293 bnum 5
[   11.201649] ec20 det false
[   11.201996] option 1-1.2:1.0: GSM modem (1-port) converter detected
[   11.202849] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB0
[   11.203689] option 1-1.2:1.1: GSM modem (1-port) converter detected
[   11.204377] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB1
[   11.205352] option 1-1.2:1.2: GSM modem (1-port) converter detected
[   11.206345] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB2
[   11.207651] option 1-1.2:1.3: GSM modem (1-port) converter detected
[   11.208514] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB3
[   11.209086] idVendor 11388 idP 293 bnum 5
[   11.209090] ec20 det false
[   11.209877] qmi_wwan 1-1.2:1.4: cdc-wdm0: USB WDM device
[   11.210540] qmi_wwan 1-1.2:1.4: Quectel EC25&EC21&EC20R2.0&EG91&EG95&EG06&EP06&EM06&BG96 work on RawIP mode
[   11.212166] qmi_wwan 1-1.2:1.4 wwan0: register 'qmi_wwan' at usb-ffe00000.usb-1.2, WWAN/QMI device, 06:8b:80:9b:29:c3





板蓝根 发表于 2022-4-19 09:21:33

还需要 iqfile 的

yuanjie1590 发表于 2022-4-19 09:33:56

板蓝根 发表于 2022-4-19 09:21
还需要 iqfile 的

我板子上有这个文件   /etc/iqfiles/imx415_YT10092_IR0147-36IRC-8M-F20.xml    那么如何配置用起来呢?

jempty.liang 发表于 2022-4-19 10:04:30

板蓝根 发表于 2022-4-19 09:21
还需要 iqfile 的

同问怎么获取iqfile

板蓝根 发表于 2022-4-19 14:55:18

sdk/external/camera_engine_rkaiq/iqfiles 先看看文档 isp 需要加载 iqfile

yuanjie1590 发表于 2022-4-19 17:06:02

板蓝根 发表于 2022-4-19 14:55
sdk/external/camera_engine_rkaiq/iqfiles 先看看文档 isp 需要加载 iqfile

我在dts文件里面的摄像头配置是下面这样的
camera-module-name = "YT-RK415-V1";
camera-module-lens-name = "IR0147-60IRC-8M-F20"
imx415: imx415@1a {
                status = "okay";
                compatible = "sony,imx415";
                reg = <0x1a>;
                clocks = <&cru CLK_MIPICSI_OUT>;
                clock-names = "xvclk";
                pinctrl-names = "rockchip,camera_default";
                pinctrl-0 = <&mipicsi_clk0>;
                power-domains = <&power RV1126_PD_VI>;
                avdd-supply = <&vcc_avdd>;
                dovdd-supply = <&vcc_1v8>;
                dvdd-supply = <&vcc_dvdd>;
                power-gpios = <&gpio1 RK_PD4 GPIO_ACTIVE_HIGH>;
                reset-gpios = <&gpio4 RK_PA0 GPIO_ACTIVE_LOW>;
                rockchip,camera-module-index = <1>;
                rockchip,camera-module-facing = "front";
                rockchip,camera-module-name = "YT-RK415-V1";
                rockchip,camera-module-lens-name = "IR0147-60IRC-8M-F20";
                //ir-cut = <&cam_ircut0>;
                port {
                        ucam_out0: endpoint {
                              remote-endpoint = <&mipi_in_ucam0>;
                              data-lanes = <1 2 3 4>;
                        };
                };
      };
并且我在buildroot里面,修改BR2_PACKAGE_CAMERA_ENGINE_RKAIQ_IQFILE变量,把文件编译进了板子,放在了/etc/iqfiles/imx415_YT-RK415-V1_IR0147-60IRC-8M-F20.xml
那还有什么地方需要修改吗?    这个YT-RK415-V1应该是瑞芯微调试过的吧 文件名里带了RK

lam007 发表于 2022-5-11 08:49:00

目前我也遇到这个问题,原来用OS04A10可以,更换OS04C10之后,ISPSERVER和MEDIASERVER怎么适配摄像头呢

yuanjie1590 发表于 2022-5-11 09:10:57

这么给你说吧   首先你要移植好自己的驱动,保证能在i2c上发现这个camera,比如如下log
imx415 1-001a: Detected imx415 id 0000e0
然后,你要验证自己这颗sensor是不是点亮了,也就是通过
v4l2-ctl -d /dev/video19 --set-fmt-video=width=1920,height=1080,pixelformat=NV12 --stream-mmap=3 --stream-skip=3 --stream-to=/tmp/cif.out --stream-count=1 --stream-poll
这样的命令,看/tmp/cif.out文件是不是有内容,为空的话,那么sensor是没有点亮的,问题大概率是出在硬件上的,可能是线序或者其他问题,那么你可以用示波器测试下mipi信号,如果/tmp/cif.out有内容,恭喜你,sensor至少点亮了,如果全黑,那么检查你的iqfiles文件夹下有没得你dts里面定义的xml文件,全黑的话,你可以用手电筒照,应该会有光斑;这个萤火虫的技术支持很LJ,无力吐槽了。。。

yuanjie1590 发表于 2022-5-11 09:17:16

lam007 发表于 2022-5-11 08:49
目前我也遇到这个问题,原来用OS04A10可以,更换OS04C10之后,ISPSERVER和MEDIASERVER怎么适配摄像头呢

看8楼,另外sensor点亮后,你可以研究下/oem/RKlunch.sh这个脚本,他里面在适配摄像头的东西
medieserver 命令后面跟了ipc*.cfg,你看看是在用哪个cfg。这个cfg里面就在配置每个码流的分辨率

thinkTime 发表于 2022-5-26 08:37:50

yuanjie1590 发表于 2022-5-11 09:10
这么给你说吧   首先你要移植好自己的驱动,保证能在i2c上发现这个camera,比如如下log

然后,你要 ...

我在调一个mipiYUV422的sensor,media节点已经有了i2c也挂载成功了,但是用v4l2抓图一直是select timeout,cifhw中断一直没有。硬件上用示波器测了 各个信号时钟都是正常的,有没有什么好手段,可以排查问题出在哪里?最先应该确定的是什么呢?
页: [1] 2 3
查看完整版本: 如何移植一个新的摄像头呢? 比如imx415