2013/1/3 Rafał Miłecki <zaj...@gmail.com>: > 2012/12/29 Hauke Mehrtens <ha...@hauke-m.de>: >> On 12/28/2012 01:05 AM, Rafał Miłecki wrote: >>> I don't use compat-wireless package in my builds and I wish to just >>> use default kernel's drivers. So I did: >>>> make kernel_menuconfig >>> and enabled MAC80211 and wireless drivers. >>> >>> Unfortunately it seems that modules are still not compiled. >>> >>> Is there some extra mechanism in the OpenWRT building system stopping >>> MAC80211/wireless drivers from being built? File >>> target/linux/brcm47xx/config-3.3 was modified correctly: >>>> grep MAC80211= target/linux/brcm47xx/config-3.3 >>> CONFIG_MAC80211=m >>> >> >> Don't the modules get compiled or are they not integrated into the >> image? To get a kernel module into the kernel it needs a kmod package >> like in package/kernel/modules/wireless.mk . > > Modules seem to compile, but they are not included on rootfs > partition. I guess I need some .mk files :|
OK, I'm getting closer ;) My package is generated: > Generating index for package ./kmod-net-default-b43_3.3.8-1_brcm47xx.ipk and it seems to be copied into root directory: > ls staging_dir/target-mipsel_uClibc-0.9.33.2/root-brcm47xx/lib/modules/3.3.8/ > | grep b43 b43.ko But it's still not available on rootfs after installing firmware... I've also noticed it's not visible in build_dir: > ls build_dir/target-mipsel_uClibc-0.9.33.2/root-brcm47xx/lib/modules/3.3.8/ | > grep b43 What's the difference between staging_dir and build_dir? Why the second one doesn't contain b43.ko? define KernelPackage/net-default-b43 SUBMENU:=$(WIRELESS_MENU) TITLE:=Default b43 driver (not compat-wireless) KCONFIG:= \ CONFIG_B43 \ CONFIG_B43_BCMA \ CONFIG_B43_DEBUG \ CONFIG_B43_PHY_HT \ CONFIG_B43_PHY_N FILES:=$(LINUX_DIR)/drivers/net/wireless/b43/b43.ko AUTOLOAD:=$(call AutoLoad,30,net-default-b43) endef define KernelPackage/net-default-b43/description Kernel default b43 driver for Broadcom wifi (not the compat-wireless one) endef $(eval $(call KernelPackage,net-default-b43)) -- Rafał _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel