[yocto] Install Kernel Modules in rootfs

Bruce Ashfield bruce.ashfield at windriver.com
Thu Oct 3 06:58:33 PDT 2013


On 13-10-03 09:32 AM, Raul Rosetto Munoz wrote:
> I think that I found my problem,
>
> I tryed to use the kernel 3.8 before in this build system, but I decided
> to go back to the 2.6.35.3.
>
> But now I did bitbake -c cleanall virtual/kernel, I tryed to delete
> every thing about kernel 3.8 but the modules that are instaled in my
> /lib/modules/ still be the modules of kernel 3.8.
>
> How I clean the modules and force to use no 2.6.35.3 again.
>
> Which package or command do that?

If you reconstruct your image, the old module package shouldn't be
re-used, since you would now have a dependency on the 2.6.35.x kernel.

How exactly are they installed in /lib/modules ? Did you do anything
in particular ?

Bruce

>
> Thanks for all Help.
>
>
> On Thu, Oct 3, 2013 at 9:38 AM, Bruce Ashfield
> <bruce.ashfield at windriver.com <mailto:bruce.ashfield at windriver.com>> wrote:
>
>     On 13-10-03 08 <tel:13-10-03%2008>:34 AM, Raul Rosetto Munoz wrote:
>
>         Hello All,
>
>         I'm Trying to install the kernel modules inside my rootfs but I
>         couldn't
>         find an especific information that help me to do that!
>
>         I have in my /tmp/images/ the tgz with all the modules that I need.
>
>         modules--2.6.35.3-r32.23-__imx28evk-20131002210958.tgz
>
>         I just want that this tzg was extracted inside my rootfs
>         /lib/modules.
>
>         Please some one can help me with this?
>
>
>     Does your image type have a RDEPENDS on "kernel-modules", or do you
>     have IMAGE_INSTALL_append = " kernel-modules", in your local.conf ?
>
>     If you do either of the above, the entire set of built modules will
>     be installed.
>
>     You can also install / require individual modules via
>     kernel-module-<module name>.
>
>     The Yocto docs should have details on this as well.
>
>     Cheers,
>
>     Bruce
>
>
>         Thanks so much.
>
>         --
>         *Raul Rosetto Muñoz*
>
>
>         _________________________________________________
>         yocto mailing list
>         yocto at yoctoproject.org <mailto:yocto at yoctoproject.org>
>         https://lists.yoctoproject.__org/listinfo/yocto
>         <https://lists.yoctoproject.org/listinfo/yocto>
>
>
>
>
>
> --
> *Raul Rosetto Muñoz*




More information about the yocto mailing list