[U-Boot] No network in Linux on Olimex SAM9_L9260 (Atmel AT91SAM9260EK)

Anders Darander anders.darander at gmail.com
Fri May 28 11:05:58 CEST 2010


Hi Thorsten,

2010/5/28 Thorsten Mühlfelder <muehlfelder at enertex.de>:
> So I've decided to compile a new U-Boot.
>
> My Toolchain is Codesourcery 2010q1 on a 32 bit Slackware Linux and I've used
> U-Boot 2010.03 sources.
> The board runs a 2.6.24-rt kernel with patch for Olimex support.
>
> As the Olimex board is heavily based on the Atmel AT91SAM9260EK board I've
> decided to build U-Boot for this one. I only had to tweak the machine type so
> that Linux can be started.

I've done the same on earlier occasions, although I can't remember if
it worked or not.

However, in my latest project, I've used U-Boot 2009.08, together with
a selected sets of the patches from Olimex.
http://www.olimex.com/dev/soft/arm/SAM9/u-boot-olimex-patches-20090717.tgz

It shouldn't be too hard to apply them to a later U-Boot-version,
although minor changes might be needed.

In such a way, I've no problems at all using the PHY from U-Boot.

> On Linux bootup I've noticed that the board is not able to get an IP via DHCP
> with the new bootloader. On my research for the problem I've found out that
> U-Boot won't detect any PHY.

No problems here either. (And I've been running most kernels between
2.6.27 and 2.6.32 on the board).

If you don't go for the Olimex patches, take Eric's advise and check
the MII and RMII settings.

Regards,
Anders

-- 
Anders Darander
EPO guidelines 1978: "If the contribution to the known art resides
solely in a computer program then the subject matter is not
patentable in whatever manner it may be presented in the claims."


More information about the U-Boot mailing list