[yocto] No network at startup using core-image-minimal

Dr. Markus Eich markus.eich at dfki.de
Fri Aug 8 06:46:08 PDT 2014


Dear all,

I am setting up my Odroid XU with yocto using the core-image-minimal 
receipe. Almost done and I am able to boot the system and log in via 
screen (UART), but..

The network is not present at start-up. When I do lsmod I just see "Not 
tainted" and no modules are loaded.

The module I need to load is the smsc95xx module. When I tried to load 
the driver with "modpobe" it could not find the driver (although it is 
in /lib/modules/3.4.98-custom/kernel/drivers/net/usb)
I had to manually add it to /lib/modules/3.4.98-custom/modules.dep 
(which was empty after the bitbake process in rootfs)

So I added
"kernel/drivers/net/usb/smsc95xx.ko: " to modules.dep.

Then I could load it with modprobe. In order to load it at startup

I created a /etc/modules with the content "smsc95xx". Now my question:

Is there an easier (bitbake) way to make the modules load at startup 
without editing configs on the target device? Am I missing something? 
Does core-image-minimal not include network?

Cheers,

Markus




-- 
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.eich at 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
  -----------------------------------------------------------------------




More information about the yocto mailing list