[oe-users] How to add kernel modules to the file system image?

Panayot Daskalov panayot.daskalov at mps.bg
Tue Aug 14 16:08:42 UTC 2007


Hi all,

I started using OE two months ago so please excuse me if I ask stupid 
questions. Here is my problem:

I managed to build a small linux distro, with my own distro.conf and 
machine.conf files. The board for which I'm building is based on Cirrus 
Logic EP9307 CPU and I created my own kernel recipe which downloads and 
compiles the kernel provided by Cirrus. Things are working more or less, 
but I have stuck with this annoying issue with
adding kernel modules to the final file system image. In my kernel 
configuration file I've some of the drivers and kernel features, like 
vfat support, sound drivers etc, set to be compiled as loadable modules. 
I verified that these modules are actually build because I can find them 
in the /tmp/work/mykerneldir/linux-2.6.17.14/..., but I cannot make OE 
to add them to the resulting file system image, to run depmod on them 
etc. all the things needed to be done normally in this case. I looked at 
the other kernel recipes, module.bbclass file, tried using 
kernel-module-*** variable (still I don't understand what this is for), 
searched a lot (OE user manual, mailing list, google), but still can not 
find an answer.

Anybody have a hint? :) Any help is greatly appreciated.

Thanks in advance!

Best regards,
Panayot Daskalov

-- 
Panayot Daskalov
Software Engineer

Multiprocessor Systems Ltd.

Tel: +359 2 491 18 30
Mail: panayot.daskalov at mps.bg
WWW: www.mps.bg www.followme.bg





More information about the Openembedded-users mailing list