* No network at startup using core-image-minimal
@ 2014-08-08 13:46 Dr. Markus Eich
2014-08-08 15:52 ` Rudolf Streif
0 siblings, 1 reply; 5+ messages in thread
From: Dr. Markus Eich @ 2014-08-08 13:46 UTC (permalink / raw)
To: yocto
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@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
-----------------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: No network at startup using core-image-minimal
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
0 siblings, 1 reply; 5+ messages in thread
From: Rudolf Streif @ 2014-08-08 15:52 UTC (permalink / raw)
To: Dr. Markus Eich; +Cc: Yocto Discussion Mailing List
[-- Attachment #1: Type: text/plain, Size: 2736 bytes --]
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> 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
> 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
> -----------------------------------------------------------------------
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
[-- Attachment #2: Type: text/html, Size: 3780 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: No network at startup using core-image-minimal
2014-08-08 15:52 ` Rudolf Streif
@ 2014-08-12 15:09 ` Dr. Markus Eich
2014-08-12 16:56 ` Rudolf Streif
0 siblings, 1 reply; 5+ messages in thread
From: Dr. Markus Eich @ 2014-08-12 15:09 UTC (permalink / raw)
To: Rudolf Streif; +Cc: Yocto Discussion Mailing List
[-- 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 --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: No network at startup using core-image-minimal
2014-08-12 15:09 ` Dr. Markus Eich
@ 2014-08-12 16:56 ` Rudolf Streif
2014-08-12 17:58 ` Markus Eich
0 siblings, 1 reply; 5+ messages in thread
From: Rudolf Streif @ 2014-08-12 16:56 UTC (permalink / raw)
To: Dr. Markus Eich; +Cc: Yocto Discussion Mailing List
[-- Attachment #1: Type: text/plain, Size: 704 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 1914 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: No network at startup using core-image-minimal
2014-08-12 16:56 ` Rudolf Streif
@ 2014-08-12 17:58 ` Markus Eich
0 siblings, 0 replies; 5+ messages in thread
From: Markus Eich @ 2014-08-12 17:58 UTC (permalink / raw)
To: Rudolf Streif; +Cc: Yocto Discussion Mailing List
[-- Attachment #1: Type: text/plain, Size: 2244 bytes --]
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.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: 4595 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-08-12 17:58 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2014-08-12 16:56 ` Rudolf Streif
2014-08-12 17:58 ` Markus Eich
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.