855T FEC error
Dear all,
We have u-boot (1.0.0) running on our custom board :)
Our board uses 855T and LXT972A.
Trying to do:
ACM=> bootp
Trying FEC ETHERNET
PHY type 0x13 pass 1 type PHY @ 0x0 pass 1 type LXT971 BOOTP broadcast 1
TX timeout
fec.c[134] fec_send: cycles: 100 status: 8c00 retry cnt: 0
With a login analyzer we can see that after some time the TX_ER is raised and TX_EN not.
The PHY seem to work OK. The LED's light correctly and we can see the 25MHz TX and TX MII clocks.
Reading the registers with u-boot's mii read, the registers are the same as the TQM860L.
We use the same configuration as TQM855L.h, but we add - CONFIG_8xx_GCLK_FREQ 50000000.
I don't think its related to this problem, but we cannot save the u-boot environment. It is saved to the flash at 4000c000 but does not appear after reset following printenv. I didn't have time to look into this issue yes.
Last but not least, I wish to thank you all, the information in this list helped us very much.
Any suggestions ?
Thank you,
Eli Brin
Dear Eli,
Quoted 6 lines · in message <C32B9C30CA0FD81189CF0008024506EE017FEA@ROKMAIL> you wrote:
Trying FEC ETHERNET
PHY type0x13pass 1 type PHY @0x0pass 1 type LXT971 BOOTP broadcast 1
TX timeout
fec.c[134]fec_send: cycles: 100 status: 8c00 retry cnt: 0
...
Quoted 4 lines
Reading the registers with u-boot's mii read, the registers are the same as the TQM860L.
We use the same configuration as
TQM855L.h, but we add -
Do you also use exactly the same clock routing?
My first guess is that you misconfigured the clocks.
Quoted 3 lines
I don't think its related to this problem, but we cannot save the u-boot environment. It is saved to the flash at
4000c000but does not appear after reset following printenv. I didn't have time to look into this issue yes.
You probably have different flash chips so you need to adjust the flash driver, environment location and linker map?
Best regards,
Wolfgang Denk
Signature · 5 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de The main thing is the play itself. I swear that greed for money has nothing to do with it, although heaven knows I am sorely in need of money. - Feodor Dostoyevsky
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Eli Brin writes:
...
Eli> I don't think its related to this problem, but we cannot save Eli> the u-boot environment. It is saved to the flash at 4000c000 Eli> but does not appear after reset following printenv. I didn't Eli> have time to look into this issue yes.
...
It looks like the old problem which appeared first in MPC8xxADS family port and was discussed on this list in June. It was mentioned again several days ago and the consensus was that it was solved long time ago but I had the same problem today on MPC866ADS (and I use the latest U-Boot sources.) Anyway, look at the CFG_MONITOR_LEN define in your board configuration file. If it includes the environment (i.e. you're using "embedded environment") this is most probably the problem. I changed CFG_MONITOR_LEN on my board so that (CFG_MONITOR_BASE + CFG_MONITOR_LEN) does not include the environment and the problem disappeared.
Signature · 4 lines
======================================================================== Yuli Barcohen | Phone +972-9-765-1788 | Software Project Leader yuli at arabellasw.com | Fax +972-9-765-7494 | Arabella Software, Israel ========================================================================
Quoted 8 lines · In message <[email protected]> you wrote:
It looks like the old problem which appeared first in MPC8xxADS family port and was discussed on this list in June. It was mentioned again several days ago and the consensus was that it was solved long time ago but I had the same problem today on MPC866ADS (and I use the latest U-Boot sources.) Anyway, look at the
CFG_MONITOR_LENdefine in your board configuration file. If it includes the environment (i.e. you're using "embedded environment") this is most probably the problem. I
Yuli, please stop spreading FUD!
Your statement is bogus.
We use embedded flash environments on nearly all of our boards without any problems.
Of course you have to get the configuration right, i. e. the environment address as defined in the board config file must match the flash chip's sector layout, and your linker script must match that, too.
Best regards,
Wolfgang Denk
Signature · 4 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de You see but you do not observe. Sir Arthur Conan Doyle, in "The Memoirs of Sherlock Holmes"