rk3308 wifi问题
我安装教程改了buildroot/configs/firefly_rk3308_release_defconfig ,build.sh全自动编译,烧录以后echo 1 >/sys/class/rkwifi/driver并没有wlan0设备,大概是怎么回事呢 本帖最后由 firefly_zhongw 于 2020-3-27 11:47 编辑1. 使用的开发板是ROC-RK3308B-CC还是ROC-RK3308-CC?
2. 编译步骤详细见不同开发板的维基教程
3. 编译步骤贴出来
wiki上只有一个3308-cc吧,另外我编译步骤是
1:改buildroot/configs/firefly_rk3308_release_defconfig
2:./build.sh roc-rk3308-cc_release_BoardConfig.mk
3:./build.sh
本帖最后由 firefly_zhongw 于 2020-3-27 15:09 编辑
1. 参考http://wiki.t-firefly.com/ROC-RK3308-CC/sdkbuilding.html,
上面有注意事项,ROC-RK3308-CC和ROC-RK3308B-CC的wifi模组不一样。
注意:由于ROC-RK3308-CC使用的WIFI是AP6236,需要修改buildroot/configs/firefly_rk3308_release_defconfig,关闭BR2_PACKAGE_RKWIFIBT_RTL8188EU,打开BR2_PACKAGE_RKWIFIBT_AP6236。如果编译过buildroot,则需要删除buildroot/output/firefly_rk3308_release/build/rkwifibt-1.0.0/这个目录,再进行编译。
2. 改完firefly_rk3308_release_defconfig,有没有删除buildroot/output/firefly_rk3308_release/build/rkwifibt-1.0.0/这个目录?
我遇到同样的问题,按照教程修改同时也删除了rkwifibt-1.0.0目录。启动后没有wlan0网卡,看了一下系统log,ap6236启动加载失败了。日志如下:
[ 1.328533] : wlan_platdata_parse_dt: wifi_chip_type = ap6236
[ 1.328558] : wlan_platdata_parse_dt: enable wifi power control.
[ 1.328581] : wlan_platdata_parse_dt: wifi power controled by gpio.
[ 1.328804] : wlan_platdata_parse_dt: The ref_wifi_clk not found !
[ 1.340537] : rockchip_wifi_get_oob_irq: Enter
[ 1.340606] dhd_wifi_platform_load: Enter
[ 1.347338] wifi_platform_set_power = 1
[ 1.347501] : rockchip_wifi_power: 1
[ 1.347525] : wifi turn on power. -1
[ 1.648063] wifi_platform_bus_enumerate device present 1
[ 1.689342] wifi_platform_set_power = 0
[ 1.689384] : rockchip_wifi_power: 0
[ 1.689412] : wifi shut off power.
[ 8.864702] wl_android_wifi_on in 1
[ 8.864711] wl_android_wifi_on in 2: g_wifi_on=0
[ 8.864720] wifi_platform_set_power = 1
[ 8.864738] : rockchip_wifi_power: 1
[ 8.864748] : wifi turn on power. -1
[ 9.631255] wifi_platform_set_power = 0
[ 9.631301] : rockchip_wifi_power: 0
[ 9.631339] : wifi shut off power.
[ 9.631372] wl_android_wifi_on: Failed
[ 9.631396] dhd_open : wl_android_wifi_on failed (-35)
[ 9.631441] wl_android_wifi_off in 1
[ 9.631465] wl_android_wifi_off in 2: g_wifi_on=0, on_failure=1
[ 9.631654] wifi_platform_set_power = 0
[ 9.631699] : rockchip_wifi_power: 0
[ 9.631725] : wifi shut off power.
[ 9.631745] wl_android_wifi_off out
请问这是少了什么吗? 1. 贴出完整的log信息
2. 可以使用dmesg命令 firefly_zhongw 发表于 2020-4-1 09:24
1. 贴出完整的log信息
2. 可以使用dmesg命令
附件是启动完整的dmesg启动log,板子上版本丝印是roc-rk3308-cc-2019-03-02 v13,软件编译配置是: ./build.sh roc-rk3308-cc_release_BoardConfig.mk和其它配置见附件配置图。
本帖最后由 firefly_zhongw 于 2020-4-2 09:31 编辑
[ 8.551674] dhdsdio_download_code_file: Open firmware file failed /system/etc/firmware/fw_bcm43436b0.bin
[ 8.551726] _dhdsdio_download_firmware: dongle image file download failed
1. 检查下板卡里/system/etc/firmware/fw_bcm43436b0.bin和/system/etc/firmware/nvram_ap6236.txt文件都有没有?
2. 检查下SDK下buildroot/output/firefly_rk3308_release/target/system/etc/firmware/有没有上面两个文件?
3. buildroot/configs/firefly_rk3308_release_defconfig文件里有没有关闭BR2_PACKAGE_RKWIFIBT_RTL8188EU,打开BR2_PACKAGE_RKWIFIBT_AP6236?
firefly_zhongw 发表于 2020-4-2 09:23
[ 8.551674] dhdsdio_download_code_file: Open firmware file failed /system/etc/firmware/fw_bcm4343 ...
问题已解决,办卡中没有固件引起,3Q 我也遇到了怎么解决
页:
[1]
2