how to install kernel module(s)?
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
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?
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_INSTALLvariable (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