Skip to contentSkip to conversation

OpenRD base/client support?

U-Boot Simon Kagstrom 3 participants 5 messages Jul 1, 2009

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

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

Simon,

Quoted 9 lines

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

Quoted 8 lines

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

#2 lore raw
Quoted 5 lines · On Wed, 1 Jul 2009 16:03:25 +0200 Dieter Kiermaier <[email protected]> wrote:
Quoted 2 lines

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

include/configs/openrd_base.h +2 -2
index eb62554..996eacf 100644
@@ -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 */
#3 lore raw

Am Mittwoch 01 Juli 2009 16:19:45 schrieb Simon Kagstrom:

Quoted 6 lines
Quoted 3 lines · On Wed, 1 Jul 2009 16:03:25 +0200 Dieter Kiermaier <[email protected]> wrote:
Quoted 2 lines

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

Quoted 7 lines
Quoted 2 lines

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

Quoted 22 lines

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

include/configs/openrd_base.h +2 -2
index eb62554..996eacf 100644
@@ -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 */
#4 lore raw
In reply to Simon Kagstrom
Quoted 15 lines

-----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?

Quoted 3 lines · On Wed, 1 Jul 2009 16:03:25 +0200 Dieter Kiermaier <[email protected]> wrote:
Quoted 2 lines

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

Quoted 7 lines
Quoted 1 line

I can confirm that. Have the same behaviour but haven't

time to investigate further.

Quoted 1 line

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 . .