linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: sruel@oerlikon.ca
Cc: Scott Anderson <scott_anderson@mvista.com>,
	linuxppc-embedded <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: RPX-CLLF & Flash root filesystem
Date: Wed, 24 Oct 2001 00:55:05 +0200	[thread overview]
Message-ID: <20011023225510.6AE3510CD6@denx.denx.de> (raw)
In-Reply-To: Your message of "Tue, 23 Oct 2001 17:50:37 EDT." <3BD5E62D.8000807@oerlikon.ca>


In message <3BD5E62D.8000807@oerlikon.ca> you wrote:
>
> initrd.txt is only part of the answer. I'm missing info on how to tell
> Linux where to fetch the root filesystem.

This depends on how you load and boot Linux.

> Once a minimal/functional root filesystem has been created (and
> compressed), you have to put it somewhere in the Flash memory (just like
> the Linux image).

When using the "standard" bootloader method, you will run

	make zImage.initrd

which builds a  binary  image  that  contrains  the  bootloader,  the
compressed  Linux kernel image, and the (compressed) ramdisk image as
one file, "zImage.initrd".

With PPCBoot, you can build your kernel and ramdisk images separately
or optionally combine them as one file.

> When the system boots, it needs to "see" this root filesystem that is
> inside the flash.

The bootloader takes care of passing the  correct  arguments  to  the
Linux kernel.

With PPCBoot you pass the addresses of both images  as  arguments  to
the "bootm" command.

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
To the systems programmer,  users  and  applications  serve  only  to
provide a test load.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2001-10-23 22:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-23 19:10 RPX-CLLF & Flash root filesystem Sebastien Ruel
     [not found] ` <3BD5D6F6.1C103CBE@mvista.com>
2001-10-23 21:50   ` Sebastien Ruel
2001-10-23 22:55     ` Wolfgang Denk [this message]
2001-10-24  6:27       ` Jim Thompson
2001-10-24  7:00         ` 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=20011023225510.6AE3510CD6@denx.denx.de \
    --to=wd@denx.de \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=scott_anderson@mvista.com \
    --cc=sruel@oerlikon.ca \
    /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).