Firefly开源社区

[技术讨论] 开发板buildroot版本的WIFI&BT模块调不通,请求协助

163

积分

0

威望

0

贡献

技术小白

积分
163
发表于 2022-12-1 15:44:02     
问题描述及复现步骤:
buildroot版本有关WIFI&BT调不通的测试,统计了以下信息:
一、ifconfig -a 找不到wlan0
image.jpg
二、使用/rockchip-test脚本测试,打印信息如下

root@RK3588:/rockchip-test# ./rockchip_test.sh
******************************************************
***                                                ***
***          *****************************         ***
***          *    ROCKCHIPS TEST TOOLS   *         ***
***          *  V1.1 updated on 20220808 *         ***
***          *****************************         ***
***                                                ***
*****************************************************
*****************************************************
cpu test:             1 (cpufreq stresstest)
ddr test:             2 (memtester & stressapptest)
gpu test:             3 (use glmark2)
npu test:             4 (npu2:rk3588)
auto reboot test:     5 (reboot tests)
suspend_resume test:  6 (suspend & resume)
nand power lost test: 7 (S5 stress tests)
flash stress test:    8 (flash tests)
audio test:           9 (audio tests)
recovery test:        10 (default wipe all)
bluetooth test:       11 (bluetooth on&off test)
wifi test:            12 (wifi on&off test)
ethernet test:        13 (ethernet tests)
camera test:          14 (use rkaiq_demo)
video test:           15 (use gstreamer-wayland and app_demo)
chromium test:        16 (chromium with video hardware acceleration)
*****************************************************
please input your test moudle:
11
root@RK3588:/rockchip-test# killall: brcm_patchram_plus1: no process killed
[  105.472622] [BT_RFKILL]: bt shut off power
[  105.496625] [BT_RFKILL]: bt shut off power
[  106.528174] [BT_RFKILL]: rfkill_rk_set_power: set bt wake_host high!
[  106.556369] [BT_RFKILL]: ENABLE UART_RTS
[  106.662984] [BT_RFKILL]: DISABLE UART_RTS
[  106.663102] [BT_RFKILL]: bt turn on power
[  106.663162] [BT_RFKILL]: Request irq for bt wakeup host
[  106.663246] [BT_RFKILL]: ** disable irq
[  106.663741] [BT_RFKILL]: proc_rk_set_power: set bt wake_host high!
[  106.689892] [BT_RFKILL]: ENABLE UART_RTS
[  106.796561] [BT_RFKILL]: DISABLE UART_RTS
[  106.796683] [BT_RFKILL]: bt turn on power
[  106.796814] [BT_RFKILL]: Request irq for bt wakeup host
[  106.796881] [BT_RFKILL]: ** disable irq
###AMPAK FW Auto detection patch version = [v1.1 20161117]###
FW folder path = /system/etc/firmware
port --no2bytes could not be opened, error 2
Can't get device info: No such device
The bt test fail !!!

root@RK3588:/rockchip-test# ./rockchip_test.sh
******************************************************
***                                                ***
***          *****************************         ***
***          *    ROCKCHIPS TEST TOOLS   *         ***
***          *  V1.1 updated on 20220808 *         ***
***          *****************************         ***
***                                                ***
*****************************************************
*****************************************************
cpu test:             1 (cpufreq stresstest)
ddr test:             2 (memtester & stressapptest)
gpu test:             3 (use glmark2)
npu test:             4 (npu2:rk3588)
auto reboot test:     5 (reboot tests)
suspend_resume test:  6 (suspend & resume)
nand power lost test: 7 (S5 stress tests)
flash stress test:    8 (flash tests)
audio test:           9 (audio tests)
recovery test:        10 (default wipe all)
bluetooth test:       11 (bluetooth on&off test)
wifi test:            12 (wifi on&off test)
ethernet test:        13 (ethernet tests)
camera test:          14 (use rkaiq_demo)
video test:           15 (use gstreamer-wayland and app_demo)
chromium test:        16 (chromium with video hardware acceleration)
*****************************************************
please input your test moudle:
12
ifconfig: SIOCGIFFLAGS: No such device
The wifi test fail !!!
root@RK3588:/rockchip-test#

三、使用SDK中的/external/rkwifibt-app中的例程rkwifibt_test,报错信息如下
尝试使用SDK中的librkwifibt.so替换开发板/usr/bin目录下的该动态库,现象一致
# rkwifibt_test bluetooth
Please input number or help to run: 01
bt_test_bluetooth_init: bt_test_bluetooth_init_thread: BT BLUETOOTH INIT
ble_name_len: ROCKCHIP_AUDIO_BLE(18)
Please input number or help to run: ++++++++++ RK_BT_STATE_TURNING_ON ++++++++++
[  195.683860] [BT_RFKILL]: bt shut off power
[  195.727481] [BT_RFKILL]: proc_rk_set_power: set bt wake_host high!
[  195.753055] [BT_RFKILL]: ENABLE UART_RTS
[  195.859741] [BT_RFKILL]: DISABLE UART_RTS
[  195.859792] [BT_RFKILL]: bt turn on power
[  195.859814] [BT_RFKILL]: Request irq for bt wakeup host
[  195.859843] [BT_RFKILL]: ** disable irq
cat: '/sys/bus/sdio/devices/*/uevent': No such file or directory
###AMPAK FW Auto detection patch version = [v1.1 20161117]###
FW folder path = /system/etc/firmware
port --no2bytes could not be opened, error 2
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device
Can't get device info: No such device

四、可否提供进一步的测试步骤?
第三项中有报错“cat: '/sys/bus/sdio/devices/*/uevent': No such file or directory”
AP6275P是pcie接口的,应该是哪里没配置对,怀疑是哪里的配置开关没打开,一直没找到,
可否给指导一下?附件日志中详细的信息

01_WIFIBT日志打印.zip

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

回复

使用道具 举报

1万

积分

7

威望

0

贡献

技术大神

Rank: 8Rank: 8

积分
11367

突出贡献

发表于 2022-12-1 15:49:17     
是不是有换过模组?默认出厂的wifi/bt模组是AP6275PR3
回复

使用道具 举报

163

积分

0

威望

0

贡献

技术小白

积分
163
发表于 2022-12-1 16:10:07     
芯片上印的就是“AP6275PR3”,开发板硬件没有做任何改动。
回复

使用道具 举报

1万

积分

7

威望

0

贡献

技术大神

Rank: 8Rank: 8

积分
11367

突出贡献

发表于 2022-12-6 17:19:50     
孙向军 发表于 2022-12-1 16:10
芯片上印的就是“AP6275PR3”,开发板硬件没有做任何改动。

默认buildroot固件是会自动加载wifi模组的。是不是wifi模组损坏了?不能自动加载的话需要寄回来维修。
回复

使用道具 举报

163

积分

0

威望

0

贡献

技术小白

积分
163
发表于 2022-12-19 09:16:24     
799959745 发表于 2022-12-6 17:19
默认buildroot固件是会自动加载wifi模组的。是不是wifi模组损坏了?不能自动加载的话需要寄回来维修。

最近在调摄像头,等能匀出来时间不用开发板的时候再寄吧
回复

使用道具 举报

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

本版积分规则

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