20230129在AIO-3568J开发板在原厂Android11下跑通6275s
0、使用Firefly的AIO-3568J的自带Andorid11,内核按照Firefly的模式编译,Android11按照原厂的模式编译。
可以打开WIFI上网,和使用BT蓝牙接受图片。
但是adb不能连接,插U盘不识别?TF可用。
Y:\RK356X_Android11.0\device\rockchip\rk356x\rk3568_firefly_aioj\BoardConfig.mk
Y:\RK356X_Android11.0\device\rockchip\rk356x\rk3568_r\BoardConfig.mk
Y:\RK356X_Android11.0\device\rockchip\rk356x\rk3568_firefly_aioj\rk3568_firefly_aioj.mk
Y:\RK356X_Android11.0\device\rockchip\rk356x\rk3568_r\rk3568_r.mk
初步比对,没有发现异常!
那就是在kernel中和Android11中修改的部分了。
Y:\rk3568_Android11.0_ToyBrick\RKDocs\android\wifi\Rockchip_Introduction_REALTEK_WIFI_Driver_Porting_CN&EN.pdf
【经过比对,Android11中关于WIFI的部分完全相同!^_】
Y:\rk3568_Android11.0_ToyBrick\RKDocs\android\wifi\Rockchip_Introduction_WIFI_Configuration_CN&EN.pdf
【目录】
Y:\RK356X_Android11.0\vendor\rockchip\common\wifi\wifi.mk
【目录】
Y:\RK356X_Android11.0\frameworks\opt\net\wifi\Android.bp
Y:\RK356X_Android11.0\kernel\net\rfkill\rfkill-wlan.c
【目录】
Y:\rk3568_Android11.0_ToyBrick\hardware\broadcom\
Y:\rk3568_Android11.0_ToyBrick\hardware\broadcom\libbt\Android.mk
【目录】
Y:\RK356X_Android11.0\external\wpa_supplicant_8\Android.mk
1、增加AP6275S的驱动:
目录
Z:\RK356X_Android11.0\kernel\drivers\net\wireless\rockchip_wlan\rkwifi\ap6275s\Kconfig
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/rk3568_Android11.0_ToyBrick$ cd kernel/drivers/net/wireless/rockchip_wlan/rkwifi/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/rk3568_Android11.0_ToyBrick/kernel/drivers/net/wireless/rockchip_wlan/rkwifi$ ll
total 2040
drwxr-xr-x 5 rootroot rootroot 4096 1月 29 18:26 ./
drwxr-xr-x 17 rootroot rootroot 4096 7月 22 2021 ../
-rwx------ 1 rootroot rootroot 2054925 1月 27 09:40 ap6275s5.tgz*
drwxr-xr-x 3 rootroot rootroot 4096 7月 22 2021 bcmdhd/
drwxr-xr-x 3 rootroot rootroot 4096 7月 22 2021 bcmdhd_indep_power/
drwxr-xr-x 3 rootroot rootroot 4096 7月 22 2021 bcmdhd_wifi6/
-rw-r--r-- 1 rootroot rootroot 1611 1月 12 08:40 Kconfig
-rw-r--r-- 1 rootroot rootroot 297 1月 12 08:40 Makefile
-rw-r--r-- 1 rootroot rootroot 597 7月 22 2021 rk_wifi_config.c
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/rk3568_Android11.0_ToyBrick/kernel/drivers/net/wireless/rockchip_wlan/rkwifi$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/rk3568_Android11.0_ToyBrick/kernel/drivers/net/wireless/rockchip_wlan/rkwifi$ tar --use-compress-program=pigz -xvpf ap6275s5.tgz
Z:\RK356X_Android11.0\kernel\drivers\net\wireless\rockchip_wlan\rkwifi\Kconfig
# SPDX-License-Identifier: GPL-2.0
choice
prompt "Select driver version for ap6xxx chips"
config AP6XXX
tristate "stable version (wifi5)"
#depends on MMC && WLAN_80211
select CFG80211
select MAC80211
help
This module adds support for wireless adapters based on
Broadcom ap6xxx chipset.
This driver uses the kernel's wireless extensions subsystem.
If you choose to build a module, it'll be called dhd. Say M if
unsure.
config AP6XXX_WIFI6
tristate "support wifi6(80211ax)"
#depends on MMC && WLAN_80211
select CFG80211
select MAC80211
help
This driver supports wifi6 for ap6xxx chipset.
This driver uses the kernel's wireless extensions subsystem.
If you choose to build a module, it'll be called dhd. Say M if
unsure.
config AP6275S
tristate "support wifi6 ap6275s(80211ax)"
#depends on MMC && WLAN_80211
select CFG80211
select MAC80211
---help---
This driver supports wifi6 for ap6275s chipset.
This driver uses the kernel's wireless extensions subsystem.
If you choose to build a module, it'll be called dhd. Say M if
unsure.
config AP6XXX_INDEP_POWER
tristate "support WiFi keepalive during host shutdown"
select CFG80211
select MAC80211
endchoice
config BCMDHD_FW_PATH
depends on BCMDHD
string "Firmware path"
default "/vendor/etc/firmware/fw_bcmdhd.bin"
help
Path to the firmware file.
config BCMDHD_NVRAM_PATH
depends on BCMDHD
string "NVRAM path"
default "/vendor/etc/firmware/nvram.txt"
help
Path to the calibration file.a
config BCMDHD_STATIC_IF
bool "Enable wlan1 support"
help
default to add wlan1 interface
Z:\RK356X_Android11.0\kernel\drivers\net\wireless\rockchip_wlan\rkwifi\Makefile
# SPDX-License-Identifier: GPL-2.0
#rkwifi packed Makefile
# (gwl)
obj-$(CONFIG_AP6XXX) += bcmdhd/
obj-$(CONFIG_AP6XXX_WIFI6) += bcmdhd_wifi6/
obj-$(CONFIG_AP6275S) += ap6275s/
obj-$(CONFIG_AP6XXX_INDEP_POWER) += bcmdhd_indep_power/
.PHONY: clean
clean:
find . -name '*.o*' -exec rm -f {} \;
u-boot修改的部分:
Z:\RK356X_Android11.0\u-boot\arch\arm\mach-rockchip\board.c
Z:\RK356X_Android11.0\u-boot\arch\arm\mach-rockchip\boot_mode.c
Z:\RK356X_Android11.0\u-boot\arch\arm\mach-rockchip\boot_rkimg.c
2、增加Firefly的DTS/DTSI设备树文件:
Z:\RK356X_Android11.0\kernel\arch\arm64\boot\dts\rockchip\rk356x-firefly-demo.dtsi
在这个前面,眼神不好,还真找不到的!^_
Z:\RK356X_Android11.0\kernel\arch\arm64\boot\dts\rockchip\rk1808.dtsi
Z:\RK356X_Android11.0\kernel\arch\arm64\boot\dts\rockchip\rk3568-firefly-aioj.dts
#include "rk3568-firefly-aioj.dtsi"
Z:\RK356X_Android11.0\kernel\arch\arm64\boot\dts\rockchip\rk3568-firefly-aioj.dtsi
#include "rk3568-firefly-port.dtsi"
Z:\RK356X_Android11.0\kernel\arch\arm64\boot\dts\rockchip\rk3568-firefly-port.dtsi
#include "rk3568.dtsi"
#include "rk3568-android.dtsi"
Z:\RK356X_Android11.0\kernel\arch\arm64\boot\dts\rockchip\rk3568-firefly-core.dtsi
#include "rk3568-firefly-core.dtsi"
#include "rk356x-firefly-demo.dtsi"
不同版本的DTSI之间的差异(也有可能是Firefly夹带私活了!^_)
Y:\RK356X_Android11.0\kernel\arch\arm64\boot\dts\rockchip\rk3568.dtsi
Y:\RK356X_Android11.0\kernel\arch\arm64\boot\dts\rockchip\rk3568-android.dtsi
3、增加deconfig文件(将来生成.config配置kernel-4.19的编译)
Z:\RK356X_Android11.0\kernel\arch\arm64\configs\firefly_defconfig
有增加,不用管
Z:\RK356X_Android11.0\kernel\arch\arm64\configs\rockchip_defconfig
相同
Z:\RK356X_Android11.0\kernel\configs\rockchip\android-11.config
Z:\RK356X_Android11.0\kernel\configs\rockchip\rk3326.config
Z:\RK356X_Android11.0\kernel\configs\rockchip\firefly_wifi.config
搬家到这里来:【不然编译不过!】
Y:\rk3568_Android11.0_ToyBrick\kernel\arch\arm64\configs\firefly_wifi.config
# CONFIG_AP6XXX is not set
CONFIG_AP6275S=m
rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/RK356X_Android11.0/kernel/kernel/configs$ ll
total 36
drwxrwxr-x 2 rootroot rootroot 4096 1月 12 08:40 ./
drwxrwxr-x 18 rootroot rootroot 4096 1月 12 08:40 ../
lrwxrwxrwx 1 rootroot rootroot 40 1月 12 08:40 android-11.config -> ../../configs/rockchip/android-11.config
lrwxrwxrwx 1 rootroot rootroot 43 1月 12 08:40 android-11-go.config -> ../../configs/rockchip/android-11-go.config
-rw-rw-r-- 1 rootroot rootroot 4162 1月 12 08:40 android-base.config
-rw-rw-r-- 1 rootroot rootroot 2895 1月 12 08:40 android-recommended.config
lrwxrwxrwx 1 rootroot rootroot 42 1月 12 08:40 firefly_wifi.config -> ../../configs/rockchip/firefly_wifi.config
-rw-rw-r-- 1 rootroot rootroot 649 1月 12 08:40 kvm_guest.config
lrwxrwxrwx 1 rootroot rootroot 50 1月 12 08:40 non_debuggable.config -> ../../configs/r/android-4.19/non_debuggable.config
-rw-rw-r-- 1 rootroot rootroot 306 1月 12 08:40 nopm.config
lrwxrwxrwx 1 rootroot rootroot 36 1月 12 08:40 rk3326.config -> ../../configs/rockchip/rk3326.config
lrwxrwxrwx 1 rootroot rootroot 36 1月 12 08:40 rk3399.config -> ../../configs/rockchip/rk3399.config
lrwxrwxrwx 1 rootroot rootroot 36 1月 12 08:40 rk356x.config -> ../../configs/rockchip/rk3326.config
lrwxrwxrwx 1 rootroot rootroot 41 1月 12 08:40 rk356x_eink.config -> ../../configs/rockchip/rk356x_eink.config
lrwxrwxrwx 1 rootroot rootroot 40 1月 12 08:40 rk356x_evb.config -> ../../configs/rockchip/rk356x_evb.config
-rw-rw-r-- 1 rootroot rootroot 347 1月 12 08:40 tiny.config
-rw-rw-r-- 1 rootroot rootroot 1138 1月 12 08:40 xen.config
rootroot@rootroot-adol-ADOLBOOK-I421UAY-ADOL14UA:~/RK356X_Android11.0/kernel/kernel/configs$
4、【找不到firefly_wifi.config的问题:挪个位置,kernel-4.19编译的时候找不到】
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/rk3568_Android11.0_ToyBrick/kernel$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/rk3568_Android11.0_ToyBrick/kernel$ make ARCH=arm64 firefly_defconfig android-11.config rk356x.config firefly_wifi.config
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
YACC scripts/kconfig/zconf.tab.c
LEX scripts/kconfig/zconf.lex.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
arch/arm64/configs/firefly_defconfig:975:warning: override: reassigning to symbol MFD_RK628
arch/arm64/configs/firefly_defconfig:976:warning: override: reassigning to symbol DRM_ROCKCHIP_RK628
#
# configuration written to .config
#
Using .config as base
Merging ./kernel/configs/android-11.config
Value of CONFIG_CIFS is redefined by fragment ./kernel/configs/android-11.config:
Previous value: CONFIG_CIFS=y
New value: # CONFIG_CIFS is not set
Value of CONFIG_CIFS_XATTR is redefined by fragment ./kernel/configs/android-11.config:
Previous value: CONFIG_CIFS_XATTR=y
New value: # CONFIG_CIFS_XATTR is not set
Value of CONFIG_CIFS_POSIX is redefined by fragment ./kernel/configs/android-11.config:
Previous value: CONFIG_CIFS_POSIX=y
New value: # CONFIG_CIFS_POSIX is not set
Value of CONFIG_CRYPTO_MD4 is redefined by fragment ./kernel/configs/android-11.config:
Previous value: CONFIG_CRYPTO_MD4=y
New value: # CONFIG_CRYPTO_MD4 is not set
Value of CONFIG_DEVMEM is redefined by fragment ./kernel/configs/android-11.config:
Previous value: CONFIG_DEVMEM=y
New value: # CONFIG_DEVMEM is not set
Value of CONFIG_SDCARD_FS is redefined by fragment ./kernel/configs/android-11.config:
Previous value: CONFIG_SDCARD_FS=y
New value: # CONFIG_SDCARD_FS is not set
Value of CONFIG_ANDROID_BINDERFS is redefined by fragment ./kernel/configs/android-11.config:
Previous value: # CONFIG_ANDROID_BINDERFS is not set
New value: CONFIG_ANDROID_BINDERFS=y
Value of CONFIG_IKHEADERS is redefined by fragment ./kernel/configs/android-11.config:
Previous value: CONFIG_IKHEADERS=m
New value: CONFIG_IKHEADERS=y
Value of CONFIG_UNICODE_NORMALIZATION_SELFTEST is redefined by fragment ./kernel/configs/android-11.config:
Previous value: # CONFIG_UNICODE_NORMALIZATION_SELFTEST is not set
New value: CONFIG_UNICODE_NORMALIZATION_SELFTEST=y
#
# merged configuration written to .config (needs make)
#
scripts/kconfig/conf --oldconfig Kconfig
#
# configuration written to .config
#
Using .config as base
Merging ./kernel/configs/rk356x.config
Value of CONFIG_MALI_MIDGARD is redefined by fragment ./kernel/configs/rk356x.config:
Previous value: CONFIG_MALI_MIDGARD=y
New value: # CONFIG_MALI_MIDGARD is not set
Value of CONFIG_MALI_EXPERT is redefined by fragment ./kernel/configs/rk356x.config:
Previous value: CONFIG_MALI_EXPERT=y
New value: # CONFIG_MALI_EXPERT is not set
Value of CONFIG_MALI_DEBUG is redefined by fragment ./kernel/configs/rk356x.config:
Previous value: CONFIG_MALI_DEBUG=y
New value: # CONFIG_MALI_DEBUG is not set
#
# merged configuration written to .config (needs make)
#
scripts/kconfig/conf --oldconfig Kconfig
#
# configuration written to .config
#
scripts/kconfig/Makefile:109: *** No configuration exists for this target on this architecture. Stop.
make[1]: *** [Makefile:578: firefly_wifi.config] Error 2
make: *** [Makefile:286: __build_one_by_one] Error 2
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/rk3568_Android11.0_ToyBrick/kernel$
5、【DTB编译不过的问题:Firefly夹带的私货,pca9555的驱动问题。】
make ARCH=arm64 firefly_defconfig android-11.config rk356x.config firefly_wifi.config
make ARCH=arm64 BOOT_IMG=../rockdev/Image-rk3568_firefly_aioj/boot.img rk3568-firefly-aioj.img -j8
CC net/core/ethtool.o
CC drivers/hid/hid-lg2ff.o
CC lib/flex_array.o
DTC arch/arm64/boot/dts/rockchip/rk3568-firefly-aioj.dtb
Error: arch/arm64/boot/dts/rockchip/rk3568-firefly-port.dtsi:662.26-27 syntax error
FATAL ERROR: Unable to parse input tree
make[1]: *** [scripts/Makefile.lib:307: arch/arm64/boot/dts/rockchip/rk3568-firefly-aioj.dtb] Error 1
make: *** [arch/arm64/Makefile:145: rockchip/rk3568-firefly-aioj.dtb] Error 2
make: *** Waiting for unfinished jobs....
CC lib/iov_iter.o
CC drivers/hid/hid-lg3ff.o
Y:\rk3568_Android11.0_ToyBrick\kernel\arch\arm64\boot\dts\rockchip\rk3568-firefly-port.dtsi
&spi1 {
status = "disabled";
max-freq = <48000000>;
dev-port = <0>;
pinctrl-0 = <&spi1m1_pins>;
pinctrl-1 = <&spi1m1_pins_hs>;
spi_wk2xxx: spi_wk2xxx@00{
status = "disabled";
compatible = "firefly,spi-wk2xxx";
reg = <0x00>;
spi-max-frequency = <10000000>;
//power-gpio = <&pca9555 PCA_IO1_7 GPIO_ACTIVE_HIGH>;
//reset-gpio = <&pca9555 PCA_IO1_1 GPIO_ACTIVE_HIGH>;
irq-gpio = <&gpio0 RK_PA6 IRQ_TYPE_EDGE_FALLING>;
cs-gpio = <&gpio3 RK_PA1 GPIO_ACTIVE_HIGH>;
/* rk3399 driver support SPI_CPOL | SPI_CPHA | SPI_CS_HIGH */
//spi-cpha; /* SPI mode: CPHA=1 */
//spi-cpol; /* SPI mode: CPOL=1 */
//spi-cs-high;
};
};
Y:\rk3568_Android11.0_ToyBrick\kernel\arch\arm64\boot\dts\rockchip\rk3568-firefly-aioj.dtsi
firefly_leds: leds {
status = "okay";
compatible = "gpio-leds";
power_led: power {
label = "firefly:blue:power";
linux,default-trigger = "ir-power-click";
default-state = "on";
gpios = <&gpio0 RK_PC0 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&led_power>;
};
user_led: user {
label = "firefly:yellow:user";
linux,default-trigger = "ir-user-click";
default-state = "off";
//gpios = <&pca9555 PCA_IO1_2 GPIO_ACTIVE_LOW>;
};
fan_ctl: fan-ctl {
label = "firefly:fan_ctl:user";
linux,default-trigger = "ir-user-click";
default-state = "on";
//gpios = <&pca9555 PCA_IO1_0 GPIO_ACTIVE_HIGH>;
};
};
tp_power: tp-power-regulator {
compatible = "regulator-fixed";
enable-active-high;
gpio = <&gpio3 RK_PA4 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&tp_power_en>;
regulator-name = "tp_power_en";
regulator-always-on;
};
};
&pca9555 {
status = "okay";
};
&i2c1 {
status = "okay";
XC6130b: XC6130b@23{
status = "okay";
compatible = "firefly,xc7022";
reg = <0x23>;
clocks = <&cru CLK_CIF_OUT>;
clock-names = "xvclk";
pinctrl-names = "rockchip,camera_default";
pinctrl-0 = <&refclk_pins>;
//power-gpios = <&pca9555 PCA_IO0_3 GPIO_ACTIVE_HIGH>;
//reset-gpios = <&pca9555 PCA_IO0_5 GPIO_ACTIVE_HIGH>;
//pwdn-gpios = <&pca9555 PCA_IO0_4 GPIO_ACTIVE_HIGH>;
firefly,clkout-enabled-index = <0>;
rockchip,camera-module-index = <1>;
rockchip,camera-module-facing = "front";
rockchip,camera-module-name = "NC";
rockchip,camera-module-lens-name = "NC";
port {
xc6130b_out: endpoint {
remote-endpoint = <&dphy2_in>;
data-lanes = <1 2>;
};
};
};
&i2c4 {
status = "okay";
XC7022b: XC7022b@1b{
status = "okay";
compatible = "firefly,xc7022";
reg = <0x1b>;
clocks = <&cru CLK_CIF_OUT>;
clock-names = "xvclk";
//avdd-supply = <&vcc_mipi>;
pinctrl-names = "rockchip,camera_default";
pinctrl-0 = <&cif_clk>;
//power-gpios = <&pca9555 PCA_IO0_0 GPIO_ACTIVE_HIGH>;
//reset-gpios = <&pca9555 PCA_IO0_2 GPIO_ACTIVE_HIGH>;
//pwdn-gpios = <&pca9555 PCA_IO0_1 GPIO_ACTIVE_HIGH>;
firefly,clkout-enabled-index = <0>;
rockchip,camera-module-index = <0>;
rockchip,camera-module-facing = "back";
rockchip,camera-module-name = "NC";
rockchip,camera-module-lens-name = "NC";
port {
xc7022b_out: endpoint {
remote-endpoint = <&dphy1_in>;
data-lanes = <1 2>;
};
};
};
os04a10: os04a10@36 {
//reset-gpios = <&pca9555 PCA_IO0_0 GPIO_ACTIVE_LOW>;
//pwdn-gpios = <&pca9555 PCA_IO0_1 GPIO_ACTIVE_HIGH>;
};
};
6、编译完成之后,刷机发现BT蓝牙可以接受图片,WIFI可以打开搜索,但是找不到开放的SSID。
console:/ #
console:/ # ifconfig
dummy0 Link encap:Ethernet HWaddr 9e:c4:27:fd:73:6d
inet6 addr: fe80::9cc4:27ff:fefd:736d/64 Scope: Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 TX bytes:350
eth1 Link encap:Ethernet HWaddr 16:8a:23:8f:df:7e Driver rk_gmac-dwmac
inet6 addr: fe80::148a:23ff:fe8f:df7e/64 Scope: Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:22 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1772 TX bytes:796
Interrupt:51
eth0 Link encap:Ethernet HWaddr 1a:8a:23:8f:df:7e Driver rk_gmac-dwmac
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 TX bytes:0
Interrupt:41
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope: Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 TX bytes:0
console:/ #
console:/ #
console:/ # ifconfig
dummy0 Link encap:Ethernet HWaddr 9e:c4:27:fd:73:6d
inet6 addr: fe80::9cc4:27ff:fefd:736d/64 Scope: Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 TX bytes:420
eth1 Link encap:Ethernet HWaddr 16:8a:23:8f:df:7e Driver rk_gmac-dwmac
inet6 addr: fe80::148a:23ff:fe8f:df7e/64 Scope: Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:52 errors:0 dropped:0 overruns:0 frame:0
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4024 TX bytes:866
Interrupt:51
eth0 Link encap:Ethernet HWaddr 1a:8a:23:8f:df:7e Driver rk_gmac-dwmac
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 TX bytes:0
Interrupt:41
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope: Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 TX bytes:0
wlan0 Link encap:Ethernet HWaddr 10:2c:6b:7f:b0:ec Driver bcmsdh_sdmmc
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 TX bytes:176
console:/ #
console:/ #
console:/ #
console:/ # [ 141.532437] init: processing action (wlan.driver.status=ok) from (/vendor/etc/init/hw/init.connectivity.rc:46)
[ 141.558356] init: processing action (wlan.driver.status=ok) from (/vendor/etc/init/hw/init.connectivity.rc:46)
[ 141.558813] [dhd] dhd_open: Enter wlan0
[ 141.558839] [dhd] dhd_open : no mutex held. set lock
[ 141.558854] [dhd]
[ 141.558854] Dongle Host Driver, version 100.10.545.12 (r826445-20200708-1)
[ 141.558874] [dhd-wlan0] wl_android_wifi_on : in g_wifi_on=0
[ 141.558941] [dhd] wifi_platform_set_power = 1, delay: 200 msec
[ 141.558956] [dhd] ======== PULL WL_REG_ON(-1) HIGH! ========
[ 141.558967] [WLAN_RFKILL]: rockchip_wifi_power: 1
[ 141.558980] [WLAN_RFKILL]: rockchip_wifi_power: toggle = false
[ 141.558992] [WLAN_RFKILL]: wifi turn on power [GPIO-1-0]
[ 141.863928] sdio_reset_comm():
[ 141.983927] mmc_host mmc3: Bus speed (slot 0) = 375000Hz (slot req 400000Hz, actual 375000HZ div = 0)
[ 142.000884] dwmmc_rockchip fe000000.dwmmc: failed to set rate 100000Hz
[ 142.000921] mmc_host mmc3: Bus speed (slot 0) = 375000Hz (slot req 100000Hz, actual 93750HZ div = 2)
[ 142.017211] dwmmc_rockchip fe000000.dwmmc: failed to set rate 100000Hz
[ 142.057881] mmc3: queuing unknown CIS tuple 0x80 (2 bytes)
[ 142.064166] mmc3: queuing unknown CIS tuple 0x80 (3 bytes)
[ 142.070395] mmc3: queuing unknown CIS tuple 0x80 (3 bytes)
[ 142.081678] mmc3: queuing unknown CIS tuple 0x80 (7 bytes)
[ 142.391689] dwmmc_rockchip fe000000.dwmmc: failed to set rate 100000Hz
[ 142.394481] dwmmc_rockchip fe000000.dwmmc: failed to set rate 100000Hz
[ 142.394639] mmc_host mmc3: Bus speed (slot 0) = 148500000Hz (slot req 150000000Hz, actual 148500000HZ div = 0)
[ 142.414674] dwmmc_rockchip fe000000.dwmmc: Successfully tuned phase to 266
[ 142.414779] [dhd] sdioh_start: set sd_f2_blocksize 256
[ 142.415273] [dhd]
[ 142.415273]
[ 142.415273] dhd_bus_devreset: == Power ON ==
[ 142.415411] [dhd] F1 signature read @0x18000000=0x1042aae8
[ 142.420548] [dhd] F1 signature OK, socitype:0x1 chip:0xaae8 rev:0x2 pkg:0x4
[ 142.421428] [dhd] DHD: dongle ram size is set to 1310720(orig 1310720) at 0x170000
[ 142.421515] [dhd] dhd_bus_devreset: making DHD_BUS_DOWN
[ 142.421579] [dhd] dhdsdio_probe_init: making DHD_BUS_DOWN
[ 142.422744] [dhd] dhd_conf_read_config : Ignore config file /vendor/etc/firmware/config.txt
[ 142.422765] [dhd] dhd_conf_set_path_params : Final fw_path=/vendor/etc/firmware/fw_bcm43752a2_ag.bin
[ 142.422772] [dhd] dhd_conf_set_path_params : Final nv_path=/vendor/etc/firmware/nvram_ap6275s.txt
[ 142.422778] [dhd] dhd_conf_set_path_params : Final clm_path=/vendor/etc/firmware/clm_bcm43752a2_ag.blob
[ 142.422800] [dhd] dhd_conf_set_path_params : Final conf_path=/vendor/etc/firmware/config.txt
[ 142.423425] [dhd] dhd_os_open_image1: /vendor/etc/firmware/fw_bcm43752a2_ag.bin (757448 bytes) open success
[ 142.478697] [dhd] dhd_os_open_image1: /vendor/etc/firmware/nvram_ap6275s.txt (8354 bytes) open success
[ 142.479207] [dhd] NVRAM version: AP6275S_NVRAM_V1.4_20201116
[ 142.479828] [dhd] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[ 142.541410] [dhd] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
[ 142.541697] [dhd] bcmsdh_oob_intr_register: HW_OOB irq=114 flags=0x4
[ 142.541946] [dhd] get_mem_val_from_file: File [/data/misc/wifi/.memdump.info] doesn't exist
[ 142.541957] [dhd] dhd_get_memdump_info: MEMDUMP ENABLED = 3
[ 142.544154] [dhd] dhd_tcpack_suppress_set: TCP ACK Suppress mode 2 -> mode 1
[ 142.545434] [dhd] dhd_os_open_image1: /vendor/etc/firmware/clm_bcm43752a2_ag.blob (28865 bytes) open success
[ 142.546836] [dhd] dhd_check_current_clm_data: ----- This FW is not included CLM data -----
[ 142.569759] [dhd] dhd_check_current_clm_data: ----- This FW is included CLM data -----
[ 142.571748] [dhd] Firmware up: op_mode=0x0005, MAC=10:2c:6b:7f:b0:ec
[ 142.578394] [dhd] dhd_preinit_ioctls: event_log_max_sets: 26 ret: 0
[ 142.588814] [dhd] Driver: 100.10.545.12 (r826445-20200708-1)
[ 142.588814] Firmware: wl0: Oct 23 2020 15:06:26 version 18.35.387.23.14 (70c9ec1@shgit) (wlan=r880297) FWID 01-217b144d
[ 142.588814] CLM: 9.9.5_SS (2019-12-04 01:26:12)
[ 142.589533] [dhd] dhd_txglom_enable: enable 1
[ 142.589545] [dhd] dhd_conf_set_txglom_params : txglom_mode=copy
[ 142.589558] [dhd] dhd_conf_set_txglom_params : txglomsize=36, deferred_tx_len=0
[ 142.589568] [dhd] dhd_conf_set_txglom_params : txinrx_thres=128, dhd_txminmax=-1
[ 142.589580] [dhd] dhd_conf_set_txglom_params : tx_max_offset=0, txctl_tmo_fix=300
[ 142.589595] [dhd] dhd_conf_get_disable_proptx : fw_proptx=1, disable_proptx=-1
[ 142.591794] [dhd] dhd_wlfc_hostreorder_init(): successful bdcv2 tlv signaling, 64
[ 142.593707] [dhd] dhd_pno_init: Support Android Location Service
[ 142.618107] [dhd] rtt_do_get_ioctl: failed to send getbuf proxd iovar (CMD ID : 1), status=-23
[ 142.618130] [dhd] dhd_rtt_init : FTM is not supported
[ 142.618690] [dhd] dhd_rtt_ftm_config : failed to set config
[ 142.621577] [dhd] dhd_ecounter_autoconfig Ecounter autoconfig in FW not supported
[ 142.622710] [dhd] failed to start ecounters
[ 142.622772] [dhd] dhd_ecounter_configure Ecounters start failed
[ 142.629531] [dhd] [INIT] logset:8 is preserve/chatty
[ 142.630951] [dhd] [INIT] logset:10 is preserve/chatty
[ 142.642345] [dhd] dhd_conf_set_country : set country CN, revision 0
[ 142.647055] [dhd] dhd_conf_set_country : Country code: CN (CN/0)
[ 142.647071] [dhd] CFG80211-ERROR) wl_cfg80211_event : Event handler is not created
[ 142.647424] [dhd] CFG80211-ERROR) wl_cfg80211_event : Event handler is not created
[ 142.647703] [dhd] CFG80211-ERROR) wl_cfg80211_event : Event handler is not created
[ 142.657490] [dhd-wlan0] wl_android_wifi_on : Success
[ 142.711563] [dhd] dhd_open : the lock is released.
[ 142.711595] [dhd] dhd_open: Exit wlan0 ret=0
[ 142.711602] [dhd] [wlan0] tx queue started
[ 142.718021] init: Unable to set property 'vendor.wlan.driver.version' from uid:1010 gid:1010 pid:285: SELinux permission check failed
[ 142.718039] type=1107 audit(1675002314.330:162): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc: denied { set } for property=vendor.wlan.driver.version pid=285 uid=1010 gid=1010 scontext=u:r:hal_wifi_default:s0 tcontext=u:object_r:vendor_default_prop:s0 tclass=property_service permissive=0'
[ 142.773498] init: starting service 'wpa_supplicant'...
[ 142.774550] init: Created socket '/dev/socket/wpa_wlan0', mode 660, user 1010, group 1010
[ 142.777894] init: Control message: Processed ctl.interface_start for '[email protected]::ISupplicant/default' from pid: 154 (/system/bin/hwservicemanager)
[ 142.865969] capability: warning: `wpa_supplicant' uses 32-bit capabilities (legacy support in use)
[ 143.062711] [dhd] P2P interface registered
[ 143.062771] [dhd] wl_cfgp2p_add_p2p_disc_if: wdev: 0000000011dc22af, wdev->net: (null)
[ 143.159035] init: processing action (vendor.wifi.direct.interface=p2p-dev-wlan0) from (/vendor/etc/init/hw/init.connectivity.rc:53)
[ 143.239392] [dhd] dhd_dbg_attach_pkt_monitor, 1501
[ 143.263684] [dhd] net_os_enable_packet_filter: val = 0
[ 143.264152] [dhd] net_os_rxfilter_add_remove: add_remove = 0, num = 2
[ 143.265224] [dhd] net_os_enable_packet_filter: val = 1
[ 143.265820] [dhd] net_os_enable_packet_filter: val = 0
[ 143.266114] [dhd] net_os_rxfilter_add_remove: add_remove = 0, num = 3
[ 143.266977] [dhd] net_os_enable_packet_filter: val = 1
[ 143.267373] [dhd] dhd_set_suspend: Remove extra suspend setting
[ 143.267952] [dhd] dhd_enable_packet_filter: enter, value = 0
[ 143.312882] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 0, bssidx: 0
[ 143.313304] [dhd] CFG80211-ERROR) wl_run_escan : Escan set error (-37)
[ 143.313326] [dhd] CFG80211-ERROR) wl_run_escan : scan error (-37)
[ 143.313343] [dhd] CFG80211-ERROR) wl_cfg80211_scan : scan error (-11)
[ 143.325134] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 1, bssidx: 0
[ 143.325625] [dhd] CFG80211-ERROR) wl_run_escan : Escan set error (-37)
[ 143.325655] [dhd] CFG80211-ERROR) wl_run_escan : scan error (-37)
[ 143.325668] [dhd] CFG80211-ERROR) wl_cfg80211_scan : scan error (-11)
[ 143.360441] type=1400 audit(1675002314.970:163): avc: denied { read } for comm="Binder:177_1" name="wakeup2" dev="sysfs" ino=16288 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
[ 143.362358] type=1400 audit(1675002314.973:164): avc: denied { read } for comm="Binder:177_1" name="wakeup9" dev="sysfs" ino=25215 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
[ 143.362506] type=1400 audit(1675002314.973:165): avc: denied { read } for comm="Binder:177_1" name="wakeup14" dev="sysfs" ino=28588 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
[ 143.363295] type=1400 audit(1675002314.973:166): avc: denied { read } for comm="Binder:177_1" name="wakeup12" dev="sysfs" ino=26116 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs_power:s0 tclass=dir permissive=0
[ 143.363880] audit: audit_lost=57 audit_rate_limit=5 audit_backlog_limit=64
[ 143.363929] audit: rate limit exceeded
[ 145.345339] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 2, bssidx: 0
[ 145.345895] [dhd] CFG80211-ERROR) wl_run_escan : Escan set error (-37)
[ 145.345910] [dhd] CFG80211-ERROR) wl_run_escan : scan error (-37)
[ 145.345924] [dhd] CFG80211-ERROR) wl_cfg80211_scan : scan error (-11)
[ 147.367778] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 3, bssidx: 0
[ 147.369109] [dhd] CFG80211-ERROR) wl_run_escan : Escan set error (-37)
[ 147.369137] [dhd] CFG80211-ERROR) wl_run_escan : scan error (-37)
[ 147.369151] [dhd] CFG80211-ERROR) wl_cfg80211_scan : scan error (-11)
[ 149.399239] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 4, bssidx: 0
[ 149.402014] [dhd] CFG80211-ERROR) wl_run_escan : Escan set error (-37)
[ 149.402068] [dhd] CFG80211-ERROR) wl_run_escan : scan error (-37)
[ 149.402096] [dhd] CFG80211-ERROR) wl_cfg80211_scan : scan error (-11)
console:/ #
console:/ #
console:/ #
console:/ #
console:/ #
console:/ # [ 151.441459] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 5, bssidx: 0
[ 151.444666] [dhd] CFG80211-ERROR) wl_run_escan : Escan set error (-37)
[ 151.444749] [dhd] CFG80211-ERROR) wl_run_escan : scan error (-37)
[ 151.444788] [dhd] CFG80211-ERROR) wl_cfg80211_scan : scan error (-11)
console:/ #
console:/ # [ 153.359862] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 6, bssidx: 0
[ 153.363356] [dhd] CFG80211-ERROR) wl_run_escan : Escan set error (-37)
[ 153.363440] [dhd] CFG80211-ERROR) wl_run_escan : scan error (-37)
[ 153.363480] [dhd] CFG80211-ERROR) wl_cfg80211_scan : scan error (-11)
[ 153.472725] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 7, bssidx: 0
[ 153.475423] [dhd] CFG80211-ERROR) wl_run_escan : Escan set error (-37)
[ 153.475466] [dhd] CFG80211-ERROR) wl_run_escan : scan error (-37)
[ 153.475486] [dhd] CFG80211-ERROR) wl_cfg80211_scan : scan error (-11)
[ 157.447792] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 8, bssidx: 0
[ 157.449269] [dhd] CFG80211-ERROR) wl_run_escan : Escan set error (-37)
[ 157.449300] [dhd] CFG80211-ERROR) wl_run_escan : scan error (-37)
[ 157.449313] [dhd] CFG80211-ERROR) wl_cfg80211_scan : scan error (-11)
[ 157.559964] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 9, bssidx: 0
[ 157.564896] [dhd] CFG80211-ERROR) wl_run_escan : Escan set error (-37)
[ 157.564942] [dhd] CFG80211-ERROR) wl_run_escan : scan error (-37)
[ 157.564955] [dhd] CFG80211-ERROR) wl_cfg80211_scan : scan error (-11)
[ 161.202943] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 10, bssidx: 0
[ 161.203487] [dhd] CFG80211-ERROR) wl_run_escan : Escan set error (-37)
[ 161.203523] [dhd] CFG80211-ERROR) wl_run_escan : scan error (-37)
[ 161.203537] [dhd] CFG80211-ERROR) wl_cfg80211_scan : scan error (-11)
[ 163.314801] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 11, bssidx: 0
[ 163.315338] [dhd] CFG80211-ERROR) wl_run_escan : Escan set error (-37)
[ 163.315360] [dhd] CFG80211-ERROR) wl_run_escan : scan error (-37)
[ 163.315379] [dhd] CFG80211-ERROR) wl_cfg80211_scan : scan error (-11)
[ 163.704926] init: Unable to set property 'sys.gmali.version' from uid:10115 gid:10115 pid:2063: SELinux permission check failed
[ 163.704964] type=1107 audit(1675002335.316:179): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc: denied { set } for property=sys.gmali.version pid=2063 uid=10115 gid=10115 scontext=u:r:platform_app:s0:c512,c768 tcontext=u:object_r:system_prop:s0 tclass=property_service permissive=0'
[ 165.335878] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 12, bssidx: 0
[ 165.337426] [dhd] CFG80211-ERROR) wl_run_escan : Escan set error (-37)
[ 165.337460] [dhd] CFG80211-ERROR) wl_run_escan : scan error (-37)
[ 165.337475] [dhd] CFG80211-ERROR) wl_cfg80211_scan : scan error (-11)
[ 166.274022] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 13, bssidx: 0
[ 166.275430] [dhd] CFG80211-ERROR) wl_run_escan : Escan set error (-37)
[ 166.275460] [dhd] CFG80211-ERROR) wl_run_escan : scan error (-37)
[ 166.275473] [dhd] CFG80211-ERROR) wl_cfg80211_scan : scan error (-11)
[ 166.401185] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 14, bssidx: 0
[ 166.401717] [dhd] CFG80211-ERROR) wl_run_escan : Escan set error (-37)
[ 166.401748] [dhd] CFG80211-ERROR) wl_run_escan : scan error (-37)
[ 166.401763] [dhd] CFG80211-ERROR) wl_cfg80211_scan : scan error (-11)
[ 167.359109] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 15, bssidx: 0
[ 167.360743] [dhd] CFG80211-ERROR) wl_run_escan : Escan set error (-37)
[ 167.360782] [dhd] CFG80211-ERROR) wl_run_escan : scan error (-37)
[ 167.360797] [dhd] CFG80211-ERROR) wl_cfg80211_scan : scan error (-11)
[ 169.381771] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 16, bssidx: 0
[ 169.382300] [dhd] CFG80211-ERROR) wl_run_escan : Escan set error (-37)
[ 169.382322] [dhd] CFG80211-ERROR) wl_run_escan : scan error (-37)
[ 169.382346] [dhd] CFG80211-ERROR) wl_cfg80211_scan : scan error (-11)
[ 171.403258] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 17, bssidx: 0
[ 171.404504] [dhd] CFG80211-ERROR) wl_run_escan : Escan set error (-37)
[ 171.404538] [dhd] CFG80211-ERROR) wl_run_escan : scan error (-37)
[ 171.404552] [dhd] CFG80211-ERROR) wl_cfg80211_scan : scan error (-11)
[ 173.424982] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 18, bssidx: 0
[ 173.426503] [dhd] CFG80211-ERROR) wl_run_escan : Escan set error (-37)
[ 173.426538] [dhd] CFG80211-ERROR) wl_run_escan : scan error (-37)
[ 173.426553] [dhd] CFG80211-ERROR) wl_cfg80211_scan : scan error (-11)
[ 176.313178] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 19, bssidx: 0
[ 176.314627] [dhd] CFG80211-ERROR) wl_run_escan : Escan set error (-37)
[ 176.314653] [dhd] CFG80211-ERROR) wl_run_escan : scan error (-37)
[ 176.314666] [dhd] CFG80211-ERROR) wl_cfg80211_scan : scan error (-11)
[ 176.438757] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 20, bssidx: 0
[ 176.440249] [dhd] CFG80211-ERROR) wl_run_escan : Escan set error (-37)
[ 176.440282] [dhd] CFG80211-ERROR) wl_run_escan : scan error (-37)
[ 176.440298] [dhd] CFG80211-ERROR) wl_cfg80211_scan : scan error (-11)
console:/ #
console:/ #
console:/ #
console:/ # ifconfig
dummy0 Link encap:Ethernet HWaddr 9e:c4:27:fd:73:6d
inet6 addr: fe80::9cc4:27ff:fefd:736d/64 Scope: Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 TX bytes:420
eth1 Link encap:Ethernet HWaddr 16:8a:23:8f:df:7e Driver rk_gmac-dwmac
inet6 addr: fe80::148a:23ff:fe8f:df7e/64 Scope: Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:52 errors:0 dropped:0 overruns:0 frame:0
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4024 TX bytes:866
Interrupt:51
eth0 Link encap:Ethernet HWaddr 1a:8a:23:8f:df:7e Driver rk_gmac-dwmac
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 TX bytes:0
Interrupt:41
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope: Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 TX bytes:0
wlan0 Link encap:Ethernet HWaddr 10:2c:6b:7f:b0:ec Driver bcmsdh_sdmmc
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 TX bytes:176
console:/ #
console:/ # [ 186.368984] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 21, bssidx: 0
[ 186.370446] [dhd] CFG80211-ERROR) wl_run_escan : Escan set error (-37)
[ 186.370520] [dhd] CFG80211-ERROR) wl_run_escan : scan error (-37)
[ 186.370542] [dhd] CFG80211-ERROR) wl_cfg80211_scan : scan error (-11)
[ 186.444188] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 22, bssidx: 0
[ 186.445600] [dhd] CFG80211-ERROR) wl_run_escan : Escan set error (-37)
[ 186.445622] [dhd] CFG80211-ERROR) wl_run_escan : scan error (-37)
[ 186.445633] [dhd] CFG80211-ERROR) wl_cfg80211_scan : scan error (-11)
[ 189.459904] healthd: battery l=50 v=3 t=2.6 h=2 st=3 fc=100 chg=au
[ 196.417487] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 23, bssidx: 0
[ 196.419041] [dhd] CFG80211-ERROR) wl_run_escan : Escan set error (-37)
[ 196.419082] [dhd] CFG80211-ERROR) wl_run_escan : scan error (-37)
[ 196.419099] [dhd] CFG80211-ERROR) wl_cfg80211_scan : scan error (-11)
[ 196.494796] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 24, bssidx: 0
[ 196.496142] [dhd] CFG80211-ERROR) wl_run_escan : Escan set error (-37)
[ 196.496158] [dhd] CFG80211-ERROR) wl_run_escan : scan error (-37)
[ 196.496168] [dhd] CFG80211-ERROR) wl_cfg80211_scan : scan error (-11)
[ 203.320936] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 25, bssidx: 0
[ 203.322418] [dhd] CFG80211-ERROR) wl_run_escan : Escan set error (-37)
[ 203.322450] [dhd] CFG80211-ERROR) wl_run_escan : scan error (-37)
[ 203.322466] [dhd] CFG80211-ERROR) wl_cfg80211_scan : scan error (-11)
[ 204.830485] [dhd] CFGP2P-ERROR) wl_cfgp2p_del_p2p_disc_if : P2P interface unregistered
[ 204.888595] [dhd] [wlan0] tx queue stopped
[ 204.888627] [dhd] dhd_stop: Enter wlan0
[ 204.888633] [dhd] dhd_stop: ######### dhd_stop called for ifidx=0 #########
[ 204.888639] [dhd] dhd_stop: making dhdpub up FALSE
[ 204.899991] [dhd] CFGP2P-ERROR) wl_cfgp2p_disable_discovery : do nothing, not initialized
[ 204.900817] [dhd] dhd_tcpack_suppress_set: TCP ACK Suppress mode 1 -> mode 0
[ 204.900842] [dhd-wlan0] wl_android_wifi_off : in g_wifi_on=1, on_failure=1
[ 204.901874] [dhd] dhd_dbg_detach_pkt_monitor, 2099
[ 204.901894] [dhd] __dhd_dbg_free_tx_pkts, 1412
[ 204.901908] [dhd] __dhd_dbg_free_rx_pkts, 1431
[ 204.901921] [dhd] dhd_bus_devreset: == Power OFF ==
[ 204.902054] [dhd] dhd_bus_stop: making DHD_BUS_DOWN
[ 204.902137] [dhd] bcmsdh_oob_intr_unregister: Enter
[ 204.902170] [dhd] dhd_bus_devreset: making dhdpub up FALSE
[ 204.902178] [dhd] dhd_txglom_enable: enable 0
[ 204.902183] [dhd] dhd_bus_devreset: making DHD_BUS_DOWN
[ 204.902189] [dhd] dhd_bus_devreset: WLAN OFF DONE
[ 204.902239] [dhd] wifi_platform_set_power = 0, delay: 0 msec
[ 204.902257] [dhd] ======== PULL WL_REG_ON(-1) LOW! ========
[ 204.902268] [WLAN_RFKILL]: rockchip_wifi_power: 0
[ 204.902288] [WLAN_RFKILL]: rockchip_wifi_power: toggle = false
[ 204.902298] [WLAN_RFKILL]: wifi shut off power [GPIO-1-1]
[ 204.902310] [dhd-wlan0] wl_android_wifi_off : out
[ 204.933993] [dhd] dhd_stop: Exit wlan0
[ 204.944292] init: Service 'wpa_supplicant' (pid 2050) exited with status 0 oneshot service took 62.167999 seconds in background
[ 204.944347] init: Sending signal 9 to service 'wpa_supplicant' (pid 2050) process group...
[ 204.944633] libprocessgroup: Successfully killed process cgroup uid 0 pid 2050 in 0ms
[ 204.970658] [dhd] dhd_dbg_set_event_log_tag set log tag iovar failed -19
[ 204.970694] [dhd] dhd_dbg_set_event_log_tag set log tag iovar failed -19
[ 204.970704] [dhd] dhd_dbg_set_event_log_tag set log tag iovar failed -19
[ 204.970712] [dhd] dhd_dbg_set_event_log_tag set log tag iovar failed -19
[ 204.970721] [dhd] dhd_dbg_set_event_log_tag set log tag iovar failed -19
[ 204.970729] [dhd] dhd_dbg_set_event_log_tag set log tag iovar failed -19
[ 204.970739] [dhd] dhd_dbg_set_event_log_tag set log tag iovar failed -19
[ 204.970757] [dhd] dhd_dbg_set_event_log_tag set log tag iovar failed -19
[ 204.970772] [dhd] dhd_dbg_set_event_log_tag set log tag iovar failed -19
[ 204.970787] [dhd] dhd_dbg_set_event_log_tag set log tag iovar failed -19
[ 204.970801] [dhd] dhd_dbg_set_event_log_tag set log tag iovar failed -19
[ 204.970815] [dhd] dhd_dbg_set_event_log_tag set log tag iovar failed -19
[ 204.970829] [dhd] dhd_dbg_set_event_log_tag set log tag iovar failed -19
[ 205.074753] type=1400 audit(1675002376.686:180): avc: denied { read } for comm="Binder:177_1" name="wakeup2" dev="sysfs" ino=16288 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
[ 205.076453] type=1400 audit(1675002376.686:181): avc: denied { read } for comm="Binder:177_1" name="wakeup9" dev="sysfs" ino=25215 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
[ 205.076719] type=1400 audit(1675002376.686:182): avc: denied { read } for comm="Binder:177_1" name="wakeup14" dev="sysfs" ino=28588 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
[ 205.077485] type=1400 audit(1675002376.690:183): avc: denied { read } for comm="Binder:177_1" name="wakeup12" dev="sysfs" ino=26116 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs_power:s0 tclass=dir permissive=0
[ 205.079860] type=1400 audit(1675002376.690:184): avc: denied { read } for comm="Binder:177_1" name="wakeup5" dev="sysfs" ino=23932 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
[ 205.080051] type=1400 audit(1675002376.690:185): avc: denied { read } for comm="Binder:177_1" name="wakeup10" dev="sysfs" ino=25976 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs_power:s0 tclass=dir permissive=0
[ 205.081687] type=1400 audit(1675002376.693:186): avc: denied { read } for comm="Binder:177_1" name="wakeup13" dev="sysfs" ino=28214 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
[ 205.082776] type=1400 audit(1675002376.693:187): avc: denied { read } for comm="Binder:177_1" name="wakeup11" dev="sysfs" ino=26032 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs_power:s0 tclass=dir permissive=0
console:/ #
console:/ #
console:/ #
现在考虑的两个方向!通过adb来修改。
(一)、WIFI的驱动模块的问题:bcmdhd.ko【最后确认不是这里的问题】
1.2 Android 注意事项 Android notices
1.编译 kernel 时会自动编译 wifi ko 文件,编译 Android 的时候会自动将 wifi ko 文件拷贝到vendor.img 中,存放在/vendor/lib/modules/目录下。
It will automatically compile wifi ko file when compiling kernel. When compiling Android, it will automatically copy wifi ko file to vendor.img and save in the directory of /vendor/lib/modules/.vendor/rockchip/common/wifi/wifi.mk
console:/ #
console:/ # cd /vendor/li
lib/ lib64/
console:/ # cd /vendor/lib/modules/
console:/vendor/lib/modules #
console:/vendor/lib/modules # ls -l
total 19152
-rw-r--r-- 1 root root 3910536 2023-01-27 02:29 8723cs.ko
-rw-r--r-- 1 root root 4979920 2023-01-27 02:29 8821cs.ko
-rw-r--r-- 1 root root 6637152 2023-01-27 02:29 8822bs.ko
-rw-r--r-- 1 root root 3155256 2023-01-27 02:29 bcmdhd.ko
-rw-r--r-- 1 root root 1316880 2023-01-27 02:29 mali_kbase.ko
-rw-r--r-- 1 root root 861 2023-01-27 02:49 modules.alias
-rw-r--r-- 1 root root 225 2023-01-27 02:49 modules.dep
-rw-r--r-- 1 root root 78 2023-01-27 02:49 modules.load
-rw-r--r-- 1 root root 55 2023-01-27 02:49 modules.softdep
-rw-r--r-- 1 root root 56920 2023-01-27 02:29 rknpu-clang.ko
-rw-r--r-- 1 root root 58608 2023-01-27 02:29 rknpu.ko
console:/vendor/lib/modules #
console:/vendor/lib/modules # md5sum bcmdhd.ko
cc7502fed8a13344ec589b47eadeca25 bcmdhd.ko
console:/vendor/lib/modules #
(二)、BT固件相同。但是WIFI固件更大,貌似更新!
【根据全志平台的经验,WIFI的固件越大越新!Nvidia显卡驱动一般也是这样的!所以当时比对到之类,编译之前我就没有改!后来感觉驱动和这里的固件是配对的!^_】
Y:\RK356X_Android11.0\vendor\rockchip\common\bluetooth\lib\firmware\BCM4362A2.hcd
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/rk3568_Android11.0_ToyBrick$ find . -name BCM4362A2.hcd
./vendor/rockchip/common/bluetooth/lib/firmware/BCM4362A2.hcd
./out/target/product/rk3568_r/vendor/etc/firmware/BCM4362A2.hcd
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/rk3568_Android11.0_ToyBrick$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/rk3568_Android11.0_ToyBrick$ find . -name fw_bcm43752a2_ag.bin
./vendor/rockchip/common/wifi/firmware/fw_bcm43752a2_ag.bin
./out/target/product/rk3568_r/recovery/root/vendor/etc/firmware/fw_bcm43752a2_ag.bin
./out/target/product/rk3568_r/vendor/etc/firmware/fw_bcm43752a2_ag.bin
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/rk3568_Android11.0_ToyBrick$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/rk3568_Android11.0_ToyBrick$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/rk3568_Android11.0_ToyBrick$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/rk3568_Android11.0_ToyBrick$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/rk3568_Android11.0_ToyBrick$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/rk3568_Android11.0_ToyBrick$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/rk3568_Android11.0_ToyBrick$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/rk3568_Android11.0_ToyBrick$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/rk3568_Android11.0_ToyBrick$ find . -name bcmdhd.ko
./kernel/drivers/net/wireless/rockchip_wlan/rkwifi/ap6275s/bcmdhd.ko
./out/target/product/rk3568_r/obj/PACKAGING/depmod_vendor_stripped_intermediates/bcmdhd.ko
./out/target/product/rk3568_r/obj/PACKAGING/depmod_VENDOR_intermediates/lib/modules/0.0/vendor/lib/modules/bcmdhd.ko
./out/target/product/rk3568_r/recovery/root/pcba/lib/modules/rkwifi/ap6275s/bcmdhd.ko
./out/target/product/rk3568_r/vendor/lib/modules/bcmdhd.ko
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/rk3568_Android11.0_ToyBrick$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/rk3568_Android11.0_ToyBrick$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/rk3568_Android11.0_ToyBrick$ md5sum ./kernel/drivers/net/wireless/rockchip_wlan/rkwifi/ap6275s/bcmdhd.ko
91ed6af8adaf0c5444ec012a9efa2685 ./kernel/drivers/net/wireless/rockchip_wlan/rkwifi/ap6275s/bcmdhd.ko
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/rk3568_Android11.0_ToyBrick$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/rk3568_Android11.0_ToyBrick$ md5sum ./out/target/product/rk3568_r/obj/PACKAGING/depmod_vendor_stripped_intermediates/bcmdhd.ko
cc7502fed8a13344ec589b47eadeca25 ./out/target/product/rk3568_r/obj/PACKAGING/depmod_vendor_stripped_intermediates/bcmdhd.ko
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/rk3568_Android11.0_ToyBrick$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/rk3568_Android11.0_ToyBrick$ md5sum ./out/target/product/rk3568_r/obj/PACKAGING/depmod_VENDOR_intermediates/lib/modules/0.0/vendor/lib/modules/bcmdhd.ko
91ed6af8adaf0c5444ec012a9efa2685 ./out/target/product/rk3568_r/obj/PACKAGING/depmod_VENDOR_intermediates/lib/modules/0.0/vendor/lib/modules/bcmdhd.ko
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/rk3568_Android11.0_ToyBrick$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/rk3568_Android11.0_ToyBrick$ md5sum ./out/target/product/rk3568_r/recovery/root/pcba/lib/modules/rkwifi/ap6275s/bcmdhd.ko
91ed6af8adaf0c5444ec012a9efa2685 ./out/target/product/rk3568_r/recovery/root/pcba/lib/modules/rkwifi/ap6275s/bcmdhd.ko
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/rk3568_Android11.0_ToyBrick$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/rk3568_Android11.0_ToyBrick$ md5sum ./out/target/product/rk3568_r/vendor/lib/modules/bcmdhd.ko
cc7502fed8a13344ec589b47eadeca25 ./out/target/product/rk3568_r/vendor/lib/modules/bcmdhd.ko
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/rk3568_Android11.0_ToyBrick$
1|console:/ #
1|console:/ # cd /vendor/etc/firmware/
console:/vendor/etc/firmware #
console:/vendor/etc/firmware # ls [10205.198456] healthd: battery l=50 v=3 t=2.6 h=2 st=3 fc=100 chg=au
-l
total 30648
-rw-r--r-- 1 root root 29773 2023-01-27 11:42 4343A0.hcd
-rw-r--r-- 1 root root 7335 2023-01-27 11:42 AP6275P_NVRAM_V1.1_20200702.txt
-rw-r--r-- 1 root root 26621 2023-01-27 11:42 BCM20710A1.hcd
-rw-r--r-- 1 root root 54593 2023-01-27 11:42 BCM4330B1.hcd
-rw-r--r-- 1 root root 41657 2023-01-27 11:42 BCM4343A0.hcd
-rw-r--r-- 1 root root 36657 2023-01-27 11:42 BCM4343A1.hcd
-rw-r--r-- 1 root root 42667 2023-01-27 11:42 BCM4343B0.hcd
-rw-r--r-- 1 root root 65639 2023-01-27 11:42 BCM4345C0.hcd
-rw-r--r-- 1 root root 45667 2023-01-27 11:42 BCM4345C5.hcd
-rw-r--r-- 1 root root 65058 2023-01-27 11:42 BCM4354A2.hcd
-rw-r--r-- 1 root root 65058 2023-01-27 11:42 BCM4356A2.hcd
-rw-r--r-- 1 root root 67687 2023-01-27 11:42 BCM4359C0.hcd
-rw-r--r-- 1 root root 75203 2023-01-27 11:42 BCM4362A2.hcd
-rw-r--r-- 1 root root 6276 2023-01-27 11:42 BT_Firmware.mk
-rw-r--r-- 1 root root 1806 2023-01-27 11:42 RT2870AP.dat
-rw-r--r-- 1 root root 595 2023-01-27 11:42 RT2870APCard.dat
-rw-r--r-- 1 root root 1222 2023-01-27 11:42 RT2870STA.dat
-rw-r--r-- 1 root root 613 2023-01-27 11:42 RT2870STACard.dat
-rw-r--r-- 1 root root 37955 2023-01-27 11:42 awnb108.hcd
-rw-r--r-- 1 root root 26621 2023-01-27 11:42 bcm20710a1.hcd
-rw-r--r-- 1 root root 26634 2023-01-27 11:42 bcm20710a1_24M.hcd
-rw-r--r-- 1 root root 26621 2023-01-27 11:42 bcm20710a1_26M.hcd
-rw-r--r-- 1 root root 32802 2023-01-27 11:42 bcm2076b1.hcd
-rw-r--r-- 1 root root 54593 2023-01-27 11:42 bcm40183b2.hcd
-rw-r--r-- 1 root root 14344 2023-01-27 11:42 bcm43241b4.hcd
-rw-r--r-- 1 root root 16608 2023-01-27 11:42 bcm4329.hcd
-rw-r--r-- 1 root root 41413 2023-01-27 11:42 bcm43341b0.hcd
-rw-r--r-- 1 root root 57291 2023-01-27 11:42 bcm4339a0.hcd
-rw-r--r-- 1 root root 40568 2023-01-27 11:42 bcm43438a0.hcd
-rw-r--r-- 1 root root 36774 2023-01-27 11:42 bcm43438a1.hcd
-rw-r--r-- 1 root root 66879 2023-01-27 11:42 bcm4354a1.hcd
-rw-r--r-- 1 root root 28865 2023-01-27 11:42 clm_bcm43752a2_ag.blob
-rw-r--r-- 1 root root 29113 2023-01-27 11:42 clm_bcm43752a2_pcie_ag.blob
-rw-r--r-- 1 root root 201472 2023-01-27 11:42 fw_RK901.bin
-rw-r--r-- 1 root root 201472 2023-01-27 11:42 fw_RK901a0.bin
-rw-r--r-- 1 root root 201472 2023-01-27 11:42 fw_RK901a0_apsta.bin
-rw-r--r-- 1 root root 212536 2023-01-27 11:42 fw_RK901a2.bin
-rw-r--r-- 1 root root 204070 2023-01-27 11:42 fw_RK901a2_apsta.bin
-rw-r--r-- 1 root root 212850 2023-01-27 11:42 fw_RK901a2_p2p.bin
-rw-r--r-- 1 root root 239947 2023-01-27 11:42 fw_RK903.bin
-rw-r--r-- 1 root root 246143 2023-01-27 11:42 fw_RK903_ag.bin
-rw-r--r-- 1 root root 246143 2023-01-27 11:42 fw_RK903_ag_apsta.bin
-rw-r--r-- 1 root root 246143 2023-01-27 11:42 fw_RK903_ag_p2p.bin
-rw-r--r-- 1 root root 239947 2023-01-27 11:42 fw_RK903_p2p.bin
-rw-r--r-- 1 root root 229802 2023-01-27 11:42 fw_RK903b2.bin
-rw-r--r-- 1 root root 210920 2023-01-27 11:42 fw_RK903b2_apsta.bin
-rw-r--r-- 1 root root 226455 2023-01-27 11:42 fw_RK903b2_p2p.bin
-rw-r--r-- 1 root root 206231 2023-01-27 11:42 fw_awnb108.bin
-rw-r--r-- 1 root root 191709 2023-01-27 11:42 fw_awnb108_ap.bin
-rw-r--r-- 1 root root 213647 2023-01-27 11:42 fw_bcm40181a2.bin
-rw-r--r-- 1 root root 209599 2023-01-27 11:42 fw_bcm40181a2_apsta.bin
-rw-r--r-- 1 root root 226606 2023-01-27 11:42 fw_bcm40183b2.bin
-rw-r--r-- 1 root root 239507 2023-01-27 11:42 fw_bcm40183b2_ag.bin
-rw-r--r-- 1 root root 226405 2023-01-27 11:42 fw_bcm40183b2_ag_apsta.bin
-rw-r--r-- 1 root root 239507 2023-01-27 11:42 fw_bcm40183b2_ag_p2p.bin
-rw-r--r-- 1 root root 210920 2023-01-27 11:42 fw_bcm40183b2_apsta.bin
-rw-r--r-- 1 root root 239507 2023-01-27 11:42 fw_bcm40183b2_p2p.bin
-rw-r--r-- 1 root root 392320 2023-01-27 11:42 fw_bcm43241b4_ag.bin
-rw-r--r-- 1 root root 400662 2023-01-27 11:42 fw_bcm43241b4_ag_apsta.bin
-rw-r--r-- 1 root root 400662 2023-01-27 11:42 fw_bcm43241b4_ag_p2p.bin
-rw-r--r-- 1 root root 218460 2023-01-27 11:42 fw_bcm4330.bin
-rw-r--r-- 1 root root 237848 2023-01-27 11:42 fw_bcm4330_apsta.bin
-rw-r--r-- 1 root root 399488 2023-01-27 11:42 fw_bcm43341b0_ag.bin
-rw-r--r-- 1 root root 399488 2023-01-27 11:42 fw_bcm43341b0_ag_apsta.bin
-rw-r--r-- 1 root root 366498 2023-01-27 11:42 fw_bcm43341b0_ag_p2p.bin
-rw-r--r-- 1 root root 457249 2023-01-27 11:42 fw_bcm4334b1_ag.bin
-rw-r--r-- 1 root root 413342 2023-01-27 11:42 fw_bcm4334b1_ag_apsta.bin
-rw-r--r-- 1 root root 457249 2023-01-27 11:42 fw_bcm4334b1_ag_p2p.bin
-rw-r--r-- 1 root root 569309 2023-01-27 11:42 fw_bcm4339a0_ag.bin
-rw-r--r-- 1 root root 569309 2023-01-27 11:42 fw_bcm4339a0_ag_apsta.bin
-rw-r--r-- 1 root root 569309 2023-01-27 11:42 fw_bcm4339a0_ag_p2p.bin
-rw-r--r-- 1 root root 426539 2023-01-27 11:42 fw_bcm43436b0.bin
-rw-r--r-- 1 root root 426539 2023-01-27 11:42 fw_bcm43436b0_apsta.bin
-rw-r--r-- 1 root root 425265 2023-01-27 11:42 fw_bcm43436b0_p2p.bin
-rw-r--r-- 1 root root 457598 2023-01-27 11:42 fw_bcm43438a0.bin
-rw-r--r-- 1 root root 457598 2023-01-27 11:42 fw_bcm43438a0_apsta.bin
-rw-r--r-- 1 root root 455252 2023-01-27 11:42 fw_bcm43438a0_p2p.bin
-rw-r--r-- 1 root root 436966 2023-01-27 11:42 fw_bcm43438a1.bin
-rw-r--r-- 1 root root 436966 2023-01-27 11:42 fw_bcm43438a1_apsta.bin
-rw-r--r-- 1 root root 432056 2023-01-27 11:42 fw_bcm43438a1_p2p.bin
-rw-r--r-- 1 root root 624166 2023-01-27 11:42 fw_bcm43455c0_ag.bin
-rw-r--r-- 1 root root 624166 2023-01-27 11:42 fw_bcm43455c0_ag_apsta.bin
-rw-r--r-- 1 root root 650271 2023-01-27 11:42 fw_bcm43455c0_ag_p2p.bin
-rw-r--r-- 1 root root 603086 2023-01-27 11:42 fw_bcm43456c5_ag.bin
-rw-r--r-- 1 root root 603086 2023-01-27 11:42 fw_bcm43456c5_ag_apsta.bin
-rw-r--r-- 1 root root 655622 2023-01-27 11:42 fw_bcm4354a1_ag.bin
-rw-r--r-- 1 root root 655622 2023-01-27 11:42 fw_bcm4354a1_ag_apsta.bin
-rw-r--r-- 1 root root 655622 2023-01-27 11:42 fw_bcm4354a1_ag_p2p.bin
-rw-r--r-- 1 root root 578797 2023-01-27 11:42 fw_bcm4356a2_ag.bin
-rw-r--r-- 1 root root 578797 2023-01-27 11:42 fw_bcm4356a2_ag_apsta.bin
-rw-r--r-- 1 root root 593126 2023-01-27 11:42 fw_bcm4356a2_ag_p2p.bin
-rw-r--r-- 1 root root 655119 2023-01-27 11:42 fw_bcm4359c0_ag.bin
-rw-r--r-- 1 root root 655119 2023-01-27 11:42 fw_bcm4359c0_ag_apsta.bin
-rw-r--r-- 1 root root 641775 2023-01-27 11:42 fw_bcm4359c0_ag_p2p.bin
-rw-r--r-- 1 root root 743607 2023-01-27 11:42 fw_bcm43752a2_ag.bin
-rw-r--r-- 1 root root 743607 2023-01-27 11:42 fw_bcm43752a2_ag_apsta.bin
-rw-r--r-- 1 root root 841944 2023-01-27 11:42 fw_bcm43752a2_pcie_ag.bin
-rw-r--r-- 1 root root 841944 2023-01-27 11:42 fw_bcm43752a2_pcie_ag_apsta.bin
-rw-r--r-- 1 root root 412471 2023-01-27 11:42 fw_cyw43438.bin
-rw-r--r-- 1 root root 630045 2023-01-27 11:42 fw_cyw43455.bin
-rw-r--r-- 1 root root 1368 2023-01-27 11:42 fw_info.txt
-rw-r--r-- 1 root root 37949 2023-01-27 11:42 nh660.hcd
-rw-r--r-- 1 root root 741 2023-01-27 11:42 nvram_4330.txt
-rw-r--r-- 1 root root 753 2023-01-27 11:42 nvram_4330_oob.txt
-rw-r--r-- 1 root root 1235 2023-01-27 11:42 nvram_AP6181.txt
-rw-r--r-- 1 root root 1178 2023-01-27 11:42 nvram_AP6210.txt
-rw-r--r-- 1 root root 1178 2023-01-27 11:42 nvram_AP6210_24M.txt
-rw-r--r-- 1 root root 2613 2023-01-27 11:42 nvram_AP6234.txt
-rw-r--r-- 1 root root 7335 2023-01-27 11:42 nvram_AP6275P.txt
-rw-r--r-- 1 root root 1522 2023-01-27 11:42 nvram_AP6330.txt
-rw-r--r-- 1 root root 2366 2023-01-27 11:42 nvram_AP6335.txt
-rw-r--r-- 1 root root 2628 2023-01-27 11:42 nvram_AP6441.txt
-rw-r--r-- 1 root root 712 2023-01-27 11:42 nvram_AP6476.txt
-rw-r--r-- 1 root root 1035 2023-01-27 11:42 nvram_AP6493.txt
-rw-r--r-- 1 root root 1187 2023-01-27 11:42 nvram_B23.txt
-rw-r--r-- 1 root root 1536 2023-01-27 11:42 nvram_GB86302I.txt
-rw-r--r-- 1 root root 698 2023-01-27 11:42 nvram_RK901.txt
-rw-r--r-- 1 root root 1647 2023-01-27 11:42 nvram_RK903.cal
-rw-r--r-- 1 root root 1003 2023-01-27 11:42 nvram_RK903.txt
-rw-r--r-- 1 root root 1663 2023-01-27 11:42 nvram_RK903_26M.cal
-rw-r--r-- 1 root root 698 2023-01-27 11:42 nvram_WL211.txt
-rw-r--r-- 1 root root 993 2023-01-27 11:42 nvram_ap6212.txt
-rw-r--r-- 1 root root 1017 2023-01-27 11:42 nvram_ap6212a.txt
-rw-r--r-- 1 root root 1001 2023-01-27 11:42 nvram_ap6214.txt
-rw-r--r-- 1 root root 1003 2023-01-27 11:42 nvram_ap6214a.txt
-rw-r--r-- 1 root root 1226 2023-01-27 11:42 nvram_ap6216.txt
-rw-r--r-- 1 root root 2659 2023-01-27 11:42 nvram_ap6233f.txt
-rw-r--r-- 1 root root 1226 2023-01-27 11:42 nvram_ap6236.txt
-rw-r--r-- 1 root root 2135 2023-01-27 11:42 nvram_ap6255.txt
-rw-r--r-- 1 root root 2440 2023-01-27 11:42 nvram_ap6256.txt
-rw-r--r-- 1 root root 8709 2023-01-27 11:42 nvram_ap6275s.txt
-rw-r--r-- 1 root root 2669 2023-01-27 11:42 nvram_ap62x2.txt
-rw-r--r-- 1 root root 3341 2023-01-27 11:42 nvram_ap6354.txt
-rw-r--r-- 1 root root 2840 2023-01-27 11:42 nvram_ap6356.txt
-rw-r--r-- 1 root root 2856 2023-01-27 11:42 nvram_ap6356s.txt
-rw-r--r-- 1 root root 6096 2023-01-27 11:42 nvram_ap6398s.txt
-rw-r--r-- 1 root root 6096 2023-01-27 11:42 nvram_ap6398sa.txt
-rw-r--r-- 1 root root 1002 2023-01-27 11:42 nvram_ap6452.txt
-rw-r--r-- 1 root root 861 2023-01-27 11:42 nvram_awnb108.txt
-rw-r--r-- 1 root root 2070 2023-01-27 11:42 nvram_azw256.txt
-rw-r--r-- 1 root root 1017 2023-01-27 11:42 nvram_azw372.txt
-rw-r--r-- 1 root root 4058 2023-01-27 11:42 otp.bin.z77
-rw-r--r-- 1 root root 1521 2023-01-27 11:42 readme.txt
-rw-r--r-- 1 root root 36156 2023-01-27 11:42 rk903.hcd
-rw-r--r-- 1 root root 54593 2023-01-27 11:42 rk903_26M.hcd
-rw-r--r-- 1 root root 64 2023-01-27 11:42 rtl8703as_config
-rw-r--r-- 1 root root 19996 2023-01-27 11:42 rtl8703as_fw
-rw-r--r-- 1 root root 59 2023-01-27 11:42 rtl8703bs_config
-rw-r--r-- 1 root root 29460 2023-01-27 11:42 rtl8703bs_fw
-rw-r--r-- 1 root root 35 2023-01-27 11:42 rtl8703cs_config
-rw-r--r-- 1 root root 44900 2023-01-27 11:42 rtl8703cs_fw
-rw-r--r-- 1 root root 24 2023-01-27 11:42 rtl8723a_config
-rw-r--r-- 1 root root 33 2023-01-27 11:42 rtl8723a_config_addr
-rw-r--r-- 1 root root 24452 2023-01-27 11:42 rtl8723a_fw
-rw-r--r-- 1 root root 40 2023-01-27 11:42 rtl8723as_config
-rw-r--r-- 1 root root 24372 2023-01-27 11:42 rtl8723as_fw
-rw-r--r-- 1 root root 10 2023-01-27 11:42 rtl8723b_config
-rw-r--r-- 1 root root 14 2023-01-27 11:42 rtl8723b_config_2Ant_S0
-rw-r--r-- 1 root root 45560 2023-01-27 11:42 rtl8723b_fw
-rw-r--r-- 1 root root 56 2023-01-27 11:42 rtl8723bs_VQ0_config
-rw-r--r-- 1 root root 46568 2023-01-27 11:42 rtl8723bs_VQ0_fw
-rw-r--r-- 1 root root 48 2023-01-27 11:42 rtl8723bs_config
-rw-r--r-- 1 root root 46700 2023-01-27 11:42 rtl8723bs_fw
-rw-r--r-- 1 root root 14 2023-01-27 11:42 rtl8723bu_config
-rw-r--r-- 1 root root 21080 2023-01-27 11:42 rtl8723c_fw
-rw-r--r-- 1 root root 59 2023-01-27 11:42 rtl8723cs_cg_config
-rw-r--r-- 1 root root 18876 2023-01-27 11:42 rtl8723cs_cg_fw
-rw-r--r-- 1 root root 59 2023-01-27 11:42 rtl8723cs_vf_config
-rw-r--r-- 1 root root 18876 2023-01-27 11:42 rtl8723cs_vf_fw
-rw-r--r-- 1 root root 59 2023-01-27 11:42 rtl8723cs_xx_config
-rw-r--r-- 1 root root 29872 2023-01-27 11:42 rtl8723cs_xx_fw
-rw-r--r-- 1 root root 10 2023-01-27 11:42 rtl8723d_config
-rw-r--r-- 1 root root 51240 2023-01-27 11:42 rtl8723d_fw
-rw-r--r-- 1 root root 29 2023-01-27 11:42 rtl8723ds_config
-rw-r--r-- 1 root root 55032 2023-01-27 11:42 rtl8723ds_fw
-rw-r--r-- 1 root root 6 2023-01-27 11:42 rtl8723f_config
-rw-r--r-- 1 root root 40652 2023-01-27 11:42 rtl8723f_fw
-rw-r--r-- 1 root root 25 2023-01-27 11:42 rtl8723fs_config
-rw-r--r-- 1 root root 40404 2023-01-27 11:42 rtl8723fs_fw
-rw-r--r-- 1 root root 6 2023-01-27 11:42 rtl8725a_config
-rw-r--r-- 1 root root 44308 2023-01-27 11:42 rtl8725a_fw
-rw-r--r-- 1 root root 25 2023-01-27 11:42 rtl8725as_config
-rw-r--r-- 1 root root 42148 2023-01-27 11:42 rtl8725as_fw
-rw-r--r-- 1 root root 10 2023-01-27 11:42 rtl8761a_config
-rw-r--r-- 1 root root 68888 2023-01-27 11:42 rtl8761at8192ee_fw
-rw-r--r-- 1 root root 71900 2023-01-27 11:42 rtl8761at8812ae_fw
-rw-r--r-- 1 root root 48 2023-01-27 11:42 rtl8761at_config
-rw-r--r-- 1 root root 67608 2023-01-27 11:42 rtl8761at_fw
-rw-r--r-- 1 root root 72768 2023-01-27 11:42 rtl8761au8192ee_fw
-rw-r--r-- 1 root root 70100 2023-01-27 11:42 rtl8761au8812ae_fw
-rw-r--r-- 1 root root 66684 2023-01-27 11:42 rtl8761au_fw
-rw-r--r-- 1 root root 20 2023-01-27 11:42 rtl8761aw8192eu_config
-rw-r--r-- 1 root root 65544 2023-01-27 11:42 rtl8761aw8192eu_fw
-rw-r--r-- 1 root root 10 2023-01-27 11:42 rtl8761b_config
-rw-r--r-- 1 root root 36888 2023-01-27 11:42 rtl8761b_fw
-rw-r--r-- 1 root root 29 2023-01-27 11:42 rtl8761bt_config
-rw-r--r-- 1 root root 37740 2023-01-27 11:42 rtl8761bt_fw
-rw-r--r-- 1 root root 26376 2023-01-27 11:42 rtl8761cs_fw
-rw-r--r-- 1 root root 10 2023-01-27 11:42 rtl8821a_config
-rw-r--r-- 1 root root 40024 2023-01-27 11:42 rtl8821a_fw
-rw-r--r-- 1 root root 44 2023-01-27 11:42 rtl8821as_config
-rw-r--r-- 1 root root 40932 2023-01-27 11:42 rtl8821as_fw
-rw-r--r-- 1 root root 10 2023-01-27 11:42 rtl8821c_config
-rw-r--r-- 1 root root 48816 2023-01-27 11:42 rtl8821c_fw
-rw-r--r-- 1 root root 29 2023-01-27 11:42 rtl8821cs_config
-rw-r--r-- 1 root root 50824 2023-01-27 11:42 rtl8821cs_fw
-rw-r--r-- 1 root root 6 2023-01-27 11:42 rtl8822b_config
-rw-r--r-- 1 root root 51872 2023-01-27 11:42 rtl8822b_fw
-rw-r--r-- 1 root root 25 2023-01-27 11:42 rtl8822bs_config
-rw-r--r-- 1 root root 45708 2023-01-27 11:42 rtl8822bs_fw
-rw-r--r-- 1 root root 6 2023-01-27 11:42 rtl8822c_config
-rw-r--r-- 1 root root 54740 2023-01-27 11:42 rtl8822c_fw
-rw-r--r-- 1 root root 25 2023-01-27 11:42 rtl8822cs_config
-rw-r--r-- 1 root root 57552 2023-01-27 11:42 rtl8822cs_fw
-rw-r--r-- 1 root root 73 2023-01-27 11:42 rtl8852as_config
-rw-r--r-- 1 root root 27388 2023-01-27 11:42 rtl8852as_fw
-rw-r--r-- 1 root root 54 2023-01-27 11:42 rtl8852au_config
-rw-r--r-- 1 root root 50036 2023-01-27 11:42 rtl8852au_fw
-rw-r--r-- 1 root root 81176 2023-01-27 11:42 ssv6051-sw.bin
-rw-r--r-- 1 root root 2476 2023-01-27 11:42 ssv6051-wifi.cfg
-rw-r--r-- 1 root root 1566 2023-01-27 11:42 wifi_efuse_8189e.map
-rw-r--r-- 1 root root 1421 2023-01-27 11:42 wifi_efuse_8723bs-vq0.map
-rw-r--r-- 1 root root 1568 2023-01-27 11:42 wifi_efuse_8723cs.map
-rw-r--r-- 1 root root 1567 2023-01-27 11:42 wifi_efuse_8723ds.map
-rw-r--r-- 1 root root 1568 2023-01-27 11:42 wifi_efuse_8821cs.map
console:/vendor/etc/firmware # [10265.198400] healthd: battery l=50 v=3 t=2.6 h=2 st=3 fc=100 chg=au
console:/vendor/etc/firmware #
Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。
C:\Users\Administrator>adb root
restarting adbd as root
C:\Users\Administrator>
C:\Users\Administrator>adb remount
Using overlayfs for /system
Using overlayfs for /vendor
Using overlayfs for /odm
Using overlayfs for /product
Using overlayfs for /system_ext
Now reboot your device for settings to take effect
remount succeeded
C:\Users\Administrator>cd P:\AIO-3568J\android12-rk3568-ap6275s\vendor\rockchip\common\wifi\firmware
C:\Users\Administrator>
C:\Users\Administrator>p:
P:\AIO-3568J\android12-rk3568-ap6275s\vendor\rockchip\common\wifi\firmware>
P:\AIO-3568J\android12-rk3568-ap6275s\vendor\rockchip\common\wifi\firmware>dir
驱动器 P 中的卷是 3TB-P
卷的序列号是 6003-B5E8
P:\AIO-3568J\android12-rk3568-ap6275s\vendor\rockchip\common\wifi\firmware 的目录
2023/01/27 18:58
P:\AIO-3568J\android12-rk3568-ap6275s\vendor\rockchip\common\wifi\firmware>adb push fw_bcm43752a2_ag.bin /vendor/etc/firmware
fw_bcm43752a2_ag.bin: 1 file pushed, 0 skipped. 18.9 MB/s (743607 bytes in 0.037s)
P:\AIO-3568J\android12-rk3568-ap6275s\vendor\rockchip\common\wifi\firmware>adb push fw_bcm43752a2_ag_apsta.bin /vendor/etc/firmware
fw_bcm43752a2_ag_apsta.bin: 1 file pushed, 0 skipped. 22.9 MB/s (743607 bytes in 0.031s)
P:\AIO-3568J\android12-rk3568-ap6275s\vendor\rockchip\common\wifi\firmware>adb push nvram_ap6275s.txt /vendor/etc/firmware
nvram_ap6275s.txt: 1 file pushed, 0 skipped. 0.1 MB/s (8709 bytes in 0.119s)
P:\AIO-3568J\android12-rk3568-ap6275s\vendor\rockchip\common\wifi\firmware>
再次打开WIFI:
console:/vendor/etc/firmware #
console:/vendor/etc/firmware #
console:/vendor/etc/firmware # [ 1464.032283] init: processing action (wlan.driver.status=ok) from (/vendor/etc/init/hw/init.connectivity.rc:46)
[ 1464.041264] init: processing action (wlan.driver.status=ok) from (/vendor/etc/init/hw/init.connectivity.rc:46)
[ 1464.041481] [dhd] dhd_open: Enter wlan0
[ 1464.041508] [dhd] dhd_open : no mutex held. set lock
[ 1464.041521] [dhd]
[ 1464.041521] Dongle Host Driver, version 100.10.545.12 (r826445-20200708-1)
[ 1464.041543] [dhd-wlan0] wl_android_wifi_on : in g_wifi_on=0
[ 1464.041555] [dhd] wifi_platform_set_power = 1, delay: 200 msec
[ 1464.041568] [dhd] ======== PULL WL_REG_ON(-1) HIGH! ========
[ 1464.041578] [WLAN_RFKILL]: rockchip_wifi_power: 1
[ 1464.041589] [WLAN_RFKILL]: rockchip_wifi_power: toggle = false
[ 1464.041600] [WLAN_RFKILL]: wifi turn on power [GPIO-1-0]
[ 1464.346921] sdio_reset_comm():
[ 1464.466993] mmc_host mmc3: Bus speed (slot 0) = 375000Hz (slot req 400000Hz, actual 375000HZ div = 0)
[ 1464.483940] dwmmc_rockchip fe000000.dwmmc: failed to set rate 100000Hz
[ 1464.483975] mmc_host mmc3: Bus speed (slot 0) = 375000Hz (slot req 100000Hz, actual 93750HZ div = 2)
[ 1464.500266] dwmmc_rockchip fe000000.dwmmc: failed to set rate 100000Hz
[ 1464.541067] mmc3: queuing unknown CIS tuple 0x80 (2 bytes)
[ 1464.547523] mmc3: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1464.553940] mmc3: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1464.565463] mmc3: queuing unknown CIS tuple 0x80 (7 bytes)
[ 1464.881945] dwmmc_rockchip fe000000.dwmmc: failed to set rate 100000Hz
[ 1464.884647] dwmmc_rockchip fe000000.dwmmc: failed to set rate 100000Hz
[ 1464.884798] mmc_host mmc3: Bus speed (slot 0) = 148500000Hz (slot req 150000000Hz, actual 148500000HZ div = 0)
[ 1464.895726] dwmmc_rockchip fe000000.dwmmc: Successfully tuned phase to 267
[ 1464.895878] [dhd] sdioh_start: set sd_f2_blocksize 256
[ 1464.896316] [dhd]
[ 1464.896316]
[ 1464.896316] dhd_bus_devreset: == Power ON ==
[ 1464.896530] [dhd] F1 signature read @0x18000000=0x1042aae8
[ 1464.902476] [dhd] F1 signature OK, socitype:0x1 chip:0xaae8 rev:0x2 pkg:0x4
[ 1464.903817] [dhd] DHD: dongle ram size is set to 1310720(orig 1310720) at 0x170000
[ 1464.904000] [dhd] dhd_bus_devreset: making DHD_BUS_DOWN
[ 1464.904103] [dhd] dhdsdio_probe_init: making DHD_BUS_DOWN
[ 1464.904635] [dhd] dhd_conf_read_config : Ignore config file /vendor/etc/firmware/config.txt
[ 1464.904716] [dhd] dhd_conf_set_path_params : Final fw_path=/vendor/etc/firmware/fw_bcm43752a2_ag.bin
[ 1464.904762] [dhd] dhd_conf_set_path_params : Final nv_path=/vendor/etc/firmware/nvram_ap6275s.txt
[ 1464.904816] [dhd] dhd_conf_set_path_params : Final clm_path=/vendor/etc/firmware/clm_bcm43752a2_ag.blob
[ 1464.904869] [dhd] dhd_conf_set_path_params : Final conf_path=/vendor/etc/firmware/config.txt
[ 1464.905687] [dhd] dhd_os_open_image1: /vendor/etc/firmware/fw_bcm43752a2_ag.bin (743607 bytes) open success
[ 1464.976717] [dhd] dhd_os_open_image1: /vendor/etc/firmware/nvram_ap6275s.txt (8709 bytes) open success
[ 1464.976787] [dhd] NVRAM version: AP6275S_NVRAM_V1.4_20201116
[ 1464.977453] [dhd] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[ 1465.038021] [dhd] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
[ 1465.038202] [dhd] bcmsdh_oob_intr_register: HW_OOB irq=114 flags=0x4
[ 1465.038452] [dhd] get_mem_val_from_file: File [/data/misc/wifi/.memdump.info] doesn't exist
[ 1465.038489] [dhd] dhd_get_memdump_info: MEMDUMP ENABLED = 3
[ 1465.040861] [dhd] dhd_tcpack_suppress_set: TCP ACK Suppress mode 0 -> mode 1
[ 1465.042989] [dhd] dhd_os_open_image1: /vendor/etc/firmware/clm_bcm43752a2_ag.blob (28865 bytes) open success
[ 1465.044328] [dhd] dhd_check_current_clm_data: ----- This FW is not included CLM data -----
[ 1465.059688] [dhd] dhd_check_current_clm_data: ----- This FW is included CLM data -----
[ 1465.061692] [dhd] Firmware up: op_mode=0x0005, MAC=10:2c:6b:7f:b0:ec
[ 1465.068125] [dhd] dhd_preinit_ioctls: event_log_max_sets: 26 ret: 0
[ 1465.078415] [dhd] Driver: 100.10.545.12 (r826445-20200708-1)
[ 1465.078415] Firmware: wl0: Jul 13 2020 18:32:45 version 18.35.387.23.7 (b328500@shgit) (wlan=r880297) FWID 01-f50fdff0
[ 1465.078415] CLM: 9.9.5_SS (2019-12-04 01:26:12)
[ 1465.079111] [dhd] dhd_txglom_enable: enable 1
[ 1465.079124] [dhd] dhd_conf_set_txglom_params : txglom_mode=copy
[ 1465.079131] [dhd] dhd_conf_set_txglom_params : txglomsize=36, deferred_tx_len=0
[ 1465.079141] [dhd] dhd_conf_set_txglom_params : txinrx_thres=128, dhd_txminmax=-1
[ 1465.079147] [dhd] dhd_conf_set_txglom_params : tx_max_offset=0, txctl_tmo_fix=300
[ 1465.079161] [dhd] dhd_conf_get_disable_proptx : fw_proptx=1, disable_proptx=-1
[ 1465.081405] [dhd] dhd_wlfc_hostreorder_init(): successful bdcv2 tlv signaling, 64
[ 1465.083211] [dhd] dhd_pno_init: Support Android Location Service
[ 1465.107684] [dhd] CFG80211-ERROR) wl_cfg80211_event : Event handler is not created
[ 1465.108272] [dhd] rtt_do_get_ioctl: failed to send getbuf proxd iovar (CMD ID : 1), status=-23
[ 1465.108323] [dhd] dhd_rtt_init : FTM is not supported
[ 1465.109132] [dhd] dhd_rtt_ftm_config : failed to set config
[ 1465.109137] [dhd] CFG80211-ERROR) wl_cfg80211_event : Event handler is not created
[ 1465.112193] [dhd] dhd_ecounter_autoconfig Ecounter autoconfig in FW not supported
[ 1465.112869] [dhd] failed to start ecounters
[ 1465.112894] [dhd] dhd_ecounter_configure Ecounters start failed
[ 1465.118152] [dhd] [INIT] logset:8 is preserve/chatty
[ 1465.119362] [dhd] [INIT] logset:10 is preserve/chatty
[ 1465.128883] [dhd] dhd_conf_set_country : set country CN, revision 0
[ 1465.133258] [dhd] dhd_conf_set_country : Country code: CN (CN/0)
[ 1465.140830] [dhd-wlan0] wl_android_wifi_on : Success
[ 1465.191883] [dhd] dhd_open : the lock is released.
[ 1465.191912] [dhd] dhd_open: Exit wlan0 ret=0
[ 1465.191919] [dhd] [wlan0] tx queue started
[ 1465.196261] init: Unable to set property 'vendor.wlan.driver.version' from uid:1010 gid:1010 pid:285: SELinux permission check failed
[ 1465.196280] type=1107 audit(1675003636.806:189): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc: denied { set } for property=vendor.wlan.driver.version pid=285 uid=1010 gid=1010 scontext=u:r:hal_wifi_default:s0 tcontext=u:object_r:vendor_default_prop:s0 tclass=property_service permissive=0'
[ 1465.230375] init: starting service 'wpa_supplicant'...
[ 1465.231670] init: Created socket '/dev/socket/wpa_wlan0', mode 660, user 1010, group 1010
[ 1465.234919] init: Control message: Processed ctl.interface_start for '[email protected]::ISupplicant/default' from pid: 154 (/system/bin/hwservicemanager)
[ 1465.392715] [dhd] P2P interface registered
[ 1465.392741] [dhd] wl_cfgp2p_add_p2p_disc_if: wdev: 0000000093680f83, wdev->net: (null)
[ 1465.432748] init: processing action (vendor.wifi.direct.interface=p2p-dev-wlan0) from (/vendor/etc/init/hw/init.connectivity.rc:53)
[ 1465.449398] [dhd] dhd_dbg_attach_pkt_monitor, 1501
[ 1465.480647] [dhd] net_os_enable_packet_filter: val = 0
[ 1465.481240] [dhd] net_os_rxfilter_add_remove: add_remove = 0, num = 2
[ 1465.482699] [dhd] net_os_enable_packet_filter: val = 1
[ 1465.483194] [dhd] net_os_enable_packet_filter: val = 0
[ 1465.483908] [dhd] net_os_rxfilter_add_remove: add_remove = 0, num = 3
[ 1465.485578] [dhd] net_os_enable_packet_filter: val = 1
[ 1465.486495] [dhd] dhd_set_suspend: Remove extra suspend setting
[ 1465.487219] [dhd] dhd_enable_packet_filter: enter, value = 0
[ 1465.519185] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 26, bssidx: 0
[ 1465.567695] type=1400 audit(1675003637.180:190): avc: denied { read } for comm="Binder:177_1" name="wakeup2" dev="sysfs" ino=16288 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
[ 1465.572356] type=1400 audit(1675003637.183:191): avc: denied { read } for comm="Binder:177_1" name="wakeup9" dev="sysfs" ino=25215 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
[ 1465.572635] type=1400 audit(1675003637.183:192): avc: denied { read } for comm="Binder:177_1" name="wakeup14" dev="sysfs" ino=28588 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
[ 1465.574888] audit: audit_lost=69 audit_rate_limit=5 audit_backlog_limit=64
[ 1465.574924] audit: rate limit exceeded
[ 1465.576657] type=1400 audit(1675003637.183:193): avc: denied { read } for comm="Binder:177_1" name="wakeup12" dev="sysfs" ino=26116 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs_power:s0 tclass=dir permissive=0
[ 1475.664779] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 27, bssidx: 0
console:/vendor/etc/firmware #
console:/vendor/etc/firmware #
console:/vendor/etc/firmware # [ 1485.532549] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 28, bssidx: 0
[ 1495.731051] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 29, bssidx: 0
[ 1505.770633] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 30, bssidx: 0
[ 1509.457256] healthd: battery l=50 v=3 t=2.6 h=2 st=3 fc=100 chg=au
[ 1515.814239] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 31, bssidx: 0
[ 1525.541588] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 32, bssidx: 0
[ 1535.865768] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 33, bssidx: 0
[ 1545.903313] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 34, bssidx: 0
[ 1555.926909] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 35, bssidx: 0
[ 1565.966381] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 36, bssidx: 0
RK3568不用重启,先关闭WIFI,adb push推进去配对的固件,再打开WIFI就OK了!^_
参考资料:
https://www.zztongyun.com/article/rk3288%E4%B8%8Erk3568
https://www.jianshu.com/p/26ae7bbc91d7
http://www.360doc.com/content/22/1214/08/78357527_1060193430.shtml
https://www.eet-china.com/mp/a182768.html
RK3568外接AP6275SWIFI模块调试详解
https://blog.csdn.net/zhl232465/article/details/120992797
RK3568 Debian10 AP6275s wifi调试
火柴burnning
kernel\drivers\net\wireless\rockchip_wlan\rkwifi
配置内核以y打包到内核
添加固件
overlay\vendor\etc\firmware
BCM4362A2.hcd
clm_bcm43752a2_ag.blob
fw_bcm43752a2_ag.bin
fw_bcm43752a2_ag_apsta.bin
nvram_ap6275s.txt
https://blog.csdn.net/weixin_68294039/article/details/125911614
WIF调试分享(ap6256)
板子:rk3568
模块:ap6256
平台:android11
https://blog.csdn.net/weixin_43982460/article/details/116014460
RK3308B+AP6275S移植
在rk3308b平台移植rtl8821cs,rlt8821cs是wifi+bt一体的模组,主要记录下移植过程中需要注意的地方
https://blog.csdn.net/weixin_68294039/article/details/125552221
BT调试过程分享(ap6256)
板子:rk3568
模块:ap6256
平台:android11
https://blog.csdn.net/weixin_43245753/article/details/123999080
Rockchip RK3588 kernel dts解析之WIFI/BT
https://blog.csdn.net/jinnuo5764/article/details/108756539
rockchip移植ap6256蓝牙
https://zhuanlan.zhihu.com/p/140949443
https://blog.csdn.net/maimang1001/article/details/127102195
WIFI底层学习路程:iw,cfg80211,mac80211
https://zhuanlan.zhihu.com/p/141630753
wifi底层学习之路:二,无线配置管理服务cfg80211
https://www.ebaina.com/articles/140000005421
全志平台ap6476 wifi模组调试(3)调试&异常处理
https://blog.csdn.net/xierong1/article/details/127090636
rk3399调试WIFI
测试报告
2023/1/27 15:40
1、adb链接。
另外一个USB3.0不通,可能是硬件损坏!^_
2、横屏
3、1分钟休眠。最上面是NEVER
4、2个鼠标正常。
5、【未测试】TF卡?U盘?
6、adb和串口都可以进su【EBG模式编译】
7、WIFI可以上搜狐看短视频:www.sohu.com/tv.sohu.com
8、BT 可以连手机并正确接受图片!
9、声音/播音【异常】(耳机接联想手机是好的!)
播放4K、8K图像正常。音画同步?
MP3/WMA/AAC?
10、录音正常(有杂音)
计算机\rk3568_s\Internal shared storage\Documents\Records
11、以太网0【异常】
12、以太网1【异常】
1、【缺】鼠标右键返回
2、MIPI摄像头OV13850
3、MIPI的LCD和I2C的TP
4、