* [U-Boot-Users] [PATCH] IceCube fixed and cleaned up SDRAM init
@ 2004-04-13 10:03 Mark Jonas
2004-04-13 13:08 ` [U-Boot-Users] IceCube 10/100 Mbit Ethernet Peter Graf
2004-04-18 23:21 ` [U-Boot-Users] [PATCH] IceCube fixed and cleaned up SDRAM init Wolfgang Denk
0 siblings, 2 replies; 4+ messages in thread
From: Mark Jonas @ 2004-04-13 10:03 UTC (permalink / raw)
To: u-boot
Hello,
the attached patch fixes a problem with the SDRAM init code for IceCube
(Lite5xxx) I experienced when using LOWBOOT images. In my case U-Boot
would always die when doing the first access to SDRAM after
initialization which is usually done when trying to find out how big the
SDRAM is.
I found that no sync instructions where used the synchronize the program
flow during SDRAM initialization. This is fixed now. Additionally, I
cleaned up the code and moved all the SDRAM chip specific constants into
separate include files. The SDRAM initilization itself should be better
readable now, too, by merging the DDR / SDR and the MGT5100 / MPC5200
code as cleanly as possible.
The code was tested on a Lite5200 (16 MB Flash, LOWBOOT), a Lite5200DDR
(16 MB Flash, LOWBOOT) and a Lite5100 (8MB Flash).
Regards
Mark Jonas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: icecube_sdram.log
Url: http://lists.denx.de/pipermail/u-boot/attachments/20040413/018105ff/attachment.txt
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: icecube_sdram.stat
Url: http://lists.denx.de/pipermail/u-boot/attachments/20040413/018105ff/attachment-0001.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: icecube_sdram.patch.gz
Type: application/gzip
Size: 2809 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20040413/018105ff/attachment.bin
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot-Users] IceCube 10/100 Mbit Ethernet
2004-04-13 10:03 [U-Boot-Users] [PATCH] IceCube fixed and cleaned up SDRAM init Mark Jonas
@ 2004-04-13 13:08 ` Peter Graf
2004-04-13 13:39 ` Wolfgang Denk
2004-04-18 23:21 ` [U-Boot-Users] [PATCH] IceCube fixed and cleaned up SDRAM init Wolfgang Denk
1 sibling, 1 reply; 4+ messages in thread
From: Peter Graf @ 2004-04-13 13:08 UTC (permalink / raw)
To: u-boot
Hi,
has anybody an idea why the MPC5200 ethernet device is forced into 10
Mbit operation? The comment in include/configs/icecube.h just says:
"Workaround for FEC 100 Mbit problem". I wonder what the problem is.
Thanks for any hints,
Peter
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot-Users] IceCube 10/100 Mbit Ethernet
2004-04-13 13:08 ` [U-Boot-Users] IceCube 10/100 Mbit Ethernet Peter Graf
@ 2004-04-13 13:39 ` Wolfgang Denk
0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2004-04-13 13:39 UTC (permalink / raw)
To: u-boot
In message <407BE635.40105@itknet.de> you wrote:
>
> has anybody an idea why the MPC5200 ethernet device is forced into 10
> Mbit operation? The comment in include/configs/icecube.h just says:
> "Workaround for FEC 100 Mbit problem". I wonder what the problem is.
Please check out a more recent version of U-Boot (i. e. 1.1.0)
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
"Success covers a multitude of blunders." - George Bernard Shaw
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot-Users] [PATCH] IceCube fixed and cleaned up SDRAM init
2004-04-13 10:03 [U-Boot-Users] [PATCH] IceCube fixed and cleaned up SDRAM init Mark Jonas
2004-04-13 13:08 ` [U-Boot-Users] IceCube 10/100 Mbit Ethernet Peter Graf
@ 2004-04-18 23:21 ` Wolfgang Denk
1 sibling, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2004-04-18 23:21 UTC (permalink / raw)
To: u-boot
Dear Mark,
in message <407BBAFC.8080402@motorola.com> you wrote:
>
> * Patch by Mark Jonas, 13 Apr 2004:
> - Add sync instructions to IceCube SDRAM init code
> - Move SDRAM chip constants into seperate include files
> - Unify DDR and SDR initialization code
Thanks - added.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
...computer hardware progress is so fast. No other technology since
civilization began has seen six orders of magnitude in performance-
price gain in 30 years. - Fred Brooks, Jr.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-04-18 23:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-13 10:03 [U-Boot-Users] [PATCH] IceCube fixed and cleaned up SDRAM init Mark Jonas
2004-04-13 13:08 ` [U-Boot-Users] IceCube 10/100 Mbit Ethernet Peter Graf
2004-04-13 13:39 ` Wolfgang Denk
2004-04-18 23:21 ` [U-Boot-Users] [PATCH] IceCube fixed and cleaned up SDRAM init Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox