From: Alessandro Rubini <rubini-list@gnudd.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/1] Add support for Eukrea CPU9260 SBC
Date: Thu, 16 Jul 2009 18:41:45 +0200 [thread overview]
Message-ID: <20090716164143.GA9954@mail.gnudd.com> (raw)
In-Reply-To: <4A5F4F09.2090406@eukrea.com>
> I've tried something very close to what is done in tqm8xx but I don't
> manage to get something reliable : either it hangs or I get data abort.
>
> After checking the datasheet, I don't understand how we can change the
> geometry of this SDRAM controler while running from SDRAM
No, you can't. That part must be done while you run from flash.
Actually, this is done in cpu/arm926ejs/at91/lowlevel_init.S,
in the table SMRDATA1.
So, with the current code base, you can't autodetect ram size on the
atmel 926x.
I have the same problem, as I have boards that ship as either 64M or
128M. I'd configure for 128M and look for aliases, reconfiguring for
64M if needed. This can be done in lowlevel_init.S or by setting up a
temporary C environment with sp in static RAM and doing it in C.
In both cases, this doesn't fit the current code base and some
refactoring would be needed to go mainline.
/alessandro
next prev parent reply other threads:[~2009-07-16 16:41 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-16 9:13 [U-Boot] [PATCH 1/1] Add support for Eukrea CPU9260 SBC Eric Benard
2009-07-16 12:29 ` Wolfgang Denk
2009-07-16 12:45 ` Eric Bénard
2009-07-16 14:22 ` Wolfgang Denk
2009-07-16 16:02 ` Eric Bénard
2009-07-16 16:41 ` Alessandro Rubini [this message]
2009-07-16 18:22 ` Eric Bénard
2009-07-17 21:24 ` Wolfgang Denk
2009-07-18 21:10 ` Alessandro Rubini
2009-07-17 21:21 ` Wolfgang Denk
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=20090716164143.GA9954@mail.gnudd.com \
--to=rubini-list@gnudd.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox