public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] About compression and Decompression ???
@ 2001-09-25  4:14 sreenivas y.p.s.s
  2001-09-25  4:22 ` Jesper Skov
  0 siblings, 1 reply; 2+ messages in thread
From: sreenivas y.p.s.s @ 2001-09-25  4:14 UTC (permalink / raw)
  To: ecos-discuss

Hi,
I have two  questions about compressoin and decompression in RedBoot

my question1:
How will i compress a image in RedBoot. Is there any command available ?

If at all the image is a compressed format, then using either 'load' or
'fis load' command we can decompress and put in to RAM.

But, I need to put compressed image in to flash. How can i do that?
using 'fis write' there is no option for to compress the image and put
in to flash.

my question2:
Generally, how much heap memory is required for a size of 1MB image to
be compressed using 'deflation ' Algorithm.

Thanks in advance.

Sreenivas



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] About compression and Decompression ???
  2001-09-25  4:14 [ECOS] About compression and Decompression ??? sreenivas y.p.s.s
@ 2001-09-25  4:22 ` Jesper Skov
  0 siblings, 0 replies; 2+ messages in thread
From: Jesper Skov @ 2001-09-25  4:22 UTC (permalink / raw)
  To: sreenivas y.p.s.s; +Cc: ecos-discuss

>>>>> "sreenivas" == sreenivas y p s s <sreenivas@multitech.co.in> writes:

sreenivas> Hi, I have two questions about compressoin and
sreenivas> decompression in RedBoot

sreenivas> my question1: How will i compress a image in RedBoot. Is
sreenivas> there any command available ?

No.

sreenivas> If at all the image is a compressed format, then using
sreenivas> either 'load' or 'fis load' command we can decompress and
sreenivas> put in to RAM.

sreenivas> But, I need to put compressed image in to flash. How can i
sreenivas> do that?  using 'fis write' there is no option for to
sreenivas> compress the image and put in to flash.

Compress the image before downloading it to the target.

sreenivas> my question2: Generally, how much heap memory is required
sreenivas> for a size of 1MB image to be compressed using 'deflation '
sreenivas> Algorithm.

I think the gunzip algorithm has a fixed overhead of something like
64kB.

Jesper

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-09-25  4:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-25  4:14 [ECOS] About compression and Decompression ??? sreenivas y.p.s.s
2001-09-25  4:22 ` Jesper Skov

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 read-only IMAP folder(s) and NNTP newsgroup(s).