From: "Dr. Markus Eich" <markus.eich@dfki.de>
To: Rudolf Streif <rstreif@linuxfoundation.org>
Cc: Yocto Discussion Mailing List <yocto@yoctoproject.org>
Subject: Re: No network at startup using core-image-minimal
Date: Tue, 12 Aug 2014 17:09:49 +0200 [thread overview]
Message-ID: <53EA2E3D.3080400@dfki.de> (raw)
In-Reply-To: <CA+gsK-qsK4=R-a-TnCizz8_+1sWJ68zmh-zeYAK2UyBehDjp0w@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 4788 bytes --]
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@dfki.de
> <mailto:markus.eich@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@dfki.de <mailto:markus.eich@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 <mailto:yocto@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@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
-----------------------------------------------------------------------
[-- Attachment #2: Type: text/html, Size: 7183 bytes --]
next prev parent reply other threads:[~2014-08-12 15:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-08 13:46 No network at startup using core-image-minimal Dr. Markus Eich
2014-08-08 15:52 ` Rudolf Streif
2014-08-12 15:09 ` Dr. Markus Eich [this message]
2014-08-12 16:56 ` Rudolf Streif
2014-08-12 17:58 ` Markus Eich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53EA2E3D.3080400@dfki.de \
--to=markus.eich@dfki.de \
--cc=rstreif@linuxfoundation.org \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.