public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] OpenRD base/client support?
@ 2009-07-01 13:57 Simon Kagstrom
  2009-07-01 14:03 ` Dieter Kiermaier
  0 siblings, 1 reply; 5+ messages in thread
From: Simon Kagstrom @ 2009-07-01 13:57 UTC (permalink / raw)
  To: u-boot

Hi!

I'm working on a OpenRD base board which is currently shipped with an
old U-boot source archive (1.1.4). I understand that Marvell support
for more boards are in the pipe, so I just wanted to ask if the work on
the OpenRD has started?

It works "pretty well" with U-boot built for sheevaplug - my main
problem now is that it hangs on miiphy_reset.

Thanks,
// Simon

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] OpenRD base/client support?
  2009-07-01 13:57 [U-Boot] OpenRD base/client support? Simon Kagstrom
@ 2009-07-01 14:03 ` Dieter Kiermaier
  2009-07-01 14:19   ` Simon Kagstrom
  0 siblings, 1 reply; 5+ messages in thread
From: Dieter Kiermaier @ 2009-07-01 14:03 UTC (permalink / raw)
  To: u-boot

Am Mittwoch 01 Juli 2009 15:57:41 schrieb Simon Kagstrom:

Simon,

> Hi!
> 
> I'm working on a OpenRD base board which is currently shipped with an
> old U-boot source archive (1.1.4). I understand that Marvell support
> for more boards are in the pipe, so I just wanted to ask if the work on
> the OpenRD has started?
> 
> It works "pretty well" with U-boot built for sheevaplug - my main
> problem now is that it hangs on miiphy_reset.

I can confirm that. Have the same behaviour but haven't time to investigate further.
Maybe we can share information and coordinate some work?

Dieter


> 
> Thanks,
> // Simon
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] OpenRD base/client support?
  2009-07-01 14:03 ` Dieter Kiermaier
@ 2009-07-01 14:19   ` Simon Kagstrom
  2009-07-01 14:36     ` Dieter Kiermaier
  2009-07-01 17:03     ` Prafulla Wadaskar
  0 siblings, 2 replies; 5+ messages in thread
From: Simon Kagstrom @ 2009-07-01 14:19 UTC (permalink / raw)
  To: u-boot

On Wed, 1 Jul 2009 16:03:25 +0200
Dieter Kiermaier <dk-arm-linux@gmx.de> wrote:

> > It works "pretty well" with U-boot built for sheevaplug - my main
> > problem now is that it hangs on miiphy_reset.
> 
> I can confirm that. Have the same behaviour but haven't time to investigate further.
> Maybe we can share information and coordinate some work?

Sure. I've created a board support package for OpenRD base which is
still basically a copy of sheevaplug. I can submit it if Prafulla wants
to, but it's very preliminary still.

The problem with the phy_reset was simple though: The phy simply has a
different address than the one for sheevaplug. The patch below (against
my board package - not possible to apply!) fixes this.

// Simon

diff --git a/include/configs/openrd_base.h b/include/configs/openrd_base.h
index eb62554..996eacf 100644
--- a/include/configs/openrd_base.h
+++ b/include/configs/openrd_base.h
@@ -187,8 +187,8 @@
 #define        CONFIG_MII              /* expose smi ove miiphy interface */
 #define CONFIG_KIRKWOOD_EGIGA  /* Enable kirkwood Gbe Controller Driver */
 #define CONFIG_SYS_FAULT_ECHO_LINK_DOWN        /* detect link using phy */
-#define CONFIG_KIRKWOOD_EGIGA_PORTS    {1,0}   /* enable port 0 only */
-#define CONFIG_PHY_BASE_ADR    0
+#define CONFIG_KIRKWOOD_EGIGA_PORTS    {1,1}   /* enable both ports */
+#define CONFIG_PHY_BASE_ADR    0x8
 #define CONFIG_ENV_OVERWRITE   /* ethaddr can be reprogrammed */
 #define CONFIG_RESET_PHY_R     /* use reset_phy() to init mv8831116 PHY */
 #endif /* CONFIG_CMD_NET */

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [U-Boot] OpenRD base/client support?
  2009-07-01 14:19   ` Simon Kagstrom
