Firefly开源社区

标题: rk3308执行录音命令后重启 [打印本页]

作者: zhangfengzan    时间: 2020-11-6 18:39
标题: rk3308执行录音命令后重启
我的RK3308-ROC-CC串口执行录音命令后会重启,麻烦帮忙看下是什么原因导致的,附件是log,而且是必现,声卡都是注册成功的。

重启.rar

20.34 KB, 下载次数: 1, 下载积分: 灯泡 -1 , 经验 -1


作者: zyk    时间: 2020-11-6 22:05
本帖最后由 zyk 于 2020-11-6 22:57 编辑
  1. [BEGIN] 2020/11/6 18:33:08
  2. # aplay -D hw:0,0 -c 8 -r 48000 -f S16_LE  /data/zfz48k16bit8ch_t.wav
  3. Playing WAVE '/data/zfz48k16bit8ch_t.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Channels 8
  4. [  133.427703] Unable to handle kernel paging request at virtual address 6c6f72746e6f83
  5. [  133.428456] pgd = ffffffc00e2d7000
  6. [  133.428797] [6c6f72746e6f83] *pgd=0000000000000000, *pud=0000000000000000
  7. [  133.429431] Internal error: Oops: 96000004 [#1] PREEMPT SMP
  8. [  133.429934] Modules linked in:
  9. [  133.430230] CPU: 2 PID: 381 Comm: aplay Not tainted 4.4.143 #7
  10. [  133.430752] Hardware name: Firefly RK3308 roc cc digital-pdm mic board (DT)
  11. [  133.431372] task: ffffffc00e3beb80 task.stack: ffffffc00e1f4000
  12. [  133.431904] PC is at dapm_mark_dirty.isra.1+0x14/0x30
  13. [  133.432355] LR is at soc_dapm_dai_stream_event+0x24/0x98
  14. [  133.432825] pc : [<ffffff800848cb80>] lr : [<ffffff800848cbc0>] pstate: 60000145
  15. [  133.433473] sp : ffffffc00e1f7c10
  16. [  133.433770] x29: ffffffc00e1f7c10 x28: ffffffc00e3beb80
  17. [  133.434268] x27: ffffff8008622000 x26: 000000000000001d
复制代码

请问你这是录音还是放音会自动重启,板型是ROC-RK3308-CC吗,烧写公版固件是否会出现

作者: zhangdexingzdx    时间: 2020-11-9 09:13
Unable to handle kernel paging request at virtual address 6c6f72746e6f83
作者: zhangfengzan    时间: 2020-11-9 09:30
zyk 发表于 2020-11-6 22:05
请问你这是录音还是放音会自动重启,板型是ROC-RK3308-CC吗,烧写公版固件是否会出现

公版固件是不会的,是ROC-RK3308-CC的,搞错了是播放命令
作者: zhangfengzan    时间: 2020-11-9 09:33
zhangdexingzdx 发表于 2020-11-9 09:13
Unable to handle kernel paging request at virtual address 6c6f72746e6f83

我也看到了,就是不知道具体是什么原因导致的,没查到原因
作者: zyk    时间: 2020-11-9 10:06
zhangfengzan 发表于 2020-11-9 09:33
我也看到了,就是不知道具体是什么原因导致的,没查到原因

那你有改动过什么东西吗,比如dts,driver之类的
作者: zhangfengzan    时间: 2020-11-9 10:15
zyk 发表于 2020-11-9 10:06
那你有改动过什么东西吗,比如dts,driver之类的

有的,就是修改了设备树,注释掉了pdm声卡,打开了i2s_8ch_1单独添加了一个自己的tdm声卡。声卡启动能注册上,就是一播放就会重启

设备树.rar

8.9 KB, 下载次数: 4, 下载积分: 灯泡 -1 , 经验 -1

设备树修改


作者: zyk    时间: 2020-11-9 10:30
zhangfengzan 发表于 2020-11-9 10:15
有的,就是修改了设备树,注释掉了pdm声卡,打开了i2s_8ch_1单独添加了一个自己的tdm声卡。声卡启动能注 ...

diff看一下修改内容更直观,这样不好看下载还要扣灯泡

看一下
ls -l /dev/snd
cat /proc/asound/cards

作者: zhangfengzan    时间: 2020-11-9 10:53
zyk 发表于 2020-11-9 10:30
diff看一下修改内容更直观,这样不好看下载还要扣灯泡

看一下

/ # ls -l /dev/snd
ls -l /dev/snd
total 0
drwxr-xr-x 2 root root        80 Dec 31 19:00 by-path
crw-rw---- 1 root audio 116,   0 Dec 31 19:00 controlC0
crw-rw---- 1 root audio 116, 224 Dec 31 19:00 controlC7
crw-rw---- 1 root audio 116,  24 Dec 31 19:00 pcmC0D0c
crw-rw---- 1 root audio 116,  16 Dec 31 19:00 pcmC0D0p
crw-rw---- 1 root audio 116, 248 Dec 31 19:00 pcmC7D0c
crw-rw---- 1 root audio 116, 240 Dec 31 19:00 pcmC7D0p
crw-rw---- 1 root audio 116, 249 Dec 31 19:00 pcmC7D1c
crw-rw---- 1 root audio 116, 241 Dec 31 19:00 pcmC7D1p
crw-rw---- 1 root audio 116,  33 Dec 31 19:00 timer
/ # cat /proc/asound/cards
cat /proc/asound/cards
0 [rockchipi2s18ch]: rockchip_i2s1_8 - rockchip,i2s1_8ch_mic
                      rockchip,i2s1_8ch_mic
7 [Loopback       ]: Loopback - Loopback
                      Loopback 1
/ #


diff --git a/kernel/arch/arm64/boot/dts/rockchip/rk3308-roc-cc-dmic-pdm_emmc.dts b/kernel/arch/arm64/boot/dts/rockchip/rk3308-roc-cc-dmic-pdm_emmc.dts
old mode 100644
new mode 100755
index b996358..8ad36d8
--- a/kernel/arch/arm64/boot/dts/rockchip/rk3308-roc-cc-dmic-pdm_emmc.dts
+++ b/kernel/arch/arm64/boot/dts/rockchip/rk3308-roc-cc-dmic-pdm_emmc.dts
@@ -32,9 +32,23 @@
                        sound-dai = <&dummy_codec>;
                };
        };
