From: Grant Erickson <gerickson@nuovations.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH v2] PPC405EX(r) ECC and SDRAM Initialization Clean-ups
Date: Mon, 28 Apr 2008 14:47:32 -0700 [thread overview]
Message-ID: <C43B9404.EDFD%gerickson@nuovations.com> (raw)
In-Reply-To: <20080428212741.B6CE0248A6@gemini.denx.de>
On 4/28/08 2:27 PM, Wolfgang Denk wrote:
> In message <1209401636-9846-1-git-send-email-gerickson@nuovations.com> you
> wrote:
>> The primary goal of these changes is to unify some of the low-level
>> SDRAM and ECC initialization code for the PPC4xx processors that use a
>> common DDR2 SDRAM controller.
>>
>> In particular, in the case of the 405EX[r], it must initialize SDRAM
>> before a primordial stack is available since OCM doesn't exist and the
>> data cache does not work for such a purpose. As a consequence, the ECC
>> (and SDRAM) initialization code must be stack-free.
>
> Stefan already asked this... I would also like to understand why the
> data cache cannot be used for initial RAM as we do on so many other
> systems?
Agreed. The changes were based on the comments in the Kilauea and Makalu
board ports indicating that this had been attempted--twice--and didn't work.
I am escalating with AMCC to find out if this is a processor errata, board
issue or just a programming issue that needs to be investigated further.
> I hesitate to throw away good C code in favour of hard to read, hard
> to maintain assembly, especially if this also breaks with some of the
> U-Boot design principles.
Again, agreed wholeheartedly though I have to remark that I made a
particular effort to make the assembly as readable and as generalized as
possible.
Regards,
Grant
next prev parent reply other threads:[~2008-04-28 21:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-28 16:53 [U-Boot-Users] [PATCH v2] PPC405EX(r) ECC and SDRAM Initialization Clean-ups Grant Erickson
2008-04-28 16:53 ` Grant Erickson
2008-04-28 21:22 ` Wolfgang Denk
2008-04-28 21:27 ` Wolfgang Denk
2008-04-28 21:47 ` Grant Erickson [this message]
2008-04-28 22:59 ` kenneth johansson
2008-04-29 9:42 ` Stefan Roese
2008-04-29 20:39 ` [U-Boot-Users] Using Data Cache for the Primordial Stack on the 405EX[r] (was Re: [PATCH v2] PPC405EX(r) ECC and SDRAM Initialization Clean-ups) Grant Erickson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C43B9404.EDFD%gerickson@nuovations.com \
--to=gerickson@nuovations.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.