STM32MP157 wlan0无法启动

我的stm32mp157全功能板子,在开发板硬件功能测试环节,无法启动wlan0, 步骤如下:

  1, 使用STM32CubeProgrammer烧录SDK中带的系统01_100ask_stm32mp157_pro\02_Images(开发板系统镜像)\Buildroot_2020(我也尝试过烧录我自己重新花一晚上编译出来的系统);

  2,

    a ifconfig -a可以看到wlan0;

    b, ifconfig wlan0 up拉起的时候报错如下:[root@100ask:~]# ifconfig wlan0 up

[   52.847476] [dhd] dhd_open: Enter wlan0

[   52.849903] [dhd] dhd_open : no mutex held. set lock

[   52.854804] [dhd] 

[   52.854804] Dongle Host Driver, version 100.10.545.11 (r826445-20200610-1)

[   52.863740] [dhd-wlan0] wl_android_wifi_on : in g_wifi_on=0

[   52.869235] [dhd] wifi_platform_set_power = 1, delay: 200 msec

[   52.875085] [dhd] ======== PULL WL_REG_ON(-1) HIGH! ========

[   53.210275] [dhd] sdioh_start: set sd_f2_blocksize 256

[   53.214519] [dhd] 

[   53.214519] 

[   53.214519] dhd_bus_devreset: == Power ON ==

[   53.223553] [dhd] F1 signature read @0x18000000=0x1541a9a6

[   53.232449] [dhd] F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x1 pkg:0x4

[   53.238727] [dhd] DHD: dongle ram size is set to 524288(orig 524288) at 0x0

[   53.246518] [dhd] dhd_bus_devreset: making DHD_BUS_DOWN

[   53.251309] [dhd] dhdsdio_probe_init: making DHD_BUS_DOWN

[   53.255981] [dhd] dhd_conf_read_config : Ignore config file /lib/firmware/config.txt

[   53.263514] [dhd] dhd_conf_set_path_params : Final fw_path=/lib/firmware/fw_bcm43438a1.bin

[   53.271707] [dhd] dhd_conf_set_path_params : Final nv_path=/lib/firmware/nvram_ap6236.txt

[   53.279860] [dhd] dhd_conf_set_path_params : Final clm_path=/lib/firmware/clm_bcm43438a1.blob

[   53.288310] [dhd] dhd_conf_set_path_params : Final conf_path=/lib/firmware/config.txt

[   53.297648] [dhd] dhdsdio_download_code_file: Open firmware file failed /lib/firmware/fw_bcm43438a1.bin

[   53.305735] [dhd] _dhdsdio_download_firmware: dongle image file download failed

[   53.313193] [dhd] dhd_bus_devreset Failed to download binary to the dongle

[   53.319897] [dhd] dhd_net_bus_devreset: dhd_bus_devreset: -35

[   53.325494] [dhd] dhd_net_bus_devreset: dhd_bus_devreset: -35

[   53.331541] [dhd] wifi_platform_set_power = 0, delay: 0 msec

[   53.336834] [dhd] ======== PULL WL_REG_ON(-1) LOW! ========

[   53.342549] [dhd-wlan0] wl_android_wifi_on : Failed

[   53.347275] [dhd] dhd_open : wl_android_wifi_on failed (-35)

[   53.352997] [dhd] dhd_stop: Enter wlan0

[   53.356720] [dhd-wlan0] wl_android_wifi_off : in g_wifi_on=0, on_failure=1

[   53.363627] [dhd] dhd_net_bus_devreset: dhd_bus_devreset: -35

[   53.369468] [dhd] wifi_platform_set_power = 0, delay: 0 msec

[   53.375038] [dhd] ======== PULL WL_REG_ON(-1) LOW! ========

[   53.380573] [dhd-wlan0] wl_android_wifi_off : out

[   53.385198] [dhd] dhd_stop: Exit wlan0

[   53.388917] [dhd] dhd_open : the lock is released.

[   53.393739] [dhd] dhd_open: Exit wlan0 ret=-1

[   53.398034] [dhd] Failed to open primary dev ret -1

SIOCSIFFLAGS: Operation not permitted

   c, 查看报错的文件 路径 ls /lib/firmware/

brcm                     fw_bcm43436b0.bin        fw_bcm43436b0_apsta.bin  nvram_ap6236.txt

  此路径下的文件与报错log中要找的文件名不同,我判断是驱动配置信息(fw_path, nv_path, clm_path, conf_path)对不上,应用开发完全手册里的截图信息也是我这里面的文件名,但打印log里却是要fw_bcm43438a1.bin这个文件 ,但我不晓得怎么去更改,烦请指点,谢谢!~

请先 登录 后评论

1 个回答

百问网-张老师
擅长:嵌入式开发

了解你的意思了,先重新烧录下系统试一下,按照开发手册 更新整个系统 章节进行操作

请先 登录 后评论
  • 1 关注
  • 0 收藏,97 浏览
  • GrandRiver 提出于 2021-11-22 19:35

相似问题