-
-       vad-sound {
+       i2s1-8ch-sound {
                status = "okay";
+               compatible = "simple-audio-card";
+               simple-audio-card,format = "i2s";
+               simple-audio-card,name = "rockchip,i2s1_8ch_mic";
+               simple-audio-card,mclk-fs = <256>;
+               simple-audio-card,cpu {
+                       sound-dai = <&i2s_8ch_1>;
+                       dai-tdm-slot-num = <4>;                        
+                       dai-tdm-slot-width = <32>;
+               };
+               simple-audio-card,codec {
+                       sound-dai = <&dummy_codec>;
+               };
+       };
+       vad-sound {
+               status = "disabled";
                compatible = "rockchip,multicodecs-card";
                rockchip,card-name = "rockchip,rk3308-vad";
                rockchip,cpu = <&pdm_i2s_dais>;
@@ -73,6 +87,19 @@
     rockchip,clk-trcm = <1>;
};

+&i2s_8ch_1 {
+       status = "okay";
+       #sound-dai-cells = <0>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&i2s_8ch_1_m0_sclktx
+                            &i2s_8ch_1_m0_sclkrx
+                            &i2s_8ch_1_m0_lrcktx
+                            &i2s_8ch_1_m0_lrckrx
+                            &i2s_8ch_1_m0_sdi0
+                            &i2s_8ch_1_m0_sdo0
+                            &i2s_8ch_1_m0_mclk>;
+};
+
&pdm_8ch {
        status = "okay";
        #sound-dai-cells = <0>;

diff --git a/kernel/arch/arm64/boot/dts/rockchip/rk3308.dtsi b/kernel/arch/arm64/boot/dts/rockchip/rk3308.dtsi
old mode 100644
new mode 100755
index 194642a..cba6f99
--- a/kernel/arch/arm64/boot/dts/rockchip/rk3308.dtsi
+++ b/kernel/arch/arm64/boot/dts/rockchip/rk3308.dtsi
@@ -835,6 +835,7 @@
                resets = <&cru SRST_I2S1_8CH_TX_M>, <&cru SRST_I2S1_8CH_RX_M>;
                reset-names = "tx-m", "rx-m";
                rockchip,cru = <&cru>;
+               rockchip,grf = <&grf>;
                rockchip,mclk-calibrate;
                status = "disabled";
        };




作者: zyk    时间: 2020-11-9 11:10
本帖最后由 zyk 于 2020-11-9 11:11 编辑

硬件怎么接的,是不是接了外部的codec,如果是看一下你codec的配置吧
作者: zhangfengzan    时间: 2020-11-9 11:13
zyk 发表于 2020-11-9 11:10
硬件怎么接的,是不是接了外部的codec,如果是看一下你codec的配置吧

没接啊,我直接做主的,跟外接的设备没关系吧,我就是播放示波器量下波形
作者: zyk    时间: 2020-11-9 17:26
dmesg有没有特别的信息
作者: zhangfengzan    时间: 2020-11-10 09:39
本帖最后由 zhangfengzan 于 2020-11-13 10:27 编辑
zyk 发表于 2020-11-9 17:26
dmesg有没有特别的信息

没看到什么特别的信息,还是有问题
作者: zyk    时间: 2020-11-11 15:20
什么原因,dmesg有什么信息
作者: zhangfengzan    时间: 2020-11-13 10:26
zyk 发表于 2020-11-11 15:20
什么原因,dmesg有什么信息

# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.4.143 (zfz@zfz-virtual-machine) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05) ) #26 SMP PREEMPT Thu Nov 12 17:40:32 CST 2020
[    0.000000] Boot CPU: AArch64 Processor [410fd042]
[    0.000000] earlycon: Early serial console at MMIO32 0xff0c0000 (options '')
[    0.000000] bootconsole [uart0] enabled
[    0.000000] Reserved memory: failed to reserve memory for node 'drm-logo@00000000': base 0x0000000000000000, size 0 MiB
[    0.000000] On node 0 totalpages: 65024
[    0.000000]   DMA zone: 1016 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 65024 pages, LIFO batch:15
[    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] PERCPU: Embedded 19 pages/cpu @ffffffc00ff54000 s40088 r8192 d29544 u77824
[    0.000000] pcpu-alloc: s40088 r8192 d29544 u77824 alloc=19*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64008
[    0.000000] Kernel command line: storagemedia=emmc androidboot.mode=emmc androidboot.slot_suffix= androidboot.serialno=c3d9b8674f4b94f6  rootwait earlycon=uart8250,mmio32,0xff0c0000 swiotlb=1 console=ttyFIQ0 root=PARTUUID=614e0000-0000 rootfstype=squashfs snd_aloop.index=7
[    0.000000] PID hash table entries: 1024 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 5, 131072 bytes)
[    0.000000] software IO TLB [mem 0x0feb4000-0x0fef4000] (0MB) mapped at [ffffffc00feb4000-ffffffc00fef3fff]
[    0.000000] Memory: 245300K/260096K available (5758K kernel code, 418K rwdata, 2112K rodata, 384K init, 502K bss, 14796K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbdbfff0000   (   246 GB)
[    0.000000]       .init : 0xffffff8008840000 - 0xffffff80088a0000   (   384 KB)
[    0.000000]       .text : 0xffffff8008080000 - 0xffffff8008620000   (  5760 KB)
[    0.000000]     .rodata : 0xffffff8008620000 - 0xffffff8008840000   (  2176 KB)
[    0.000000]       .data : 0xffffff80088a0000 - 0xffffff8008908808   (   419 KB)
[    0.000000]     fixed   : 0xffffffbffe7fd000 - 0xffffffbffec00000   (  4108 KB)
[    0.000000]     PCI I/O : 0xffffffbffee00000 - 0xffffffbfffe00000   (    16 MB)
[    0.000000]     memory  : 0xffffffc000200000 - 0xffffffc010000000   (   254 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]         Build-time adjustment of leaf fanout to 64.
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] rockchip_mmc_get_phase: invalid clk rate
[    0.000000] rockchip_mmc_get_phase: invalid clk rate
[    0.000000] rockchip_mmc_get_phase: invalid clk rate
[    0.000000] rockchip_mmc_get_phase: invalid clk rate
[    0.000000] rockchip_mmc_get_phase: invalid clk rate
[    0.000000] rockchip_mmc_get_phase: invalid clk rate
[    0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.001753] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=24000)
[    0.002705] pid_max: default: 32768 minimum: 301
[    0.003257] Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
[    0.003861] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes)
[    0.005284] sched-energy: CPU device node has no sched-energy-costs
[    0.005902] Invalid sched_group_energy for CPU0
[    0.006321] CPU0: update cpu_capacity 1024
[    0.006745] ASID allocator initialised with 65536 entries
[    0.016480] Detected VIPT I-cache on CPU1
[    0.016535] Invalid sched_group_energy for CPU1
[    0.016540] CPU1: update cpu_capacity 1024
[    0.016544] CPU1: Booted secondary processor [410fd042]
[    0.019503] Detected VIPT I-cache on CPU2
[    0.019540] Invalid sched_group_energy for CPU2
[    0.019545] CPU2: update cpu_capacity 1024
[    0.019549] CPU2: Booted secondary processor [410fd042]
[    0.022543] Detected VIPT I-cache on CPU3
[    0.022577] Invalid sched_group_energy for CPU3
[    0.022581] CPU3: update cpu_capacity 1024
[    0.022586] CPU3: Booted secondary processor [410fd042]
[    0.022654] Brought up 4 CPUs
[    0.027863] SMP: Total of 4 processors activated.
[    0.028302] CPU: All CPU(s) started at EL2
[    0.028819] Invalid sched_group_energy for CPU3
[    0.029241] Invalid sched_group_energy for Cluster3
[    0.029703] Invalid sched_group_energy for CPU2
[    0.030120] Invalid sched_group_energy for Cluster2
[    0.030568] Invalid sched_group_energy for CPU1
[    0.030994] Invalid sched_group_energy for Cluster1
[    0.031443] Invalid sched_group_energy for CPU0
[    0.031861] Invalid sched_group_energy for Cluster0
[    0.032827] devtmpfs: initialized
[    0.051023] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.051958] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.052918] pinctrl core: initialized pinctrl subsystem
[    0.054501] NET: Registered protocol family 16
[    0.059513] cpuidle: using governor menu
[    0.059904] Registered FIQ tty driver
[    0.060599] vdso: 2 pages (1 code @ ffffff8008626000, 1 data @ ffffff80088a4000)
[    0.061308] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.062137] DMA: preallocated 256 KiB pool for atomic allocations
[    0.068528] console [pstore-1] enabled
[    0.068881] pstore: Registered ramoops as persistent store backend
[    0.069464] ramoops: attached 0xf0000@0x110000, ecc: 0/0
[    0.078257] gpiochip_add_data: registered GPIOs 0 to 31 on device: gpio0
[    0.078390] gpiochip_add_data: registered GPIOs 32 to 63 on device: gpio1
[    0.078498] gpiochip_add_data: registered GPIOs 64 to 95 on device: gpio2
[    0.078638] gpiochip_add_data: registered GPIOs 96 to 127 on device: gpio3
[    0.078753] gpiochip_add_data: registered GPIOs 128 to 159 on device: gpio4
[    0.088423] fiq debugger fiq mode enabled
[    0.089184] console [ttyFIQ0] enabled
[    0.089877] bootconsole [uart0] disabled
[    0.090498] Registered fiq debugger ttyFIQ0
[    0.104193] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vdd-log[0]'
[    0.104548] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vdd-1v0[0]'
[    0.104832] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vcc-1v8[0]'
[    0.105306] vcc_1v8: regulator get failed, ret=-517
[    0.105470] of_get_named_gpiod_flags: parsed 'gpio' property of node '/vcc-sd[0]' - status (0)
[    0.105860] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vcc-1v8-codec[0]'
[    0.106161] vcc_1v8_codec: regulator get failed, ret=-517
[    0.106325] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vcc-ddr[0]'
[    0.106702] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vcc-io[0]'
[    0.106996] vcc_1v8: supplied by vcc_io
[    0.107090] vcc_1v8_codec: supplied by vcc_io
[    0.107268] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vccio-flash[0]'
[    0.107563] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vcc-phy-regulator[0]'
[    0.108034] of_get_named_gpiod_flags: parsed 'gpio' property of node '/vbus-host-regulator[0]' - status (0)
[    0.108657] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/vccio-sd[0]'
[    0.108710] of_get_named_gpiod_flags: parsed 'gpios' property of node '/vccio-sd[0]' - status (0)
[    0.109495] SCSI subsystem initialized
[    0.109803] usbcore: registered new interface driver usbfs
[    0.109885] usbcore: registered new interface driver hub
[    0.110021] usbcore: registered new device driver usb
[    0.110159] pps_core: LinuxPPS API ver. 1 registered
[    0.110172] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.110238] PTP clock support registered
[    0.111418] Advanced Linux Sound Architecture Driver Initialized.
[    0.112090] Bluetooth: Core ver 2.21
[    0.112144] NET: Registered protocol family 31
[    0.112158] Bluetooth: HCI device and connection manager initialized
[    0.112177] Bluetooth: HCI socket layer initialized
[    0.112193] Bluetooth: L2CAP socket layer initialized
[    0.112260] Bluetooth: SCO socket layer initialized
[    0.113331] rockchip-cpuinfo cpuinfo: Serial                : a1c2101a8b79aa00
[    0.113992] clocksource: Switched to clocksource arch_sys_counter
[    0.116428] thermal thermal_zone1: power_allocator: sustainable_power will be estimated
[    0.116775] NET: Registered protocol family 2
[    0.117482] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.117543] TCP bind hash table entries: 2048 (order: 3, 32768 bytes)
[    0.117599] TCP: Hash tables configured (established 2048 bind 2048)
[    0.117684] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.117716] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.117933] NET: Registered protocol family 1
[    0.118877] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.130423] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.130704] ntfs: driver 2.1.32 [Flags: R/W].
[    0.134128] io scheduler noop registered (default)
[    0.135321] phy phy-ff008000.syscon:usb2-phy@100.0: Failed to get VBUS supply regulator
[    0.139510] dma-pl330 ff2c0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.139556] dma-pl330 ff2c0000.dma-controller:         DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[    0.141885] dma-pl330 ff2d0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.141924] dma-pl330 ff2d0000.dma-controller:         DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    0.142297] rockchip-pvtm ff000000.grf:pmu-pvtm: failed to get rst 0 pmu
[    0.142449] rockchip-pvtm ff00c000.syscon:pvtm: failed to get rst 0 core
[    0.143161] pwm-regulator vdd-core: GPIO lookup for consumer enable
[    0.143177] pwm-regulator vdd-core: using device tree for GPIO lookup
[    0.143195] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/vdd-core[0]'
[    0.143209] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/vdd-core[0]'
[    0.143223] pwm-regulator vdd-core: using lookup tables for GPIO lookup
[    0.143238] pwm-regulator vdd-core: lookup for GPIO enable failed
[    0.144012] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
[    0.146336] ff0e0000.serial: ttyS4 at MMIO 0xff0e0000 (irq = 12, base_baud = 6770833) is a 16550A
[    0.148252] [drm] Initialized drm 1.1.0 20060810
[    0.148380] random: nonblocking pool is initialized
[    0.151213] Unable to detect cache hierarchy for CPU 0
[    0.158458] loop: module loaded
[    0.158829] SCSI Media Changer driver v0.25
[    0.160763] rk_gmac-dwmac ff4e0000.ethernet: clock input or output? (input).
[    0.160809] rk_gmac-dwmac ff4e0000.ethernet: Can not read property: tx_delay.
[    0.160826] rk_gmac-dwmac ff4e0000.ethernet: set tx_delay to 0x30
[    0.160848] rk_gmac-dwmac ff4e0000.ethernet: Can not read property: rx_delay.
[    0.160862] rk_gmac-dwmac ff4e0000.ethernet: set rx_delay to 0x10
[    0.160885] rk_gmac-dwmac ff4e0000.ethernet: integrated PHY? (no).
[    0.161160] rk_gmac-dwmac ff4e0000.ethernet: clock input from PHY
[    0.166196] rk_gmac-dwmac ff4e0000.ethernet: init for RMII
[    0.166332] stmmac - user ID: 0x10, Synopsys ID: 0x35
[    0.166349]  Ring mode enabled
[    0.166360]  DMA HW capability register supported
[    0.166368]  Normal descriptors
[    0.166380]  RX Checksum Offload Engine supported (type 2)
[    0.166391]  TX Checksum insertion supported
[    0.166400]  Wake-Up On Lan supported
[    0.166470]  Enable RX Mitigation via HW Watchdog Timer
[    0.166613] of_get_named_gpiod_flags: can't parse 'snps,reset-gpio' property of node '/ethernet@ff4e0000[0]'
[    0.169977] libphy: stmmac: probed
[    0.170027] eth%d: PHY ID 001cc816 at 0 IRQ POLL (stmmac-0:00) active
[    0.170047] eth%d: PHY ID 001cc816 at 1 IRQ POLL (stmmac-0:01)
[    0.171258] Rockchip WiFi SYS interface (V1.00) ...
[    0.171715] ff400000.usb supply vusb_d not found, using dummy regulator
[    0.171815] ff400000.usb supply vusb_a not found, using dummy regulator
[    0.287060] dwc2 ff400000.usb: EPs: 10, dedicated fifos, 972 entries in SPRAM
[    0.287580] dwc2 ff400000.usb: DWC OTG Controller
[    0.287627] dwc2 ff400000.usb: new USB bus registered, assigned bus number 1
[    0.287674] dwc2 ff400000.usb: irq 23, io mem 0xff400000
[    0.288623] hub 1-0:1.0: USB hub found
[    0.288675] hub 1-0:1.0: 1 port detected
[    0.512480] phy phy-ff008000.syscon:usb2-phy@100.0: charger = USB_SDP_CHARGER
[    0.512733] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.512764] ehci-platform: EHCI generic platform driver
[    0.516610] ehci-platform ff440000.usb: EHCI Host Controller
[    0.516661] ehci-platform ff440000.usb: new USB bus registered, assigned bus number 2
[    0.516813] ehci-platform ff440000.usb: irq 24, io mem 0xff440000
[    0.522028] ehci-platform ff440000.usb: USB 2.0 started, EHCI 1.00
[    0.522953] hub 2-0:1.0: USB hub found
[    0.523038] hub 2-0:1.0: 1 port detected
[    0.523660] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.523709] ohci-platform: OHCI generic platform driver
[    0.524141] ohci-platform ff450000.usb: Generic Platform OHCI controller
[    0.524190] ohci-platform ff450000.usb: new USB bus registered, assigned bus number 3
[    0.524331] ohci-platform ff450000.usb: irq 25, io mem 0xff450000
[    0.579864] hub 3-0:1.0: USB hub found
[    0.579921] hub 3-0:1.0: 1 port detected
[    0.580577] usbcore: registered new interface driver uas
[    0.580746] usbcore: registered new interface driver usb-storage
[    0.580808] usbcore: registered new interface driver ums-alauda
[    0.580874] usbcore: registered new interface driver ums-cypress
[    0.580936] usbcore: registered new interface driver ums-datafab
[    0.581018] usbcore: registered new interface driver ums_eneub6250
[    0.581085] usbcore: registered new interface driver ums-freecom
[    0.581146] usbcore: registered new interface driver ums-isd200
[    0.581208] usbcore: registered new interface driver ums-jumpshot
[    0.581269] usbcore: registered new interface driver ums-karma
[    0.581346] usbcore: registered new interface driver ums-onetouch
[    0.581408] usbcore: registered new interface driver ums-sddr09
[    0.581475] usbcore: registered new interface driver ums-sddr55
[    0.581541] usbcore: registered new interface driver ums-usbat
[    0.582254] i2c /dev entries driver
[    0.583397] rk3x-i2c ff050000.i2c: Initialized RK3xxx I2C bus at ffffff80089be000
[    0.586303] rk_tsadcv2_temp_to_code: Invalid conversion table: code=4095, temperature=2147483647
[    0.586539] rockchip-thermal ff1f0000.tsadc: tsadc is probed successfully!
[    0.587187] Bluetooth: HCI UART driver ver 2.3
[    0.587211] Bluetooth: HCI UART protocol H4 registered
[    0.587222] Bluetooth: HCI UART protocol LL registered
[    0.587467] cpu cpu0: leakage=12
[    0.587699] cpu cpu0: Failed to get pvtm
[    0.590352] Synopsys Designware Multimedia Card Interface Driver
[    0.592056] dwmmc_rockchip ff480000.dwmmc: num-slots property not found, assuming 1 slot is available
[    0.592202] dwmmc_rockchip ff480000.dwmmc: IDMAC supports 32-bit address mode.
[    0.592266] dwmmc_rockchip ff480000.dwmmc: Using internal DMA controller.
[    0.592297] dwmmc_rockchip ff480000.dwmmc: Version ID is 270a
[    0.592372] dwmmc_rockchip ff480000.dwmmc: DW MMC controller at irq 26,32 bit host data width,256 deep fifo
[    0.592666] dwmmc_rockchip ff480000.dwmmc: GPIO lookup for consumer cd
[    0.592682] dwmmc_rockchip ff480000.dwmmc: using device tree for GPIO lookup
[    0.592699] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/dwmmc@ff480000[0]'
[    0.592715] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/dwmmc@ff480000[0]'
[    0.592728] dwmmc_rockchip ff480000.dwmmc: using lookup tables for GPIO lookup
[    0.592744] dwmmc_rockchip ff480000.dwmmc: lookup for GPIO cd failed
[    0.592761] dwmmc_rockchip ff480000.dwmmc: GPIO lookup for consumer wp
[    0.592775] dwmmc_rockchip ff480000.dwmmc: using device tree for GPIO lookup
[    0.592790] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/dwmmc@ff480000[0]'
[    0.592805] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/dwmmc@ff480000[0]'
[    0.592820] dwmmc_rockchip ff480000.dwmmc: using lookup tables for GPIO lookup
[    0.592833] dwmmc_rockchip ff480000.dwmmc: lookup for GPIO wp failed
[    0.593194] rockchip-iodomain ff000000.grf:io-domains: Setting to 3300000 done
[    0.593232] rockchip-iodomain ff000000.grf:io-domains: Setting to 3300000 done
[    0.604151] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    0.615142] rockchip-iodomain ff000000.grf:io-domains: Setting to 3300000 done
[    0.615177] rockchip-iodomain ff000000.grf:io-domains: Setting to 3300000 done
[    0.615193] set vqmmc to 3.3v, ret=0
[    0.615713] dwmmc_rockchip ff480000.dwmmc: 1 slots initialized
[    0.615948] dwmmc_rockchip ff490000.dwmmc: No default pinctrl state
[    0.615971] dwmmc_rockchip ff490000.dwmmc: No off pinctrl state
[    0.616132] dwmmc_rockchip ff490000.dwmmc: IDMAC supports 32-bit address mode.
[    0.616180] dwmmc_rockchip ff490000.dwmmc: Using internal DMA controller.
[    0.616204] dwmmc_rockchip ff490000.dwmmc: Version ID is 270a
[    0.616273] dwmmc_rockchip ff490000.dwmmc: DW MMC controller at irq 27,32 bit host data width,256 deep fifo
[    0.616353] dwmmc_rockchip ff490000.dwmmc: No vmmc regulator found
[    0.616368] dwmmc_rockchip ff490000.dwmmc: No vqmmc regulator found
[    0.616393] dwmmc_rockchip ff490000.dwmmc: GPIO lookup for consumer wp
[    0.616407] dwmmc_rockchip ff490000.dwmmc: using device tree for GPIO lookup
[    0.616423] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/dwmmc@ff490000[0]'
[    0.616438] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/dwmmc@ff490000[0]'
[    0.616452] dwmmc_rockchip ff490000.dwmmc: using lookup tables for GPIO lookup
[    0.616468] dwmmc_rockchip ff490000.dwmmc: lookup for GPIO wp failed
[    0.627163] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    0.638120] dwmmc_rockchip ff490000.dwmmc: 1 slots initialized
[    0.638697] dwmmc_rockchip ff4a0000.dwmmc: No default pinctrl state
[    0.638724] dwmmc_rockchip ff4a0000.dwmmc: No off pinctrl state
[    0.638740] dwmmc_rockchip ff4a0000.dwmmc: num-slots property not found, assuming 1 slot is available
[    0.638838] dwmmc_rockchip ff4a0000.dwmmc: IDMAC supports 32-bit address mode.
[    0.638879] dwmmc_rockchip ff4a0000.dwmmc: Using internal DMA controller.
[    0.638898] dwmmc_rockchip ff4a0000.dwmmc: Version ID is 270a
[    0.638966] dwmmc_rockchip ff4a0000.dwmmc: DW MMC controller at irq 28,32 bit host data width,256 deep fifo
[    0.639054] dwmmc_rockchip ff4a0000.dwmmc: No vmmc regulator found
[    0.639074] dwmmc_rockchip ff4a0000.dwmmc: No vqmmc regulator found
[    0.639095] dwmmc_rockchip ff4a0000.dwmmc: GPIO lookup for consumer wp
[    0.639106] dwmmc_rockchip ff4a0000.dwmmc: using device tree for GPIO lookup
[    0.639120] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/dwmmc@ff4a0000[0]'
[    0.639132] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/dwmmc@ff4a0000[0]'
[    0.639142] dwmmc_rockchip ff4a0000.dwmmc: using lookup tables for GPIO lookup
[    0.639153] dwmmc_rockchip ff4a0000.dwmmc: lookup for GPIO wp failed
[    0.639314] platform sdio-pwrseq: GPIO lookup for consumer reset
[    0.639325] platform sdio-pwrseq: using device tree for GPIO lookup
[    0.639345] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/sdio-pwrseq[0]' - status (0)
[    0.639387] dwmmc_rockchip ff4a0000.dwmmc: allocated mmc-pwrseq
[    0.650074] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    0.661136] dwmmc_rockchip ff4a0000.dwmmc: 1 slots initialized
[    0.661645] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/power[0]' - status (0)
[    0.661853] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/user[0]' - status (0)
[    0.662172] is31fl32xx 1-003c: GPIO lookup for consumer reset
[    0.662187] is31fl32xx 1-003c: using device tree for GPIO lookup
[    0.662225] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/i2c@ff050000/led-controller@3c[0]' - status (0)
[    0.662452] is31fl32xx 1-003c: register write to 0x00 failed (error -6),val=0
[    0.674888] mmc1: MAN_BKOPS_EN bit is not set
[    0.678341] mmc_host mmc1: Bus speed (slot 0) = 147456000Hz (slot req 150000000Hz, actual 147456000HZ div = 0)
[    0.690361] mmc2: queuing unknown CIS tuple 0x80 (2 bytes)
[    0.691911] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.693455] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.696224] mmc2: queuing unknown CIS tuple 0x80 (7 bytes)
[    0.699605] mmc2: queuing unknown CIS tuple 0x81 (9 bytes)
[    0.763151] is31fl32xx 1-003c: register write to 0x00 failed (error -6),val=0
[    0.782937] mmc_host mmc2: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    0.784721] mmc2: new high speed SDIO card at address 0001
[    0.864159] is31fl32xx 1-003c: register write to 0x00 failed (error -6),val=0
[    0.965225] is31fl32xx_init_regs, write to shutdown register failed
[    0.965424] is31fl32xx 1-003c: register write to 0x26 failed (error -6),val=1
[    1.066345] is31fl32xx 1-003c: register write to 0x26 failed (error -6),val=1
[    1.167289] is31fl32xx 1-003c: register write to 0x26 failed (error -6),val=1
[    1.188976] dwmmc_rockchip ff490000.dwmmc: Successfully tuned phase to 47
[    1.189270] mmc1: new HS200 MMC card at address 0001
[    1.190649] mmcblk1: mmc1:0001 8GTF4R 7.28 GiB
[    1.191420] mmcblk1boot0: mmc1:0001 8GTF4R partition 1 4.00 MiB
[    1.193187] mmcblk1boot1: mmc1:0001 8GTF4R partition 2 4.00 MiB
[    1.194954] mmcblk1rpmb: mmc1:0001 8GTF4R partition 3 512 KiB
[    1.201162]  mmcblk1: p1 p2 p3 p4 p5 p6 p7 p8
[    1.268875] usbcore: registered new interface driver usbhid
[    1.268932] usbhid: USB HID core driver
[    1.269262] rockchip-dmc dmc: failed to get the count of devfreq-event in /dmc node
[    1.269662] rockchip-dmc dmc: Failed to get leakage
[    1.269836] rockchip-dmc dmc: Failed to get pvtm
[    1.270432] rockchip-dmc dmc: failed to get vop bandwidth to dmc rate
[    1.270484] rockchip-dmc dmc: don't add devfreq feature
[    1.274340] rknandc_base v1.1 2017-01-11
[    1.274815] rksfc_base v1.1 2016-01-08
[    1.282656] rk3308-acodec ff560000.acodec: GPIO lookup for consumer hp-ctl
[    1.282699] rk3308-acodec ff560000.acodec: using device tree for GPIO lookup
[    1.282759] of_get_named_gpiod_flags: parsed 'hp-ctl-gpios' property of node '/acodec@ff560000[0]' - status (0)
[    1.282849] rk3308-acodec ff560000.acodec: GPIO lookup for consumer spk-ctl
[    1.282877] rk3308-acodec ff560000.acodec: using device tree for GPIO lookup
[    1.282928] of_get_named_gpiod_flags: parsed 'spk-ctl-gpios' property of node '/acodec@ff560000[0]' - status (0)
[    1.283041] rk3308-acodec ff560000.acodec: GPIO lookup for consumer pa-drv
[    1.283071] rk3308-acodec ff560000.acodec: using device tree for GPIO lookup
[    1.283099] of_get_named_gpiod_flags: can't parse 'pa-drv-gpios' property of node '/acodec@ff560000[0]'
[    1.283127] of_get_named_gpiod_flags: can't parse 'pa-drv-gpio' property of node '/acodec@ff560000[0]'
[    1.283156] rk3308-acodec ff560000.acodec: using lookup tables for GPIO lookup
[    1.283186] rk3308-acodec ff560000.acodec: lookup for GPIO pa-drv failed
[    1.283215] rk3308-acodec ff560000.acodec: Don't need pa-drv gpio
[    1.283267] rk3308-acodec ff560000.acodec: De-pop as much as possible
[    1.284458] 1-001a supply AVDD not found, using dummy regulator
[    1.284607] 1-001a supply DVDD not found, using dummy regulator
[    1.284720] 1-001a supply PVDD_A not found, using dummy regulator
[    1.284834] 1-001a supply PVDD_B not found, using dummy regulator
[    1.284947] 1-001a supply PVDD_C not found, using dummy regulator
[    1.285089] 1-001a supply PVDD_D not found, using dummy regulator
[    1.285369] tas571x 1-001a: GPIO lookup for consumer pdn
[    1.285399] tas571x 1-001a: using device tree for GPIO lookup
[    1.285463] of_get_named_gpiod_flags: parsed 'pdn-gpios' property of node '/i2c@ff050000/tas5731@1a[0]' - status (0)
[    1.285490] gpio-5 (spk-ctl): gpiod_request: status -16
[    1.285520] tas571x 1-001a: error requesting pdn_gpio: -16
[    1.286156] tas571x: probe of 1-001a failed with error -16
[    1.286687] asoc_simple_card_probe(),/i2s1-8ch-sound
[    1.286781] asoc_simple_card_parse_daifmt(),codec_name =simple-audio-card,codec
[    1.286835] asoc_simple_card_parse_daifmt(),fmt = 4001
[    1.294663] rk-multicodecs bluetooth-sound: card: 0 has not been locked, re-probe again
[    1.294726] rk-multicodecs bluetooth-sound: check_lock_card failed: -517
[    1.295137] rk-multicodecs vad-sound: ASoC: CPU DAI (null) not registered
[    1.296567] NET: Registered protocol family 10
[    1.298376] NET: Registered protocol family 17
[    1.298474] NET: Registered protocol family 15
[    1.298750] Bluetooth: RFCOMM TTY layer initialized
[    1.298789] Bluetooth: RFCOMM socket layer initialized
[    1.298843] Bluetooth: RFCOMM ver 1.11
[    1.298881] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    1.298906] Bluetooth: HIDP socket layer initialized
[    1.298932] [WLAN_RFKILL]: Enter rfkill_wlan_init
[    1.299608] [WLAN_RFKILL]: Enter rfkill_wlan_probe
[    1.299659] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi_chip_type = ap6236
[    1.299677] [WLAN_RFKILL]: wlan_platdata_parse_dt: enable wifi power control.
[    1.299693] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi power controled by gpio.
[    1.299713] of_get_named_gpiod_flags: can't parse 'WIFI,poweren_gpio' property of node '/wireless-wlan[0]'
[    1.299731] of_get_named_gpiod_flags: can't parse 'WIFI,vbat_gpio' property of node '/wireless-wlan[0]'
[    1.299752] of_get_named_gpiod_flags: can't parse 'WIFI,reset_gpio' property of node '/wireless-wlan[0]'
[    1.299807] of_get_named_gpiod_flags: parsed 'WIFI,host_wake_irq' property of node '/wireless-wlan[0]' - status (0)
[    1.299824] [WLAN_RFKILL]: wlan_platdata_parse_dt: get property: WIFI,host_wake_irq = 0, flags = 1.
[    1.299855] [WLAN_RFKILL]: wlan_platdata_parse_dt: The ref_wifi_clk not found !
[    1.299871] [WLAN_RFKILL]: rfkill_wlan_probe: init gpio
[    1.299891] [WLAN_RFKILL]: Exit rfkill_wlan_probe
[    1.300047] [BT_RFKILL]: Enter rfkill_rk_init
[    1.300631] of_get_named_gpiod_flags: parsed 'uart_rts_gpios' property of node '/wireless-bluetooth[0]' - status (0)
[    1.300652] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: uart_rts_gpios = 135.
[    1.300702] of_get_named_gpiod_flags: parsed 'BT,power_gpio' property of node '/wireless-bluetooth[0]' - status (0)
[    1.300719] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,power_gpio = 139.
[    1.300739] of_get_named_gpiod_flags: can't parse 'BT,reset_gpio' property of node '/wireless-bluetooth[0]'
[    1.300758] of_get_named_gpiod_flags: can't parse 'BT,wake_gpio' property of node '/wireless-bluetooth[0]'
[    1.300792] of_get_named_gpiod_flags: parsed 'BT,wake_host_irq' property of node '/wireless-bluetooth[0]' - status (0)
[    1.300809] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,wake_host_irq = 140.
[    1.300832] [BT_RFKILL]: bluetooth_platdata_parse_dt: clk_get failed!!!.
[    1.300936] [BT_RFKILL]: Request irq for bt wakeup host
[    1.301050] [BT_RFKILL]: ** disable irq
[    1.301320] [BT_RFKILL]: bt_default device registered.
[    1.302084] flash vendor_init_thread!
[    1.302121] flash vendor storage:20170308 ret = -1
[    1.304938] input: adc-keys as /devices/platform/adc-keys/input/input0
[    1.305877] asoc_simple_card_probe(),/i2s1-8ch-sound
[    1.305959] asoc_simple_card_parse_daifmt(),codec_name =simple-audio-card,codec
[    1.306021] asoc_simple_card_parse_daifmt(),fmt = 4001
[    1.306318] of_get_named_gpiod_flags: can't parse 'simple-audio-card,hp-det-gpio' property of node '/i2s1-8ch-sound[0]'
[    1.306339] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/i2s1-8ch-sound[0]'
[    1.307721] asoc-simple-card i2s1-8ch-sound: dummy_codec <-> ff310000.i2s mapping ok
[    1.310975] dummy_codec dummy-codec: Trying to bind component to card "rockchip,rk3308-pcm" but is already bound to card "rockchip,i2s1_8ch_mic"
[    1.311056] rk-multicodecs bluetooth-sound: ASoC: failed to instantiate card -19
[    1.311246] rk-multicodecs bluetooth-sound: card register failed -19
[    1.320707] vendor storage:20160801 ret = 0
[    1.384751] rk-multicodecs vad-sound: multicodec <-> pdm-i2s-dais mapping ok
[    1.388155] dhd_module_init: in Dongle Host Driver, version 1.579.77.41.2 (r)
[    1.388214] ======== dhd_wlan_init_plat_data ========
[    1.388236] dhd_wlan_init_gpio: GPIO(WL_REG_ON) = -1
[    1.388256] dhd_wlan_init_gpio: GPIO(WL_HOST_WAKE) = -1
[    1.388278] [WLAN_RFKILL]: rockchip_wifi_get_oob_irq: Enter
[    1.388303] dhd_wlan_init_gpio: host_oob_irq: 37
[    1.388338] dhd_wlan_init_gpio: host_oob_irq_flags=0x418
[    1.388357] dhd_wifi_platform_load: Enter
[    1.388407] Power-up adapter 'DHD generic adapter'
[    1.388537] hctosys: unable to open rtc device (rtc0)
[    1.397381] wifi_platform_set_power = 1
[    1.397433] ======== PULL WL_REG_ON(-1) HIGH! ========
[    1.397457] [WLAN_RFKILL]: rockchip_wifi_power: 1
[    1.397488] [WLAN_RFKILL]: wifi turn on power. -1
[    1.413594] vcc_sd: disabling
[    1.413676] vccio_sd: disabling
[    1.415226] ret 1024
[    1.416182] ALSA device list:
[    1.416230]   #0: rockchip,i2s1_8ch_mic
[    1.416251]   #1: rockchip,rk3308-vad
[    1.416270]   #7: Loopback 1
[    1.420208] VFS: Mounted root (squashfs filesystem) readonly on device 179:6.
[    1.422572] devtmpfs: mounted
[    1.422973] Freeing unused kernel memory: 384K
[    1.698109] wifi_platform_bus_enumerate device present 1
[    1.698149] ======== Card detection to detect SDIO card! ========
[    1.698163] mmc2:mmc host rescan start!
[    1.714423] bcmsdh_register: register client driver
[    1.714656] bcmsdh_sdmmc_probe: Enter num=1
[    1.714834] bcmsdh_sdmmc_probe: Enter num=2
[    1.714857] bus num (host idx)=2, slot num (rca)=1
[    1.714869] found adapter info 'DHD generic adapter'
[    1.714938] sdioh_attach: set sd_f2_blocksize 256
[    1.715058] sdioh_attach: sd clock rate = 0
[    1.715619] F1 signature read @0x18000000=0x1532a9a6
[    1.715646] udevd[152]: starting version 3.2.5
[    1.718774] F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x2 pkg:0x3
[    1.719841] DHD: dongle ram size is set to 524288(orig 524288) at 0x0
[    1.720050] dhd_conf_set_chiprev: chip=0xa9a6, chiprev=2
[    1.720553] CFG80211-ERROR) wl_setup_wiphy : Registering Vendor80211
[    1.721250] CFG80211-ERROR) wl_init_prof : wl_init_prof: No profile
[    1.721506] wl_escan_attach: Enter
[    1.721573] wl_escan_init: Enter
[    1.721685] wl_create_event_handler(): thread:wl_escan_handler:9a started
[    1.721690] tsk Enter, tsk = 0xffffffc00e330180
[    1.722025] dhd_attach(): thread:dhd_watchdog_thread:9b started
[    1.722111] dhd_attach(): thread:dhd_dpc:9c started
[    1.722340] dhd_attach(): thread:dhd_rxf:9d started
[    1.722478] dhd_deferred_work_init: work queue initialized
[    1.722533] dhd_bus_set_default_min_res_mask: Unhandled chip id
[    1.722762] sdioh_cis_read: func_cis_ptr[0]=0x1070
[    1.732803] Dongle Host Driver, version 1.579.77.41.2 (r)
[    1.733651] Register interface [wlan0]  MAC: 6c:21:a2:17:8c:6a
[    1.733651]
[    1.733742] dhd_wl_ioctl: returning as busstate=0
[    1.733760] dhd_dbg_detach_pkt_monitor, 2204
[    1.733771] dhd_bus_devreset: == Power OFF ==
[    1.734384] bcmsdh_oob_intr_unregister: Enter
[    1.734413] bcmsdh_oob_intr_unregister: irq is not registered
[    1.734438] dhd_txglom_enable: enable 0
[    1.734449] dhd_conf_set_txglom_params: txglomsize=0, deferred_tx_len=0, bus_txglom=-1
[    1.734460] dhd_conf_set_txglom_params: tx_in_rx=1, txinrx_thres=-1, dhd_txminmax=1
[    1.734470] dhd_conf_set_txglom_params: tx_max_offset=0, txctl_tmo_fix=5
[    1.734479] sdioh_set_mode: set txglom_mode to copy
[    1.734489] dhd_bus_devreset:  WLAN OFF DONE
[    1.734543] wifi_platform_set_power = 0
[    1.734555] ======== PULL WL_REG_ON(-1) LOW! ========
[    1.734566] [WLAN_RFKILL]: rockchip_wifi_power: 0
[    1.734588] [WLAN_RFKILL]: wifi shut off power.
[    1.734720] dhd_module_init: Exit err=0
[    1.748631] udevd[158]: starting eudev-3.2.5
[    7.181861] dhd_ioctl_entry: Interface is down
[    7.181909] Error getting the SSID
[    7.276774] rk_gmac-dwmac ff4e0000.ethernet: rk_get_eth_addr: mac address: 66:2a:9a:ce:8f:4d
[    7.276825] eth0: device MAC address 66:2a:9a:ce:8f:4d
[    7.288441] dhd_open: Enter ffffffc00edfd800
[    7.288493]
[    7.288493] Dongle Host Driver, version 1.579.77.41.2 (r)
[    7.288510] wl_android_wifi_on in 1
[    7.288521] wl_android_wifi_on in 2: g_wifi_on=0
[    7.288534] wifi_platform_set_power = 1
[    7.288545] ======== PULL WL_REG_ON(-1) HIGH! ========
[    7.288558] [WLAN_RFKILL]: rockchip_wifi_power: 1
[    7.288571] [WLAN_RFKILL]: wifi turn on power. -1
[    7.522873] file system registered
[    7.560907] read descriptors
[    7.560954] read strings
[    7.589099] sdio_reset_comm():
[    7.604178] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    7.621137] mmc_host mmc2: Bus speed (slot 0) = 100000Hz (slot req 100000Hz, actual 100000HZ div = 0)
[    7.674970] mmc2: queuing unknown CIS tuple 0x80 (2 bytes)
[    7.681554] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[    7.688316] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[    7.700449] mmc2: queuing unknown CIS tuple 0x80 (7 bytes)
[    7.715067] mmc2: queuing unknown CIS tuple 0x81 (9 bytes)
[    8.075272] mmc_host mmc2: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    8.075739] sdioh_start: set sd_f2_blocksize 256
[    8.077264]
[    8.077264]
[    8.077264] dhd_bus_devreset: == WLAN ON ==
[    8.077538] F1 signature read @0x18000000=0x1532a9a6
[    8.083158] F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x2 pkg:0x3
[    8.085500] DHD: dongle ram size is set to 524288(orig 524288) at 0x0
[    8.085788] dhd_bus_set_default_min_res_mask: Unhandled chip id
[    8.088605] dhd_conf_read_config: Ignore config file /system/etc/firmware/config.txt
[    8.088685] Final fw_path=/system/etc/firmware/fw_bcm43436b0.bin
[    8.088719] Final nv_path=/system/etc/firmware/nvram_ap6236.txt
[    8.088740] Final clm_path=/system/etc/firmware/clm_bcmdhd.blob
[    8.088761] Final conf_path=/system/etc/firmware/config.txt
[    8.088784] dhd_set_bus_params: set use_rxchain 0
[    8.088805] dhd_set_bus_params: set txglomsize 36
[    8.090564] dhd_os_open_image: /system/etc/firmware/fw_bcm43436b0.bin (428559 bytes) open success
[    8.228771] dhd_os_open_image: /system/etc/firmware/nvram_ap6236.txt (1212 bytes) open success
[    8.234327] NVRAM version: AP6236_NVRAM_V1.1.1_20180815
[    8.236475] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[    8.308625] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
[    8.309163] bcmsdh_oob_intr_register HW_OOB irq=37 flags=0x8
[    8.309881] dhd_get_memdump_info: File [/data/misc/wifi/.memdump.info] doesn't exist
[    8.309956] dhd_get_memdump_info: MEMDUMP ENABLED = 2
[    8.312630] Disable tdls_auto_op failed. -1
[    8.312683] dhd_preinit_ioctls: Set tcpack_sup_mode 0
[    8.312711] dhd_tcpack_suppress_set 352: already set to 0
[    8.313522] dhd_apply_default_clm: Ignore clm file /system/etc/firmware/clm_bcmdhd.blob
[    8.316643] Firmware up: op_mode=0x0005, MAC=6c:21:a2:17:8c:6a
[    8.316694] dhd_conf_set_country: set country CN, revision 0
[    8.356239] Country code: CN (CN/0)
[    8.356813] dhd_conf_set_intiovar: set roam_off 1
[    8.361675] dhd_preinit_ioctls Set scancache failed -23
[    8.377768]   Driver: 1.579.77.41.2 (r)
[    8.377768]   Firmware: wl0: Jul 20 2018 13:31:01 version 9.88.4.16 (d853e07@shgit)  (r) FWID 01-f5575e5 es7.c5.n4.a3
[    8.377768]   CLM: 9.6.3
[    8.378512] dhd_txglom_enable: enable 1
[    8.378568] dhd_conf_set_txglom_params: txglomsize=36, deferred_tx_len=36, bus_txglom=-1
[    8.378594] dhd_conf_set_txglom_params: tx_in_rx=1, txinrx_thres=-1, dhd_txminmax=1
[    8.378638] dhd_conf_set_txglom_params: tx_max_offset=0, txctl_tmo_fix=5
[    8.378659] sdioh_set_mode: set txglom_mode to copy
[    8.378703] dhd_conf_get_disable_proptx: fw_proptx=1, disable_proptx=-1
[    8.381122] dhd_wlfc_hostreorder_init(): successful bdcv2 tlv signaling, 64
[    8.381560] dhd_conf_set_intiovar: set ampdu_hostreorder 1
[    8.384143] dhd_pno_init: Support Android Location Service
[    8.417824] CFG80211-ERROR) wl_cfg80211_event : Event handler is not created
[    8.419437] rtt_do_get_ioctl: failed to send getbuf proxd iovar (CMD ID : 1), status=-23
[    8.419487] dhd_rtt_init : FTM is not supported
[    8.419512] dhd_preinit_ioctls: SensorHub diabled 0
[    8.420607] dhd_preinit_ioctls failed to set ShubHub disable
[    8.424219] failed to set WNM capabilities
[    8.424275] wl_android_wifi_on: Success
[    8.430131] CFG80211-ERROR) __wl_update_wiphybands : error reading vhtmode (-23)
[    8.441609] dhd_open: Exit ret=0
[    8.553053] dwc2 ff400000.usb: bound driver configfs-gadget
[    8.711300] dwc2 ff400000.usb: new device is high-speed
[    8.744803] dwc2 ff400000.usb: new address 62
[    8.757473] android_work: sent uevent USB_STATE=CONNECTED
[    8.944910] android_work: sent uevent USB_STATE=DISCONNECTED
[    8.996533] dwc2 ff400000.usb: new device is high-speed
[    9.030298] dwc2 ff400000.usb: new address 26
[    9.043227] android_work: sent uevent USB_STATE=CONNECTED
[    9.059877] configfs-gadget gadget: high-speed config #1: b
[    9.060211] android_work: sent uevent USB_STATE=CONFIGURED
#

