public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] U-Boot and Nand Flash
Date: Thu, 09 Sep 2004 20:10:47 +0200	[thread overview]
Message-ID: <20040909181052.00E7FC1430@atlas.denx.de> (raw)
In-Reply-To: Your message of "Thu, 09 Sep 2004 10:55:35 PDT." <963b3387040909105576176dee@mail.gmail.com>

In message <963b3387040909105576176dee@mail.gmail.com> you wrote:
> 
> > U-Boot will NOT fit into a 16 kB block. And U-Boot cannot be made  to
> > boot  directly  from  such  a  block.  You  will  need to implement a
> > different loader.
> 
> So I guess that my best option would be to use a small primary
> bootloader to boot U-Boot from RAM.

Indeed.

> If I am reading everything correctly, I should have to change the
> reset and start locations (.resetvec and .bootpg) along with the setup
> of the MMU (as all TLB Entries are cleared currently.)

Remember that U-Boot does not use virtual memory.

> I'm probably missing other steps that are required, I'll be looking at
> the startup code in more detail.

Indeed. You will ahve to re-invent all CPU and memory controller init
stuff in your primary bootstrap loader, and disable them  in  U-Boot.
It's serious surgery...

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
The most exciting phrase to hear in science, the one that heralds new
discoveries, is not "Eureka!" (I found it!) but "That's funny ..."
                                                      -- Isaac Asimov

  reply	other threads:[~2004-09-09 18:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-08 21:47 [U-Boot-Users] U-Boot and Nand Flash Bradley Remedios
     [not found] ` <20040908222959.65920.qmail@web11701.mail.yahoo.com>
2004-09-08 23:18   ` Bradley Remedios
2004-09-09  0:20     ` Wolfgang Denk
2004-09-09 17:55       ` Bradley Remedios
2004-09-09 18:10         ` Wolfgang Denk [this message]
2004-09-23  6:55       ` Markus Pietrek
2004-09-23 15:05         ` Wolfgang Denk
2004-10-29  7:44           ` Markus Pietrek
2004-10-29 16:06             ` Wolfgang Denk
2004-09-09  0:15 ` 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=20040909181052.00E7FC1430@atlas.denx.de \
    --to=wd@denx.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