Skip to contentSkip to conversation

how to install kernel module(s)?

DISCUSSION Ni Qingliang 2 participants 3 messages Mar 30, 2012 – Mar 31, 2012

lore
Share & tools
lore
#0 lore raw

Hi,
I have made a custom kernel bb file, and get some modules in tmp/deploy/images/modules-3.3.0-r1-pangu-test.tgz,

but how to install the modules into the image?

Signature · 3 lines
Yi Qingliang
[email protected]
https://niqingliang2003.wordpress.com
#1 lore raw
Quoted 5 lines

Hi,
I have made a custom kernel bb file, and get some modules in tmp/deploy/images/modules-3.3.0-r1-pangu-test.tgz,

but how to install the modules into the image?

There is a chance that I completely misunderstand your scenario.

Presumably, you have a recipe for your kernel modules - something akin to meta/recipes-kernel/hello-mod/hello-mod_0.1.bb

In that case, to include the module, you need to add hello-mod to the IMAGE_INSTALL variable (either in local.conf or in your one meta-layer's images recipes)

Now, if you are modifying the kernel's recipe to get the modules - I am not sure.

Does this help? Can you please clarify, how the modules are built?

#2 lore raw
Quoted 11 lines · Autif Khan
Quoted 5 lines

Hi,
I have made a custom kernel bb file, and get some modules in tmp/deploy/images/modules-3.3.0-r1-pangu-test.tgz,

but how to install the modules into the image?

There is a chance that I completely misunderstand your scenario.

Presumably, you have a recipe for your kernel modules - something akin to meta/recipes-kernel/hello-mod/hello-mod_0.1.bb

Quoted 6 lines

In that case, to include the module, you need to add hello-mod to the IMAGE_INSTALL variable (either in local.conf or in your one meta-layer's images recipes)

Now, if you are modifying the kernel's recipe to get the modules - I am not sure.

sorry about that, indeed, my mean is a kernel recipe, not module recipe.

Quoted 1 line

Does this help? Can you please clarify, how the modules are built?

the modules is configured in the 'defconfig' used by the kernel recipe.

Signature · 3 lines
Yi Qingliang
[email protected]
https://niqingliang2003.wordpress.com