[U-Boot-Users] problems reading phy on the M5282Lite

I can not get U-Boot 1.1.3 to read from or write to the KS8721 PHY on the M5282Lite EVB. Is there something I need to be aware of to get this working?
I've enabled CFG_DISCOVER_PHY, but it is always coming back with a 0 for the type.
Thank you!

On 8/31/05, David Peters davidp@matrixpd.com wrote:
I can not get U-Boot 1.1.3 to read from or write to the KS8721 PHY on the M5282Lite EVB. Is there something I need to be aware of to get this working?
I've enabled CFG_DISCOVER_PHY, but it is always coming back with a 0 for the type.
David,
The FEC structure in immap_5282.h is incorrect in u-boot 1.1.3. Search the mailing list, this has been discussed before.

The FEC structure in immap_5282.h is incorrect in u-boot 1.1.3. Search the mailing list, this has been discussed before.
-- Zachary P. Landau kapheine@gmail.com
I see in a previous posting that you had a link to an updated immap_5282.h. Can I get this file from you? Are there other changes that I need to be aware of? I'll continue to look through the mailings.
Thank you!

On 8/31/05, David Peters davidp@matrixpd.com wrote:
The FEC structure in immap_5282.h is incorrect in u-boot 1.1.3. Search the mailing list, this has been discussed before.
I see in a previous posting that you had a link to an updated immap_5282.h. Can I get this file from you? Are there other changes that I need to be aware of? I'll continue to look through the mailings.
David,
An updated copy is attached. Also, my copy of u-boot with 5282 changes is here[1]. There are a series of 5282 changes a few of us have made that are begging for integration, but none of us seem to have the time to make any official patches. If you have the time, you may want to take a shot at that.
The main changes that I can think of are 1) FEC fixes 2) Removal of requirement for a pre-loader 3) Booting from internal flash 4) support for writing to internal flash.
The internal flash support is tricky. I haven't yet found a good way to support using two flash drivers at once (CFI for the external flash and CFM for the internal flash). Also, you may want to search the mailing list for NZG's 5282 tarball. His has correct timer support (mine isn't quite right) and possibly some other helpful changes.
[1] http://divineinvasion.net/tmp/u-boot-5282.tar.bz2

I have some time and I am willing to help with this. Just give me some time to go through your changes.
By the way, NZG's 5282 tarball is no longer available as it was posted on this list. Does anyone have a copy of it?
Mike
Zachary P. Landau wrote:
On 8/31/05, David Peters davidp@matrixpd.com wrote:
The FEC structure in immap_5282.h is incorrect in u-boot 1.1.3. Search the mailing list, this has been discussed before.
I see in a previous posting that you had a link to an updated immap_5282.h. Can I get this file from you? Are there other changes that I need to be aware of? I'll continue to look through the mailings.
David,
An updated copy is attached. Also, my copy of u-boot with 5282 changes is here[1]. There are a series of 5282 changes a few of us have made that are begging for integration, but none of us seem to have the time to make any official patches. If you have the time, you may want to take a shot at that.
The main changes that I can think of are 1) FEC fixes 2) Removal of requirement for a pre-loader 3) Booting from internal flash 4) support for writing to internal flash.
The internal flash support is tricky. I haven't yet found a good way to support using two flash drivers at once (CFI for the external flash and CFM for the internal flash). Also, you may want to search the mailing list for NZG's 5282 tarball. His has correct timer support (mine isn't quite right) and possibly some other helpful changes.
participants (3)
-
David Peters
-
Michael Broughton
-
Zachary P. Landau