public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Peter Menzebach <pm@mw-itcon.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] AT91 u-boot lowlevel init Dataflash
Date: Tue, 06 Jun 2006 12:02:06 +0200	[thread overview]
Message-ID: <4485529E.2050900@mw-itcon.de> (raw)
In-Reply-To: <44853F10.3060600@koansoftware.com>

Marco Cavallini wrote:
> 
> BTW I wonder if could be useful (and appreciated) if I should merge 
> RomBoot settings into u-boot allowing u-boot to be the one and only 
> loader for Dataflash too.
> 
> Ciao
Hi,
this is *not* possible, if you want to use only dataflash. *No* code can 
be executed directly out of the dataflash, since the access is serial 
and therefore it is not directly adressable by the CPU.

So the boot sequence (slightly simplified) is as follows:

- The internal boot code in ROM within the CPU copies up to 12K of code 
from dataflash to internal SRAM (this is romboot) and starts it.
- romboot initializes CPU frequencies and sets up SDRAM (normally the 
CPU runs after this at 180 MHZ on the DK board, unless you got a buggy 
version of precompiled romboot.
- romboot now copies u-boot to SDRAM and starts it.

It use the romboot version from teest.com, which Andreas mentioned and 
this sequence works fine with the recent u-boot releases.

You will find more information about this in various documents related 
to the processor and the dk board on the atmel home page..

Best regards
Peter

-- 
Peter Menzebach
Menzebach und Wolff IT-Consulting GbR
Phone +49 751 355 387 1

      parent reply	other threads:[~2006-06-06 10:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-05 16:43 [U-Boot-Users] AT91 u-boot lowlevel init Dataflash Marco Cavallini
2006-06-06  8:10 ` Andreas Schweigstill
2006-06-06  8:38   ` Marco Cavallini
2006-06-06  9:42     ` Marco Cavallini
2006-06-06 10:02     ` Peter Menzebach [this message]

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=4485529E.2050900@mw-itcon.de \
    --to=pm@mw-itcon.de \
    --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