From: Marco Cavallini <arm.linux@koansoftware.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] AT91 u-boot lowlevel init Dataflash
Date: Tue, 06 Jun 2006 11:42:24 +0200 [thread overview]
Message-ID: <44854E00.8020303@koansoftware.com> (raw)
In-Reply-To: <44853F10.3060600@koansoftware.com>
Andreas Schweigstill ha scritto:
> 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.
Thanks to Andreas who clarified this procedure:
> I can't and I don't want to store anything into internal SRAM.
> I simply want to use Dataflash AT45xxx instead of Parallel AT49xxx
> Nope, that doesn't work. Read the AT91RM9200 manual. The internal
> SRAM is the only memory which is always available to the ROM
> boot code. When a Dataflash is your only external ROM/Flash it's
> first sectors are copied to the SRAM. It isn't possible to
> execute directly from Dataflash.
Reading AT91RM9200 datasheet
=====
7. Boot Program
7.1 Overview
The Boot Program is capable of downloading an application in an
AT91RM9200-based system.
It integrates a Bootloader and a boot Uploader to assure correct
information download.
The Bootloader is activated first. It looks for a sequence of eight
valid ARM exception vectors in
a DataFlash connected to the SPI, an EEPROM connected to the Two-wire
Interface (TWI) or
an 8-bit memory device connected to the external bus interface (EBI).
All these vectors must be
Bbranch or LDR load register instructions except for the sixth
instruction. This vector is used to
store information, such as the size of the image to download and the
type of DataFlash device.
If a valid sequence is found, code is downloaded into the internal SRAM.
This is followed by a remap and a jump to the first address of the SRAM.
=====
This boot program is executed ONLY if NRST signal is disconnected
(Remove R159 on AT91RM9200-DK board)so RomBoot will be necessary if you
have only a DataFlash.
Ciao
--
Marco Cavallini
Koan s.a.s. - Bergamo - ITALIA
Embedded and Real-Time Software Engineering
www.KoanSoftware.com | www.KaeilOS.com
next prev parent reply other threads:[~2006-06-06 9:42 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 [this message]
2006-06-06 10:02 ` Peter Menzebach
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=44854E00.8020303@koansoftware.com \
--to=arm.linux@koansoftware.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