From: Jerry Van Baren <gerald.vanbaren@smiths-aerospace.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] CFG_NO_FLASH configuration parameter
Date: Thu, 23 Feb 2006 07:44:35 -0500 [thread overview]
Message-ID: <43FDAE33.8050301@smiths-aerospace.com> (raw)
In-Reply-To: <20060223122107.B7C713525CB@atlas.denx.de>
Wolfgang Denk wrote:
> In message <006d01c63871$b26c26d0$9e01120a@bilisim.local> you wrote:
>> if CFG_NO_FLASH is defined, as you said, means there are no flash
>> memories, where do initial boot instructions located?
>
> For example in RAM. Think of a PCI card which is plugged in a host
> system, where the host runs some software to upload some code into
> the PCI card's memory which then gets executed. See the PN62 board
> for such a configuration.
>
> There are several other methods to load U-Boot into RAM - for example
> by using an initial bootstrap loader as used on some system to boot
> from NAND flash or dataflash.
>
> Best regards,
>
> Wolfgang Denk
...and that RAM has to be connected to CS0 (typ) if it is truly "no ROM"
(no flash).
* If it is SDRAM, someone other than u-boot must initialize it so that
it is functional when reset is released.
* Someone other than u-boot must load u-boot (or other program) into the
RAM while the processor is held in reset, and then release reset.
* The processor doesn't care if it is booting out of RAM or ROM or core
memory. It fetches instructions and executes them. It always does the
same thing on release of reset - you cannot change it other than what
the chip manufacturer provided for. It is your responsibility to have
instructions in the right place and available when you release reset
(e.g. for the 603e core lowboot: 0x00000100, highboot: 0xFFFFF100).
Disclaimer: I believe there are systems out there that use CFG_NO_FLASH
but actually have a minimal boot memory (ROM/flash/eeprom) that
initialize SDRAM and then spin until the host downloads the program
(e.g. u-boot) and says "go". The above discussion doesn't apply to them.
gvb
prev parent reply other threads:[~2006-02-23 12:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-23 7:12 [U-Boot-Users] CFG_NO_FLASH configuration parameter Mustafa Çayır
2006-02-23 11:08 ` Wolfgang Denk
2006-02-23 12:07 ` Mustafa Çayir
2006-02-23 12:21 ` Wolfgang Denk
2006-02-23 12:44 ` Jerry Van Baren [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=43FDAE33.8050301@smiths-aerospace.com \
--to=gerald.vanbaren@smiths-aerospace.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