All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tolunay Orkun <listmember@orkun.us>
To: Wolfgang Denk <wd@denx.de>
Cc: White <white@from-b.org>, linuxppc-embedded@ozlabs.org
Subject: Re: Upgrading cramfs root file system while running (DENX wrote that is not possible)
Date: Sat, 22 Apr 2006 13:50:26 -0500	[thread overview]
Message-ID: <444A7AF2.5010605@orkun.us> (raw)
In-Reply-To: <20060421165548.A03E53526B7@atlas.denx.de>

Wolfgang Denk wrote:
> In message <44485B3F.8080308@orkun.us> you wrote:
>   
>> If your bootloader is U-Boot and you are using standard bootm command to 
>> boot, U-Boot decompresses the initrd image to RAM before passing the 
>> file system to Linux. So, you are not working with flash copy and 
>> updating the flash copy is not a problem at all. This applies to ext2, 
>> cramfs or squashfs based initrd.
>>     
>
> But it makes no sense to use cramfs or squashfs on a ramdisk.
> You *want* to run these directly from flash.
> But then, of course, you need alternate images (or other tricks)
> for full image updates.
>   
Well, we lose a couple of MB of RAM but squashfs as initrd has been 
reliable, very compact and since the file system is in RAM, it is faster 
and we can tune a bit for smaller cache etc. 

Image updates have been extremely easy as a result, we did not need to 
resort to alternate images and other tricks as a result. If you have 
more flexibility in RAM than in flash, our approach makes sense without 
complicating the matter much. I understand that not everyone might have 
this option.
> [Single file updates can be done using overlay file systems; see  the
> DULG for details.]
I know about the overlay fs. There is also unionfs that works similarly.

Best regards,
Tolunay

  reply	other threads:[~2006-04-22 18:50 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-06 20:38 Upgrading cramfs root file system Antonio Di Bacco
2006-04-19  7:42 ` Wojciech Kromer
2006-04-20 19:54   ` Antonio Di Bacco
2006-04-20 20:18     ` White
2006-04-20 21:03       ` Upgrading cramfs root file system while running (DENX wrote that is not possible) Antonio Di Bacco
2006-04-20 21:08         ` Antonio Di Bacco
2006-04-21  4:10         ` Tolunay Orkun
2006-04-21  5:51           ` antonio.dibacco
2006-04-21 16:57             ` Wolfgang Denk
2006-04-22 19:07               ` Tolunay Orkun
2006-04-21 16:55           ` Wolfgang Denk
2006-04-22 18:50             ` Tolunay Orkun [this message]
2006-04-21  6:53         ` David Jander
2006-04-21 20:23           ` Wolfgang Denk
2006-04-21 21:32             ` Antonio Di Bacco
2006-04-22 11:40               ` Stefan Eletzhofer
2006-04-22 19:21                 ` Upgrading cramfs root file system while running (DENX wrote that is not possible)I Antonio Di Bacco
2006-04-22 19:53               ` Upgrading cramfs root file system while running (DENX wrote that is not possible) Tolunay Orkun
     [not found]       ` <20060420211120.GA3546@mail.gnudd.com>
2006-04-20 21:37         ` Antonio Di Bacco
2006-04-21  6:42       ` Upgrading cramfs root file system Wojciech Kromer

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=444A7AF2.5010605@orkun.us \
    --to=listmember@orkun.us \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=wd@denx.de \
    --cc=white@from-b.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 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.