On Sat, Jun 19, 2010 at 5:42 PM, Chris Tapp <[email protected]> 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. _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
