Thank you for the info.

Solved it the following way:

I added

IMAGE_INSTALL += "kernel_modules" to my local.conf.

Now SMSC95xx (plus some other modules, like joydrive) are autoloaded on boot.

Cheers,

Markus

Am 12.08.2014 um 18:56 schrieb Rudolf Streif:

Hi Markus,

    same result with the core-image-base.

    It seems that depmod is not run before building the image/modules
    in the deploy folder. I have a custom kernel recipes. How can I
    make bitbake to run depmod -a on the rootfs?

    My recipes inherits kernel

    and requires

    recipes-kernel/linux/linux-yocto.inc


Ok, in this case you want to use

  module_autoload_<modname> = "modname1 modname2 modname3"
in your kernel recipe (or distro or machine configuration which is actually 
preferable). For example
module_autoload_smsc95xx = "smsc95xx"
The module-split class should pick it up and add the module to 
/etc/modules-load.d/modname.conf.
Cheers,
Rudi


--
Dr.-Ing. Markus Eich

 Senior Researcher
 Marine Inspection Robotics
 Space Robotics
Besuchsadresse der Nebengeschäftstelle:
 DFKI GmbH
 Robotics Innovation Center
 Robert-Hooke-Straße 5
 28359 Bremen, Germany
Postadresse der Hauptgeschäftsstelle Standort Bremen:
 DFKI GmbH
 Robotics Innovation Center
 Robert-Hooke-Straße 1
 28359 Bremen, Germany

 Tel.:     +49 421 178 45-4105
 Zentrale: +49 421 178 45-0
 Fax:      +49 421 178 45-4150 (Faxe bitte namentlich kennzeichnen)
 E-Mail:   markus.e...@dfki.de

 Weitere Informationen: http://www.dfki.de/robotik
 -----------------------------------------------------------------------
 Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
 Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
 Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
 (Vorsitzender) Dr. Walter Olthoff
 Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
 Amtsgericht Kaiserslautern, HRB 2313
 Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
 USt-Id.Nr.:    DE 148646973
 Steuernummer:  19/673/0060/3
 -----------------------------------------------------------------------

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to