Skip to contentSkip to conversation

howto add external built kernel modules to an image?

DISCUSSION Steffen Sledz 1 participant 2 messages Dec 9, 2009 – Dec 10, 2009

lore
Share & tools
lore
#0 lore raw

I'd like to build a kernel module (let's say it's named drpnx) outside the kernel sources and add the resulting drpnx.ko to an rootfs image.

I created a bitbake recipe using recipes/minifo/minifo-modules_0.6.1-pre1.bb as a sample and i'm able to bitbake this recipe using the -b option.

But now i'm out of ideas. How to add drpnx.ko to a rootfs image? I tried

IMAGE_INSTALL += " drpnx "
IMAGE_INSTALL += " kernel-module-drpnx "
IMAGE_INSTALL += " drpnx-module "

but none of them worked. :(

What's the right way to do this?

Steffen

#1 lore raw
Quoted 7 lines · Steffen Sledz

I'd like to build a kernel module (let's say it's named drpnx) outside the kernel sources and add the resulting drpnx.ko to an rootfs image.

I created a bitbake recipe using recipes/minifo/minifo-modules_0.6.1-pre1.bb as a sample and i'm able to bitbake this recipe using the -b option.

Quoted 7 lines

But now i'm out of ideas. How to add drpnx.ko to a rootfs image? I tried

IMAGE_INSTALL += " drpnx "
IMAGE_INSTALL += " kernel-module-drpnx "
IMAGE_INSTALL += " drpnx-module "

but none of them worked. :(

All clear. Was a typo or something like it.

IMAGE_INSTALL += " drpnx "

works well. :)