From: jie han <jiehanca@yahoo.com.cn>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] ethernet on FCC
Date: Sun, 4 Feb 2007 22:15:26 -0800 (PST) [thread overview]
Message-ID: <397059.16074.qm@web15101.mail.cnb.yahoo.com> (raw)
Hi,
My mpc8270 board use three ehternet ports at FCC1,FCC2,FCC3.it is
work well at FCC1.When I use port FCC2, I found out the
u-boot is not receiving packets (It's sending correct packet when i
use ethereal for sniffing). When trying "ping", it generated an ARP
packet first, the other host replied with , but the board never seems
to receive it(set printf at function fec_recv() /cpu/mpc8260/ether_fcc.c ).all three ethernet fcc ports initiailze is same.Do I miss something?thank you for your suggestion,my config file config FCC port parameter as follow:
#undef CONFIG_ETHER_ON_SCC /* define if ether on SCC */
#define CONFIG_ETHER_ON_FCC /* define if ether on FCC */
#undef CONFIG_ETHER_NONE /* define if ether on something else */
#define CONFIG_NET_MULTI
#define CONFIG_ETHER_ON_FCC1
#define CONFIG_ETHER_ON_FCC2
#define CONFIG_ETHER_ON_FCC3
#define CFG_CMXFCR_VALUE1 (CMXFCR_RF1CS_CLK11 | CMXFCR_TF1CS_CLK12)
#define CFG_CMXFCR_MASK1 (CMXFCR_FC1 | CMXFCR_RF1CS_MSK | CMXFCR_TF1CS_MSK)
#define CFG_CMXFCR_VALUE3 (CMXFCR_RF3CS_CLK13 | CMXFCR_TF3CS_CLK14)
#define CFG_CMXFCR_MASK3 (CMXFCR_FC3 | CMXFCR_RF3CS_MSK | CMXFCR_TF3CS_MSK)
#define CFG_CMXFCR_VALUE2 (CMXFCR_RF2CS_CLK15 | CMXFCR_TF2CS_CLK16)
#define CFG_CMXFCR_MASK2 (CMXFCR_FC2 | CMXFCR_RF2CS_MSK | CMXFCR_TF2CS_MSK)
#define CFG_RX_ETH_BUFFER 128
#define CONFIG_IPADDR 192.168.10.17
#define CONFIG_SERVERIP 192.168.10.101
#define CONFIG_HOSTNAME OceanSCC
#define CONFIG_LOADADDR 1000 /* default location for tftp and bootm */
#define CONFIG_BOOTFILE u-boot.bin
#define CONFIG_ETHADDR 00:13:09:11:22:33
#define CONFIG_HAS_ETH1
#define CONFIG_ETH1ADDR 00:13:09:04:05:36
#define CONFIG_HAS_ETH2
#define CONFIG_ETH2ADDR 00:13:09:07:08:39
#define CONFIG_EXTRA_ENV_SETTINGS "ethprime=FCC1 ETHERNET"
#define CFG_CPMFCR_RAMTYPE 0 /* BDs and buffers on 60x bus */
#define CFG_FCC_PSMR (FCC_PSMR_FDE | FCC_PSMR_LPB) /* Full duplex */
#define CONFIG_MII /* MII PHY management */
#define CONFIG_BITBANGMII /* bit-bang MII PHY management */
Sincerely,
Jie
---------------------------------
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20070204/c5032971/attachment.htm
next reply other threads:[~2007-02-05 6:15 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-05 6:15 jie han [this message]
2007-02-05 13:10 ` [U-Boot-Users] ethernet on FCC Jerry Van Baren
2007-02-09 2:39 ` jie han
-- strict thread matches above, loose matches on Subject: below --
2006-11-08 17:16 Lei Sun
2006-11-08 17:39 ` Ben Warren
2006-11-08 18:59 ` Lei Sun
2006-11-08 19:26 ` Ben Warren
2006-11-08 21:10 ` Lei Sun
2006-11-08 17:07 Lei Sun
2006-11-08 20:13 ` Wolfgang Denk
2004-11-03 9:16 [U-Boot-Users] Ethernet On FCC Vikrant_Basotra
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=397059.16074.qm@web15101.mail.cnb.yahoo.com \
--to=jiehanca@yahoo.com.cn \
--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