作者: zhangfengzan    时间: 2020-11-13 10:29
zhangfengzan 发表于 2020-11-13 10:26
# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.4.143 (z ...

你们RK的音频有测试过吗?我感觉代码什么的怀疑是不是最新的,我啦的官方github的tag分支最新的那个
作者: zyk    时间: 2020-11-13 16:21
现在什么问题,前两天你不是解决了吗,拉取的commit是什么
作者: zhangfengzan    时间: 2020-11-16 10:16
zyk 发表于 2020-11-13 16:21
现在什么问题,前两天你不是解决了吗,拉取的commit是什么

#
arecord -D hw:1,0 -c 8 -r 48000 -f S16_LE --period-size=1024 --buffer-size=4096 test.wav
Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Channels 8
arecord: pcm_read:2103: read error: Input/output error
#
# cat /proc/asound/cards
0 [Loopback       ]: Loopback - Loopback
                      Loopback 1
1 [rockchipi2s8ch0]: rockchip_i2s_8c - rockchip,i2s_8ch_0_1
                      rockchip,i2s_8ch_0_1
#


作者: zyk    时间: 2020-11-16 10:28
现在是录音有问题?
作者: zhangfengzan    时间: 2020-11-16 10:37
zyk 发表于 2020-11-16 10:28
现在是录音有问题?

是啊,老是报错,这咋整啊?播音都是好的
作者: zyk    时间: 2020-11-16 10:39
接mic了没,是否有音源输入
作者: zhangfengzan    时间: 2020-11-16 10:42
zyk 发表于 2020-11-16 10:39
接mic了没,是否有音源输入

我数据都接了啊,而且还量了波形都有的
作者: zyk    时间: 2020-11-16 10:47
试一下
killall eq_drc_process
录音时看一下cat /proc/asound/card1/pcm1c/sub1/hw_params
作者: zhangfengzan    时间: 2020-11-16 10:52
zyk 发表于 2020-11-16 10:47
试一下
killall eq_drc_process
录音时看一下cat /proc/asound/card1/pcm1c/sub1/hw_params
# cat /proc/asound/card1/pcm1c/sub1/hw_params
cat: /proc/asound/card1/pcm1c/sub1/hw_params: No such file or directory# cd /proc/asound//proc/asound/card1# ls -l
total 0
-r--r--r-- 1 root root 0 Nov 14 06:50 idap 999.wav -D 1 -d 0 -c 8 -b 16 -r 48000
dr-xr-xr-x 3 root root 0 Nov 14 06:50 pcm0c
dr-xr-xr-x 3 root root 0 Nov 14 06:50 pcm0p
/proc/asound/card1#



作者: zyk    时间: 2020-11-16 11:04
本帖最后由 zyk 于 2020-11-16 11:11 编辑

进pcm0c里面,一样的录音时看一下hw_params。另外可以试一下tinycap命令
作者: zhangfengzan    时间: 2020-11-16 14:55
zyk 发表于 2020-11-16 11:04
进pcm0c里面,一样的录音时看一下hw_params。另外可以试一下tinycap命令

那这个到底啥原因呢?什么原因引起的呢?
作者: zyk    时间: 2020-11-16 15:08
本帖最后由 zyk 于 2020-11-16 15:19 编辑

tinycap没问题?找原因可以strace跟一下
作者: zhangfengzan    时间: 2020-11-16 15:38
zyk 发表于 2020-11-16 15:08
tinycap没问题?找原因可以strace跟一下

strace怎么跟?能详细描述下吗?
作者: zyk    时间: 2020-11-16 15:50
你可以网上搜一下strace,相当于生成一个专门的log文件。关键是tinycap有没有报错




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1