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!
Quoted 6 lines · David Peters
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.
Signature · 1 line
Zachary P. Landau <[email protected]>
Quoted 6 lines
The FEC structure in
immap_5282.his incorrect in u-boot 1.1.3. Search the mailing list, this has been discussed before.--
Zachary P. Landau <[email protected]>
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!
Quoted 8 lines · David Peters
Quoted 3 lines
The FEC structure in
immap_5282.his 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
Signature · 1 line
Zachary P. Landau <[email protected]>
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
Quoted 36 lines · Zachary P. Landau
Quoted 10 lines · David Peters
Quoted 4 lines
The FEC structure in
immap_5282.his 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.