Linux中的固件加载例子
AP6335模块(BCM4339)在上电运行时,是需要刷入固件的,其在普通WIFI模式和AP模式之间切换时,也是需要加载不同的固件的,其位于/system/etc/firmware/下面:
fw_bcm4339a0_ag.bin
fw_bcm4339a0_ag_apsta.bin
下面的日志即是WIFI热点开启时加载的固件:
[ 1276.966022] dhd_bus_devreset: == WLAN ON ==
[ 1276.966038] dhd_bus_devreset called when dongle is not in reset
[ 1276.966045] Will call dhd_bus_start instead
[ 1276.966092] dhd_conf_set_fw_name_by_chip: firmware_path=/system/etc/firmware/fw_bcm43341b0_ag_apsta.bin
[ 1276.966220] Final fw_path=/system/etc/firmware/fw_bcm43341b0_ag_apsta.bin
[ 1276.966229] Final nv_path=/system/etc/firmware/nvram_AP6335.txt
[ 1276.966237] Final conf_path=/system/etc/firmware/config.txt
[ 1277.005227] NVRAM version: AP6335_NVRAM_V1.7_04102014
WiFi的驱动目录:
kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd
千兆以太网的驱动目录:
kernel/drivers/net/ethernet/rockchip/gmac
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。