From: Dan Malek <dan@embeddededge.com>
To: Kent Borg <kentborg@borg.org>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: boot/simple in ROM?
Date: Thu, 24 Apr 2003 13:13:35 -0400 [thread overview]
Message-ID: <3EA81B3F.9080709@embeddededge.com> (raw)
In-Reply-To: 20030424123313.A8490@borg.org
Kent Borg wrote:
> The boot loader thingie in arch/ppc/boot/simple is nifty. So why
> isn't there a provision for putting it on ROM?
Well, you normally place it in ROM along with the kernel that is
attached.
The purpose of all of these "bootloaders" is to convert a rom
calling sequence into a standard (yes, there is one) Linux start
up call. They also perform any hardware specific "fixups" that
may be necessary prior to calling Linux. Another feature is it
isolates boot rom changes from Linux changes.
The old PPCBoot, and probably the new U-boot, kind of perform
some of these functions. The reason I'm not a fan of doing this
is if we make a change to the Linux calling sequence (which happens
rarely) you also have to update the boot rom to match. Not a good
thing, IMHO.
The other really nice thing about these bootloaders, compressed
kernels, and attached initrd, is you can boot the identical image
from all "devices." For example, during development you can tftp
load the image, get everything working, then place the exact same
bits into a flash rom. Simply jump to the first location of the
image and it will boot from flash.
It's relatively easy to adapt these loaders to any custom product
requirements.
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2003-04-24 17:13 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-24 16:33 boot/simple in ROM? Kent Borg
2003-04-24 17:13 ` Dan Malek [this message]
2003-04-24 17:32 ` Kent Borg
2003-04-24 17:49 ` Mark A. Greer
2003-04-24 18:41 ` Dan Malek
2003-04-24 18:29 ` emanuel stiebler
[not found] <00032EDD.C22236@borg.org>
2003-04-24 17:44 ` Jerry Van Baren
2003-04-24 18:02 ` Mark A. Greer
-- strict thread matches above, loose matches on Subject: below --
2003-04-24 18:06 Kerl, John
2003-04-24 19:15 ` Kent Borg
2003-04-25 12:53 Wells, Charles
2003-04-25 14:48 ` Dan Malek
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=3EA81B3F.9080709@embeddededge.com \
--to=dan@embeddededge.com \
--cc=kentborg@borg.org \
--cc=linuxppc-embedded@lists.linuxppc.org \
/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;
as well as URLs for NNTP newsgroup(s).