[U-Boot] [PATCH] Olimex SAM9-L9260 board support

Wolfgang Denk wd at denx.de
Mon Oct 6 22:44:19 CEST 2008


Dear Cristian Birsan,

In message <48EA7615.8090706 at gmail.com> you wrote:
> 
>  > Carelessly leaving ports or devices in an initialized stated has been
>  > the source for problems too many times before.
>  >
>  > Don't do that.
> 
> The above code section is used also in other ATMEL boards like
> at91sam9260ek ( /board/atmel/at91sam9260ek/at91sam9260ek.c ),
> at91sam9261ek, at91sam9263ek, at91sam9rlek. This is my
> first patch sent to U-Boot and I used that code as reference.

So this problem escaped the review when that old code was added.

So we can only ask the baord maintainer and the AT91 custodian to take
care of the existing code and clean ipt up ASAP.

But we should not add more copies of that bad example.

> The board that i have (SAM9-L9260 from Olimex ) is close to
> AT91SAM9260EK from ATMEL.
> 
> How do you think i can do this the right way?

Well, the Right Thing (TM) would be to use a device tree to pass such
information to Linux, but that's a long way to go still.

In the mean time, other methods  should  be  used  to  pass  the  MAC
address information to the Linux network driver (I understand this is
all  what  needs  to  be  done, right?). In the simplest case, use an
"ethaddr=..." boot argument. [Make sure to read the ML archive before
you try to bring up this topic on the linux-arm  ML;  this  has  been
discussed in *length* before.]


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Due to lack of disk space, this fortune database has been discontinued.


More information about the U-Boot mailing list