Firefly开源社区
标题:
RK3568X开发板烧写android 11 sdk固件后,wifi扫描出错
[打印本页]
作者:
雪山飞狐桑
时间:
2021-9-9 14:44
标题:
RK3568X开发板烧写android 11 sdk固件后,wifi扫描出错
1.开发板上接的有天线,硬件电压、时钟信号都量过,没有问题
2.defconfig配置添加了wifi驱动
--- Broadcom Wireless Device Driver Support
<M> Select driver version for ap6xxx chips
< > stable version (wifi5)
<M> support wifi6(80211ax)
< > support WiFi keepalive during host shutdown
(/vendor/etc/firmware/fw_bcmdhd.bin) Firmware path
(/vendor/etc/firmware/nvram.txt) NVRAM path
[ ] Enable wlan1 support
3.内核输出部分信息如下:
[ 21.832299] dhd_open: Enter wlan0
[ 21.832347] dhd_open : no mutex held. set lock
[ 21.832356] \x0aDongle Host Driver, version 100.10.545.9 (r826445-20200316-8)
[ 21.832372] [dhd-wlan0] wl_android_wifi_on : in g_wifi_on=0
[ 21.832377] wifi_platform_set_power = 1, delay: 200 msec
[ 21.832385] ======== PULL WL_REG_ON(-1) HIGH! ========
[ 21.832389] drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/dhd_gpio.c 34
[ 21.832394] [WLAN_RFKILL]: rockchip_wifi_power: 1
[ 21.832399] [WLAN_RFKILL]: rockchip_wifi_power: toggle = false
[ 21.832404] [WLAN_RFKILL]: wifi turn on power [GPIO-1-0]
[ 22.138256] sdio_reset_comm():
[ 22.361504] mmc_host mmc3: Bus speed (slot 0) = 375000Hz (slot req 400000Hz, actual 375000HZ div = 0)
[ 22.378415] mmc_host mmc3: Bus speed (slot 0) = 375000Hz (slot req 100000Hz, actual 93750HZ div = 2)
[ 22.394795] mmc_host mmc3: Bus speed (slot 0) = 375000Hz (slot req 375000Hz, actual 375000HZ div = 0)
[ 22.406585] mmc3: queuing unknown CIS tuple 0x80 (2 bytes)
[ 22.408276] mmc3: queuing unknown CIS tuple 0x80 (3 bytes)
[ 22.410061] mmc3: queuing unknown CIS tuple 0x80 (3 bytes)
[ 22.413071] mmc3: queuing unknown CIS tuple 0x80 (7 bytes)
[ 22.494972] mmc_host mmc3: Bus speed (slot 0) = 148500000Hz (slot req 150000000Hz, actual 148500000HZ div = 0)
[ 22.888104] dwmmc_rockchip fe000000.dwmmc: Successfully tuned phase to 240
[ 22.888189] sdioh_start: set sd_f2_blocksize 256
[ 22.888428] \x0a\x0adhd_bus_devreset: == Power ON ==
[ 22.888530] F1 signature read @0x18000000=0x1042aae8
[ 22.891642] F1 signature OK, socitype:0x1 chip:0xaae8 rev:0x2 pkg:0x4
[ 22.892038] DHD: dongle ram size is set to 1310720(orig 1310720) at 0x170000
[ 22.892086] dhd_bus_devreset: making DHD_BUS_DOWN
[ 22.892118] dhdsdio_probe_init: making DHD_BUS_DOWN
[ 22.897194] [dhd] dhd_conf_read_config : Ignore config file /vendor/etc/firmware/config.txt
[ 22.897230] [dhd] dhd_conf_set_path_params : Final fw_path=/vendor/etc/firmware/fw_bcm43752a2_ag.bin
[ 22.897236] [dhd] dhd_conf_set_path_params : Final nv_path=/vendor/etc/firmware/nvram_ap6275s.txt
[ 22.897240] [dhd] dhd_conf_set_path_params : Final clm_path=/vendor/etc/firmware/clm_bcm43752a2_ag.blob
[ 22.897244] [dhd] dhd_conf_set_path_params : Final conf_path=/vendor/etc/firmware/config.txt
[ 22.897761] dhd_os_open_image1: /vendor/etc/firmware/fw_bcm43752a2_ag.bin (757448 bytes) open success
[ 22.946747] dhd_os_open_image1: /vendor/etc/firmware/nvram_ap6275s.txt (8354 bytes) open success
[ 22.947270] NVRAM version: AP6275S_NVRAM_V1.4_20201116
[ 22.947874] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[ 23.009332] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
[ 23.009615] bcmsdh_oob_intr_register: HW_OOB irq=113 flags=0x4
[ 23.009835] get_mem_val_from_file: File [/data/misc/wifi/.memdump.info] doesn't exist
[ 23.009854] dhd_get_memdump_info: MEMDUMP ENABLED = 3
[ 23.012195] dhd_tcpack_suppress_set: TCP ACK Suppress mode 2 -> mode 1
[ 23.014340] dhd_os_open_image1: /vendor/etc/firmware/clm_bcm43752a2_ag.blob (28865 bytes) open success
[ 23.015830] dhd_check_current_clm_data: ----- This FW is not included CLM data -----
[ 23.050806] dhd_check_current_clm_data: ----- This FW is included CLM data -----
[ 23.052969] Firmware up: op_mode=0x0005, MAC=10:2c:6b:10:c4:e6
[ 23.061103] dhd_preinit_ioctls: event_log_max_sets: 26 ret: 0
[ 23.082907] Driver: 100.10.545.9 (r826445-20200316-8)\x0a Firmware: wl0: Oct 23 2020 15:06:26 version 18.35.387.23.14 (70c9ec1@shgit) (wlan=r880297) FWID 01-217b144d\x0a CLM: 9.9.5_SS (2019-12-04 01:26:12)
[ 23.084748] dhd_txglom_enable: enable 1
[ 23.084776] [dhd] dhd_conf_set_txglom_params : txglom_mode=copy
[ 23.084783] [dhd] dhd_conf_set_txglom_params : txglomsize=36, deferred_tx_len=0
[ 23.084788] [dhd] dhd_conf_set_txglom_params : txinrx_thres=128, dhd_txminmax=-1
[ 23.084793] [dhd] dhd_conf_set_txglom_params : tx_max_offset=0, txctl_tmo_fix=300
[ 23.084802] [dhd] dhd_conf_get_disable_proptx : fw_proptx=1, disable_proptx=-1
[ 23.086877] dhd_wlfc_hostreorder_init(): successful bdcv2 tlv signaling, 64
[ 23.091777] dhd_pno_init: Support Android Location Service
[ 23.117621] rtt_do_get_ioctl: failed to send getbuf proxd iovar (CMD ID : 1), status=-23
[ 23.117652] dhd_rtt_init : FTM is not supported
[ 23.118232] dhd_rtt_ftm_config : failed to set config
[ 23.120794] dhd_ecounter_autoconfig Ecounter autoconfig in FW not supported
[ 23.121454] failed to start ecounters
[ 23.121481] dhd_ecounter_configure Ecounters start failed
[ 23.126577] [INIT] logset:8 is preserve/chatty
[ 23.127734] [INIT] logset:10 is preserve/chatty
[ 23.136817] [dhd] dhd_conf_set_country : set country CN, revision 0
[ 23.141110] [dhd] dhd_conf_set_country : Country code: CN (CN/0)
[ 23.147849] [dhd-wlan0] wl_android_wifi_on : Success
[ 23.199435] dhd_open : the lock is released.
[ 23.199464] dhd_open: Exit wlan0 ret=0
[ 23.199470] [wlan0] tx queue started
[ 23.210353] init: Unable to set property 'vendor.wlan.driver.version' from uid:1010 gid:1010 pid:266: SELinux permission check failed
[ 23.210373] type=1107 audit(1631150158.940:81): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc: denied { set } for property=vendor.wlan.driver.version pid=266 uid=1010 gid=1010 scontext=u:r:hal_wifi_default:s0 tcontext=ubject_r:vendor_default_prop:s0 tclass=property_service permissive=0'
[ 23.247611] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 23.269489] init: starting service 'wpa_supplicant'...
[ 23.270332] init: Created socket '/dev/socket/wpa_wlan0', mode 660, user 1010, group 1010
[ 23.273293] init: Control message: Processed ctl.interface_start for 'android.hardware.wifi.supplicant@1.0::ISupplicant/default' from pid: 155 (/system/bin/hwservicemanager)
[ 23.360519] capability: warning: `wpa_supplicant' uses 32-bit capabilities (legacy support in use)
[ 23.555030] P2P interface registered
[ 23.555058] wl_cfgp2p_add_p2p_disc_if: wdev: 0000000013773f93, wdev->net: (null)
[ 23.633048] dhd_dbg_attach_pkt_monitor, 1502
[ 23.670717] net_os_enable_packet_filter: val = 0
[ 23.671249] net_os_rxfilter_add_remove: add_remove = 0, num = 2
[ 23.672536] net_os_enable_packet_filter: val = 1
[ 23.673027] net_os_enable_packet_filter: val = 0
[ 23.673552] net_os_rxfilter_add_remove: add_remove = 0, num = 3
[ 23.679298] net_os_enable_packet_filter: val = 1
[ 23.680115] dhd_set_suspend: Remove extra suspend setting
[ 23.680776] dhd_enable_packet_filter: enter, value = 0
[ 23.740908] type=1400 audit(1631150159.470:82): avc: denied { read } for comm="Binder:177_2" name="wakeup2" dev="sysfs" ino=15967 scontext=u:r:system_suspend:s0 tcontext=ubject_r:sysfs:s0 tclass=dir permissive=0
[ 23.742095] type=1400 audit(1631150159.473:83): avc: denied { read } for comm="Binder:177_2" name="wakeup9" dev="sysfs" ino=24427 scontext=u:r:system_suspend:s0 tcontext=ubject_r:sysfs:s0 tclass=dir permissive=0
[ 23.744804] type=1400 audit(1631150159.473:84): avc: denied { read } for comm="Binder:177_2" name="wakeup12" dev="sysfs" ino=25197 scontext=u:r:system_suspend:s0 tcontext=ubject_r:sysfs_power:s0 tclass=dir permissive=0
[ 23.750300] type=1400 audit(1631150159.476:85): avc: denied { read } for comm="Binder:177_2" name="wakeup5" dev="sysfs" ino=23167 scontext=u:r:system_suspend:s0 tcontext=ubject_r:sysfs:s0 tclass=dir permissive=0
[ 23.750470] type=1400 audit(1631150159.476:86): avc: denied { read } for comm="Binder:177_2" name="wakeup10" dev="sysfs" ino=25057 scontext=u:r:system_suspend:s0 tcontext=ubject_r:sysfs_power:s0 tclass=dir permissive=0
[ 23.750568] type=1400 audit(1631150159.480:87): avc: denied { read } for comm="Binder:177_2" name="wakeup13" dev="sysfs" ino=27055 scontext=u:r:system_suspend:s0 tcontext=ubject_r:sysfs:s0 tclass=dir permissive=0
[ 23.750658] type=1400 audit(1631150159.480:88): avc: denied { read } for comm="Binder:177_2" name="wakeup11" dev="sysfs" ino=25113 scontext=u:r:system_suspend:s0 tcontext=ubject_r:sysfs_power:s0 tclass=dir permissive=0
[ 23.777120] audit: audit_lost=1 audit_rate_limit=5 audit_backlog_limit=64
[ 23.777157] audit: rate limit exceeded
[ 23.837497] init: processing action (vendor.wifi.direct.interface=p2p-dev-wlan0) from (/vendor/etc/init/hw/init.connectivity.rc:53)
[ 31.850928] type=1400 audit(1631150167.580:98): avc: denied { read } for comm="Binder:177_2" name="wakeup2" dev="sysfs" ino=15967 scontext=u:r:system_suspend:s0 tcontext=ubject_r:sysfs:s0 tclass=dir permissive=0
[ 31.854285] type=1400 audit(1631150167.583:99): avc: denied { read } for comm="Binder:177_2" name="wakeup9" dev="sysfs" ino=24427 scontext=u:r:system_suspend:s0 tcontext=ubject_r:sysfs:s0 tclass=dir permissive=0
[ 31.857999] type=1400 audit(1631150167.586:100): avc: denied { read } for comm="Binder:177_2" name="wakeup12" dev="sysfs" ino=25197 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs_power:s0 tclass=dir permissive=0
[ 31.858657] type=1400 audit(1631150167.590:101): avc: denied { read } for comm="Binder:177_2" name="wakeup5" dev="sysfs" ino=23167 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
[ 31.858767] type=1400 audit(1631150167.590:102): avc: denied { read } for comm="Binder:177_2" name="wakeup10" dev="sysfs" ino=25057 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs_power:s0 tclass=dir permissive=0
[ 31.861621] audit: audit_lost=10 audit_rate_limit=5 audit_backlog_limit=64
[ 31.861638] audit: rate limit exceeded
[ 31.935688] dhd_set_suspend: Remove extra suspend setting
[ 31.939853] dhd_enable_packet_filter: enter, value = 0
[ 32.040505] dhd_set_suspend: force extra Suspend setting
[ 32.040546] dhd_enable_packet_filter: enter, value = 1
[ 32.308657] gsensor_mxc6655 5-0015: set sensor poll time to 66ms
[ 32.314426] gsensor_mxc6655 5-0015: sensor on: starting poll sensor data 62ms
[ 32.366453] dhd_set_suspend: Remove extra suspend setting
[ 32.368005] dhd_enable_packet_filter: enter, value = 0
[ 33.764785] vcc5v0_otg: disabling
[ 33.764816] vcc3v3_lcd1_n: disabling
[ 33.764829] pcie30_3v3: disabling
[ 40.254000] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 0, bssidx: 0
[ 40.255456] [dhd] CFG80211-ERROR) wl_run_escan : Escan set error (-37)
[ 40.255552] [dhd] CFG80211-ERROR) wl_run_escan : scan error (-37)
[ 40.255583] [dhd] CFG80211-ERROR) wl_cfg80211_scan : scan error (-11)
[ 40.324444] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 1, bssidx: 0
[ 40.327027] [dhd] CFG80211-ERROR) wl_run_escan : Escan set error (-37)
[ 40.327065] [dhd] CFG80211-ERROR) wl_run_escan : scan error (-37)
[ 40.327077] [dhd] CFG80211-ERROR) wl_cfg80211_scan : scan error (-11)
[ 50.302530] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 2, bssidx: 0
[ 50.304042] [dhd] CFG80211-ERROR) wl_run_escan : Escan set error (-37)
[ 50.304070] [dhd] CFG80211-ERROR) wl_run_escan : scan error (-37)
[ 50.304082] [dhd] CFG80211-ERROR) wl_cfg80211_scan : scan error (-11)
[ 50.366329] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 3, bssidx: 0
[ 50.367746] [dhd] CFG80211-ERROR) wl_run_escan : Escan set error (-37)
[ 50.367770] [dhd] CFG80211-ERROR) wl_run_escan : scan error (-37)
[ 50.367782] [dhd] CFG80211-ERROR) wl_cfg80211_scan : scan error (-11)
[ 60.365075] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 4, bssidx: 0
[ 60.366480] [dhd] CFG80211-ERROR) wl_run_escan : Escan set error (-37)
[ 60.366511] [dhd] CFG80211-ERROR) wl_run_escan : scan error (-37)
[ 60.366528] [dhd] CFG80211-ERROR) wl_cfg80211_scan : scan error (-11)
[ 60.419189] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 5, bssidx: 0
[ 60.420560] [dhd] CFG80211-ERROR) wl_run_escan : Escan set error (-37)
[ 60.420661] [dhd] CFG80211-ERROR) wl_run_escan : scan error (-37)
[ 60.420701] [dhd] CFG80211-ERROR) wl_cfg80211_scan : scan error (-11)
[ 65.559530] healthd: battery l=50 v=3 t=2.6 h=2 st=3 fc=100 chg=au
[ 70.413996] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 6, bssidx: 0
[ 70.414560] [dhd] CFG80211-ERROR) wl_run_escan : Escan set error (-37)
[ 70.414583] [dhd] CFG80211-ERROR) wl_run_escan : scan error (-37)
[ 70.414601] [dhd] CFG80211-ERROR) wl_cfg80211_scan : scan error (-11)
[ 70.453069] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 7, bssidx: 0
[ 70.456372] [dhd] CFG80211-ERROR) wl_run_escan : Escan set error (-37)
[ 70.456409] [dhd] CFG80211-ERROR) wl_run_escan : scan error (-37)
[ 70.456423] [dhd] CFG80211-ERROR) wl_cfg80211_scan : scan error (-11)
[ 80.463709] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 8, bssidx: 0
[ 80.464212] [dhd] CFG80211-ERROR) wl_run_escan : Escan set error (-37)
[ 80.464233] [dhd] CFG80211-ERROR) wl_run_escan : scan error (-37)
[ 80.464256] [dhd] CFG80211-ERROR) wl_cfg80211_scan : scan error (-11)
大神们,帮忙看下是什么问题?
作者:
zyk
时间:
2021-9-9 15:42
请问具体是哪一个板型,ROC-RK3568-PC?烧写的固件是哪一个
作者:
雪山飞狐桑
时间:
2021-9-9 16:00
zyk 发表于 2021-9-9 15:42
请问具体是哪一个板型,ROC-RK3568-PC?烧写的固件是哪一个
TB-RK3568X,固件是从ROCKCHIP_ANDROID11.0_SDK编译出来的
作者:
zyk
时间:
2021-9-9 16:36
没调过TB-RK3568X
作者:
雪山飞狐桑
时间:
2021-9-10 17:36
zyk 发表于 2021-9-9 16:36
没调过TB-RK3568X
好吧,是驱动版本的问题,我下载了最新的sdk,扫描不再报错,也能扫描到热点,但是无法连接到热点,这种问题有遇到过吗?
欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/)
Powered by Discuz! X3.1