From: "David H. Lynch Jr." <dhlii@dlasys.net>
To: Grant Likely <grant.likely@secretlab.ca>
Cc: Linuxppc-embedded@ozlabs.org
Subject: Re: Booting from RAM Disk
Date: Sat, 07 Jan 2006 15:42:24 -0500 [thread overview]
Message-ID: <43C027B0.2070409@dlasys.net> (raw)
In-Reply-To: <43BF5302.4030602@secretlab.ca>
Grant Likely wrote:
> David H. Lynch Jr. wrote:
>
>> initramfs does nto exist in 2.4, but despite a dearth of information it
>>works extremely well in 2.6.
>>
>> Set CONFIG_INITRAMFS=path to directory tree to build into ramdisk, and
>>the kernel building process will take care of most evrything else.
>>Unlike initrd, there are not two separate files, that each have to be
>>loaded. The initial ramdisk is part of the kernel image, gets
>>uncompressed by the kernel, and is just generally painless - except for
>>the scarcity of documentation.
>
> So... have are been able to use initramfs as a drop in replacement for
> initrd, or did you have to jump through extra hoops? I attempted to use
> initramfs a few months ago, but wasn't ever able to get it to run init.
>
> g.
>
I can't exactly answer that - While I have used both, The only one I
have actually tried to put onto an embedded system is initramfs.
I normallly use Debian which puts together an initrd for you fairly easily.
I used Gentoo on a few systems and it uses initramfs - but it seems to
use it in an odd configuration similair to initrd, where the Ramdisk
image is a separate file.
I have never tried to build an initrd system.
I like initramfs - the only problem I had putting it together was
finding the information to do it.
In the instance of the E12 I needed something that was wrapped into a
single file with the kernl. The E12 already had an elf loader, but all
it did was load elf files. It did not handle ramdisk other images etc.
INITRAMFS provided a means to start on the E12 without having to write
another loader.
next prev parent reply other threads:[~2006-01-07 20:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-06 21:19 Booting from RAM Disk Matt Jerdonek
2006-01-06 22:16 ` Matt Jerdonek
2006-01-07 4:59 ` David H. Lynch Jr.
2006-01-07 5:34 ` Grant Likely
2006-01-07 20:42 ` David H. Lynch Jr. [this message]
2006-01-09 16:50 ` Grant Likely
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=43C027B0.2070409@dlasys.net \
--to=dhlii@dlasys.net \
--cc=Linuxppc-embedded@ozlabs.org \
--cc=grant.likely@secretlab.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).