
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 */