Ethernet on Android, Rev C

In reference to the Embinux porting guide:
http://labs.embinux.org/index.php/Android_Porting_Guide_to_Beagle_Board

For the "Enabling Network" section, I have a couple questions.

Where it says:

Make the kernel with "menuconfig" instead of "uImage" and go through
the menus to select the driver for your device. I use an ASIX USB 2.0
Ethernet adapter with Beagle/Android and it works great.

After menuconfig, build the uImage target, and when you boot Android
with the new kernel, your Ethernet adapter should be enumerated along
with your other USB devices. When you get the android '#' prompt, do
the netcfg.

-Howard

Hi Howard,

Could you please elaborate a little bit more on this?

Currently, I'm running the ../vendor/embinux/support-tools/
beagle_build_kernel.sh script from the kernel directory to build
uImage.

Would would I run "menuconfig"?

Thanks,

-Stan

Could you please elaborate a little bit more?

I've currently just been following this guide:
http://labs.embinux.org/index.php/Android_Porting_Guide_to_Beagle_Board

So I've been building uImage by running "../vendor/embinux/support-
tools/beagle_build_kernel.sh"

I have no idea how to make the kernel with menuconfig. How and where
would I go abouts doing that?

Thanks...

Okay, I have a lot of what you said figured out now, but I must still
be missing something.

So I did do a "make menuconfig" and selected the ASIX USB Ethernet
adapter driver, and after that, if I do "make", I can see the
following in the output:

  CC drivers/net/usb/asix.mod.o
  LD [M] drivers/net/usb/asix.ko

But "make" only builds Image and zImage, not uImage.

But if I do a "make uImage", it seems like it ignores the .config file
from "make menuconfig", because I don't see "asix" in the output
anywhere.

Using that uImage kernel, the ASIX adapter is not enumerated. The
kernel sees the device, but there's no eth0.

What am I doing wrong?

I finally figured out what I was doing wrong. I had the driver
selected to build as a module in menuconfig, instead of being built-
in.

I have eth0 working now. =)