u-boot with network support on beagle xm rev c

Hi,

I'm trying to get network support running on my brand new beagle-xm rev c.

What happened so far:

1) I cloned git://github.com/koenkooi/u-boot.git

on commit 2cd88dd2679f7512c9879135ba2decbec63a0201
Author: Koen Kooi <koen@dominion.thruhere.net>

    beagleboard: decrease bootdelay to 2 seconds

    Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>

2) I cloned git://git.pokylinux.org/poky.git

on tag: bernard-5.0.1

Only the toolchain is used to build u-boot external to poky.

3) enabled some debug and built u-boot

4) run it:

Texas Instruments X-Loader 1.4.4ss (Jun 18 2011 - 16:47:34)
Beagle xM
Reading boot sector
Loading u-boot.bin from mmc

U-Boot 2011.06-rc2-00000-g2cd88dd-dirty (Jun 20 2011 - 16:59:06)

OMAP3630/3730-GP ES2.1, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz
OMAP3 Beagle board + LPDDR/NAND
I2C: ready
DRAM: 512 MiB
NAND: 0 MiB
MMC: OMAP SD/MMC: 0
*** Warning - readenv() failed, using default environment

In: serial
Out: serial
Err: serial
Beagle xM Rev C
No EEPROM on expansion board
Die ID #1c0400229ff800000163810c0f033025
Net: Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot: 0
OMAP3 beagleboard.org # usb start
(Re)start USB...
USB: Initializing OMAP3 ECHI
USB clocks enabled
TLL reset done
OMAP3 EHCI init done
Register 1313 NbrPorts 3
USB EHCI 1.00
scanning bus for devices... 1 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found
       scanning bus for ethernet devices... 0 Ethernet Device(s) found
OMAP3 beagleboard.org # usb tree

Device Tree:
  1 Hub (480 Mb/s, 0mA)
     u-boot EHCI Host Controller

OMAP3 beagleboard.org #

Unfortunately no Ethernet Device is found.

Please advise

Regards,

Robert...A clever person solves a problem.A wise person avoids it.- Einstein

My public pgp key is available at:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x90320BF1

Hi,

I'm trying to get network support running on my brand new beagle-xm rev c.

What happened so far:

1) I cloned git://github.com/koenkooi/u-boot.git

on commit 2cd88dd2679f7512c9879135ba2decbec63a0201
Author: Koen Kooi <koen@dominion.thruhere.net>
Date: Fri Jun 17 10:03:06 2011 +0200

   beagleboard: decrease bootdelay to 2 seconds

   Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>

2) I cloned git://git.pokylinux.org/poky.git

on tag: bernard-5.0.1

Only the toolchain is used to build u-boot external to poky.

Try using the angstrom toolchain, armv7a and hence beagleboard support in poky is abysmal, you don't even get vfp support. As I told you before, use a known working setup first, then you can try to fix the broken things in other setups.

3) enabled some debug and built u-boot

4) run it:

Texas Instruments X-Loader 1.4.4ss (Jun 18 2011 - 16:47:34)

That's a really old x-loader. Try the one angstrom builds by default.

The mainline x-loader is http://gitorious.org/x-loader. Lots of
testing with Angstrom, but mainline should be what we are all focused
on getting to work. Of course, I believe Angstrom is already using
mainline x-loader.

For beagleboard it is using a stock upstream x-loader

I installed Angstrom and used the Angstrom toolchain to build u-boot
with the same result as before - feeling unhappy.

What helped was:

rber@yocto-vm-1:/work/rber/beagle-xm/u-boot$ git pull
remote: Counting objects: 461, done.
remote: Compressing objects: 100% (89/89), done.
remote: Total 346 (delta 275), reused 323 (delta 252)
Receiving objects: 100% (346/346), 60.37 KiB, done.
Resolving deltas: 100% (275/275), completed with 101 local objects.
From git://github.com/koenkooi/u-boot
+ 2cd88dd...5e64008 beagle-2011.06 -> origin/beagle-2011.06 (forced
update)
Removing board/atmel/at91sam9260ek/config.mk
Removing board/davedenx/qong/config.mk
Removing board/imx31_phycore/config.mk
Removing board/mx1ads/config.mk
Auto-merging board/ti/beagle/beagle.c
Auto-merging board/ti/beagle/beagle.h
Auto-merging include/configs/omap3_beagle.h
Merge made by recursive.
MAINTAINERS | 5 +
MAKEALL | 3 -
Makefile | 47 +-----
arch/arm/cpu/arm920t/at91/reset.c | 2 +-
arch/arm/cpu/arm920t/at91/timer.c | 12 +-
arch/arm/cpu/arm926ejs/at91/lowlevel_init.S | 24 ++--
arch/arm/include/asm/arch-at91/at91_matrix.h | 10 +-
arch/arm/include/asm/arch-at91/at91_mc.h | 12 +-
arch/arm/include/asm/arch-at91/at91_pio.h | 14 +-
arch/arm/include/asm/arch-at91/at91_pmc.h | 10 +-
arch/arm/include/asm/arch-at91/at91_rstc.h | 2 +-
arch/arm/include/asm/arch-at91/at91_wdt.h | 2 +-
arch/arm/include/asm/arch-at91/at91rm9200.h | 209