@ 2009-07-01 14:36     ` Dieter Kiermaier
  2009-07-01 17:03     ` Prafulla Wadaskar
  1 sibling, 0 replies; 5+ messages in thread
From: Dieter Kiermaier @ 2009-07-01 14:36 UTC (permalink / raw)
  To: u-boot

Am Mittwoch 01 Juli 2009 16:19:45 schrieb Simon Kagstrom:
> On Wed, 1 Jul 2009 16:03:25 +0200
> Dieter Kiermaier <dk-arm-linux@gmx.de> wrote:
> 
> > > It works "pretty well" with U-boot built for sheevaplug - my main
> > > problem now is that it hangs on miiphy_reset.
> > 
> > I can confirm that. Have the same behaviour but haven't time to investigate further.
> > Maybe we can share information and coordinate some work?
> 
> Sure. I've created a board support package for OpenRD base which is
> still basically a copy of sheevaplug. I can submit it if Prafulla wants
> to, but it's very preliminary still.
> 
Simon,
could you please post it on the list, or if this is uncommon send it per mail to me?

Thanks in advance,
Dieter


> The problem with the phy_reset was simple though: The phy simply has a
> different address than the one for sheevaplug. The patch below (against
> my board package - not possible to apply!) fixes this.
> 
> // Simon
> 
> diff --git a/include/configs/openrd_base.h b/include/configs/openrd_base.h
> index eb62554..996eacf 100644
> --- a/include/configs/openrd_base.h
> +++ b/include/configs/openrd_base.h
> @@ -187,8 +187,8 @@
>  #define        CONFIG_MII              /* expose smi ove miiphy interface */
>  #define CONFIG_KIRKWOOD_EGIGA  /* Enable kirkwood Gbe Controller Driver */
>  #define CONFIG_SYS_FAULT_ECHO_LINK_DOWN        /* detect link using phy */
> -#define CONFIG_KIRKWOOD_EGIGA_PORTS    {1,0}   /* enable port 0 only */
> -#define CONFIG_PHY_BASE_ADR    0
> +#define CONFIG_KIRKWOOD_EGIGA_PORTS    {1,1}   /* enable both ports */
> +#define CONFIG_PHY_BASE_ADR    0x8
>  #define CONFIG_ENV_OVERWRITE   /* ethaddr can be reprogrammed */
>  #define CONFIG_RESET_PHY_R     /* use reset_phy() to init mv8831116 PHY */
>  #endif /* CONFIG_CMD_NET */
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] OpenRD base/client support?
  2009-07-01 14:19   ` Simon Kagstrom
  2009-07-01 14:36     ` Dieter Kiermaier
@ 2009-07-01 17:03     ` Prafulla Wadaskar
  1 sibling, 0 replies; 5+ messages in thread
From: Prafulla Wadaskar @ 2009-07-01 17:03 UTC (permalink / raw)
  To: u-boot

 

> -----Original Message-----
> From: Simon Kagstrom [mailto:simon.kagstrom at netinsight.net] 
> Sent: Wednesday, July 01, 2009 7:50 PM
> To: dk-arm-linux at gmx.de
> Cc: u-boot at lists.denx.de; Prafulla Wadaskar
> Subject: Re: [U-Boot] OpenRD base/client support?
> 
> On Wed, 1 Jul 2009 16:03:25 +0200
> Dieter Kiermaier <dk-arm-linux@gmx.de> wrote:
> 
> > > It works "pretty well" with U-boot built for sheevaplug - my main 
> > > problem now is that it hangs on miiphy_reset.
> > 
> > I can confirm that. Have the same behaviour but haven't 
> time to investigate further.
> > Maybe we can share information and coordinate some work?
> 
> Sure. I've created a board support package for OpenRD base 
> which is still basically a copy of sheevaplug. I can submit 
> it if Prafulla wants to, but it's very preliminary still.
I would like to welcome this patch, we can make it complete.
Meanwhile I will try to look details about openRD, any pointers will help me

Regards..
Prafulla . .

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-07-01 17:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-01 13:57 [U-Boot] OpenRD base/client support? Simon Kagstrom
2009-07-01 14:03 ` Dieter Kiermaier
2009-07-01 14:19   ` Simon Kagstrom
2009-07-01 14:36     ` Dieter Kiermaier
2009-07-01 17:03     ` Prafulla Wadaskar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox