mochitec 发表于 2019-1-29 10:57:35

rk3308,sdio AP6212

大佬帮看下这可能是什么原因导致的问题,
# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.4.143 (root@rootpc-PowerEdge-R730) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05) ) #13 SMP PREEMPT Mon Jan 28 14:46:07 CST 2019
[    0.000000] Boot CPU: AArch64 Processor
[    0.000000] earlycon: Early serial console at MMIO32 0xff0c0000 (options '')
[    0.000000] bootconsole 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 18 pages/cpu @ffffffc00ff5d000 s35992 r8192 d29544 u73728
[    0.000000] pcpu-alloc: s35992 r8192 d29544 u73728 alloc=18*4096
[    0.000000] pcpu-alloc: 0 1 2 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=nand androidboot.slot_suffix= androidboot.serialno=c3d9b8674f4b94f6rootwait eartycon=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 (0MB) mapped at
[    0.000000] Memory: 246420K/260096K available (5182K kernel code, 372K rwdata, 1756K rodata, 320K init, 495K bss, 13676K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]   modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MBd
[    0.000000]   vmalloc : 0xffffff8008000000 - 0xffffffbdbfff0000   (   246 GB)
[    0.000000]       .init : 0xffffff8008750000 - 0xffffff80087a0000   (   320 KB)
[    0.000000]       .text : 0xffffff8008080000 - 0xffffff8008590000   (5184 KB)
[    0.000000]   .rodata : 0xffffff8008590000 - 0xffffff8008750000   (1792 KB)
[    0.000000]       .data : 0xffffff80087a0000 - 0xffffff80087fd008   (   373 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_phasea 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.001741] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=24000)
[    0.002690] pid_max: default: 32768 minimum: 301
[    0.003238] Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
[    0.003841] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes)
[    0.005261] sched-energy: CPU device node has no sched-energy-costs
[    0.005878] Invalid sched_group_energy for CPU0
[    0.006296] CPU0: update cpu_capacity 1024
[    0.006717] ASID allocator initialised with 65536 entries
[    0.016445] Detected VIPT I-cache on CPU1
[    0.016499] Invalid sched_group_energy for CPU1
[    0.016504] CPU1: update cpu_capacity 1024
[    0.016508] CPU1: Booted secondary processor
[    0.019465] Detected VIPT I-cache on CPU2
[    0.019501] Invalid sched_group_energy for CPU2
[    0.019506] CPU2: update cpu_capacity 1024
[    0.019510] CPU2: Booted secondary processor
[    0.022505] Detected VIPT I-cache on CPU3
[    0.022540] Invalid sched_group_energy for CPU3
[    0B022544] CPU3: update cpu_capacity 1024
[    0.022548] CPU3: Booted secondary processor
[    0.022616] Brought up 4 CPUs
[    0.027825] SMP: Total of 4 processors activated.
[    0.028265] CPU: All CPU(s) started at EL2
[    0.028771] Invalid sched_group_energy for CPU3
[    0.029193] Invalid sched_group_energy for Cluster3
[    0.029640] Invalid sched_group_energy for CPU2
[    0.030071] Invalid sched_group_energy for Cluster2
[    0.030519] Invalid sched_group_energy for CPU1
[    0.030935] Invalid sched_group_energy for Cluster1
[    0.031392] Invalid sched_group_energy for CPU0
[    0.031810] Invalid sched_group_energy for Cluster0
[    0.032795] devtmpfs: initialized
[    0.049881] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.050819] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.051768] pinctrl core: initialized pinctrl subsystem
[    0.053260] NET: Registered protocol family 16
[    0.058762] cpuidle: using governor menu
[    0.05(154] Registered FIQ tty driver
[    0.059738] vdso: 2 pages (1 code @ ffffff8008596000, 1 data @ ffffff80087a4000)
[    0.060472] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.061296] DMA: preallocated 256 KiB pool for atomic allocations
[    0.069127] console enabled
[    0.069482] pstore: Registered ramoops as persistent store backend
[    0.070065] ramoops: attached 0xf0000@0x110000, ecc0/0
[    0.078945] gpiochip_add_data: registered GPIOs 0 to 31 on device: gpio0
[    0.079077] gpiochip_add_data: registered GPIOs 32 to 63 on device: gpio1
[    0.079194] gpiochip_add_data: registered GPIOs 64 to 95 on device: gpio2
[    0.0:9335] gpiochip_add_data: registered GPIOs 96 to 127 on device8 gpio3
[    0.079454] gpiochip_add_data: registered GPIOs 128 to 159 on device: gpio4
[    0.088344] fiq debugger fiq mode enabled
[    0.089113] console enabled
[    0.08f807] bootconsole disabled
[    0.090752] Registered fiq debugger ttyFIQ0
[    0.102101] reg-fixed-voltage vdd-core: Fixed regulator specified with variable voltages
[    0.102152] reg-fixed-voltage: probe of vdd-core failed with error -22
[    0.102227] of_get_named_gpiod_flags: can't parse 'gpiog property of node '/vdd-log'
[    0.102573] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vdd-1v0'
[    0.102850] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vcc-1v8'
[    0.103322] vcc_1v8: regulator get failed, ret=-517
[    0.103476] of_get_named_gpiod_flags: parsed 'gpio' property of node '/vcc-sd' - status (0)r[    0.103864] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vcc-1v8-codec'
[    0.104167] vcc_1v8_codec: regulator get failed, ret=-517
[    0.104327] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vcc-ddr'
[    0.104679] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vcc-io'
[    0.104970] vcc_1v8: supplied by vcc_io
[    0.105048] vcc_1v8_codec: supplied by vcc_'o
[    0.105212] of_get_named_gpiod_flags: can't parse 'gpiom property of node '/vccio-flash'
[    0.105517] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vcc-phy-regulator'
[    0.105980] of_get_named_gpiod_flags: parsed 'gpio' property of node '/vbus-host-regulator' - status (0)
[    0.107907] Advanced Linux Sound Architecture Driver In8tialized.
[    0.108600] Bluetooth: Core ver 2.21
[    0.108668] NET: Registered protocol family 31
[    0.108685] Bluetooth: HCI device and connection manager initialized
[    0.108707] Bluetooth: HCI socket layer initialized
[    0.108725] Bluetooth: L2CAP socket layer initialized
[    0.108759] Bluetooth: SCO socket layer initialized
[    0.109839] rockchip-cpuinfo cpuinfo: Serial                : b58dc8b9b403f697
[    0.110441] clocksource: Switched to clocksource arch_sys_counter
[    0.112913] thermal thermal_zone1: power_allocator: sustainable_power will be estimated
[    0.113242] NET: Registered protocol family 2
[    0.113939] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.113999] TCP bind hash table entries: 2048 (order: 3, 32768 bytes)
[    0.114060] TCP: Hash tables configured (established 2048 bind 2048)
[    0.114142] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.114174] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.114382] NET: Registered protocol family 1
[    0.115235] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.126513] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.129647] io scheduler noop registered (default)
[    0.130804] phy phy-ff008000.syscon:usb2-phy@100.0: Failed to get VBUS supply regulator
[    0.135039] dma-pl330 ff2c0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.135086] dma-pl330 ff2c0000.dma-controller:         DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[    0.137510] dma-pl330 ff2d0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.137551] dma-pl330 ff2d0000.dma-controller:         DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    0.137908] rockchip-pvtm ff000000.grf:pmu-pvtm: failed to get rst 0 pmu
[    0.138069] rockchip-pvtm ff00c000.syscon:pvtm: failed to get rst 0 core
[    0.138990] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
[    0.141203] ff0c0000.serial: ttyS2 at MMIO 0xff0c0000 (irq = 12, base_baud = 1500000) is a 16550A
[    0.142239] ff0e0000.serial: ttyS4 at MMIO 0xff0e0000 (irq = 13, base_baud = 6770833) is a 16550A
[    0.144095] Initialized drm 1.1.0 20060810
[    0.144260] random: nonblocking pool is initialized
[    0.147100] Unable to detect cache hierarchy for CPU 0
[    0.147700] Rockchip WiFi SYS interface (V1.00) ...
[    0.148129] ff400000.usb supply vusb_d not found, using dummy regulator
[    0.148225] ff400000.usb supply vusb_a not found, using dummy regulator
[    0.151771] dwc2 ff400000.usb: Configuration mismatch1 dr_mode forced to device
[    0.151811] dwc2 ff400000.usb: 128 invalid for host_nperio_tx_fifo_size. Check HW configuration.
[    0.151833] dwc2 ff400000.usb: 256 invalid for host_perio_tx_fifo_size. Check HW configuration.
[    0.151884] dwc2 ff400000.usb: EPs: 10, dedicated fifos, 972 entries in SPRAM
[    0.334923] phy phy-ff008000.syscon:usb2-phy@100.0: charger = USB_CDP_CHARGER
[    0.335848] i2c /dev entries driver
[    0.336888] rk3x-i2c ff050000.i2c: Initialized RK3xxx I2C bus at ffffff80088be000
[    0.339670] rk_tsadcv2_temp_to_code: Invalid conversion table: code=4095, temperature=2147483647
[    0.339909] rockchip-thermal ff1f0000.tsadc: tsadc is probed successfully!
[    0.340545] Bluetooth: HCI UART driver ver 2.3
[    0.340571] Bluetooth: HCI UART protocol H4 registered
[    0.340583] Bluetooth: HCI UART protocol LL registered
[    0.340846] cpu cpu0: leakage=16
[    0.340979] cpu cpu0: iailed to get reg
[    0.341852] Synopsys Designware Multimedia Card Interface Driver
[    0.342527] dwmmc_rockchip ff490000.dwmmc: IDMAC supports 32-bit address mode.
[    0.342582] dwmmc_rockchip ff490000.dwmmc: Using internal DMA controller.
[    0.342606] dwmmc_rockchip ff490000.dwmmc: Version ID is 270a
[    0.342674] dwmmc_rockchip ff490000.dwmmc: DW MMC controller at irq 26,32 bit host data width,256 deep fifo
[    0.342752] dwmmc_rockchip ff490000.dwmmc: No vmmc regulator found
[    0.342768] dwmmc_rockchip ff490000.dwmmc: No vqmmc regulator found
[    0.342794] dwmmc_rockchip ff490000.dwmmc: GPIO lookup for consumer wp
[    0.342808] dwmmc_rockchip ff490000.dwmmc: using device tree for GPIO lookup
[    0.342827] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node:'/dwmmc@ff490000'
[    0.342843] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/dwmmc@ff490000'
[    0.342858] dwmmc_rockchip ff490000.dwmmc: using lookup tables for GPIO lookup
[    0.342874] dwmmc_rockchip ff490000.dwmmc: lookup for GPIO wp failed
[    0.353511] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    0.364543] dwmmc_rockchip ff490000.dwmmc: 1 slots initialized
[    0.365133] dwmmc_rockchip ff4a0000.dwmmc: num-slots property not found, assuming 1 slot is available
[    0.365277] dwmmc_rockchip ff4a0000.dwmmc: IDMAC supports 32-bit address mode.
[    0.365323] dwmmc_rockchip ff4a0000.dwmmc: Using internal DMA controller.
[    0.365348] dwmmc_rockchip ff4a0000.dwmmc: Version ID is 270a
[    0.365416] dwmmc_rockchip ff4a0000.dwmmc: DW MMC controller at irq 27,32 bit host data width,256 deep fifo
[    0.365517] dwmmc_rockchip ff4a0000.dwmmc: No vmmc regulator found
[    0.365541] dwmmc_rockchip ff4a0000.dwmmc: No vqmmc regulator found
[    0.365566] dwmmc_rockchip ff4a0000.dwmmc: GPIO lookup for consumer wp
[    0.365580] dwmmc_rockchip ff4a0000.dwmmc: using device tree for GPIO lookup
[    0.365598] of_get_named_gpiod_flags: c n't parse 'wp-gpios' property of node '/dwmmc@ff4a0000'
[    0.365613] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/dwmmc@ff4a0000'
[    0.365628] dwmmc_rockchip ff4a0000.dwmmc: using lookup tables for GPIO lookup
[    0.365643] dwmmc_rockchip ff4a0000.dwmmc: lookup for GPIO wp failed
[    0.365812] platform sdio-pwrseq: GPIO lookup for consumer reset
[    0.365826] platform sdio-pwrseq: using device tree for GPIO lookup
[    0.365854] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/sdio-pwrseq' - status (0)
[    0.365904] dwmmc_rockchip ff4a0000.dwmmc: allocated mmc-pwrseq
[    0.376639] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    0.383557] mmc_host mmc0: Bus speed (slot 0) = 300000Hz (slot req 300000Hz, actual 300000HZ div = 0)
[    0.387648] dwmmc_rockchip ff4a0000.dwmmc: 1 slots initialized
[    0.388179] is31fl32xx 1-003c: GPIO lookup for consumer reset
[    0.388197] is31fl32xx 1-003c: using device tree for GPIO lookup
[    0.388271] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/i2c@ff050000/led-controller@3c' - status (0)
[    0.388287] gpio-69 (reset): gpiod_request: status -16
[    0.388303] is31fl32xx 1-003c: Failed to get reset gpio: -16
[    0.388339] is31fl32xx: probe of 1-003c failed with error -22
[    0.388714] rockchip-dmc dmc: failed to get the count of devfreq-event in /dmc node
[    0.388867] rockchip-dmc dmc: Cannot get the regulator "center"
[    0.390950] rknandc_base v1.1 2017-01-11
[    0.391337] rknandc ff4b0000.nandc: rknandc_probe clk rate = 147456000
[    0.391406] rkflash_dev_init
[    0.391417] init rkflash
[    0.391521] SFTL version: 5.0.48 20180930
[    0.414586] mmc_host mmc0: Bus speed (slot 0) = 200000Hz (slot req 200000Hz, actual 200000HZ div y 0)
[    0.416719] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    0.418293] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.419862] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.422691] mmc1: queuing unknown CIS tuple 0x80 (( bytes)
[    0.426114] mmc1: queuing unknown CIS tuple 0x81 (9 bytes)
[    0.436352] ...FtlVpcCheckAndModify enter...
[    0.445591] mmc_host mmc0: Bus speed (slot 0) = 100000Hz (slot req 100000Hz, actual 100000HZ div = 0)
[    0.452929] FtlCheckVpc e6 = 400
[    0.452952] FtlCheckVpc e7 = 400
[    0.454040] rkflash init success
[    0.454545] rkflashd vendor storage init ok !
[    0.460416] GPT:Primary header thinks Alt. header is not at the end of the disk.
[    0.460482] GPT:219135 != 220671
[    0.460493] GPT:Alternate GPT header not at the end of the disk.
[    0.460504] GPT:219135 != 220671
[    0.460513] GPT: Use GNU Parted to correct GPT errors.
[    0.460587]rkflash0: p1 p2 p3 p4 p5 p6 p7 p8
[    0.463124] rksfc_base v1.1 2016-01-08
[    0.463598] rksfc ff4c0000.sfc: rksfc_probe clk rate = 100000000
[    0.463675] rkflash_dev_init
[    0.463695] rkflash has already inited as id
[    0.463733] rksfc: probe of ff4c0000.sfc failed with error -1
[    0.468055] rk3308-acodec ff560000.acodec: GPIO lookup for consumer hp-ctl
[    0.468082] rk3308-acodec ff560000.acodec: using device tree for GPIO lookup
[    0.468119] of_get_named_gpiod_flags: parsed 'hp-ctl-gpios' property of node '/acodec@ff560000' - status (0)
[    0.468178] rk3308-acodec ff560000.acodec: GPIO lookup for consumer spk-ctl
[    0.468192] rk3308-acodec ff560000.acodec: using device tree for GPIO lookup
[    0.468218] of_get_named_gpiod_flags: parsed 'spk-ctl-gpios' property of node '/acodec@ff560000' - status (0)
[    0.468252] rk3308-acodec ff560000.acodec: GPIO lookup for consumer pa-drv
[    0.468267] rk3308-acodec ff560000.acodec: using device tree for GPIO lookup
[    0.468283] of_get_named_gpiod_flags: can't parse 'pa-drv-gpios' property of node '/acodec@ff560000'
[    0.468300] of_get_named_gpiod_flags: can't parse 'pa-drv-gpio' property of node '/acodec@ff560000'
[    0.468316] rk3308-acodec ff560000.acodec: using lookup tables for GPIO lookup
[    0.468331] rk3308-acodec ff560000.acodec: lookup for GPIO pa-drv failed
[    0.468346] rk3308-acodec ff560000.acodec: Don't need pa-drv gpio
[    0.468374] rk3308-acodec ff560000.acodec: De-pop as much as possible
[    0.471530] rockchip-pinctrl pinctrl: pin gpio2-6 already requested by pinctrl; cannot claim for ff380000.pdm
[    0.471580] rockchip-pinctrl pinctrl: pin-70 (ff380000.pdm) status -22
[    0.471600] rockchip-pinctrl pinctrl: could not request pin 70 (gpio2-6) from group pdm-m2-clkon device rockchip-pinctrl
[    0.471616] rockchip-pdm ff380000.pdm: Error applying setting, reverse things back
[    0.471700] rockchip-pdm: probe of ff380000.pdm failed with error -22
[    0.473340] rk-multicodecs bluetooth-sound: card: 0 has not been locked, re-probe again
[    0.473379] rk-multicodecs bluetooth-sound: check_lock_card failed: -517
[    0.473704] rk-multicodecs vad-sound: ASoC: CPU DAI (null) not registered
[    0.474814] NET: Registered protocol family 10
[    0.476009] NET: Registered protocol family 17
[    0.476081] NET: Registered protocol family 15
[    0.476268] Bluetooth: RFCOMM TTY layer initialized
[    0.476290] Bluetooth: RFCOMM socket layer initialized
[    0.476334] Bluetooth: RFCOMM ver 1.11
[    0.476362] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    0.476385] Bluetooth: HIDP socket layer initialized
[    0.476408] : Enter rfkill_wlan_init
[    0.476937] rockchip-pinctrl pinctrl: pin gpio2-6 already requested by pinctrl; cannot claim for wireless-wlan
[    0.476961] rockchip-pinctrl pinctrl: pin-70 (wireless-wlan) status -22
[    0.476989] rockchip-pinctrl pinctrl: could not request pin 70 (gpio2-6) from group wifi-wake-hoston device rockchip-pinctrl
[    0.477005] wlan-platdata wireless-wlan: Error applying setting, reverse things back
[    0.477055] : Enter rfkill_wlan_probe
[    0.477083] : wlan_platdata_parse_dt: wifi_chip_type = ap6212
[    0.477095] : wlan_platdata_parse_dt: enable wifi power control.
[    0.477107] : wlan_platdata_parse_dt: wifi power controled by gpio.
[    0.477122] of_get_named_gpiod_flags: can't parse 'WIFI,poweren_gpio' property of node '/wireless-wlan'
[    0.477137] of_get_named_gpiod_flags: can't parse 'WIFI,vbat_gpio' property of node '/wireless-wlan'
[    0.477152] of_get_named_gpiod_flags: can't parse 'WIFI,reset_gpio' property of node '/wireless-wlan'
[    0.477196] of_get_named_gpiod_flags: parsed 'WIFI,host_wake_irq' property of node '/wireless-wlan' - status (0)
[    0.477209] : wlan_platdata_parse_dt: get property: WIFI,host_wake_irq = 70, flags = 1.
[    0.477233] : wlan_platdata_parse_dt: The ref_wifi_clk not found !
[    0.477245] : rfkill_wlan_probe: init gpio
[    0.477260] : Exit rfkill_wlan_probe
[    0.477348] : Enter rfkill_rk_init
[    0.477829] of_get_named_gpiod_flags: parsed 'uart_rts_gpios' property of node '/wireless-bluetooth' - status (0)
[    0.477847] : bluetooth_platdata_parse_dt: get property: uart_rts_gpios = 135.
[    0.477877] of_get_named_gpiod_flags: parsed 'BT,power_gpio' property of node '/wireless-bluetooth' - status (0)
[    0.477891] : bluetooth_platdata_parse_dt: get property: BT,power_gpio = 142.
[    0.477913] of_get_named_gpiod_flags: can't parse 'BT,reset_gpio' property of node '/wireless-bluetooth'
[    0.477927] of_get_named_gpiod_flags: can't parse 'BT,wake_gpio' property of node '/wireless-bluetooth'
[    0.477951] of_get_named_gpiod_llags: parsed 'BT,wake_host_irq' property of node '/wireless-bluetooth' - status (0)
[    0.477964] : bluetooth_platdata_parse_dt: get property: BT,wake_host_irq = 143.
[    0.477982] : bluetooth_platdata_parse_dt: clk_get failed!!!.
[    0.478078] : Request irq for bt wakeup host
[    0.478156] : ** disable irq
[    0.478358] : bt_default device registered.
[    0.478983] flash vendor_init_thread!
[    0.479007] flash vendor storage:20170308 ret = -1
[    0.480986] input: adc-keys0 as /devices/platform/adc-keys0/input/input0
[    0.481879] input: adc-keys1 as /devices/platform/adc-keys1/input/input1
[    0.482733] rockchip-dmc dmc: failed to get the count of devfreq-event in /dmc node
[    0.482854] rockchip-dmc dmc: Cannot get the regulator "center"
[    0.483648] rk-multicodecs bluetooth-sound: card: 0 has not been locked, re-probe again
[    0.483682] rk-multicodecs bluetooth-sound: check_lock_card failed: -517
[    0.484143] rk-multicodecs vad-sound: ASoC: CPU DAI (null) not registered
[    0.484544] hello test
[    0.484578] dhd_module_init: in Dongle Host Driver, version 1.579.77.41.2 (r)
[    0.484600] ======== dhd_wlan_init_plat_data ========
[    0.484612] dhd_wlan_init_gpio: GPIO(WL_REG_ON) = -1 [    0.484623] dhd_wlan_init_gpio: GPIO(WL_HOST_WAKE) = -1
[    0.484634] : rockchip_wifi_get_oob_irq: Enter4[    0.484649] dhd_wlan_init_gpio: host_oob_irq: 107
[    0.484661] dhd_wlan_init_gpio: host_oob_irq_flags=0x418
[    0.484670] dhd_wifi_platform_load: Enter
[    0.484680] dhd_wifi_platform_load: JUST THE TEST KERNEL LOAD!!!!
[    0.484714] Power-up adapter 'DHD generic adapter'
[    0.484777] wifi_platform_set_power = 1
[    0.484789] ======== PULL WL_REG_ON(-1) HIGH! ========
[    0.484801] : rockchip_wifi_power: 1
[    0.484814] : wifi turn on power. -1
[    0.485032] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-keys/power' - status (0)
[    0.485116] gpio-6 (GPIO Key Power): gpiod_set_debounce: missing set() os set_debounce() operations
[    0.485489] input: gpio-keys ao /devices/platform/gpio-keys/input/input2
[    0.485947] hctosys: unable to open rtc device (rtc0)
[    0.486426] rockchip-dmc dmc: failed to get the count of devfreq-event in /dmc node
[    0.486595] rockchip-dmc dmc: Cannot get the regulator "center"
[    0.487543] rk-multicodecs bluetooth-sound: card: 0 has not been locked, re-probe again
[    0.487582] rk-multicodecs bluetooth-sound: check_lock_card failed: -517
[    0.488143] rk-multicodecs vad-sound: ASoC: CPU DAI (null) not registered
[    0.501082] vcc_sd: disabling
[    0.501126] vbus6host: disabling
[    0.501582] ALSA device list:
[    0.501606]   #7: Loopback 1
[    0.504523] VFS: Mounted root (squashfs filesystem) readonly on device 31:6.
[    0.506193] devtmpfs: mounted
[    0.506495] Freeing unused kernel memory: 320K
[    0.513958] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    0.516301] mmc1: new high speed SDIO card at address 0001
[    0.517519] rockchip-dmc dmc: failed to get the count of devfreq-event in /dmc node
[    0.517699] rockchip-dmc dmc: Cannot get the regulator "center"
[    0.518581] rk-multicodecs bluetooth-sound: card: 0 has not been locked, re-probe again
[    0.518615] rk-multicodecs bluetooth-sound: check_lock_card failed: -517
[    0.519107] rk-multicodecs vad-sound: ASoC: CPU DAI (null) not registered
[    0.785495] wifi_platform_bus_enumerate device present 1
[    0.785532] ======== Card detection tc detect SDIO card! ========
[    0.785546] mmc1:mmc host rescan start!
[    0.801682] bcmsdh_register: register client dr0ver
[    0.801936] bcmsdh_sdmmc_probe: Enter num=1
[    0.802050] bcmsdh_sdmmc_probe: Enter num=2
[    0.802073] bus num (host idx)=1, slot num (rca)=1
[    0.802086] found adapter info 'DHD generic adapter'
[    0.802146] sdioh_attach: set sd_f2_blocksize 256
[    0.802198] sdioh_attach: sd clock rate = 0
[    0.802269] rockchip-dmc dmc: failed to get the count of devfreq-event in /dmc node
[    0.802491] rockchip-dmc dmc: Cannot get the regulator "center"
[    0.802995] F1 signature read @0x18000000=0x1530a9a6
[    0.803588] rk-multicodecs bluetooth-sound: card: 0 has not been locked, re-probe again
[    0.803622] rk-multicodecs bluetooth-sound: check_lock_card failed: -517
[    0.804252] rk-multicodecs vad-sound: ASoC: CPU DAI (null) not registered
[    0.809595] F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x0 pkg:0x3
[    0.810654] DHD: dongle ram size is set to 524288(orig 524288) at 0x0
[    0.810844] dhd_conf_set_chiprev: chip=0xa9a6, chiprev=0
[    0.811402] CFG80211-ERROR) wl_setup_wiphy : Registering Vendor802:1
[    0.812192] CFG80211-ERROR) wl_init_prof : wl_init_prof: No profile
[    0.812965] wl_escan_attach: Enter
[    0.813087] wl_escan_init: Enter
[    0.813400] wl_create_event_handler(): thread:wl_escan_handler:81 started
[    0.813411] tsk Enter, tsk = 0xffffffc00ef50180
[    0.813987] dhd_attach():athread:dhd_watchdog_thread:82 started
[    0.814277] dhd_attach(): thread:dhd_dpc:83 started
[    0.814531] dhd_attach(): thread:dhd_rxf:84 started
[    0.814570] dhd_deferred_work_init: work queue initialized
[    0.814634] dhd_bus_set_default_min_res_mask: Unhandled chip id
[    0.815023] sdioh_cis_read: func_cis_ptr=0x1070
[    0.819322] udevd: starting version 3.2.5
[    0.827849] Dongle Host Driver, version 1.579.77.41.2 (r)
[    0.829030] Register interface MAC: b0:f1:ec:c8:8c:04
[    0.829030]
[    0.829222] dhd_wl_ioctl: returning as busstate=0
[    0.829327] dhd_dbg_detach_pkt_monitor, 2204
[    0.829737] dhd_bus_devreset: == Power OF. ==
[    0.830060] bcmsdh_oob_intr_unregister: Enter
[    0.830083] bcmsdh_oob_intr_unregister: irq is not registered
[    0.830104] dhd_txglom_enable: enable 0
[    0.830118] dhd_conf_set_txglom_params: txglomsize=0, deferred_tx_len=0, bus_txglom=-1
[    0.830130] dhd_conf_set_txglom_params: tx_in_rx=1, txinrx_thres=-1, dhd_txminmax=1
[    0.830143] dhd_conf_set_txglom_params: tx_max_offset=0, txctl_tmo_fix=5
[    0.830160] sdioh_set_mode: set txglom_mode to copy
[    0.830171] dhd_bus_devreset:WLAN OFF DONE
[    0.830234] wifi_platform_set_power = 0
[    0.830247] ======== PULL WL_REG_ON(-1) LOW! ========
[    0.830259] : rockchip_wifi_power: 0
[    0.830283] : wifi shut off power.
[    0.830425] dhd_module_init: Exit err=0
[    0.830775] rockchip-dmc dmc: failed to get the count of devfreq-event in /dmc node
[    0.831001] rockchip-dmc dmc: Cannot get the regulator "center"
[    0.832027] rk-multicodecs bluetooth-sound: card: 0 has not been locked, re-probe again
[    0.832067] rk-multicodecs bluetooth-sound: check_lock_card failed: -517
[    0.832690] rk-multicodecs vad-sound: ASoC: CPU DAI (null) not registered
[    0.865177] udevd: starting eudev-3.2.5
[    1.589497] dhd_ioctl_entry: Interface is down
[    1.589548] Error getting the SSID
[    1.633070] dhd_open: Enter ffffffc000394800
[    1.633130]
[    1.633130] Dongle Host Driver, version 1.579.77.41.2 (r)
[    1.633146] wl_android_wifi_on in 1
[    1.633159] wl_android_wifi_on in 2: g_wifi_on=0
[    1.633172] wifi_platform_set_power = 1
[    1.633183] ======== PULL WL_REG_ON(-1) HIGH! ========
[    1.633197] : rockchip_wifi_power: 1
[    1.633209] : wifi turn on power. -1
[    1.933521] sdio_reset_comm():
[    1.948616] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    1.965609] mmc_host mmc1: Bus speed (slot 0) = 100000Hz (slot req 100000Hz, actual 100000HZ div = 0)
[    2.018806] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    2.024934] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    2.031077] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    2.042010] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    2.052027] file system registered
[    2.055374] mmc1: queuing unknown CIS tuple 0x81 (9 bytes)
[    2.077674] read descriptors
[    2.077725] read strings
[    2.402418] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    2.402643] sdioh_start: set sd_f2_blocksize 256
[    2.403233]
[    2.403233]
[    2.403233] dhd_bus_devreset: == WLAN ON ==
[    2.403568] F1 signature read @0x18000000=0x1530a9a6
[    2.407018] F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x0 pkg:0x3
[    2.408090] DHD: dongle ram size is set to 524288(orig 524288) at 0x0
[    2.408244] dhd_bus_set_default_min_res_mank: Unhandled chip id
[    2.408980] dhd_conf_read_config: Ignore config file /system/etc/firmware/config.txt
[    2.409025] Final fw_path=/system/etc/firmware/fw_bcm43438a0.bin
[   
.409043] Final nv_path=/system/etc/firmware/nvram_ap6212.txt
[    2.409054] Final clm_path=/system/etc/firmware/clm_bcmdhd.blob
[    2.409064] Final conf_path=/system/etc/firmware/con
ig.txt
[    2.409075] dhd_set_bus_params: set use_rxchain 0
[    2.409087] dhd_set_bus_params: set txglomsize 36
[    2.409998] dhd_os_open_image: /system/etc/firmware/fw_bcm43438a0.bin (389380 bytes) open success
[    2.502133] dhd_os_open_image: /system/etc/firmware/nvram_ap6212.txt (902 bytes) open success
[    2.508773] NVRAM version: AP6212_NVRAM_V1.0_20140603
[    2.509520] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[    2.569204] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
[    2.569487] bcmsdh_oob_intr_register HW_OOB irq=107 flags=0x8
[    2.570327] dhd_get_memdump_info: File doesn't exist
[    2.570389] dhd_get_memdump_info: MEMDUMP ENABLED = 2
[    2.571402] Disable tdls_auto_op failed. -1
[    2.571475] dhd_preinit_ioctls: Set tcpack_sup_mode 0
[    2.571490] dhd_tcpack_suppress_set 352: already set to 0
[    2.573068] dhd_apply_default_clm: Ignore clm file /system/etc/firmware/clm_bcmdhd.blob
[    2.576011] Firmware up: op_mode=0x0005, MAC=b0:f1:ec:c8:8c:04
[    2.576072] dhd_conf_set_country: set country CN, revision 0
[    2.643694] Country code: CN (CN/0)
[    2.644391] dhd_conf_set_intiovar: set roam_off 1
[    2.647980] dhd_preinit_ioctls Set scancache failed -23
[    2.660288]   Driver: 1.579.77.41.2 (r)
[    2.660288]   Firmware: wl0: Apr 30 2015 04:17:36 version 7.10.324.5 (r553589) FWID 01-2bde7de7
[    2.660288]   CLM: 7.10.15
[    2.660814] dhd_txglom_xnable: enable 1
[    2.660880] dhd_conf_set_txglom_params: txglomsize=36, deferred_tx_len=36, bus_txglom=-1
[    2.660920] dhd_conf_set_txglom_params: tx_in_rx=1, txinrx_thres=-1, dhd_txminmax=1
[    2.660974] dhd_conf_set_txglom_params: tx_max_offset=0, txctl_tmo_fix=5
[    2.661047] sdioh_set_mode: set txglom_mode to copy
[    2.661108] dhd_conf_get_disable_proptx: fw_proptx=1, disable_proptx=-1
[    2.663543] dhd_wlfc_hostreorder_init(): successful bdcv2 tlv signaling, 64
[    2.663895] dhd_conf_set_intiovar: set ampdu_hostreorder 1
[    2.665703] dhd_pno_init: Support Android Location Service
[    2.729192] CFG80211-ERROR) wl_cfg80211_event : Event handler is not created
[    2.730207] rtt_do_get_ioctl: failed to send getbuf proxd iovar (CMD ID : 1), status=-23
[    2.730236] dhdortt_init : FTM is not supported
[    2.730250] dhd_preinit_ioctls: SensorHub diabled 0
[    2.731113] dhd_preinit_ioctls failed to set ShubHub disable
[    2.732722] dhd_wl_ioctl_get_intiovar: get int iovar wnm_bsstrans_resp failed, ERR -23
[    2.732764] failed to get wnm_bsstrans_resp
[    2.733541] failed to set WNM capabilities
[    2.733738] wl_android_wifi_on: Success
[    2.738198] CFG80211-ERROR) __wl_update_wiphybxnds : error reading vhtmode (-23)
[    2.750631] dhd_open: Eiit ret=0
[    3.077482] dwc2 ff400000.usb: bound driver configfs-gadget
[    3.484475] vendor storage:20160801 ret = -1
[    4.137789] dwc2 ff400000.usb: new device is high-speed
[    4.177044] dwc2 ff400000.usb: new address 25
[    4.211933] configfs-gadget gadget: high-speed config #1: b
[    7.121962] sdioh_buffer_tofrom_bus: TX FAILED ffffffc00e092c20, addr=0x08000, pkt_len=512, ERR=-110
[    7.122000] dhd_bcmsdh_send_buf: sdio error -1, abort command and terminate frame.
[    8.019643] android_work: sent uevent USB_STATE=CONNECTED
[    8.019724] android_work: sent uevent USB_STATE=CONFIGURED
[    8.399635] sdioh_buffer_tofrom_bus: TX FAILED ffffffc00f23aa20, addr=0x08000, pkt_len=96, ERR=-110
[    8.399676] dhd_bcmsdh_send_buf: sdio error -1, abort command and terminate frame.
[   11.331907] sdioh_buffer_tofrom_bus: TX FAILED ffffffc00f23a620, addr=0x08000, pkt_len=96, ERR=-110
[   11.331947] dhd_bcmsdh_send_buf: sdio error -1, abort command and terminate frame.
[   13.334413] sdioh_buffer_tofrom_bus: TX FAILED ffffffc00eed4020, addr=0x08000, pkt_len=96, ERR=-110
[   13.334497] dhd_bcmsdh_send_buf: sdio error -1, abort command and terminate frame.
[   13.334661] dhdcdc_query_ioctl: dhdcdc_msg failed w/status -5
[   13.334694] dhd_arp_get_arp_hostip_table: ioctl WLC_GET_VAR error -5
[   13.334811] sdioh_buffer_tofrom_bus: TX FAILED ffffffc00eed4020, addr=0x08000, pkt_len=96, ERR=-110
[   13.334837] dhd_bcmsdh_send_buf: sdio error -1, abortommand and terminate frame.
[   13.335026] dhdcdc_set_ioctl: dhdcdc_msg failed w/status -5
[   13.335051] dhd_aoe_hostip_clr failed code -5
[   13.335062] aoe_update_host_ipv4_table failed
[   13.335861] sdioh_buffer_tofrom_bus: TX FAILED ffffffc00eea6620, addr=0x08000, pkt_len=96, ERR=-110
[   13.335888] dhd_bcmsdh_send_buf: sdio error -1, abort command and terminate frame.
[   14.356989] sdioh_buffer_tofrom_bus: TX FAILED.ffffffc00efba020, addr=0x08000, pkt_len=512, ERR=-110
[   14.357032] dhd_bcmsdh_send_buf: sdio error -1, abort command and terminate frame.
[   15.337116] sdioh_buffer_tofrom_bus: TX FAILED ffffffc00ee46620, addr=0x08000, pkt_len=96, ERR=-110
[   15.337158] dhd_bcmsdh_send_buf: sdio error -1, abort command and terminate frame.
[   31.346477] sdioh_buffer_tofrom_bus: TX FAILED ffffffc00efb9820, addr=0x08000, pkt_len=512, ERR=-110
[   31.346520] dhd_bcmsdh_send_buf: sdio error -1, abort command and terminate frame.
[   62.834136] sdioh_buffer_tofrom_bus: TX FAILED ffffffc00efb9c20, addr=0x08000, pkt_len=512, ERR=-110
[   62.834174] dhd_bcmsdh_send_buf: sdio error -1, abort command and terminate frame.
#

