[yocto] [PATCH 3/4] fri2: Autoload module iwlwifi

Darren Hart dvhart at linux.intel.com
Wed Mar 14 13:04:49 PDT 2012


iwlwifi uses a firmware blob that must exist on the FS at the time
the driver is loaded. If the driver is built-in, the blob must exist
in the initrd. We avoid this by building as a module, but we still
want this to load at boot - so add it to autoload.

Signed-off-by: Darren Hart <dvhart at linux.intel.com>
---
 .../linux/linux-yocto-rt_3.0.bbappend              |    2 ++
 .../recipes-kernel/linux/linux-yocto_3.0.bbappend  |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/meta-fri2/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend b/meta-fri2/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend
index 4563101..d3b4f81 100644
--- a/meta-fri2/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend
+++ b/meta-fri2/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend
@@ -7,3 +7,5 @@ KBRANCH_fri2 = "yocto/standard/preempt-rt/base"
 COMPATIBLE_MACHINE_fri2-noemgd = "fri2-noemgd"
 KMACHINE_fri2-noemgd = "fri2"
 KBRANCH_fri2-noemgd = "yocto/standard/preempt-rt/base"
+
+module_autoload_iwlwifi = "iwlwifi"
diff --git a/meta-fri2/recipes-kernel/linux/linux-yocto_3.0.bbappend b/meta-fri2/recipes-kernel/linux/linux-yocto_3.0.bbappend
index bacd6a5..e53991a 100644
--- a/meta-fri2/recipes-kernel/linux/linux-yocto_3.0.bbappend
+++ b/meta-fri2/recipes-kernel/linux/linux-yocto_3.0.bbappend
@@ -7,3 +7,5 @@ KBRANCH_fri2 = "yocto/standard/fri2"
 COMPATIBLE_MACHINE_fri2-noemgd = "fri2-noemgd"
 KMACHINE_fri2-noemgd = "fri2"
 KBRANCH_fri2-noemgd = "yocto/standard/fri2"
+
+module_autoload_iwlwifi = "iwlwifi"
-- 
1.7.5.4




More information about the yocto mailing list