T113pro使用tina sdk无法将模块自动拷进rootfs
-
请教各位大佬,T113使用tina sdk,使用ap6212 wifi模组,当我在kernel_menuconfig选择了broadcom full card以模块编译,然后再menuconfig中选择了kmod-broadcom和firmware,编译之后我看成功编译出了bcmdhd.ko,但是镜像里面始终不会自动拷贝bcmdhd.ko到rootfs的/lib/modules/里去。我看默认的xr829.ko会自动拷贝,为啥bcmdhd.ko无法自动拷贝,有什么缘故吗?
-
检查一下modules的配置
define KernelPackage/net-broadcom SUBMENU:=$(WIRELESS_MENU) DEPENDS:= +ap6256-firmware +@PACKAGE_broadcom-rftest TITLE:=broadcom(ap6256...) support FILES:=$(LINUX_DIR)/drivers/net/wireless/bcmdhd/bcmdhd.ko KCONFIG:=\ CONFIG_BCMDHD=m \ CONFIG_BCMDHD_SDIO=y \ CONFIG_BCMDHD_OOB=y \ CONFIG_BCMDHD_FW_PATH="/etc/firmware/fw_bcmdhd.bin" \ CONFIG_BCMDHD_NVRAM_PATH="/etc/firmware/nvram.txt" \ CONFIG_BCMDHD_SDIO=y \ CONFIG_SUNXI_RFKILL=y \ CONFIG_MMC=y \ CONFIG_PWRSEQ_EMMC=y \ CONFIG_PWRSEQ_SIMPLE=y \ CONFIG_MMC_SUNXI=y \ CONFIG_MMC_SUNXI_V4P1X=y \ CONFIG_MMC_SUNXI_V4P00X=y \ CONFIG_MMC_SUNXI_V4P10X=y \ CONFIG_MMC_SUNXI_V4P5X=y \ CONFIG_MMC_SUNXI_V5P3X=y \ AUTOLOAD:=$(call AutoProbe,bcmdhd,1) endef define KernelPackage/net-broadcom/description Kernel modules for Broadcom AP6256... support endef $(eval $(call KernelPackage,net-broadcom))
-
@awwwwa 这个和xr829的写的我看没啥太大差别,事实上net-broadcom他就是不自动拷贝,我现在就是不明白这事为啥
-
检查一下文件名对不对
-
搞明白了,这两句配置搞得问题:
CONFIG_BCMDHD_FW_PATH="/etc/firmware/fw_bcmdhd.bin"
CONFIG_BCMDHD_NVRAM_PATH="/etc/firmware/nvram.txt" \
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号