linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Linh Dang" <linhd@nortelnetworks.com>
To: "Robert P. J. Day" <rpjday@mindspring.com>
Cc: "Embedded Linux PPC list" <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: list of 2.6-related migration issues for embedded programmers?
Date: Tue, 20 Jul 2004 09:19:05 -0400	[thread overview]
Message-ID: <wn5isci95py.fsf@linhd-2.ca.nortel.com> (raw)
In-Reply-To: <Pine.LNX.4.60.0407200830400.4974@localhost.localdomain> (Robert P. J. Day's message of "Tue, 20 Jul 2004 08:32:27 -0400")


On 20 Jul 2004, rpjday@mindspring.com wrote:

> On Tue, 20 Jul 2004, Linh Dang wrote:
>
>>
>> On 20 Jul 2004, wd@denx.de wrote:
>>
>>> In message <wn5zn5v8nl8.fsf@linhd-2.ca.nortel.com> you wrote:
>>>>
>>>> - I failed to see what in initramfs mechanism would prevent
>>>> one from having "separated images which can be updated
>>>> independently of each other."
>>>
>>> initramfs gets linked with the kernel into one image, similar to
>>
>> But you don't have to. What ever you can do with the good-old
>> initrd image you can do with the new initramfs (really cpio
>> archive) image. The main difference is the creation: genext2fs vs
>> cpio.
>>
>> I just happen to use zImage.initrd (where ramdisk.image.gz is a
>> cpio archive) in our project because it's the most appropriate for
>> our situation.
>
> i have to agree with wolfgang here -- how would you create and use
> an initramfs image separately from the kernel image?  the only
> possibility i can see based on my perusal is to incorporate the
> initramfs into the zImage.initrd.

Hmm, I will have to try it (when I have time). From reading the kernel
code, the kernel itself doesn't care where the initramfs came from
(whether it's in the .ramdisk section or it's passed from the
bootloader). The kernel decompresses the data at initrd_start and look
for cpio magic. if that failed, it'll try to use the data as a
compress fs image.

I've never tried uboot because we have our own custom bootloader here
(for our own proprietary boards) so I have no idea about uboot's
features/limitations.

Regards

--
L.D.

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

  reply	other threads:[~2004-07-20 13:19 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-19 12:15 list of 2.6-related migration issues for embedded programmers? Robert P. J. Day
2004-07-19 17:32 ` Linh Dang
2004-07-19 17:51   ` Robert P. J. Day
2004-07-19 18:14     ` Linh Dang
2004-07-19 19:06       ` Robert P. J. Day
2004-07-19 20:01       ` Robert P. J. Day
2004-07-20  1:29         ` Linh Dang
2004-07-19 20:58     ` Wolfgang Denk
2004-07-19 21:34       ` Robert P. J. Day
2004-07-19 22:04         ` Wolfgang Denk
2004-07-19 22:12           ` Robert P. J. Day
2004-07-20  1:38       ` Linh Dang
2004-07-20  7:16         ` Wolfgang Denk
2004-07-20 11:29           ` Linh Dang
2004-07-20 12:32             ` Robert P. J. Day
2004-07-20 13:19               ` Linh Dang [this message]
2004-07-20 12:40             ` Mark Chambers
2004-07-20 13:42             ` Wolfgang Denk
2004-07-20 16:07               ` Linh Dang

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=wn5isci95py.fsf@linhd-2.ca.nortel.com \
    --to=linhd@nortelnetworks.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=rpjday@mindspring.com \
    /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).