public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Markus Pietrek <mpietrek@fsforth.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] NAND booting on S3C2410 and NS9750
Date: Wed, 10 Dec 2003 09:45:29 +0100	[thread overview]
Message-ID: <200312100945.29258.mpietrek@fsforth.de> (raw)

Hi folks,

we'd like to use U-Boot (1.0) on our S3C2410 and NS9750 ARM920 platforms, but 
will be using NAND flash only. If i'm informed correctly NAND Booting is not 
yet supported in U-Boot. Therefore I would have to add this myself and want 
to share my ideas before.

o The relocation  in cpu/arm920t/start.S (after relocate:) needs to be
  replaced by generic code reading the bootloader blocks from NAND and put
  them in RAM. The NAND_read_block functions are processor/board specific and
  need to be placed somewhere in board/smdk2410/ etc.
o As the S3C2410 reads only the first 4kB of the NAND itself, this code must
   be placed altogether in the first 4kB
o The linker script needs to be modified to put _start, _armboot_start, 
  _armboot_end and _TEXT_BASE in the first 4kB, too, so u-boot can be placed
   correctly at the end of the RAM 
o  for NAND flashes only, the relocation code may need only the number of
   blocks to read or may determine that itself by _armboot_end. But using a
   "block list" programmed into, U-Boot could be used on smart media cards
   with part of the boot-loader in the filesystem, too.

Any comments?

Best regards,

-- 
Markus Pietrek
FS Forth-Systeme GmbH
Phone: +49 (7667) 908 145,  FAX +49 (7667) 908 221

                 reply	other threads:[~2003-12-10  8:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200312100945.29258.mpietrek@fsforth.de \
    --to=mpietrek@fsforth.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