[PATCH] Ebony's UBoot awareness

2005-03-01 Thread Matt Porter
On Thu, Feb 24, 2005 at 01:43:57PM -0800, Shawn Jin wrote: > Hi Matt, > > > Can you use the ocotea/luan approach and create an openbios stub > > in arch/ppc/boot to create the bi_enetaddr infos? The PIBS stub > > in arch/ppc/boot does this so we can have one path in the platform > > file that pars

[PATCH] Ebony's UBoot awareness

2005-02-24 Thread Matt Porter
On Thu, Feb 24, 2005 at 01:43:57PM -0800, Shawn Jin wrote: > Hi Matt, > > > Can you use the ocotea/luan approach and create an openbios stub > > in arch/ppc/boot to create the bi_enetaddr infos? The PIBS stub > > in arch/ppc/boot does this so we can have one path in the platform > > file that pars

[PATCH] Ebony's UBoot awareness

2005-02-24 Thread Shawn Jin
Hi Matt, > Can you use the ocotea/luan approach and create an openbios stub > in arch/ppc/boot to create the bi_enetaddr infos? The PIBS stub > in arch/ppc/boot does this so we can have one path in the platform > file that parses the bootinfos. I'd like to help if I can follow you. What does PIBS

[PATCH] Ebony's UBoot awareness

2005-02-23 Thread Matt Porter
On Wed, Feb 23, 2005 at 10:39:34AM -0800, Shawn Jin wrote: > Hi, > > This adds UBoot support on Ebony board and also sets emac's PHY mode > explicitly during initialization as Eugene Surovegin provided. > + if (!strncmp(__res.bi_enetaddr, "\0xFF\0xFF\0xFF\0xFF\0xFF\0xFF", 6)) > +

[PATCH] Ebony's UBoot awareness

2005-02-23 Thread Matt Porter
On Wed, Feb 23, 2005 at 11:12:47AM -0800, Eugene Surovegin wrote: > On Wed, Feb 23, 2005 at 12:01:23PM -0700, Tom Rini wrote: > > > +#include "../../../../drivers/net/ibm_emac/ibm_emac_phy.h" > > > > This will not work with O= for example. The correct method is to modify > > the Makefile with a C

[PATCH] Ebony's UBoot awareness

2005-02-23 Thread Tom Rini
On Wed, Feb 23, 2005 at 10:39:34AM -0800, Shawn Jin wrote: > This adds UBoot support on Ebony board and also sets emac's PHY mode > explicitly during initialization as Eugene Surovegin provided. [snip] > +#include "../../../../drivers/net/ibm_emac/ibm_emac_phy.h" This will not work with O= for ex

[PATCH] Ebony's UBoot awareness

2005-02-23 Thread Eugene Surovegin
On Wed, Feb 23, 2005 at 12:01:23PM -0700, Tom Rini wrote: > > +#include "../../../../drivers/net/ibm_emac/ibm_emac_phy.h" > > This will not work with O= for example. The correct method is to modify > the Makefile with a CFLAGS_foo.o += -Idrivers/net/ibm_emac I just tested and it does work even w

[PATCH] Ebony's UBoot awareness

2005-02-23 Thread Shawn Jin
Hi, This adds UBoot support on Ebony board and also sets emac's PHY mode explicitly during initialization as Eugene Surovegin provided. Regards, -Shawn. -- next part -- An embedded and charset-unspecified text was scrubbed... Name: ebony-emac.diff Url: http://ozlabs.org/p