From: Miles Gazic <mgazic@earthlink.net>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] IBM/AMCC 440EP ethernet question
Date: Tue, 15 Feb 2005 21:09:52 -0800 [thread overview]
Message-ID: <1108530592.4360.11.camel@localhost> (raw)
I'm using a 440EP with MII mode selected, and a Broadcom AC101L phy.
Autonegotiation was failing, so as an experiment, I tried replacing the
start of autonegotiation in 440gx_enet.c, with setting the speed
manually. I did a miiphy_write to PHY_BMCR (the control register) with
0x8100 (which should specify 10mbps, full duplex). The miiphy_write
returns 0 which means it doesn't think it failed, but when I look at
the value in the control register as spit out by miiphy_dump, it is
still 0x3000 (which is 100mbps and half-duplex), which is the same value
I always see there.
I don't think this is just a U-boot problem because I can duplicate
what's happening using just a Abatron BDI2000. When I write a
0x81002400 into the EMAC_STACR register (which should set the control
register of the phy to 0x8100), and then write a 0x00001400 into
EMAC_STACR (which should request a read of the same register), and then
look at the EMAC_STACR register in the debugger, it has the same 0x3000
as I see in U-Boot. It seems likely to me though that if anyone has
gotten the 440EP to work with MII in U-Boot, then they might be able to
shed some light on what is going wrong for me.
Any advice is appreciated,
Miles
next reply other threads:[~2005-02-16 5:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-16 5:09 Miles Gazic [this message]
2005-02-18 0:18 ` [U-Boot-Users] IBM/AMCC 440EP ethernet question Bradley Remedios
-- strict thread matches above, loose matches on Subject: below --
2005-02-18 13:20 Miles Gazic
2005-02-18 19:04 ` Bradley Remedios
2005-02-18 13:31 Miles Gazic
2005-02-18 19:18 ` Bradley Remedios
2005-02-18 21:45 ` Bradley Remedios
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=1108530592.4360.11.camel@localhost \
--to=mgazic@earthlink.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