* Network card not detected @ 2010-06-19 21:42 Chris Tapp 2010-06-20 13:38 ` Chris Hallinan 0 siblings, 1 reply; 5+ messages in thread From: Chris Tapp @ 2010-06-19 21:42 UTC (permalink / raw) To: openembedded-devel I've built a 'minimal-image' and can get my target (an ALIX board) to boot. However, the network interface is not detected - only local loopback is available. I built using 'bitbake minimal-image' - is there something else I need to add in to the build to get the kernel to detect and configure the ethernet card? Chris ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Network card not detected 2010-06-19 21:42 Network card not detected Chris Tapp @ 2010-06-20 13:38 ` Chris Hallinan 2010-06-20 15:14 ` Chris Tapp 0 siblings, 1 reply; 5+ messages in thread From: Chris Hallinan @ 2010-06-20 13:38 UTC (permalink / raw) To: openembedded-devel On Sat, Jun 19, 2010 at 5:42 PM, Chris Tapp <dokuwiki@keylevel.com> wrote: > I've built a 'minimal-image' and can get my target (an ALIX board) to boot. > However, the network interface is not detected - only local loopback is > available. > > I built using 'bitbake minimal-image' - is there something else I need to > add in to the build to get the kernel to detect and configure the ethernet > card? Well it depends on what you mean by "detect". I'm not familiar with your platform (ALIX board) so I can only offer generic advice. There are a few requirements to get your Ethernet card "detected." First, you need to make sure your kernel has support for the drivers required for your board/Ethernet interface. Let's assume that you do have the proper support in your kernel. Next you need a way to configure the interface. There are several options here. You can pass in static config parameters via the kernel command line. Or, you can use some type of automatic configuration such as dhcp. Pass ip=dhcp on your kernel command line for this option. Alternatively, you can use ifconfig to manually configure the interface once booted, but your minimal-image probably doesn't contain ifconfig. I built minimal-image for angstrom-2008.1/beagleboard and ifconfig is not there. You didn't mention what distro you're building, but it's probably not in your minimal-image. If you really want automatic detection (by which I'm assuming you mean automatic configuration) then you want some type of device manager, of which there are two: udev and busybox mdev. Take a look at some other image recipes and you'll see examples of DISTRO_DEV_MANAGER, set by your distribution. So you can add net-tools (and it's dependencies) to your minimal-image, or to make life a little easier on yourself, use a more complete image, something like console-image which should contain everything you need to light up your Ethernet port. Also, this discussion might be more appropriate on the openembedded-users@ list. -Chris -- Life is like Linux - it never stands still. ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Network card not detected 2010-06-20 13:38 ` Chris Hallinan @ 2010-06-20 15:14 ` Chris Tapp 2010-06-20 15:50 ` Chris Hallinan 2010-06-21 8:29 ` Martyn Welch 0 siblings, 2 replies; 5+ messages in thread From: Chris Tapp @ 2010-06-20 15:14 UTC (permalink / raw) To: openembedded-devel > So you can add net-tools (and it's dependencies) to your > minimal-image, or to make life a little easier on yourself, use a more > complete image, something like console-image which should contain > everything you need to light up your Ethernet port. Thanks - I've had a console-image build running for the past few hours - should soon be able to see what this does ;-) > Also, this discussion might be more appropriate on the openembedded- > users@ list. From looking at the http://wiki.openembedded.net/index.php/Mailing_lists wiki page I thought this list was no longer available as there's no 'subscribe' link. I'll have a go and see if I can register as I agree my questions are really 'user' related at this time. Chris ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Network card not detected 2010-06-20 15:14 ` Chris Tapp @ 2010-06-20 15:50 ` Chris Hallinan 2010-06-21 8:29 ` Martyn Welch 1 sibling, 0 replies; 5+ messages in thread From: Chris Hallinan @ 2010-06-20 15:50 UTC (permalink / raw) To: openembedded-devel On Sun, Jun 20, 2010 at 11:14 AM, Chris Tapp <dokuwiki@keylevel.com> wrote: > >> Also, this discussion might be more appropriate on the openembedded-users@ >> list. > > From looking at the http://wiki.openembedded.net/index.php/Mailing_lists > wiki page I thought this list was no longer available as there's no > 'subscribe' link. I'll have a go and see if I can register as I agree my > questions are really 'user' related at this time. Yeah, I noticed that last night. I am subscribed to both - admittedly there is very little traffic on the users list, but I'd sure like to encourage more! Not sure what the intention of the list owners is on this... -Chris ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Network card not detected 2010-06-20 15:14 ` Chris Tapp 2010-06-20 15:50 ` Chris Hallinan @ 2010-06-21 8:29 ` Martyn Welch 1 sibling, 0 replies; 5+ messages in thread From: Martyn Welch @ 2010-06-21 8:29 UTC (permalink / raw) To: openembedded-devel Chris Tapp wrote: >> So you can add net-tools (and it's dependencies) to your >> minimal-image, or to make life a little easier on yourself, use a more >> complete image, something like console-image which should contain >> everything you need to light up your Ethernet port. > > Thanks - I've had a console-image build running for the past few hours > - should soon be able to see what this does ;-) > >> Also, this discussion might be more appropriate on the >> openembedded-users@ list. > > From looking at the > http://wiki.openembedded.net/index.php/Mailing_lists wiki page I > thought this list was no longer available as there's no 'subscribe' > link. I'll have a go and see if I can register as I agree my questions > are really 'user' related at this time. That was indeed the plan: http://lists.linuxtogo.org/pipermail/openembedded-users/2009-February/000969.html Even before this, there were many people asking questions on openembedded-users that either got bad, miss-leading or no answers because of a lack of experienced / knowledgeable people on that list. I don't think that the community around OE has grow/matured enough to make resurrecting that list a good idea. Martyn -- Martyn Welch (Principal Software Engineer) | Registered in England and GE Intelligent Platforms | Wales (3828642) at 100 T +44(0)127322748 | Barbirolli Square, Manchester, E martyn.welch@ge.com | M2 3AB VAT:GB 927559189 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-06-21 9:20 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2010-06-19 21:42 Network card not detected Chris Tapp 2010-06-20 13:38 ` Chris Hallinan 2010-06-20 15:14 ` Chris Tapp 2010-06-20 15:50 ` Chris Hallinan 2010-06-21 8:29 ` Martyn Welch
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox