[yocto] Install Kernel Modules in rootfs

Raul Rosetto Munoz munoz0raul at gmail.com
Thu Oct 3 07:09:32 PDT 2013


Look all the time the modules of kernel 3.8 come.

My /lib/modules is like this:

/lib/modules$ ll
total 16
drwxr-xr-x 4 raul raul 4096 Oct  3 10:09 ./
drwxr-xr-x 7 raul raul 4096 Oct  3 10:09 ../
drwxr-xr-x 2 raul raul 4096 Oct  3 10:09 2.6.35.3-1.1.0+yocto+g914558e/
drwxr-xr-x 3 raul raul 4096 Oct  1 15:45 3.8.13-fslc+g7205340/


/lib/modules$ ll 2.6.35.3-1.1.0+yocto+g914558e/
total 36
drwxr-xr-x 2 raul raul 4096 Oct  3 10:09 ./
drwxr-xr-x 4 raul raul 4096 Oct  3 10:09 ../
-rw-r--r-- 1 raul raul   45 Oct  3 10:09 modules.alias
-rw-r--r-- 1 raul raul   12 Oct  3 10:09 modules.alias.bin
-rw-r--r-- 1 raul raul    0 Oct  3 10:09 modules.builtin.bin
-rw-r--r-- 1 raul raul    0 Oct  3 10:09 modules.dep
-rw-r--r-- 1 raul raul   12 Oct  3 10:09 modules.dep.bin
-rw-r--r-- 1 raul raul   52 Oct  3 10:09 modules.devname
-rw-r--r-- 1 raul raul  131 Oct  3 10:09 modules.softdep
-rw-r--r-- 1 raul raul   49 Oct  3 10:09 modules.symbols
-rw-r--r-- 1 raul raul   12 Oct  3 10:09 modules.symbols.bin

/lib/modules$ ll 3.8.13-fslc+g7205340/
total 24
drwxr-xr-x 3 raul raul 4096 Oct  1 15:45 ./
drwxr-xr-x 4 raul raul 4096 Oct  3 10:09 ../
drwxr-xr-x 6 raul raul 4096 Oct  1 15:45 kernel/
-rw-r--r-- 1 raul raul 5153 Oct  1 15:45 modules.builtin
-rw-r--r-- 1 raul raul  391 Oct  1 15:45 modules.order

I have no idea how to remove the remains of the kernel 3.8.

I dont want to delete all the /tmp

=/

Take so much time.








On Thu, Oct 3, 2013 at 10:58 AM, Bruce Ashfield <
bruce.ashfield at windriver.com> wrote:

> 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@**windriver.com<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<https://lists.yoctoproject.org/listinfo/yocto>
>> >
>>
>>
>>
>>
>>
>> --
>> *Raul Rosetto Muñoz*
>>
>
>


-- 
*Raul Rosetto Muñoz*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20131003/04954dc4/attachment.html>


More information about the yocto mailing list