Firefly开源社区

123
发表新贴

[技术讨论] 如何移植一个新的摄像头呢? 比如imx415

98

积分

0

威望

0

贡献

技术小白

积分
98
发表于 2022-4-18 17:51:09     
本帖最后由 yuanjie1590 于 2022-4-18 17:57 编辑

现在我移植一款imx415的摄像头后,已经可以检测到这个摄像头了
  1. [    0.805710] imx415 1-001a: Detected imx415 id 0000e0
复制代码

但是当我执行
  1. /oem/RkLunch-stop.sh     
复制代码
  1. /oem/usr/bin/dbserver &
  2. /usr/bin/ispserver &
复制代码


这三个命令后,再执行
  1. 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的频率,那么问题是出在哪里呢?
完整日志
  1. [    0.000000] Booting Linux on physical CPU 0xf00
  2. [    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
  3. [    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
  4. [    0.000000] CPU: div instructions available: patching division code
  5. [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
  6. [    0.000000] OF: fdt: Machine model: Firefly Core-RV1126-JD4 BE-45 Board
  7. [    0.000000] earlycon: uart8250 at MMIO32 0xff570000 (options '')
  8. [    0.000000] bootconsole [uart8250] enabled
  9. [    0.000000] Memory policy: Data cache writealloc
  10. [    0.000000] Reserved memory: created CMA memory pool at 0x7f800000, size 8 MiB
  11. [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
  12. [    0.000000] Reserved memory: created CMA memory pool at 0x6dc00000, size 256 MiB
  13. [    0.000000] OF: reserved mem: initialized node isp, compatible id shared-dma-pool
  14. [    0.000000] On node 0 totalpages: 523704
  15. [    0.000000]   Normal zone: 2048 pages used for memmap
  16. [    0.000000]   Normal zone: 0 pages reserved
  17. [    0.000000]   Normal zone: 261560 pages, LIFO batch:63
  18. [    0.000000]   HighMem zone: 262144 pages, LIFO batch:63
  19. [    0.000000] psci: probing for conduit method from DT.
  20. [    0.000000] psci: PSCIv1.0 detected in firmware.
  21. [    0.000000] psci: Using standard PSCI v0.2 function IDs
  22. [    0.000000] psci: MIGRATE_INFO_TYPE not supported.
  23. [    0.000000] psci: SMC Calling Convention v1.0
  24. [    0.000000] percpu: Embedded 15 pages/cpu s32204 r8192 d21044 u61440
  25. [    0.000000] pcpu-alloc: s32204 r8192 d21044 u61440 alloc=15*4096
  26. [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
  27. [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 521656
  28. [    0.000000] Kernel command line: user_debug=31 storagemedia=emmc androidboot.storagemedia=emmc androidboot.mode=normal  ro 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
  29. [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
  30. [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
  31. [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
  32. [    0.000000] Memory: 1781440K/2094816K available (9216K kernel code, 422K rwdata, 2468K rodata, 1024K init, 321K bss, 43040K reserved, 270336K cma-reserved, 777000K highmem)
  33. [    0.000000] Virtual kernel memory layout:
  34. [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
  35. [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
  36. [    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
  37. [    0.000000]     lowmem  : 0xb0000000 - 0xf0000000   (1024 MB)
  38. [    0.000000]     pkmap   : 0xafe00000 - 0xb0000000   (   2 MB)
  39. [    0.000000]     modules : 0xaf000000 - 0xafe00000   (  14 MB)
  40. [    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (10208 kB)
  41. [    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
  42. [    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 423 kB)
  43. [    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 322 kB)
  44. [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
  45. [    0.000000] rcu: Preemptible hierarchical RCU implementation.
  46. [    0.000000]  Tasks RCU enabled.
  47. [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
  48. [    0.000000] random: random: get_random_bytes called from start_kernel+0x328/0x4ac with crng_init=0
  49. [    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
  50. [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
  51. [    0.000009] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
  52. [    0.000755] Switching to timer-based delay loop, resolution 41ns
  53. [    0.002665] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000)
  54. [    0.003624] pid_max: default: 4096 minimum: 301
  55. [    0.004237] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
  56. [    0.004863] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
  57. [    0.006326] CPU: Testing write buffer coherency: ok
  58. [    0.007176] /cpus/cpu@f00 missing clock-frequency property
  59. [    0.007703] /cpus/cpu@f01 missing clock-frequency property
  60. [    0.008224] /cpus/cpu@f02 missing clock-frequency property
  61. [    0.008746] /cpus/cpu@f03 missing clock-frequency property
  62. [    0.009263] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
  63. [    0.010565] Setting up static identity map for 0x100000 - 0x100060
  64. [    0.011321] rcu: Hierarchical SRCU implementation.
  65. [    0.012415] smp: Bringing up secondary CPUs ...
  66. [    0.014489] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
  67. [    0.016232] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
  68. [    0.017987] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
  69. [    0.018131] smp: Brought up 1 node, 4 CPUs
  70. [    0.020133] SMP: Total of 4 processors activated (192.00 BogoMIPS).
  71. [    0.020713] CPU: All CPU(s) started in SVC mode.
  72. [    0.022193] devtmpfs: initialized
  73. [    0.050182] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
  74. [    0.050258] Unpacking initramfs...
  75. [    0.051716] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
  76. [    0.052629] futex hash table entries: 16 (order: -2, 1024 bytes)
  77. [    0.053457] pinctrl core: initialized pinctrl subsystem
  78. [    0.055393] NET: Registered protocol family 16
  79. [    0.056695] DMA: preallocated 256 KiB pool for atomic coherent allocations
  80. [    0.059562] cpuidle: using governor menu
  81. [    0.059975] Registered FIQ tty driver
  82. [    0.061104] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
  83. [    0.061884] hw-breakpoint: maximum watchpoint size is 8 bytes.
  84. [    0.065194] console [pstore-1] enabled
  85. [    0.065927] pstore: Registered ramoops as persistent store backend
  86. [    0.066512] ramoops: attached 0x100000@0x8000000, ecc: 0/0
  87. [    0.096721] gpio gpiochip0: (gpio0): added GPIO chardev (254:0)
  88. [    0.096866] gpiochip_setup_dev: registered GPIOs 0 to 31 on device: gpiochip0 (gpio0)
  89. [    0.097104] gpio gpiochip1: (gpio1): added GPIO chardev (254:1)
  90. [    0.097234] gpiochip_setup_dev: registered GPIOs 32 to 63 on device: gpiochip1 (gpio1)
  91. [    0.097440] gpio gpiochip2: (gpio2): added GPIO chardev (254:2)
  92. [    0.097573] gpiochip_setup_dev: registered GPIOs 64 to 95 on device: gpiochip2 (gpio2)
  93. [    0.097773] gpio gpiochip3: (gpio3): added GPIO chardev (254:3)
  94. [    0.097895] gpiochip_setup_dev: registered GPIOs 96 to 127 on device: gpiochip3 (gpio3)
  95. [    0.098102] gpio gpiochip4: (gpio4): added GPIO chardev (254:4)
  96. [    0.098216] gpiochip_setup_dev: registered GPIOs 128 to 129 on device: gpiochip4 (gpio4)
  97. [    0.118969] cryptd: max_cpu_qlen set to 1000
  98. [    0.120427] fiq debugger fiq mode enabled
  99. [    0.121278] console [ttyFIQ0] enabled
  100. [    0.122003] bootconsole [uart8250] disabled
  101. [    0.122724] Registered fiq debugger ttyFIQ0
  102. [    0.123445] rockchip-pm rockchip-suspend: not set pwm-regulator-config
  103. [    0.124670] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vccsys[0]'
  104. [    0.125438] of_get_named_gpiod_flags: parsed 'gpio' property of node '/vcc-4g[0]' - status (0)
  105. [    0.126036] of_get_named_gpiod_flags: parsed 'gpio' property of node '/vcc5v0-usb2-host-regulator[0]' - status (0)
  106. [    0.126614] of_get_named_gpiod_flags: parsed 'gpio' property of node '/otg-vbus-regulator[0]' - status (0)
  107. [    0.127153] of_get_named_gpiod_flags: parsed 'gpio' property of node '/gpio-fan[0]' - status (0)
  108. [    0.127643] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vdd-logic[0]'
  109. [    0.128734] rk_iommu ffb00f00.iommu: version = 1
  110. [    0.129528] rk_iommu ffb20800.iommu: version = 1
  111. [    0.130025] rk_iommu ffb60e00.iommu: version = 1
  112. [    0.130619] rk_iommu ffb80480.iommu: version = 1
  113. [    0.131055] rk_iommu ffb90800.iommu: version = 1
  114. [    0.131471] rk_iommu ffbb0f00.iommu: version = 1
  115. [    0.132588] SCSI subsystem initialized
  116. [    0.132934] usbcore: registered new interface driver usbfs
  117. [    0.133040] usbcore: registered new interface driver hub
  118. [    0.133179] usbcore: registered new device driver usb
  119. [    0.133303] media: Linux media interface: v0.10
  120. [    0.133384] videodev: Linux video capture interface: v2.00
  121. [    0.133460] pps_core: LinuxPPS API ver. 1 registered
  122. [    0.133486] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
  123. [    0.133534] PTP clock support registered
  124. [    0.135244] Advanced Linux Sound Architecture Driver Initialized.
  125. [    0.136044] Bluetooth: Core ver 2.22
  126. [    0.136135] NET: Registered protocol family 31
  127. [    0.136161] Bluetooth: HCI device and connection manager initialized
  128. [    0.136194] Bluetooth: HCI socket layer initialized
  129. [    0.136223] Bluetooth: L2CAP socket layer initialized
  130. [    0.136287] Bluetooth: SCO socket layer initialized
  131. [    0.136830] rockchip-cpuinfo cpuinfo: SoC            : 11260000
  132. [    0.136875] rockchip-cpuinfo cpuinfo: Serial         : e9c931a80a18cc06
  133. [    0.138116] clocksource: Switched to clocksource arch_sys_counter
  134. [    0.140924] NET: Registered protocol family 2
  135. [    0.141911] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
  136. [    0.141978] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
  137. [    0.142144] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
  138. [    0.142351] TCP: Hash tables configured (established 8192 bind 8192)
  139. [    0.142522] UDP hash table entries: 512 (order: 2, 16384 bytes)
  140. [    0.142607] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
  141. [    0.142883] NET: Registered protocol family 1
  142. [    0.145192] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
  143. [    0.147993] Initialise system trusted keyrings
  144. [    0.148351] workingset: timestamp_bits=29 max_order=19 bucket_order=0
  145. [    0.156171] squashfs: version 4.0 (2009/01/31) Phillip Lougher
  146. [    0.159109] Key type asymmetric registered
  147. [    0.159156] Asymmetric key parser 'x509' registered
  148. [    0.159239] bounce: pool size: 64 pages
  149. [    0.159330] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
  150. [    0.159361] io scheduler noop registered
  151. [    0.159383] io scheduler deadline registered
  152. [    0.159591] io scheduler cfq registered (default)
  153. [    0.159623] io scheduler mq-deadline registered
  154. [    0.159646] io scheduler kyber registered
  155. [    0.159814] io scheduler bfq registered
  156. [    0.163226] rockchip-usb2phy-naneng ff4c0000.usb2-phy: GPIO lookup for consumer vup
  157. [    0.163241] rockchip-usb2phy-naneng ff4c0000.usb2-phy: using device tree for GPIO lookup
  158. [    0.163270] of_get_named_gpiod_flags: can't parse 'vup-gpios' property of node '/usb2-phy@ff4c0000[0]'
  159. [    0.163292] of_get_named_gpiod_flags: can't parse 'vup-gpio' property of node '/usb2-phy@ff4c0000[0]'
  160. [    0.163306] rockchip-usb2phy-naneng ff4c0000.usb2-phy: using lookup tables for GPIO lookup
  161. [    0.163317] rockchip-usb2phy-naneng ff4c0000.usb2-phy: No GPIO consumer vup found
  162. [    0.164253] phy phy-ff4c0000.usb2-phy.1: Linked as a consumer to regulator.4
  163. [    0.166211] rockchip-usb2phy-naneng ff4c8000.usb2-phy: GPIO lookup for consumer vup
  164. [    0.166225] rockchip-usb2phy-naneng ff4c8000.usb2-phy: using device tree for GPIO lookup
  165. [    0.166253] of_get_named_gpiod_flags: can't parse 'vup-gpios' property of node '/usb2-phy@ff4c8000[0]'
  166. [    0.166274] of_get_named_gpiod_flags: can't parse 'vup-gpio' property of node '/usb2-phy@ff4c8000[0]'
  167. [    0.166287] rockchip-usb2phy-naneng ff4c8000.usb2-phy: using lookup tables for GPIO lookup
  168. [    0.166298] rockchip-usb2phy-naneng ff4c8000.usb2-phy: No GPIO consumer vup found
  169. [    0.166501] phy phy-ff4c8000.usb2-phy.2: Linked as a consumer to regulator.3
  170. [    0.170483] pwm-backlight backlight: GPIO lookup for consumer enable
  171. [    0.170498] pwm-backlight backlight: using device tree for GPIO lookup
  172. [    0.170543] of_get_named_gpiod_flags: parsed 'enable-gpios' property of node '/backlight[0]' - status (0)
  173. [    0.170573] gpio gpiochip1: Persistence not supported for GPIO 3
  174. [    0.170578] no flags found for enable
  175. [    0.170610] pwm-backlight backlight: backlight supply power not found, using dummy regulator
  176. [    0.170760] pwm-backlight backlight: Linked as a consumer to regulator.0
  177. [    0.171186] mpp_service mpp-srv: 92c80dd author: Yandong Lin 2021-08-10 video: rockchip: mpp: workaround patch for rv1126 iommu issue
  178. [    0.171224] mpp_service mpp-srv: probe start
  179. [    0.172345] iommu: Adding device ffb80000.rkvdec to group 3
  180. [    0.172410] mpp_rkvdec ffb80000.rkvdec: Linked as a consumer to ffb80480.iommu
  181. [    0.172621] mpp_rkvdec ffb80000.rkvdec: probing start
  182. [    0.173332] mpp_rkvdec ffb80000.rkvdec: shared_niu_a is not found!
  183. [    0.173371] rkvdec_init:1190: No niu aclk reset resource define
  184. [    0.173401] mpp_rkvdec ffb80000.rkvdec: shared_niu_h is not found!
  185. [    0.173425] rkvdec_init:1193: No niu hclk reset resource define
  186. [    0.173777] mpp_rkvdec ffb80000.rkvdec: probing finish
  187. [    0.174643] iommu: Adding device ffbb0000.rkvenc to group 5
  188. [    0.174708] mpp_rkvenc ffbb0000.rkvenc: Linked as a consumer to ffbb0f00.iommu
  189. [    0.175092] mpp_rkvenc ffbb0000.rkvenc: probing start
  190. [    0.175770] mpp_rkvenc ffbb0000.rkvenc: venc regulator not ready, retry
  191. [    0.175797] rkvenc_init:1202: failed to add venc devfreq
  192. [    0.176986] iommu: Adding device ffb90400.vdpu to group 4
  193. [    0.177051] mpp_vdpu2 ffb90400.vdpu: Linked as a consumer to ffb90800.iommu
  194. [    0.177171] mpp_vdpu2 ffb90400.vdpu: probe device
  195. [    0.177710] mpp_vdpu2 ffb90400.vdpu: reset_group->rw_sem_on=0
  196. [    0.177766] mpp_vdpu2 ffb90400.vdpu: reset_group->rw_sem_on=0
  197. [    0.178059] mpp_vdpu2 ffb90400.vdpu: probing finish
  198. [    0.178838] iommu: Adding device ffb90000.vepu to group 4
  199. [    0.178902] mpp_vepu2 ffb90000.vepu: Linked as a consumer to ffb90800.iommu
  200. [    0.179040] mpp_vepu2 ffb90000.vepu: probe device
  201. [    0.179633] mpp_vepu2 ffb90000.vepu: reset_group->rw_sem_on=0
  202. [    0.179684] mpp_vepu2 ffb90000.vepu: reset_group->rw_sem_on=0
  203. [    0.179939] mpp_vepu2 ffb90000.vepu: probing finish
  204. [    0.180525] iommu: Adding device ffb20000.iep to group 1
  205. [    0.180588] mpp-iep2 ffb20000.iep: Linked as a consumer to ffb20800.iommu
  206. [    0.180706] mpp-iep2 ffb20000.iep: probe device
  207. [    0.181513] mpp-iep2 ffb20000.iep: allocate roi buffer failed
  208. [    0.181739] mpp-iep2 ffb20000.iep: probing finish
  209. [    0.182034] mpp_service mpp-srv: probe success
  210. [    0.187490] dma-pl330 ff4e0000.dma-controller: Loaded driver for PL330 DMAC-241330
  211. [    0.187546] dma-pl330 ff4e0000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16
  212. [    0.189799] rockchip-system-monitor rockchip-system-monitor: system monitor probe
  213. [    0.190809] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
  214. [    0.191809] ff410000.serial: ttyS1 at MMIO 0xff410000 (irq = 30, base_baud = 1500000) is a 16550A
  215. [    0.192667] ff560000.serial: ttyS0 at MMIO 0xff560000 (irq = 33, base_baud = 1500000) is a 16550A
  216. [    0.193502] ff580000.serial: ttyS3 at MMIO 0xff580000 (irq = 34, base_baud = 1500000) is a 16550A
  217. [    0.194235] ff590000.serial: ttyS4 at MMIO 0xff590000 (irq = 35, base_baud = 1500000) is a 16550A
  218. [    0.196494] random: fast init done
  219. [    0.196892] random: crng init done
  220. [    0.197461] iommu: Adding device ffb00000.vop to group 0
  221. [    0.197528] rockchip-vop ffb00000.vop: Linked as a consumer to ffb00f00.iommu
  222. [    0.201886] rockchip-drm display-subsystem: Linked as a consumer to ffb00000.vop
  223. [    0.203016] rockchip-drm display-subsystem: Linked as a consumer to ffb30000.dsi
  224. [    0.204426] rockchip-drm display-subsystem: devfreq is not set
  225. [    0.205012] rockchip-drm display-subsystem: bound ffb00000.vop (ops 0xb0a3e080)
  226. [    0.205099] dw-mipi-dsi ffb30000.dsi: [drm:dw_mipi_dsi_bind] *ERROR* Failed to find panel or bridge: -517
  227. [    0.205140] rockchip-drm display-subsystem: failed to bind ffb30000.dsi (ops 0xb0a447ac): -517
  228. [    0.205435] rockchip-drm display-subsystem: master bind failed: -517
  229. [    0.211012] panel-simple-dsi ffb30000.dsi.0: ffb30000.dsi.0 supply power not found, using dummy regulator
  230. [    0.211211] panel-simple-dsi ffb30000.dsi.0: Linked as a consumer to regulator.0
  231. [    0.211272] panel-simple-dsi ffb30000.dsi.0: ffb30000.dsi.0 supply vsp not found, using dummy regulator
  232. [    0.211383] panel-simple-dsi ffb30000.dsi.0: ffb30000.dsi.0 supply vsn not found, using dummy regulator
  233. [    0.211528] panel-simple-dsi ffb30000.dsi.0: GPIO lookup for consumer enable
  234. [    0.211539] panel-simple-dsi ffb30000.dsi.0: using device tree for GPIO lookup
  235. [    0.211591] of_get_named_gpiod_flags: parsed 'enable-gpios' property of node '/dsi@ffb30000/panel@0[0]' - status (0)
  236. [    0.211619] gpio gpiochip0: Persistence not supported for GPIO 30
  237. [    0.211625] no flags found for enable
  238. [    0.211637] panel-simple-dsi ffb30000.dsi.0: GPIO lookup for consumer reset
  239. [    0.211646] panel-simple-dsi ffb30000.dsi.0: using device tree for GPIO lookup
  240. [    0.211679] of_get_rsed 'reset-gpios' property of node '/dsi@ffb30000/panel@0[0]' - status (0)
  241. [    0.211698] gpio gpiochip1: Persistence not supported for GPIO 2
  242. [    0.211703] no flags found for reset
  243. [    0.220191] loop: module loaded
  244. [    0.220932] zram: Added device: zram0
  245. [    0.223556] mdio_bus fixed-0: GPIO lookup for consumer reset
  246. [    0.223570] mdio_bus fixed-0: using lookup tables for GPIO lookup
  247. [    0.223581] mdio_bus fixed-0: No GPIO consumer reset found
  248. [    0.223620] libphy: Fixed MDIO Bus: probed
  249. [    0.225809] rk_gmac-dwmac ffc40000.ethernet: no regulator found
  250. [    0.225868] rk_gmac-dwmac ffc40000.ethernet: clock input or output? (output).
  251. [    0.225893] rk_gmac-dwmac ffc40000.ethernet: TX delay(0x2a).
  252. [    0.225922] rk_gmac-dwmac ffc40000.ethernet: RX delay(0x1a).
  253. [    0.225956] rk_gmac-dwmac ffc40000.ethernet: integrated PHY? (no).
  254. [    0.231082] rk_gmac-dwmac ffc40000.ethernet: init for RGMII
  255. [    0.231421] rk_gmac-dwmac ffc40000.ethernet: User ID: 0x30, Synopsys ID: 0x51
  256. [    0.231501] rk_gmac-dwmac ffc40000.ethernet:         DWMAC4/5
  257. [    0.231531] rk_gmac-dwmac ffc40000.ethernet: DMA HW capability register supported
  258. [    0.231557] rk_gmac-dwmac ffc40000.ethernet: RX Checksum Offload Engine supported
  259. [    0.231582] rk_gmac-dwmac ffc40000.ethernet: TX Checksum insertion supported
  260. [    0.231606] rk_gmac-dwmac ffc40000.ethernet: Wake-Up On Lan supported
  261. [    0.231676] rk_gmac-dwmac ffc40000.ethernet: TSO supported
  262. [    0.231704] rk_gmac-dwmac ffc40000.ethernet: Enable RX Mitigation via HW Watchdog Timer
  263. [    0.231732] rk_gmac-dwmac ffc40000.ethernet: TSO feature enabled
  264. [    0.231944] mdio_bus stmmac-0: GPIO lookup for consumer reset
  265. [    0.231954] mdio_bus stmmac-0: using device tree for GPIO lookup
  266. [    0.231984] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ethernet@ffc40000/mdio[0]'
  267. [    0.232005] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ethernet@ffc40000/mdio[0]'
  268. [    0.232020] mdio_bus stmmac-0: using lookup tables for GPIO lookup
  269. [    0.232031] mdio_bus stmmac-0: No GPIO consumer reset found
  270. [    0.232067] of_get_named_gpiod_flags: parsed 'snps,reset-gpio' property of node '/ethernet@ffc40000[0]' - status (0)
  271. [    0.364876] libphy: stmmac: probed
  272. [    0.365695] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ethernet@ffc40000/mdio/phy@0[0]'
  273. [    0.367057] PPP generic driver version 2.4.2
  274. [    0.367372] PPP BSD Compression module registered
  275. [    0.367405] PPP Deflate Compression module registered
  276. [    0.367448] PPP MPPE Compression module registered
  277. [    0.367473] NET: Registered protocol family 24
  278. [    0.367615] usbcore: registered new interface driver r8152
  279. [    0.367715] usbcore: registered new interface driver asix
  280. [    0.367806] usbcore: registered new interface driver ax88179_178a
  281. [    0.367880] usbcore: registered new interface driver cdc_ether
  282. [    0.367954] usbcore: registered new interface driver net1080
  283. [    0.368028] usbcore: registered new interface driver cdc_subset
  284. [    0.368182] usbcore: registered new interface driver zaurus
  285. [    0.368309] usbcore: registered new interface driver cdc_ncm
  286. [    0.368391] usbcore: registered new interface driver qmi_wwan
  287. [    0.370352] dwc3 ffd00000.dwc3: Failed to get clk 'ref': -2
  288. [    0.377127] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  289. [    0.377186] ehci-platform: EHCI generic platform driver
  290. [    0.380874] ehci-platform ffe00000.usb: EHCI Host Controller
  291. [    0.380956] ehci-platform ffe00000.usb: new USB bus registered, assigned bus number 1
  292. [    0.381187] ehci-platform ffe00000.usb: irq 70, io mem 0xffe00000
  293. [    0.391535] ehci-platform ffe00000.usb: USB 2.0 started, EHCI 1.00
  294. [    0.391871] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
  295. [    0.391907] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
  296. [    0.391934] usb usb1: Product: EHCI Host Controller
  297. [    0.391960] usb usb1: Manufacturer: Linux 4.19.111 ehci_hcd
  298. [    0.391990] usb usb1: SerialNumber: ffe00000.usb
  299. [    0.392860] hub 1-0:1.0: USB hub found
  300. [    0.392943] hub 1-0:1.0: 1 port detected
  301. [    0.393795] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
  302. [    0.393849] ohci-platform: OHCI generic platform driver
  303. [    0.394564] ohci-platform ffe10000.usb: Generic Platform OHCI controller
  304. [    0.394628] ohci-platform ffe10000.usb: new USB bus registered, assigned bus number 2
  305. [    0.394942] ohci-platform ffe10000.usb: irq 71, io mem 0xffe10000
  306. [    0.455840] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 4.19
  307. [    0.455897] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
  308. [    0.455919] usb usb2: Product: Generic Platform OHCI controller
  309. [    0.455963] usb usb2: Manufacturer: Linux 4.19.111 ohci_hcd
  310. [    0.455990] usb usb2: SerialNumber: ffe10000.usb
  311. [    0.456879] hub 2-0:1.0: USB hub found
  312. [    0.456955] hub 2-0:1.0: 1 port detected
  313. [    0.458852] usbcore: registered new interface driver cdc_wdm
  314. [    0.459030] usbcore: registered new interface driver usb-storage
  315. [    0.459209] usbcore: registered new interface driver option
  316. [    0.459277] usbserial: USB Serial support registered for GSM modem (1-port)
  317. [    0.460473] i2c /dev entries driver
  318. [    0.462640] rk808 0-0020: chip id: 0x8090
  319. [    0.462758] rk808 0-0020: No cache defaults, reading back from HW
  320. [    0.469203] rk808 0-0020: source: on=0x40, off=0x00
  321. [    0.469258] rk808 0-0020: support dcdc3 fb mode:-22, -1329979440
  322. [    0.469284] rk808 0-0020: support pmic reset mode:0,0
  323. [    0.469695] gpiochip_find_base: found new base at 511
  324. [    0.469972] gpio gpiochip5: (rk817-gpio): added GPIO chardev (254:5)
  325. [    0.470112] gpiochip_setup_dev: registered GPIOs 511 to 511 on device: gpiochip5 (rk817-gpio)
  326. [    0.470273] gpio gpiochip5: (rk817-gpio): created GPIO range 0->0 ==> rk805-pinctrl PIN 0->0
  327. [    0.473692] rk808 0-0020: GPIO lookup for consumer dvs
  328. [    0.473708] rk808 0-0020: using device tree for GPIO lookup
  329. [    0.473743] of_get_named_gpiod_flags: can't parse 'dvs-gpios' property of node '/i2c@ff3f0000/pmic@20[0]'
  330. [    0.473766] of_get_named_gpiod_flags: can't parse 'dvs-gpio' property of node '/i2c@ff3f0000/pmic@20[0]'
  331. [    0.473780] rk808 0-0020: using lookup tables for GPIO lookup
  332. [    0.473791] rk808 0-0020: No GPIO consumer dvs found
  333. [    0.473803] rk808-regulator rk808-regulator: there is no dvs0 gpio
  334. [    0.473856] rk808 0-0020: GPIO lookup for consumer dvs
  335. [    0.473864] rk808 0-0020: using device tree for GPIO lookup
  336. [    0.473888] of_get_named_gpiod_flags: can't parse 'dvs-gpios' property of node '/i2c@ff3f0000/pmic@20[1]'
  337. [    0.473908] of_get_named_gpiod_flags: can't parse 'dvs-gpio' property of node '/i2c@ff3f0000/pmic@20[1]'
  338. [    0.473920] rk808 0-0020: using lookup tables for GPIO lookup
  339. [    0.473929] rk808 0-0020: No GPIO consumer dvs found
  340. [    0.473939] rk808-regulator rk808-regulator: there is no dvs1 gpio
  341. [    0.474051] DCDC_REG1: supplied by vcc5v0_sys
  342. [    0.474626] DCDC_REG2: supplied by vcc5v0_sys
  343. [    0.475229] DCDC_REG3: supplied by vcc5v0_sys
  344. [    0.475800] DCDC_REG4: supplied by vcc5v0_sys
  345. [    0.476345] DCDC_REG5: supplied by vcc5v0_sys
  346. [    0.476849] LDO_REG1: supplied by vcc_buck5
  347. [    0.477378] LDO_REG2: supplied by vcc_buck5
  348. [    0.477894] LDO_REG3: supplied by vcc_buck5
  349. [    0.478443] LDO_REG4: supplied by vcc_buck5
  350. [    0.479010] LDO_REG5: supplied by vcc_buck5
  351. [    0.479523] LDO_REG6: supplied by vcc_buck5
  352. [    0.480048] LDO_REG7: supplied by vcc5v0_sys
  353. [    0.480571] LDO_REG8: supplied by vcc5v0_sys
  354. [    0.481120] LDO_REG9: supplied by vcc5v0_sys
  355. [    0.481668] SWITCH_REG1: supplied by vcc5v0_sys
  356. [    0.482171] SWITCH_REG2: supplied by vcc3v3_sys
  357. [    0.484609] input: rk805 pwrkey as /devices/platform/ff3f0000.i2c/i2c-0/0-0020/rk805-pwrkey/input/input0
  358. [    0.487864] rk808-rtc rk808-rtc: registered as rtc0
  359. [    0.488504] rk808-rtc rk808-rtc: setting system clock to 2022-04-18 09:40:32 UTC (1650274832)
  360. [    0.490861] pca953x 1-0020: GPIO lookup for consumer reset
  361. [    0.490873] pca953x 1-0020: using device tree for GPIO lookup
  362. [    0.490903] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/i2c@ff510000/i2c1gpio@27[0]'
  363. [    0.490925] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/i2c@ff510000/i2c1gpio@27[0]'
  364. [    0.490938] pca953x 1-0020: using lookup tables for GPIO lookup
  365. [    0.490950] pca953x 1-0020: No GPIO consumer reset found
  366. [    0.490996] pca953x 1-0020: 1-0020 supply vcc not found, using dummy regulator
  367. [    0.491137] pca953x 1-0020: Linked as a consumer to regulator.0
  368. [    0.491352] pca953x 1-0020: failed reading register
  369. [    0.491522] pca953x 1-0020: Dropping the link to regulator.0
  370. [    0.500972] of_get_named_gpiod_flags: parsed 'himax,irq-gpio' property of node '/i2c@ff510000/hxchipset@48[0]' - status (0)
  371. [    0.501006] of_get_named_gpiod_flags: parsed 'himax,rst-gpio' property of node '/i2c@ff510000/hxchipset@48[0]' - status (0)
  372. [    0.501029] of_get_named_gpiod_flags: can't parse 'himax,3v3-gpio' property of node '/i2c@ff510000/hxchipset@48[0]'
  373. [    0.588790] himax_tp: probe of 1-0048 failed with error -9
  374. [    0.589166] rockchip-pinctrl pinctrl: pin gpio3-0 already requested by ff580000.serial; cannot claim for ff530000.i2c
  375. [    0.589204] rockchip-pinctrl pinctrl: pin-96 (ff530000.i2c) status -22
  376. [    0.589236] rockchip-pinctrl pinctrl: could not request pin 96 (gpio3-0) from group i2c4m0-xfer  on device rockchip-pinctrl
  377. [    0.589262] rk3x-i2c ff530000.i2c: Error applying setting, reverse things back
  378. [    0.589304] rk3x-i2c: probe of ff530000.i2c failed with error -22
  379. [    0.590350] ircut cam_ircut: driver version: 00.01.00
  380. [    0.590660] ircut cam_ircut: failed get pulse-width,use dafult value 100
  381. [    0.590698] ircut cam_ircut: GPIO lookup for consumer ircut-open
  382. [    0.590707] ircut cam_ircut: using device tree for GPIO lookup
  383. [    0.590743] ircut cam_ircut: No GPIO consumer ircut-open found
  384. [    0.590753] ircut cam_ircut: Failed to get ircut-open-gpios
  385. [    0.590783] ircut cam_ircut: GPIO lookup for consumer ircut-close
  386. [    0.590792] ircut cam_ircut: using device tree for GPIO lookup
  387. [    0.590820] ircut cam_ircut: No GPIO consumer ircut-close found
  388. [    0.590830] ircut cam_ircut: Failed to get ircut-close-gpios
  389. [    0.590853] ircut cam_ircut: GPIO lookup for consumer led
  390. [    0.590862] ircut cam_ircut: using device tree for GPIO lookup
  391. [    0.590887] of_get_named_gpiod_flags: can't parse 'led-gpios' property of node '/cam_ircut[0]'
  392. [    0.590907] of_get_named_gpiod_flags: can't parse 'led-gpio' property of node '/cam_ircut[0]'
  393. [    0.590921] ircut cam_ircut: using lookup tables for GPIO lookup
  394. [    0.590932] ircut cam_ircut: No GPIO consumer led found
  395. [    0.590960] ircut cam_ircut: probe successful!
  396. [    0.591984] rockchip-mipi-csi2: probe success, v4l2_dev:(null)!
  397. [    0.593493] rkcifhw ffae0000.rkcif: no iommu attached, using non-iommu buffers
  398. [    0.593561] rkcifhw ffae0000.rkcif: assigned reserved memory node isp
  399. [    0.593716] rkcif rkcif_dvp: rkcif driver version: v00.01.0a
  400. [    0.593822] rkcif rkcif_dvp: attach to cif hw node
  401. [    0.593846] rkcif rkcif_dvp: rkcif wait line 0
  402. [    0.595132] rkcif_dvp: cif_subdev_notifier: no subdev be found!
  403. [    0.595159] rkcif_dvp: Failed to register subdev notifier(-19)
  404. [    0.596193] rkcif rkcif_dvp: detach to cif hw node
  405. [    0.596336] rkcif rkcif_mipi_lvds: rkcif driver version: v00.01.0a
  406. [    0.596449] rkcif rkcif_mipi_lvds: attach to cif hw node
  407. [    0.596480] rkcif rkcif_mipi_lvds: rkcif wait line 0
  408. [    0.597665] rkcif rkcif_mipi_lvds: Entity type for entity rockchip-mipi-csi2 was not initialized!
  409. [    0.597703] rockchip-mipi-csi2: Async registered subdev
  410. [    0.600364] rkisp_hw ffb50000.rkisp: is_thunderboot: 0
  411. [    0.600412] rkisp_hw ffb50000.rkisp: Missing rockchip,grf property
  412. [    0.600765] rkisp_hw ffb50000.rkisp: iommu is disabled, using non-iommu buffers
  413. [    0.600820] rkisp_hw ffb50000.rkisp: assigned reserved memory node isp
  414. [    0.601180] rkisp rkisp-vir0: rkisp driver version: v01.06.02
  415. [    0.601292] rkisp rkisp-vir0: GPIO lookup for consumer vsirq
  416. [    0.601302] rkisp rkisp-vir0: using device tree for GPIO lookup
  417. [    0.601332] of_get_named_gpiod_flags: can't parse 'vsirq-gpios' property of node '/rkisp-vir0[0]'
  418. [    0.601352] of_get_named_gpiod_flags: can't parse 'vsirq-gpio' property of node '/rkisp-vir0[0]'
  419. [    0.601366] rkisp rkisp-vir0: using lookup tables for GPIO lookup
  420. [    0.601377] rkisp rkisp-vir0: No GPIO consumer vsirq found
  421. [    0.601489] rkisp rkisp-vir0: No memory-region-thunderboot specified
  422. [    0.601799] rkisp rkisp-vir0: Entity type for entity rkisp-isp-subdev was not initialized!
  423. [    0.601841] rkisp rkisp-vir0: Entity type for entity rkisp-csi-subdev was not initialized!
  424. [    0.601877] rkisp rkisp-vir0: Entity type for entity rkisp-bridge-ispp was not initialized!
  425. [    0.605975] iommu: Adding device ffb60000.rkispp to group 2
  426. [    0.606054] rkispp_hw ffb60000.rkispp: Linked as a consumer to ffb60e00.iommu
  427. [    0.606519] rkispp_hw ffb60000.rkispp: max input:3840x2160@30fps
  428. [    0.606574] rkispp_hw ffb60000.rkispp: can't request region for resource [mem 0xffb60000-0xffb7ffff]
  429. [    0.606867] rkispp_hw ffb60000.rkispp: failed to get cru reset
  430. [    0.607197] rkispp rkispp-vir0: rkispp driver version: v01.06.02
  431. [    0.609775] rkispp rkispp-vir2: rkispp driver version: v01.06.02
  432. [    0.612736] usbcore: registered new interface driver uvcvideo
  433. [    0.612778] USB Video Class driver (1.1.1)
  434. [    0.613348] rockchip-iodomain fe020000.syscon:io-domains: Linked as a consumer to regulator.19
  435. [    0.613420] rockchip-iodomain fe020000.syscon:io-domains: vccio2(3300000 uV) supplied by vccio_sd
  436. [    0.613555] rockchip-iodomain fe020000.syscon:io-domains: Linked as a consumer to regulator.15
  437. [    0.613614] rockchip-iodomain fe020000.syscon:io-domains: vccio3(1800000 uV) supplied by vcc_1v8
  438. [    0.613765] rockchip-iodomain fe020000.syscon:io-domains: vccio4(1800000 uV) supplied by vcc_1v8
  439. [    0.613937] rockchip-iodomain fe020000.syscon:io-domains: Linked as a consumer to regulator.22
  440. [    0.614007] rockchip-iodomain fe020000.syscon:io-domains: vccio5(3300000 uV) supplied by vcc_3v3
  441. [    0.614163] rockchip-iodomain fe020000.syscon:io-domains: vccio6(3300000 uV) supplied by vcc_3v3
  442. [    0.614309] rockchip-iodomain fe020000.syscon:io-domains: vccio7(1800000 uV) supplied by vcc_1v8
  443. [    0.614459] rockchip-iodomain fe020000.syscon:io-domains: Linked as a consumer to regulator.13
  444. [    0.614506] rockchip-iodomain fe020000.syscon:io-domains: pmuio0(1800000 uV) supplied by vcc1v8_pmu
  445. [    0.614655] rockchip-iodomain fe020000.syscon:io-domains: Linked as a consumer to regulator.10
  446. [    0.614710] rockchip-iodomain fe020000.syscon:io-domains: pmuio1(3300000 uV) supplied by vcc3v3_sys
  447. [    0.618313] rockchip-thermal ff5f0000.tsadc: tsadc trimmed value = -10
  448. [    0.618729] rockchip-thermal ff5f0000.tsadc: tsadc is probed successfully!
  449. [    0.619252] rockchip-thermal ff5f8000.tsadc: tsadc trimmed value = -9
  450. [    0.619559] rockchip-thermal ff5f8000.tsadc: tsadc is probed successfully!
  451. [    0.620627] Bluetooth: HCI UART driver ver 2.3
  452. [    0.620653] Bluetooth: HCI UART protocol H4 registered
  453. [    0.621030] cpu cpu0: bin=0
  454. [    0.621093] cpu cpu0: leakage=1.875
  455. [    0.621266] cpu cpu0: Linked as a consumer to regulator.8
  456. [    0.633233] cpu cpu0: temp=44300, pvtm=100965 (100874 + 91)
  457. [    0.633577] cpu cpu0: pvtm-volt-sel=1
  458. [    0.633697] cpu cpu0: Dropping the link to regulator.8
  459. [    0.633779] cpu cpu0: bin-scale=5
  460. [    0.634310] cpu cpu0: Linked as a consumer to regulator.8
  461. [    0.634408] cpu cpu0: Dropping the link to regulator.8
  462. [    0.634671] cpu cpu0: Linked as a consumer to regulator.8
  463. [    0.636065] cpu cpu0: avs=0
  464. [    0.636519] energy_model: Created perf domain 0-3
  465. [    0.636582] cpu cpu0: l=-2147483648 h=2147483647 hyst=0 l_limit=0 h_limit=0 h_table=0
  466. [    0.636633] cpu cpu0: failed to read out thermal zone (-22)
  467. [    0.637469] cpu cpu0: failed to find power_model node
  468. [    0.637562] cpuidle: enable-method property 'psci' found operations
  469. [    0.637682] cpuidle: enable-method property 'psci' found operations
  470. [    0.637765] cpuidle: enable-method property 'psci' found operations
  471. [    0.637840] cpuidle: enable-method property 'psci' found operations
  472. [    0.638475] pwrseq_simple sdio-pwrseq: GPIO lookup for consumer reset
  473. [    0.638484] pwrseq_simple sdio-pwrseq: using device tree for GPIO lookup
  474. [    0.638512] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/sdio-pwrseq[0]' - status (0)
  475. [    0.638529] gpio gpiochip0: Persistence not supported for GPIO 6
  476. [    0.638923] Synopsys Designware Multimedia Card Interface Driver
  477. [    0.639436] dwmmc_rockchip ffc50000.dwmmc: IDMAC supports 32-bit address mode.
  478. [    0.639487] dwmmc_rockchip ffc50000.dwmmc: Using internal DMA controller.
  479. [    0.639508] dwmmc_rockchip ffc50000.dwmmc: Version ID is 270a
  480. [    0.639574] dwmmc_rockchip ffc50000.dwmmc: DW MMC controller at irq 65,32 bit host data width,256 deep fifo
  481. [    0.639636] dwmmc_rockchip ffc50000.dwmmc: GPIO lookup for consumer wp
  482. [    0.639640] dwmmc_rockchip ffc50000.dwmmc: using device tree for GPIO lookup
  483. [    0.639650] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/dwmmc@ffc50000[0]'
  484. [    0.639658] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/dwmmc@ffc50000[0]'
  485. [    0.639665] dwmmc_rockchip ffc50000.dwmmc: using lookup tables for GPIO lookup
  486. [    0.639670] dwmmc_rockchip ffc50000.dwmmc: No GPIO consumer wp found
  487. [    0.639697] mmc_host mmc0: card is non-removable.
  488. [    0.652566] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
  489. [    0.666096] dwmmc_rockchip ffc60000.dwmmc: IDMAC supports 32-bit address mode.
  490. [    0.666183] dwmmc_rockchip ffc60000.dwmmc: Using internal DMA controller.
  491. [    0.666204] dwmmc_rockchip ffc60000.dwmmc: Version ID is 270a
  492. [    0.666261] dwmmc_rockchip ffc60000.dwmmc: DW MMC controller at irq 66,32 bit host data width,256 deep fifo
  493. [    0.666384] dwmmc_rockchip ffc60000.dwmmc: Linked as a consumer to regulator.20
  494. [    0.666459] dwmmc_rockchip ffc60000.dwmmc: Linked as a consumer to regulator.19
  495. [    0.666501] dwmmc_rockchip ffc60000.dwmmc: GPIO lookup for consumer cd
  496. [    0.666505] dwmmc_rockchip ffc60000.dwmmc: using device tree for GPIO lookup
  497. [    0.666521] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/dwmmc@ffc60000[0]'
  498. [    0.666530] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/dwmmc@ffc60000[0]'
  499. [    0.666537] dwmmc_rockchip ffc60000.dwmmc: using lookup tables for GPIO lookup
  500. [    0.666542] dwmmc_rockchip ffc60000.dwmmc: No GPIO consumer cd found
  501. [    0.666548] dwmmc_rockchip ffc60000.dwmmc: GPIO lookup for consumer wp
  502. [    0.666552] dwmmc_rockchip ffc60000.dwmmc: using device tree for GPIO lookup
  503. [    0.666560] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/dwmmc@ffc60000[0]'
  504. [    0.666601] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/dwmmc@ffc60000[0]'
  505. [    0.666607] dwmmc_rockchip ffc60000.dwmmc: using lookup tables for GPIO lookup
  506. [    0.666611] dwmmc_rockchip ffc60000.dwmmc: No GPIO consumer wp found
  507. [    0.678673] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
  508. [    0.692426] dwmmc_rockchip ffc70000.dwmmc: IDMAC supports 32-bit address mode.
  509. [    0.692516] dwmmc_rockchip ffc70000.dwmmc: Using internal DMA controller.
  510. [    0.692540] dwmmc_rockchip ffc70000.dwmmc: Version ID is 270a
  511. [    0.692665] dwmmc_rockchip ffc70000.dwmmc: DW MMC controller at irq 67,32 bit host data width,256 deep fifo
  512. [    0.692854] dwmmc_rockchip ffc70000.dwmmc: GPIO lookup for consumer wp
  513. [    0.692860] dwmmc_rockchip ffc70000.dwmmc: using device tree for GPIO lookup
  514. [    0.692878] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/dwmmc@ffc70000[0]'
  515. [    0.692887] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/dwmmc@ffc70000[0]'
  516. [    0.692895] dwmmc_rockchip ffc70000.dwmmc: using lookup tables for GPIO lookup
  517. [    0.692900] dwmmc_rockchip ffc70000.dwmmc: No GPIO consumer wp found
  518. [    0.692929] dwmmc_rockchip ffc70000.dwmmc: allocated mmc-pwrseq
  519. [    0.692951] mmc_host mmc1: card is non-removable.
  520. [    0.697175] mmc_host mmc0: Bus speed (slot 0) = 198000000Hz (slot req 200000000Hz, actual 198000000HZ div = 0)
  521. [    0.697264] dwmmc_rockchip ffc50000.dwmmc: Successfully tuned phase to 90
  522. [    0.698598] mmc0: new HS200 MMC card at address 0001
  523. [    0.700177] mmcblk0: mmc0:0001 AJTD4R 14.6 GiB
  524. [    0.700938] mmcblk0boot0: mmc0:0001 AJTD4R partition 1 4.00 MiB
  525. [    0.702005] mmcblk0boot1: mmc0:0001 AJTD4R partition 2 4.00 MiB
  526. [    0.702611] mmcblk0rpmb: mmc0:0001 AJTD4R partition 3 4.00 MiB, chardev (241:0)
  527. [    0.704986] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
  528. [    0.709137]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9
  529. [    0.715134] Freeing initrd memory: 8948K
  530. [    0.718249] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/work[0]' - status (0)
  531. [    0.718281] gpio gpiochip0: Persistence not supported for GPIO 4
  532. [    0.718284] no flags found for gpios
  533. [    0.718481] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/user[0]' - status (0)
  534. [    0.718506] gpio gpiochip0: Persistence not supported for GPIO 16
  535. [    0.718510] no flags found for gpios
  536. [    0.719276] usbcore: registered new interface driver usbkbd
  537. [    0.719350] usbcore: registered new interface driver usbmouse
  538. [    0.720593] rockchip-saradc ff5e0000.saradc: Linked as a consumer to regulator.15
  539. [    0.721156] rksfc_base v1.1 2016-01-08
  540. [    0.721503] usb 1-1: new high-speed USB device number 2 using ehci-platform
  541. [    0.721608] rksfc ffc90000.sfc: rksfc_probe clk rate = 79200000
  542. [    0.721662] rkflash_dev_init enter
  543. [    0.721680] sfc nor id: 0 0 0
  544. [    0.721691] rkflash[1] is invalid
  545. [    0.721694] rkflash_dev_init enter
  546. [    0.721715] sfc_nand id: 0 0 0
  547. [    0.721723] rkflash[2] is invalid
  548. [    0.728573] rk817-codec rk817-codec: DMA mask not set
  549. [    0.728799] rk817_codec_parse_dt_property: rk809 have no io-channels defined
  550. [    0.728894] of_get_named_gpiod_flags: parsed 'hp-det' property of node '/i2c@ff3f0000/pmic@20/codec[0]' - status (0)
  551. [    0.728950] rk817-codec rk817-codec: GPIO lookup for consumer hp-ctl
  552. [    0.728958] rk817-codec rk817-codec: using device tree for GPIO lookup
  553. [    0.728987] of_get_named_gpiod_flags: parsed 'hp-ctl-gpios' property of node '/i2c@ff3f0000/pmic@20/codec[0]' - status (0)
  554. [    0.729014] gpio gpiochip1: Persistence not supported for GPIO 23
  555. [    0.729033] rk817-codec rk817-codec: GPIO lookup for consumer spk-ctl
  556. [    0.729039] rk817-codec rk817-codec: using device tree for GPIO lookup
  557. [    0.729073] of_get_named_gpiod_flags: parsed 'spk-ctl-gpios' property of node '/i2c@ff3f0000/pmic@20/codec[0]' - status (0)
  558. [    0.729096] gpio gpiochip3: Persistence not supported for GPIO 30
  559. [    0.734654] NET: Registered protocol family 17
  560. [    0.734698] NET: Registered protocol family 15
  561. [    0.735373] Bluetooth: RFCOMM TTY layer initialized
  562. [    0.735425] Bluetooth: RFCOMM socket layer initialized
  563. [    0.735472] Bluetooth: RFCOMM ver 1.11
  564. [    0.735514] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
  565. [    0.735544] Bluetooth: HIDP socket layer initialized
  566. [    0.735572] [BT_RFKILL]: Enter rfkill_rk_init
  567. [    0.735581] [WLAN_RFKILL]: Enter rfkill_wlan_init
  568. [    0.735912] [WLAN_RFKILL]: Enter rfkill_wlan_probe
  569. [    0.735967] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi_chip_type = ap6236
  570. [    0.735979] [WLAN_RFKILL]: wlan_platdata_parse_dt: enable wifi power control.
  571. [    0.735990] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi power controled by gpio.
  572. [    0.736014] of_get_named_gpiod_flags: can't parse 'WIFI,poweren_gpio' property of node '/wireless-wlan[0]'
  573. [    0.736022] of_get_named_gpiod_flags: can't parse 'WIFI,vbat_gpio' property of node '/wireless-wlan[0]'
  574. [    0.736031] of_get_named_gpiod_flags: can't parse 'WIFI,reset_gpio' property of node '/wireless-wlan[0]'
  575. [    0.736049] of_get_named_gpiod_flags: parsed 'WIFI,host_wake_irq' property of node '/wireless-wlan[0]' - status (0)
  576. [    0.736052] [WLAN_RFKILL]: wlan_platdata_parse_dt: WIFI,host_wake_irq = 8, flags = 0.
  577. [    0.736085] [WLAN_RFKILL]: rfkill_wlan_probe: init gpio
  578. [    0.736098] [WLAN_RFKILL]: Exit rfkill_wlan_probe
  579. [    0.736426] of_get_named_gpiod_flags: parsed 'uart_rts_gpios' property of node '/wireless-bluetooth[0]' - status (0)
  580. [    0.736430] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: uart_rts_gpios = 48.
  581. [    0.736457] of_get_named_gpiod_flags: parsed 'BT,power_gpio' property of node '/wireless-bluetooth[0]' - status (0)
  582. [    0.736460] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,power_gpio = 7.
  583. [    0.736477] of_get_named_gpiod_flags: can't parse 'BT,reset_gpio' property of node '/wireless-bluetooth[0]'
  584. [    0.736485] of_get_named_gpiod_flags: can't parse 'BT,wake_gpio' property of node '/wireless-bluetooth[0]'
  585. [    0.736498] of_get_named_gpiod_flags: parsed 'BT,wake_host_irq' property of node '/wireless-bluetooth[0]' - status (0)
  586. [    0.736501] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,wake_host_irq = 5.
  587. [    0.736510] [BT_RFKILL]: bluetooth_platdata_parse_dt: clk_get failed!!!.
  588. [    0.736556] [BT_RFKILL]: Request irq for bt wakeup host
  589. [    0.736674] [BT_RFKILL]: ** disable irq
  590. [    0.736779] [BT_RFKILL]: bt shut off power
  591. [    0.736830] [BT_RFKILL]: bt_default device registered.
  592. [    0.737061] flash vendor_init_thread!
  593. [    0.737077] flash vendor storage:20170308 ret = -1
  594. [    0.737772] imx415 1-001a: driver version: 00.01.06
  595. [    0.737808] imx415 1-001a:  Get hdr mode failed! no hdr default
  596. [    0.737829] imx415 1-001a: GPIO lookup for consumer reset
  597. [    0.737834] imx415 1-001a: using device tree for GPIO lookup
  598. [    0.737861] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/i2c@ff510000/imx415@1a[0]' - status (0)
  599. [    0.737879] gpio gpiochip4: Persistence not supported for GPIO 0
  600. [    0.737881] no flags found for reset
  601. [    0.737886] imx415 1-001a: GPIO lookup for consumer power
  602. [    0.737889] imx415 1-001a: using device tree for GPIO lookup
  603. [    0.737904] of_get_named_gpiod_flags: parsed 'power-gpios' property of node '/i2c@ff510000/imx415@1a[0]' - status (0)
  604. [    0.737913] gpio gpiochip1: Persistence not supported for GPIO 28
  605. [    0.737915] no flags found for power
  606. [    0.737956] imx415 1-001a: could not get sleep pinstate
  607. [    0.738064] imx415 1-001a: Linked as a consumer to regulator.17
  608. [    0.738148] imx415 1-001a: Linked as a consumer to regulator.15
  609. [    0.738201] imx415 1-001a: Linked as a consumer to regulator.18
  610. [    0.751227] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
  611. [    0.754418] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
  612. [    0.758253] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
  613. [    0.761567] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
  614. [    0.765684] mmc1: queuing unknown CIS tuple 0x81 (9 bytes)
  615. [    0.781212] vendor storage:20190527 ret = 0
  616. [    0.805710] imx415 1-001a: Detected imx415 id 0000e0
  617. [    0.805819] rockchip-mipi-dphy-rx ff4b0000.csi-dphy: match m01_f_imx415 1-001a:bus type 4
  618. [    0.809386] rkcif_mipi_lvds: Async subdev notifier completed
  619. [    0.811023] Registering SWP/SWPB emulation handler
  620. [    0.815543] Loading compiled-in X.509 certificates
  621. [    0.817493] rga2: Driver loaded successfully ver:3.2.56726
  622. [    0.817904] rga2: Module initialized.
  623. [    0.842305] mpp_rkvenc ffbb0000.rkvenc: probing start
  624. [    0.843118] mpp_rkvenc ffbb0000.rkvenc: Linked as a consumer to regulator.7
  625. [    0.843179] mpp_rkvenc ffbb0000.rkvenc: bin=0
  626. [    0.843203] mpp_rkvenc ffbb0000.rkvenc: leakage=1.750
  627. [    0.843250] mpp_rkvenc ffbb0000.rkvenc: Failed to get pvtm
  628. [    0.843277] mpp_rkvenc ffbb0000.rkvenc: bin-scale=37
  629. [    0.843559] mpp_rkvenc ffbb0000.rkvenc: avs=0
  630. [    0.843804] mpp_rkvenc ffbb0000.rkvenc: failed to find power_model node
  631. [    0.843820] mpp_rkvenc ffbb0000.rkvenc: failed to initialize power model
  632. [    0.843950] mpp_rkvenc ffbb0000.rkvenc: l=-2147483648 h=2147483647 hyst=0 l_limit=0 h_limit=0 h_table=0
  633. [    0.843973] mpp_rkvenc ffbb0000.rkvenc: failed to read out thermal zone (-22)
  634. [    0.844640] mpp_rkvenc ffbb0000.rkvenc: probing finish
  635. [    0.846554] rockchip-drm display-subsystem: devfreq is not set
  636. [    0.846832] rockchip-drm display-subsystem: bound ffb00000.vop (ops 0xb0a3e080)
  637. [    0.846886] rockchip-drm display-subsystem: bound ffb30000.dsi (ops 0xb0a447ac)
  638. [    0.846906] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
  639. [    0.846913] [drm] No driver support for vblank timestamp query.
  640. [    0.853328] [drm] Initialized rockchip 2.0.0 20140818 for display-subsystem on minor 0
  641. [    0.853801] input: adc-keys as /devices/platform/adc-keys/input/input1
  642. [    0.854346] of_get_named_gpiod_flags: can't parse 'simple-audio-card,hp-det-gpio' property of node '/rk809-sound[0]'
  643. [    0.854357] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/rk809-sound[0]'
  644. [    0.857185] asoc-simple-card rk809-sound: rk817-hifi <-> ff800000.i2s mapping ok
  645. [    0.857253] asoc-simple-card rk809-sound: ASoC: no source widget found for MICBIAS1
  646. [    0.857272] asoc-simple-card rk809-sound: ASoC: Failed to add route MICBIAS1 -> direct -> Mic Jack
  647. [    0.857288] asoc-simple-card rk809-sound: ASoC: no sink widget found for IN1P
  648. [    0.857304] asoc-simple-card rk809-sound: ASoC: Failed to add route Mic Jack -> direct -> IN1P
  649. [    0.857324] asoc-simple-card rk809-sound: ASoC: no source widget found for HPOL
  650. [    0.857345] asoc-simple-card rk809-sound: ASoC: Failed to add route HPOL -> direct -> Headphone Jack
  651. [    0.857365] asoc-simple-card rk809-sound: ASoC: no source widget found for HPOR
  652. [    0.857386] asoc-simple-card rk809-sound: ASoC: Failed to add route HPOR -> direct -> Headphone Jack
  653. [    0.858478] input: rockchip,rk809-codec Headphone Jack as /devices/platform/rk809-sound/sound/card0/input2
  654. [    0.860273] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
  655. [    0.860947] dhd_module_init: in Dongle Host Driver, version 1.579.77.41.22 (r-20191105-2)(20191120-1)
  656. [    0.860974] ======== dhd_wlan_init_plat_data ========
  657. [    0.860988] [WLAN_RFKILL]: rockchip_wifi_get_oob_irq: Enter
  658. [    0.861080] dhd_wlan_init_gpio: WL_HOST_WAKE=-1, oob_irq=111, oob_irq_flags=0x414
  659. [    0.861099] dhd_wlan_init_gpio: WL_REG_ON=-1
  660. [    0.861116] dhd_wifi_platform_load: Enter
  661. [    0.861133] Power-up adapter 'DHD generic adapter'
  662. [    0.861186] wifi_platform_set_power = 1
  663. [    0.861204] ======== PULL WL_REG_ON(-1) HIGH! ========
  664. [    0.861217] [WLAN_RFKILL]: rockchip_wifi_power: 1
  665. [    0.861236] [WLAN_RFKILL]: wifi turn on power [GPIO-1-0]
  666. [    0.861296] ==gsl_ts_init==
  667. [    0.861374] ret=0
  668. [    0.861472] rkcif rkcif_mipi_lvds: clear unready subdev num: 0
  669. [    0.862390] cfg80211: Loading compiled-in X.509 certificates for regulatory database
  670. [    0.863265] mmc1: new high speed SDIO card at address 0001
  671. [    0.870074] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=88.32
  672. [    0.870105] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
  673. [    0.870118] usb 1-1: Product: USB2.0 Hub
  674. [    0.870982] hub 1-1:1.0: USB hub found
  675. [    0.871373] hub 1-1:1.0: 4 ports detected
  676. [    0.877442] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
  677. [    0.877874] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
  678. [    0.877889] cfg80211: failed to load regulatory.db
  679. [    0.878430] rkisp rkisp-vir0: clear unready subdev num: 1
  680. [    0.879376] rkisp0: Async subdev notifier completed
  681. [    0.879883] dwmmc_rockchip ffc50000.dwmmc: Successfully tuned phase to 270
  682. [    0.883231] dwmmc_rockchip ffc50000.dwmmc: Successfully tuned phase to 90
  683. [    0.883646] ret 1024 0
  684. [    0.883894] ALSA device list:
  685. [    0.883906]   #0: rockchip,rk809-codec
  686. [    0.883915]   #7: Loopback 1
  687. [    0.884749] Freeing unused kernel memory: 1024K
  688. [    0.884911] Run /init as init process
  689. [    1.154949] usb 1-1.3: new high-speed USB device number 3 using ehci-platform
  690. [    1.164859] wifi_platform_bus_enumerate device present 1
  691. [    1.164891] ======== Card detection to detect SDIO card! ========
  692. [    1.164900] mmc1:mmc host rescan start!
  693. [    1.181212] bcmsdh_register: register client driver
  694. [    1.181848] bcmsdh_sdmmc_probe: Enter num=1
  695. [    1.182412] bcmsdh_sdmmc_probe: Enter num=2
  696. [    1.182456] bus num (host idx)=1, slot num (rca)=1
  697. [    1.182466] found adapter info 'DHD generic adapter'
  698. [    1.182559] sdioh_attach: set sd_f2_blocksize 256
  699. [    1.182643] sdioh_attach: sd clock rate = 0
  700. [    1.183021] dhdsdio_probe : no mutex held. set lock
  701. [    1.183179] F1 signature read @0x18000000=0x1542a9a6
  702. [    1.186756] F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x2 pkg:0x4
  703. [    1.187647] DHD: dongle ram size is set to 524288(orig 524288) at 0x0
  704. [    1.187820] [dhd] dhd_conf_set_chiprev : chip=0xa9a6, chiprev=2
  705. [    1.188020] [dhd] CFG80211-ERROR) wl_setup_wiphy : Registering Vendor80211
  706. [    1.188590] [dhd] CFG80211-ERROR) wl_setup_wiphy : SAE support
  707. [    1.188816] [dhd] CFG80211-ERROR) wl_init_prof : wl_init_prof: No profile
  708. [    1.191209] dhd_attach(): thread:dhd_watchdog_thread:7f started
  709. [    1.191352] dhd_attach(): thread:dhd_dpc:80 started
  710. [    1.191499] dhd_attach(): thread:dhd_rxf:81 started
  711. [    1.191526] dhd_deferred_work_init: work queue initialized
  712. [    1.191542] dhd_tcpack_suppress_set: TCP ACK Suppress mode 0 -> mode 2
  713. [    1.191607] dhd_bus_set_default_min_res_mask: Unhandled chip id
  714. [    1.191872] sdioh_cis_read: func_cis_ptr[0]=0x1070
  715. [    1.200688] Dongle Host Driver, version 1.579.77.41.22 (r-20191105-2)(20191120-1)
  716. [    1.201176] Register interface [wlan0]  MAC: d4:9c:dd:75:33:ea
  717. [    1.201176]
  718. [    1.201239] dhd_tcpack_suppress_set: TCP ACK Suppress mode 2 -> mode 0
  719. [    1.201261] dhd_wl_ioctl: returning as busstate=0
  720. [    1.201271] dhd_dbg_detach_pkt_monitor, 2204
  721. [    1.201302] dhd_bus_devreset: == Power OFF ==
  722. [    1.201572] bcmsdh_oob_intr_unregister: Enter
  723. [    1.201586] bcmsdh_oob_intr_unregister: irq is not registered
  724. [    1.201600] dhd_txglom_enable: enable 0
  725. [    1.201610] dhd_bus_devreset:  WLAN OFF DONE
  726. [    1.201654] wifi_platform_set_power = 0
  727. [    1.201666] ======== PULL WL_REG_ON(-1) LOW! ========
  728. [    1.201677] [WLAN_RFKILL]: rockchip_wifi_power: 0
  729. [    1.201694] [WLAN_RFKILL]: wifi shut off power [GPIO-1-1]
  730. [    1.201708] dhdsdio_probe : the lock is released.
  731. [    1.202031] dhd_module_init: Exit err=0
  732. [    1.253136] usb 1-1.3: New USB device found, idVendor=0bda, idProduct=8152, bcdDevice=20.00
  733. [    1.253182] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
  734. [    1.253192] usb 1-1.3: Product: USB 10/100 LAN
  735. [    1.253201] usb 1-1.3: Manufacturer: Realtek
  736. [    1.253211] usb 1-1.3: SerialNumber: 00E04C19727B
  737. [    1.334896] usb 1-1.3: reset high-speed USB device number 3 using ehci-platform
  738. [    1.513443] r8152 1-1.3:1.0 eth1: v2.12.0 (2019/04/29)
  739. [    1.513500] r8152 1-1.3:1.0 eth1: This product is covered by one or more of the following patents:
  740. [    1.513500]          US6,570,884, US6,115,776, and US6,327,625.
  741. [    1.513500]
  742. [    1.715123] phy phy-ff4c0000.usb2-phy.1: charger = USB_CDP_CHARGER
  743. [    3.620897] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null)
  744. [    3.772632] EXT4-fs (mmcblk0p8): warning: mounting unchecked fs, running e2fsck is recommended
  745. [    3.774914] EXT4-fs (mmcblk0p8): mounted filesystem without journal. Opts: (null)
  746. [    4.183456] udevd[431]: starting version 3.2.7
  747. [    4.189639] udevd[431]: specified group 'kvm' unknown
  748. [    4.206767] rkispp0: scale2:0x0 out of range:
  749. [    4.206767]  [width max:1280 ratio max:8 min:2]
  750. [    4.206825] rkispp0: scale2:0x0 out of range:
  751. [    4.206825]  [width max:1280 ratio max:8 min:2]
  752. [    4.206846] rkispp0: scale2:0x0 out of range:
  753. [    4.206846]  [width max:1280 ratio max:8 min:2]
  754. [    4.206863] rkispp0: scale2:0x0 out of range:
  755. [    4.206863]  [width max:1280 ratio max:8 min:2]
  756. [    4.206879] rkispp0: scale2:0x0 out of range:
  757. [    4.206879]  [width max:1280 ratio max:8 min:2]
  758. [    4.216738] udevd[436]: starting eudev-3.2.7
  759. [    4.240084] udevd[436]: specified group 'kvm' unknown
  760. [    4.820604] imx415 1-001a: set fmt: cur_mode: 3864x2192, hdr: 5
  761. [    4.822608] imx415 1-001a: set vblank 0x968 vts 2300
  762. [    4.855692] imx415 1-001a: set vblank 0xd00 vts 2760
  763. [    4.855744] imx415 1-001a: imx415 is not streaming, save hdr ae!
  764. [    4.938881] rkcif_mipi_lvds: stream[0] start streaming
  765. [    4.944164] rkcif_mipi_lvds: Allocate dummy buffer, size: 0x00a05000
  766. [    4.944509] rkcif_mipi_lvds: stream[1] start streaming
  767. [    4.944565] rockchip-mipi-csi2 ffb10000.mipi-csi2: stream on, src_sd: 420a339f, sd_name:rockchip-mipi-dphy-rx
  768. [    4.944578] rockchip-mipi-csi2 ffb10000.mipi-csi2: stream ON
  769. [    4.944604] rockchip-mipi-dphy-rx ff4b0000.csi-dphy: stream on:1
  770. [    4.944621] rockchip-mipi-dphy-rx: data_rate_mbps 1486
  771. [    4.945703] rockchip-mipi-dphy-rx ff4b0000.csi-dphy: stream on:1
  772. [    4.945737] imx415 1-001a: s_stream: 1. 3864x2192, hdr: 5, bpp: 10
  773. [    5.010143] imx415 1-001a: set vblank 0xd00 vts 2760
  774. [    5.014063] imx415 1-001a: rev exp req: L_exp: 0x0, 0x19e, M_exp: 0x44, 0x0 S_exp: 0x0, 0x0
  775. [    5.019291] imx415 1-001a: line(1576) rhs1 81, rhs1 min -979 rhs1 max 4453
  776. [    5.019313] imx415 1-001a: line(1586) rhs1 81, short time 68 rhs1_old 77, rhs1_new 81
  777. [    5.019329] imx415 1-001a: fsc=5520,RHS1_MAX=4453,SHR1_MIN=9,rhs1_max=4453
  778. [    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
  779. [    5.743257] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null)
  780. [    6.265679] Generic PHY stmmac-0:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
  781. [    6.266426] rk_gmac-dwmac ffc40000.ethernet: rk_get_eth_addr: mac address: 66:9d:6a:38:00:31
  782. [    6.266452] rk_gmac-dwmac ffc40000.ethernet: device MAC address 66:9d:6a:38:00:31
  783. [    6.266472] dwmac4: Master AXI performs any burst length
  784. [    6.266496] rk_gmac-dwmac ffc40000.ethernet eth0: No Safety Features support found
  785. [    6.266524] rk_gmac-dwmac ffc40000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
  786. [    6.266800] rk_gmac-dwmac ffc40000.ethernet eth0: registered PTP clock
  787. [    6.520645] file system registered
  788. [    6.548575] using random self ethernet address
  789. [    6.548825] using random host ethernet address
  790. [    6.569365] Mass Storage Function, version: 2009/09/11
  791. [    6.569576] LUN: removable file: (no medium)
  792. [    6.662809] read descriptors
  793. [    6.662873] read strings
  794. [    7.286327] rk_gmac-dwmac ffc40000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
  795. [    7.711281] galcore: loading out-of-tree module taints kernel.
  796. [    7.720521] galcore: npu init.
  797. [    7.721690] galcore: start npu probe.
  798. [    7.721966] galcore ffbc0000.npu: Linked as a consumer to regulator.7
  799. [    7.723148] npu: platform_get_irq irq = 69
  800. [    7.723191] npu: platform_get_resource registerMemBase = ffbc0000, registerMemSize = 4000
  801. [    7.723216] Galcore version 6.4.3.5.293908
  802. [    7.723231] Galcore options:
  803. [    7.723247]   irqLine           = 69
  804. [    7.723265]   registerMemBase   = 0xFFBC0000
  805. [    7.723287]   registerMemSize   = 0x00004000
  806. [    7.723300]   contiguousSize    = 0x00400000
  807. [    7.723311]   contiguousBase    = 0x0
  808. [    7.723321]   externalSize      = 0x00000000
  809. [    7.723345]   externalBase      = 0x0
  810. [    7.723355]   exclusiveSize     = 0x00000000
  811. [    7.723371]   exclusiveBase     = 0x0
  812. [    7.723388]   bankSize          = 0x00000000
  813. [    7.723411]   fastClear         = -1
  814. [    7.723433]   compression       = 15
  815. [    7.723449]   powerManagement   = 1
  816. [    7.723464]   baseAddress       = 0x00000000
  817. [    7.723478]   physSize          = 0x00000000
  818. [    7.723494]   recovery          = 1
  819. [    7.723510]   stuckDump         = 0
  820. [    7.723533]   gpuProfiler       = 1
  821. [    7.723545]   userClusterMask   = 0x0
  822. [    7.723555]   GPU smallBatch    = 1
  823. [    7.723565]   allMapInOne       = 1
  824. [    7.723585]   irqs              =
  825. [    7.723589] 69,
  826. [    7.723604] -1,
  827. [    7.723621] -1,
  828. [    7.723641] -1,
  829. [    7.723664] -1,
  830. [    7.723679] -1,
  831. [    7.723692] -1,
  832. [    7.723706] -1,
  833. [    7.723719] -1,
  834. [    7.723732] -1,
  835. [    7.723745]
  836. [    7.723770]   registerBases     =
  837. [    7.723773] 0xFFBC0000,
  838. [    7.723787] 0x00000000,
  839. [    7.723797] 0x00000000,
  840. [    7.723807] 0x00000000,
  841. [    7.723822] 0x00000000,
  842. [    7.723837] 0x00000000,
  843. [    7.723851] 0x00000000,
  844. [    7.723864] 0x00000000,
  845. [    7.723877] 0x00000000,
  846. [    7.723891] 0x00000000,
  847. [    7.723904]
  848. [    7.723929]   registerSizes     =
  849. [    7.723932] 0x00004000,
  850. [    7.723946] 0x00000000,
  851. [    7.723960] 0x00000000,
  852. [    7.723973] 0x00000000,
  853. [    7.723987] 0x00000000,
  854. [    7.724000] 0x00000000,
  855. [    7.724014] 0x00000000,
  856. [    7.724028] 0x00000000,
  857. [    7.724037] 0x00000000,
  858. [    7.724050] 0x00000000,
  859. [    7.724063]
  860. [    7.724087]   chipIDs           =
  861. [    7.724090] 0xFFFFFFFF,
  862. [    7.724105] 0xFFFFFFFF,
  863. [    7.724118] 0xFFFFFFFF,
  864. [    7.724132] 0xFFFFFFFF,
  865. [    7.724146] 0xFFFFFFFF,
  866. [    7.724160] 0xFFFFFFFF,
  867. [    7.724173] 0xFFFFFFFF,
  868. [    7.724187] 0xFFFFFFFF,
  869. [    7.724205] 0xFFFFFFFF,
  870. [    7.724219] 0xFFFFFFFF,
  871. [    7.724232]
  872. [    7.724257]   core 0 internal sRAMBases =
  873. [    7.724260] 0xFFFFFFFFFFFFFFFF,
  874. [    7.724271] 0xFFFFFFFFFFFFFFFF,
  875. [    7.724281]
  876. [    7.724308]   core 1 internal sRAMBases =
  877. [    7.724310] 0xFFFFFFFFFFFFFFFF,
  878. [    7.724324] 0xFFFFFFFFFFFFFFFF,
  879. [    7.724338]
  880. [    7.724363]   core 2 internal sRAMBases =
  881. [    7.724366] 0xFFFFFFFFFFFFFFFF,
  882. [    7.724380] 0xFFFFFFFFFFFFFFFF,
  883. [    7.724393]
  884. [    7.724419]   core 3 internal sRAMBases =
  885. [    7.724422] 0xFFFFFFFFFFFFFFFF,
  886. [    7.724436] 0xFFFFFFFFFFFFFFFF,
  887. [    7.724449]
  888. [    7.724475]   core 4 internal sRAMBases =
  889. [    7.724477] 0xFFFFFFFFFFFFFFFF,
  890. [    7.724492] 0xFFFFFFFFFFFFFFFF,
  891. [    7.724502]
  892. [    7.724520]   core 5 internal sRAMBases =
  893. [    7.724523] 0xFFFFFFFFFFFFFFFF,
  894. [    7.724537] 0xFFFFFFFFFFFFFFFF,
  895. [    7.724550]
  896. [    7.724576]   core 6 internal sRAMBases =
  897. [    7.724578] 0xFFFFFFFFFFFFFFFF,
  898. [    7.724593] 0xFFFFFFFFFFFFFFFF,
  899. [    7.724606]
  900. [    7.724631]   core 7 internal sRAMBases =
  901. [    7.724634] 0xFFFFFFFFFFFFFFFF,
  902. [    7.724648] 0xFFFFFFFFFFFFFFFF,
  903. [    7.724661]
  904. [    7.724687]   core 8 internal sRAMBases =
  905. [    7.724689] 0xFFFFFFFFFFFFFFFF,
  906. [    7.724704] 0xFFFFFFFFFFFFFFFF,
  907. [    7.724717]
  908. [    7.724737]   core 9 internal sRAMBases =
  909. [    7.724739] 0xFFFFFFFFFFFFFFFF,
  910. [    7.724750] 0xFFFFFFFFFFFFFFFF,
  911. [    7.724829]
  912. [    7.724862]   External sRAMBases =
  913. [    7.724866] 0xffffffffffffffff,
  914. [    7.724888] 0xffffffffffffffff,
  915. [    7.724923]
  916. [    7.724963]   mmuPageTablePool  = 1
  917. [    7.724988]   mmuDynamicMap     = 1
  918. [    7.725018]   isrPoll           = 0x00000000
  919. [    7.725039] Build options:
  920. [    7.725054]   gcdGPU_TIMEOUT    = 20000
  921. [    7.725069]   gcdGPU_2D_TIMEOUT = 4000
  922. [    7.725083]   gcdINTERRUPT_STATISTIC = 1
  923. [    7.729371] Galcore Info: ContiguousBase=0x7f95a000 ContiguousSize=0x400000
  924. [    7.734269] Galcore Info: MMU mapped core 0 SRAM[0] hardware virtual address=0x400000 size=0x40000
  925. [    7.734314] Galcore Info: MMU mapped core 0 SRAM[1] hardware virtual address=0x440000 size=0x40000
  926. [    7.736304] NN flop resetting...
  927. [    7.741907] galcore ffbc0000.npu: Init npu devfreq
  928. [    7.741957] galcore ffbc0000.npu: bin=0
  929. [    7.742007] galcore ffbc0000.npu: leakage=1.500
  930. [    7.754592] galcore ffbc0000.npu: temp=44700, pvtm=100989 (100989 + 0)
  931. [    7.755205] galcore ffbc0000.npu: pvtm-volt-sel=1
  932. [    7.755338] galcore ffbc0000.npu: bin-scale=23
  933. [    7.756656] galcore ffbc0000.npu: avs=0
  934. [    7.757493] galcore ffbc0000.npu: l=-2147483648 h=2147483647 hyst=0 l_limit=0 h_limit=0 h_table=0
  935. [    7.757545] galcore ffbc0000.npu: failed to read out thermal zone (-22)
  936. [    7.757711] galcore ffbc0000.npu: failed to find power_model node
  937. [    7.757745] galcore ffbc0000.npu: failed to initialize power model
  938. [    7.824598] dwc3 ffd00000.dwc3: device reset
  939. [    7.905066] dwc3 ffd00000.dwc3: device reset
  940. [    7.905200] android_work: did not send uevent (0 0   (null))
  941. [    7.969365] android_work: sent uevent USB_STATE=CONNECTED
  942. [    7.997014] configfs-gadget gadget: high-speed config #1: b
  943. [    7.997262] android_work: sent uevent USB_STATE=CONFIGURED
  944. [    9.985490] EXT4-fs (mmcblk0p9): mounting ext2 file system using the ext4 subsystem
  945. [    9.989889] EXT4-fs (mmcblk0p9): mounted filesystem without journal. Opts: (null)
  946. [   10.014351] updateEngine: unhandled page fault (11) at 0x00000000, code 0x017
  947. [   10.014367] pgd = 2547a7ab
  948. [   10.014406] [00000000] *pgd=7edec835
  949. [   10.014425] CPU: 1 PID: 998 Comm: updateEngine Tainted: G           O      4.19.111 #1
  950. [   10.014439] Hardware name: Generic DT based system
  951. [   10.014459] PC is at 0xa6c44bfe
  952. [   10.014472] LR is at 0x1184c
  953. [   10.014486] pc : [<a6c44bfe>]    lr : [<0001184c>]    psr: 200d0030
  954. [   10.014499] sp : aee18bf0  ip : a6c48f5d  fp : 00000000
  955. [   10.014512] r10: 00000000  r9 : 00000000  r8 : aee18ecb
  956. [   10.014526] r7 : 00000000  r6 : 00000000  r5 : ffffffff  r4 : 00000000
  957. [   10.014539] r3 : 00000000  r2 : 00000001  r1 : 00000000  r0 : 00000000
  958. [   10.014554] Flags: nzCv  IRQs on  FIQs on  Mode USER_32  ISA Thumb  Segment user
  959. [   10.014569] Control: 10c5387d  Table: 3d12006a  DAC: 00000055
  960. [   10.014587] CPU: 1 PID: 998 Comm: updateEngine Tainted: G           O      4.19.111 #1
  961. [   10.014599] Hardware name: Generic DT based system
  962. [   10.014634] [<b010f408>] (unwind_backtrace) from [<b010b970>] (show_stack+0x10/0x14)
  963. [   10.014662] [<b010b970>] (show_stack) from [<b09b89e4>] (dump_stack+0x90/0xa4)
  964. [   10.014687] [<b09b89e4>] (dump_stack) from [<b011373c>] (__do_user_fault+0x130/0x134)
  965. [   10.014710] [<b011373c>] (__do_user_fault) from [<b0113980>] (do_page_fault+0x240/0x348)
  966. [   10.014732] [<b0113980>] (do_page_fault) from [<b0113c18>] (do_DataAbort+0x4c/0xec)
  967. [   10.014754] [<b0113c18>] (do_DataAbort) from [<b0101d7c>] (__dabt_usr+0x3c/0x40)
  968. [   10.014769] Exception stack(0xeb737fb0 to 0xeb737ff8)
  969. [   10.014785] 7fa0:                                     00000000 00000000 00000001 00000000
  970. [   10.014801] 7fc0: 00000000 ffffffff 00000000 00000000 aee18ecb 00000000 00000000 00000000
  971. [   10.014815] 7fe0: a6c48f5d aee18bf0 0001184c a6c44bfe 200d0030 ffffffff
  972. [   10.708717] rkispp0: output:0x0 should euqal to input:3840x2160
  973. [   10.708768] rkispp0: output:0x0 should euqal to input:3840x2160
  974. [   10.708786] rkispp0: output:0x0 should euqal to input:3840x2160
  975. [   10.708805] rkispp0: output:0x0 should euqal to input:3840x2160
  976. [   10.708824] rkispp0: output:0x0 should euqal to input:3840x2160
  977. [   10.708841] rkispp0: output:0x0 should euqal to input:3840x2160
  978. [   10.711166] rkispp0: output:2688x1520 should euqal to input:3840x2160
  979. [   11.088327] usb 1-1.2: new high-speed USB device number 4 using ehci-platform
  980. [   11.198562] usb 1-1.2: New USB device found, idVendor=2c7c, idProduct=0125, bcdDevice= 3.18
  981. [   11.198617] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
  982. [   11.198640] usb 1-1.2: Product: Android
  983. [   11.198660] usb 1-1.2: Manufacturer: Android
  984. [   11.201641] idVendor 11388 idP 293 bnum 5
  985. [   11.201649] ec20 det false
  986. [   11.201996] option 1-1.2:1.0: GSM modem (1-port) converter detected
  987. [   11.202849] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB0
  988. [   11.203689] option 1-1.2:1.1: GSM modem (1-port) converter detected
  989. [   11.204377] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB1
  990. [   11.205352] option 1-1.2:1.2: GSM modem (1-port) converter detected
  991. [   11.206345] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB2
  992. [   11.207651] option 1-1.2:1.3: GSM modem (1-port) converter detected
  993. [   11.208514] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB3
  994. [   11.209086] idVendor 11388 idP 293 bnum 5
  995. [   11.209090] ec20 det false
  996. [   11.209877] qmi_wwan 1-1.2:1.4: cdc-wdm0: USB WDM device
  997. [   11.210540] qmi_wwan 1-1.2:1.4: Quectel EC25&EC21&EC20R2.0&EG91&EG95&EG06&EP06&EM06&BG96 work on RawIP mode
  998. [   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
复制代码






回复

使用道具 举报

1万

积分

14

威望

13

贡献

管理员

Rank: 9Rank: 9Rank: 9

积分
11135

优秀版主

发表于 2022-4-19 09:21:33     
还需要 iqfile 的
回复

使用道具 举报

98

积分

0

威望

0

贡献

技术小白

积分
98
发表于 2022-4-19 09:33:56     

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

使用道具 举报

35

积分

0

威望

0

贡献

技术小白

积分
35
发表于 2022-4-19 10:04:30     

同问怎么获取iqfile
回复

使用道具 举报

1万

积分

14

威望

13

贡献

管理员

Rank: 9Rank: 9Rank: 9

积分
11135

优秀版主

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

使用道具 举报

98

积分

0

威望

0

贡献

技术小白

积分
98
发表于 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"
  1. imx415: imx415@1a {
  2.                 status = "okay";
  3.                 compatible = "sony,imx415";
  4.                 reg = <0x1a>;
  5.                 clocks = <&cru CLK_MIPICSI_OUT>;
  6.                 clock-names = "xvclk";
  7.                 pinctrl-names = "rockchip,camera_default";
  8.                 pinctrl-0 = <&mipicsi_clk0>;
  9.                 power-domains = <&power RV1126_PD_VI>;
  10.                 avdd-supply = <&vcc_avdd>;
  11.                 dovdd-supply = <&vcc_1v8>;
  12.                 dvdd-supply = <&vcc_dvdd>;
  13.                 power-gpios = <&gpio1 RK_PD4 GPIO_ACTIVE_HIGH>;
  14.                 reset-gpios = <&gpio4 RK_PA0 GPIO_ACTIVE_LOW>;
  15.                 rockchip,camera-module-index = <1>;
  16.                 rockchip,camera-module-facing = "front";
  17.                 rockchip,camera-module-name = "YT-RK415-V1";
  18.                 rockchip,camera-module-lens-name = "IR0147-60IRC-8M-F20";
  19.                 //ir-cut = <&cam_ircut0>;
  20.                 port {
  21.                         ucam_out0: endpoint {
  22.                                 remote-endpoint = <&mipi_in_ucam0>;
  23.                                 data-lanes = <1 2 3 4>;
  24.                         };
  25.                 };
  26.         };
复制代码

并且我在buildroot里面,修改BR2_PACKAGE_CAMERA_ENGINE_RKAIQ_IQFILE变量,把文件编译进了板子,放在了/etc/iqfiles/imx415_YT-RK415-V1_IR0147-60IRC-8M-F20.xml
那还有什么地方需要修改吗?    这个YT-RK415-V1应该是瑞芯微调试过的吧 文件名里带了RK
回复

使用道具 举报

164

积分

0

威望

0

贡献

技术小白

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

使用道具 举报

98

积分

0

威望

0

贡献

技术小白

积分
98
发表于 2022-5-11 09:10:57     
这么给你说吧   首先  你要移植好自己的驱动,保证能在i2c上发现这个camera,比如如下log
  1. imx415 1-001a: Detected imx415 id 0000e0
复制代码

然后,  你要验证自己这颗sensor是不是点亮了,也就是通过
  1. 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,无力吐槽了。。。

点评

牛的老哥  发表于 2022-9-6 16:41
回复

使用道具 举报

98

积分

0

威望

0

贡献

技术小白

积分
98
发表于 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里面就在配置每个码流的分辨率
回复

使用道具 举报

13

积分

0

威望

0

贡献

技术小白

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

然后,  你要 ...

我在调一个mipi  YUV422的sensor,media节点已经有了  i2c也挂载成功了,但是用v4l2抓图一直是select timeout,cifhw中断一直没有。硬件上用示波器测了 各个信号时钟都是正常的,有没有什么好手段,可以排查问题出在哪里?最先应该确定的是什么呢?
回复

使用道具 举报

返回列表
123
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表