* [U-Boot-Users] Query related to POST of SDRAM
@ 2005-04-05 14:02 Vikrant_Basotra
2005-04-05 15:05 ` Jerry Van Baren
2005-04-05 16:19 ` Wolfgang Denk
0 siblings, 2 replies; 3+ messages in thread
From: Vikrant_Basotra @ 2005-04-05 14:02 UTC (permalink / raw)
To: u-boot
Hi All,
In file post/memeory.c the following comment is there
/*
* This is 64 bit wide test patterns. Note that they reside in ROM
* (which presumably works) and the tests write them to RAM which may
* not work.
*
* The "otherpattern" is written to drive the data bus to values other
* than the test pattern. This is for detecting floating bus lines.
*
*/
This comment gives an hint that this code is specifically for the 64 bit
wide SDRAM only.
I ran the same code on the ep8248 board in which the port size of the RAM is
32 bits it worked there, didn't throw any error.
I just want to make it sure that, if the port size of the RAM is 32 bits
will this test work with out any modifications or do I have to make some
changes.
Regards,
Vikrant
**************************************************************************
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] Query related to POST of SDRAM
2005-04-05 14:02 [U-Boot-Users] Query related to POST of SDRAM Vikrant_Basotra
@ 2005-04-05 15:05 ` Jerry Van Baren
2005-04-05 16:19 ` Wolfgang Denk
1 sibling, 0 replies; 3+ messages in thread
From: Jerry Van Baren @ 2005-04-05 15:05 UTC (permalink / raw)
To: u-boot
Vikrant_Basotra wrote:
> Hi All,
> In file post/memeory.c the following comment is there
> /*
> * This is 64 bit wide test patterns. Note that they reside in ROM
> * (which presumably works) and the tests write them to RAM which may
> * not work.
> *
> * The "otherpattern" is written to drive the data bus to values other
> * than the test pattern. This is for detecting floating bus lines.
> *
> */
> This comment gives an hint that this code is specifically for the 64 bit
> wide SDRAM only.
> I ran the same code on the ep8248 board in which the port size of the RAM is
> 32 bits it worked there, didn't throw any error.
> I just want to make it sure that, if the port size of the RAM is 32 bits
> will this test work with out any modifications or do I have to make some
> changes.
>
> Regards,
> Vikrant
Confirmed: the processor in hardware does the size translation between
the register load/store size (64 bits) and the memory bus (could be
8/16/32/64 bits in various processors and configurations) by doing
multiple bus cycles as necessary.
The intent of using 64 bit transactions is to stress the bus and use all
of the bus bits when running a 64 bit wide bus.
gvb
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] Query related to POST of SDRAM
2005-04-05 14:02 [U-Boot-Users] Query related to POST of SDRAM Vikrant_Basotra
2005-04-05 15:05 ` Jerry Van Baren
@ 2005-04-05 16:19 ` Wolfgang Denk
1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2005-04-05 16:19 UTC (permalink / raw)
To: u-boot
In message <3D9FDCA910DD4445896A0BE5ECF009D45098F1@bla.satyam.com> you wrote:
>
> In file post/memeory.c the following comment is there
There is no such file in the U-Boot code :-)
> This comment gives an hint that this code is specifically for the 64 bit
> wide SDRAM only.
No. This is NOT the right conclusion. Please read here:
This is helpful for testing memory on processors which have a 64 bit
wide data bus.
> I just want to make it sure that, if the port size of the RAM is 32 bits
> will this test work with out any modifications or do I have to make some
> changes.
The test works on 32 wide busses, too.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"The net result is a system that is not only binary compatible with
4.3 BSD, but is even bug for bug compatible in almost all features."
- Avadit Tevanian, Jr., "Architecture-Independent Virtual Memory
Management for Parallel and Distributed Environments: The Mach
Approach"
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-04-05 16:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-05 14:02 [U-Boot-Users] Query related to POST of SDRAM Vikrant_Basotra
2005-04-05 15:05 ` Jerry Van Baren
2005-04-05 16:19 ` Wolfgang Denk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.