public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Simon Kagstrom <simon.kagstrom@netinsight.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] OpenRD base/client support?
Date: Wed, 1 Jul 2009 16:19:45 +0200	[thread overview]
Message-ID: <20090701161945.050d979a@marrow.netinsight.se> (raw)
In-Reply-To: <200907011603.25306.dk-arm-linux@gmx.de>

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

  reply	other threads:[~2009-07-01 14:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2009-07-01 14:36     ` Dieter Kiermaier
2009-07-01 17:03     ` Prafulla Wadaskar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090701161945.050d979a@marrow.netinsight.se \
    --to=simon.kagstrom@netinsight.net \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox