USB Ethernet and make uImage Problem - What Am I Doing Wrong?

So I have one of these USB Ethernet adapters:
http://www.supermediastore.com/gwc-usb-2-0-3-port-hub-ethernet-adapter.html

I see in the Android Porting Guide (
http://labs.embinux.org/index.php/Android_Porting_Guide_to_Beagle_Board
) that the appropriate driver has to be enabled for the kernel.

So on my build machine, I do the following:

$ cd ~/beagledroid/kernel
$ make menuconfig

I check off the ASIX AX88xxx Based USB 2.0 Ethernet Adapters option.

It saves to .config and I see it has the following:

# USB Network Adapters
CONFIG_USB_NET_AX8817X=m

Okay, so far it looks fine.

When I run:

$ make

I see this as part of the output:

  CC [M] drivers/net/usb/asix.o

  OBJCOPY arch/arm/boot/Image
  Kernel: arch/arm/boot/Image is ready

  OBJCOPY arch/arm/boot/zImage
  Kernel: arch/arm/boot/zImage is ready

  Building modules, stage 2.

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

So uImage does not get built, but I see it builds the asix module.

If I do:

$ make uImage

It outputs:

  CHK include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
  CHK include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-arm
  CALL scripts/checksyscalls.sh
<stdin>:1097:2: warning: #warning syscall fadvise64 not implemented
<stdin>:1265:2: warning: #warning syscall migrate_pages not
implemented
<stdin>:1321:2: warning: #warning syscall pselect6 not implemented
<stdin>:1325:2: warning: #warning syscall ppoll not implemented
<stdin>:1365:2: warning: #warning syscall epoll_pwait not implemented
  CHK include/linux/compile.h
  Kernel: arch/arm/boot/Image is ready
  Kernel: arch/arm/boot/zImage is ready
  UIMAGE arch/arm/boot/uImage
Image Name: Linux-2.6.29-omap1-07176-g57a557
Created: Wed Jun 3 11:54:38 2009
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1868420 Bytes = 1824.63 kB = 1.78 MB
Load Address: 0x80008000
Entry Point: 0x80008000
  Image arch/arm/boot/uImage is ready

But the uImage kernel doesn't seem to have the asix driver module
built into it.

What am I missing?

When I boot up the Beagle with the uImage, it shows:

usb 1-1.4: new high speed USB device using musb_hdrc and address 5
usb 1-1.4: New USB device found, idVendor=0b95, idProduct=772a
usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.4: Product: AX88x72A
usb 1-1.4: Manufacturer: ASIX Elec. Corp.
usb 1-1.4: SerialNumber: 46B4D6
usb 1-1.4: configuration #1 chosen from 1 choice

But the device does not get added as a ethernet adapter:

# netcfg
lo DOWN 0.0.0.0 0.0.0.0 0x00000008

What am I doing wrong?

Thanks...

Hi Stan,

For a quick fix, change this to CONFIG_USB_NET_AX8817X=y

Basically with "m" you are required to also copy the "modules" to
/lib/modules/, but if you build with 'y', it'll be built into the
'uImage'

Regards,

Thanks Robert!

After much tinkering and hair pulling, I finally did figure out that
this was the problem.

I was still moderated when I posted the original message, so I wasn't
able to post a followup to it.

Thanks again!