Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    T113pro使用tina sdk无法将模块自动拷进rootfs

    编译和烧写问题专区
    3
    5
    3353
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Y
      yichen LV 3 last edited by

      请教各位大佬,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无法自动拷贝,有什么缘故吗?

      1 Reply Last reply Reply Quote Share 0
      • A
        awwwwa LV 8 last edited by

        检查一下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))
        
        Y 1 Reply Last reply Reply Quote Share 0
        • Y
          yichen LV 3 @awwwwa last edited by

          @awwwwa 这个和xr829的写的我看没啥太大差别,事实上net-broadcom他就是不自动拷贝,我现在就是不明白这事为啥

          1 Reply Last reply Reply Quote Share 0
          • F
            fanhuacloud LV 6 last edited by

            检查一下文件名对不对

            1 Reply Last reply Reply Quote Share 0
            • Y
              yichen LV 3 last edited by

              搞明白了,这两句配置搞得问题:
              CONFIG_BCMDHD_FW_PATH="/etc/firmware/fw_bcmdhd.bin"
              CONFIG_BCMDHD_NVRAM_PATH="/etc/firmware/nvram.txt" \

              1 Reply Last reply Reply Quote Share 0
              • 1 / 1
              • First post
                Last post

              Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

              行为准则 | 用户协议 | 隐私权政策