From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] 2-step U-boot(?)
Date: Mon, 9 Jun 2008 06:56:36 +0200 [thread overview]
Message-ID: <200806090656.36251.sr@denx.de> (raw)
In-Reply-To: <52CF207E00A9394C8CD1423668654840A8B3DB1E@4rf-nz-exch02.local.4rf.com>
On Monday 09 June 2008, Frank Wei wrote:
> I'm new to u-boot. Has anybody tried to make 2-step u-boot? I mean a really
> small u-boot (the first u-boot) possible only needs to initialize the CPU,
> memory... and load the full featured (the second u-boot) u-boot and the
> Linux to the RAM. In this way the second u-boot as an application can be
> updated on the fly.
>
> Could you please share your knowledge here If you have done the job or the
> similar?
Yes, there already is a framework for a 2-stage U-Boot booting in place. Take
a look at the nand_spl (NAND Secondary Program Loader) infrastructure:
nand_spl/*
doc/README.nand-boot-ppc440
Here a small (4k) image is build which only inits the basic CPU stuff, RAM and
NAND controller. Then a full-blown U-Boot image is loaded from NAND.
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
next prev parent reply other threads:[~2008-06-09 4:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-09 4:31 [U-Boot-Users] 2-step U-boot(?) Frank Wei
2008-06-09 4:56 ` Stefan Roese [this message]
2008-06-09 5:50 ` 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=200806090656.36251.sr@denx.de \
--to=sr@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.