From: gautam borad <gautam@eisodus.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] FEC not working : ep852
Date: Tue, 25 Oct 2005 19:22:03 +0530 [thread overview]
Message-ID: <435E3883.8050501@eisodus.com> (raw)
Hi,
I'm having problem bringing up FEC on ep852 board with LXT971A
transceiver.I get the "Unable to discover phy!" "No PHY device found"
message, and then "TX not ready" and "TX timeout". The dump displays
"Net: FEC ETHERNET" .
I'm using u-boot 1.1.2.
Some of the #defines from the config file :
#define CONFIG_SERIAL_MULTI
#define CONFIG_FEC_ENET 1
#define CONFIG_NET_MULTI 1
#define CONFIG_ETHER_ON_FEC1
#if defined(CONFIG_ETHER_ON_FEC1)
# define FEC_ENET 1
# define CONFIG_MII 1
# define CONFIG_FEC1_PHY (-1) /* Detect PHY ID */
#endif /* CONFIG_ETHER_ON_FEC1 */
#undef CONFIG_SCC3_ENET
#if defined(CONFIG_MII)
# define CFG_ADD_MII_CMD CFG_CMD_MII
#else
# define CFG_ADD_MII_CMD 0
#endif
#define CFG_DISCOVER_PHY /* FEC Ethernet */
#define CONFIG_8xx_CONS_SMC1
Do I need to modify u-boot.lds file?( I dont thinks so).Is something
wrong with the clks if so where do i modify them?
The eth_init() function also fails. It says " Trying FEC ETHERNET" and
then "FAIL"
I'm enabling fec in board_early_init_f() like this:
#if defined(FEC_ENET)
*((volatile uchar *) BCSR2) |= BCSR2_MIIRST | BCSR2_MIIPWRDWN |
BCSR2_FIRQ_EN;
where:
BCSR2 = 0xFA400002
BCSR2_MIIRST = 0x80
BCSR2_MIIPWRDWN = 0x40
BCSR2_FIRQ_EN = 0x20
I dont see any problem in the above #defines but still fec is not
working. Plz help.
Thanks in advance.
reply other threads:[~2005-10-25 13:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=435E3883.8050501@eisodus.com \
--to=gautam@eisodus.com \
--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