[yocto] No network at startup using core-image-minimal
Dr. Markus Eich
markus.eich at dfki.de
Tue Aug 12 08:09:49 PDT 2014
Hi Rudolf,
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
Cheers,
Markus
On 08.08.2014 17:52, Rudolf Streif wrote:
>
> Hi Markus,
>
> Please try core-image-base instead of core-image-minimal. That should
> provide you with the necessary network support.
>
> Best regards,
> Rudi
>
> On Aug 8, 2014 6:46 AM, "Dr. Markus Eich" <markus.eich at dfki.de
> <mailto:markus.eich at dfki.de>> wrote:
>
> 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 <tel:%2B49%20421%20178%2045-4105>
> Zentrale: +49 421 178 45-0 <tel:%2B49%20421%20178%2045-0>
> Fax: +49 421 178 45-4150 <tel:%2B49%20421%20178%2045-4150> (Faxe
> bitte namentlich kennzeichnen)
> E-Mail: markus.eich at dfki.de <mailto: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
> -----------------------------------------------------------------------
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org <mailto:yocto at yoctoproject.org>
> https://lists.yoctoproject.org/listinfo/yocto
>
--
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
-----------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140812/5077b596/attachment.html>
More information about the yocto
mailing list