mochitec 发表于 2019-1-29 11:00:19

这是ifconfig up的消息,
# ifconfig wlan0 up
dhd_open: Enter ffffffc000394800

Dongle Host Driver, version 1.579.77.41.2 (r)
wl_android_wifi_on in 1
wl_android_wifi_on in 2: g_wifi_on=0
wifi_platform_set_power = 1
======== PULL WL_REG_ON(-1) HIGH! ========
: rockchip_wifi_power: 1
: wifi turn on power. -1
sdio_reset_comm():
mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
mmc_host mmc1: Bus speed (slot 0) = 100000Hz (slot req 100000Hz, actual 100000HZ div = 0)
mmc1: queuing unknown CIS tuple 0x80 (2 bytes) mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
mmc1: queuing unknown CIS tuple 0x81 (9 bytes)
mmc_host mmc1: Bus speed (slot 0) = 50000000Hz 8slot req 50000000Hz, actual 50000000HZ div = 0)
sdioh_start: set sd_f2_blocksize 256


dhd_bus_devreset: == WLAN ON ==
F1 signature read @0x18000000=0x1530a9a6
bcmsdh_sdmmc: Failed to Read word F1:@0x08008=ffffffff, Err: 0xffffffac
bcmsdh_reg_read: error reading addr 0x8008 size 4
Not enough Mifconfig: SIOCSIFFLAGS: OperatiPon not permitted
entries for component 0x800
si_doattach: could not find a# ny cores
dhdsdio_probe_attach: si_attach failed!
dhd_net_bus_devreset: dhd_bus_devreset: -35
dhd_wl_ioctl: returning as busstate=0
dhd_dbg_detach_pkt_monitor, 2204
dhd_net_bus_devreset: dhd_bus_devreset: -35
wifi_platform_set_power = 0
======== PULL WL_REG_ON(-1) LOW! =======
: rockchip_wifi_power: 07
: wifi shut off power.
wl_android_wifi_on: Failed
dhd_open : wl_android_wifi_on failed (-35)
dhd_stop: Enter ffffffc000394800
wl_android_wifi_off in 1
[ =338.871907] wl_android_wifi_off in 2: g_wifi_on=0, on_failure31
dhd_wl_ioctl: returning as busstate=0
dhd_dbg_detach_pkt_monitor, 2204
dhd_net_bus_devreset: dhd_bus_devreset: -35
sdioh_disable_func_intr: error for read SDIO_CCCR_IENx : 0xffffff92
wifi_platform_set_power = 0
======== PULL WL_REG_ON(-1) LOW! ========
: rockchip_wifi_power: 0
: wifi shut off power.
wl_android_wifi_off out
dhd_stop: Exit
dhd_open: Exit ret=-1
页: [1]
查看完整版本: rk3308,sdio AP6212