* [U-Boot] Starting compressed win CE kernel
@ 2009-09-04 10:14 A. Geisreiter
2009-09-04 11:09 ` Wolfgang Denk
0 siblings, 1 reply; 6+ messages in thread
From: A. Geisreiter @ 2009-09-04 10:14 UTC (permalink / raw)
To: u-boot
Hello,
I use U-Boot for starting Windows CE. At the moment I take the nk.bin File
and start it with the U-Boot patch of Ryan Chen. Now I will compress the
nk.bin file, because in addition to that it takes much less space in the
Flash memory. I have tried it with the unzip command, but it takes too much
time. Can I use another compression tool from u-boot. I think a compressed
linux kernel can be started with bootm. So can I use maybe only the
compression tool of the bootm command? If so, how can I do this?
Thanks,
Andreas
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot] Starting compressed win CE kernel
2009-09-04 10:14 [U-Boot] Starting compressed win CE kernel A. Geisreiter
@ 2009-09-04 11:09 ` Wolfgang Denk
2009-09-04 11:50 ` A. Geisreiter
0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Denk @ 2009-09-04 11:09 UTC (permalink / raw)
To: u-boot
Dear "A. Geisreiter",
In message <000e01ca2d48$728b0890$57a119b0$@de> you wrote:
> Dies ist eine mehrteilige Nachricht im MIME-Format.
Please stop doing this. Please post plain text only. Do not post HTML.
> I use U-Boot for starting Windows CE. At the moment I take the nk.bin File
> and start it with the U-Boot patch of Ryan Chen. Now I will compress the
> nk.bin file, because in addition to that it takes much less space in the
> Flash memory. I have tried it with the unzip command, but it takes too much
> time. Can I use another compression tool from u-boot. I think a compressed
> linux kernel can be started with bootm. So can I use maybe only the
> compression tool of the bootm command? If so, how can I do this?
What makes you think that the uncompression code used by bootm would
be any faster than the one used by unzip? It ain't faster, as it is
the very same code actually.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
ATTENTION: Despite Any Other Listing of Product Contents Found Here-
on, the Consumer is Advised That, in Actuality, This Product Consists
Of 99.9999999999% Empty Space.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot] Starting compressed win CE kernel
2009-09-04 11:09 ` Wolfgang Denk
@ 2009-09-04 11:50 ` A. Geisreiter
2009-09-04 12:17 ` Wolfgang Denk
0 siblings, 1 reply; 6+ messages in thread
From: A. Geisreiter @ 2009-09-04 11:50 UTC (permalink / raw)
To: u-boot
Hello Mr. Denk,
> Please stop doing this. Please post plain text only. Do not post HTML.
Sorry, I don't know it.
> What makes you think that the uncompression code used by bootm would
> be any faster than the one used by unzip? It ain't faster, as it is
> the very same code actually.
If bootm use the same code like the unzip command, then it couldn't be
faster.
But I have compressed a nk.bin Windows Image file with GZIP. Then I
uncompressed the 10MB File with U-Boot. It takes roughly 1 minute. And this
is to much I think. What could I do to reduce the uncompression time? My
hardware works with an PXA270 CPU.
Thanks,
Andreas
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot] Starting compressed win CE kernel
2009-09-04 11:50 ` A. Geisreiter
@ 2009-09-04 12:17 ` Wolfgang Denk
2009-09-04 14:20 ` Dirk Behme
2009-10-05 7:47 ` A. Geisreiter
0 siblings, 2 replies; 6+ messages in thread
From: Wolfgang Denk @ 2009-09-04 12:17 UTC (permalink / raw)
To: u-boot
Dear "A. Geisreiter",
In message <001701ca2d55$f30b6200$d9222600$@de> you wrote:
>
> > What makes you think that the uncompression code used by bootm would
> > be any faster than the one used by unzip? It ain't faster, as it is
> > the very same code actually.
>
> If bootm use the same code like the unzip command, then it couldn't be
> faster.
Indeed.
> But I have compressed a nk.bin Windows Image file with GZIP. Then I
> uncompressed the 10MB File with U-Boot. It takes roughly 1 minute. And this
> is to much I think. What could I do to reduce the uncompression time? My
> hardware works with an PXA270 CPU.
You probably want to enable caches on your system, to get faster
performance. Jean-Christophe (on Cc:) claimed several times before
that he was working on such patches. Maybe you ask him when he will
post this stuff.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
On the subject of C program indentation: "In My Egotistical Opinion,
most people's C programs should be indented six feet downward and
covered with dirt." - Blair P. Houghton
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot] Starting compressed win CE kernel
2009-09-04 12:17 ` Wolfgang Denk
@ 2009-09-04 14:20 ` Dirk Behme
2009-10-05 7:47 ` A. Geisreiter
1 sibling, 0 replies; 6+ messages in thread
From: Dirk Behme @ 2009-09-04 14:20 UTC (permalink / raw)
To: u-boot
Wolfgang Denk wrote:
> Dear "A. Geisreiter",
>
> In message <001701ca2d55$f30b6200$d9222600$@de> you wrote:
>>> What makes you think that the uncompression code used by bootm would
>>> be any faster than the one used by unzip? It ain't faster, as it is
>>> the very same code actually.
>> If bootm use the same code like the unzip command, then it couldn't be
>> faster.
>
> Indeed.
>
>> But I have compressed a nk.bin Windows Image file with GZIP. Then I
>> uncompressed the 10MB File with U-Boot. It takes roughly 1 minute. And this
>> is to much I think. What could I do to reduce the uncompression time? My
>> hardware works with an PXA270 CPU.
>
> You probably want to enable caches on your system, to get faster
> performance. Jean-Christophe (on Cc:) claimed several times before
> that he was working on such patches. Maybe you ask him when he will
> post this stuff.
Unfortunately, there was no answer to
http://lists.denx.de/pipermail/u-boot/2009-August/058700.html
Dirk
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot] Starting compressed win CE kernel
2009-09-04 12:17 ` Wolfgang Denk
2009-09-04 14:20 ` Dirk Behme
@ 2009-10-05 7:47 ` A. Geisreiter
1 sibling, 0 replies; 6+ messages in thread
From: A. Geisreiter @ 2009-10-05 7:47 UTC (permalink / raw)
To: u-boot
Dear Jean-Christophe PLAGNIOL-VILLARD,
I tried to use the unzip command of U-Boot, to unzip a Win CE Kernel. If I
have a file size of roughly 10MB it takes 1 minute to uncompress the kernel.
This is too long for my application. I use an PXA270 CPU with 64MB SDRAM.
How can I make the unzip command faster?
Description of my U-Boot application: At the moment I start Win CE from the
flash memory in roughly 25 seconds. But the image takes much space on the
flash, because I haven't compressed it at the moment. So I will use the zip
functionality of U-boot to save space on flash memory. But this is only
reasonable, if I can start the OS in roughly the same time as before.
Thanks and regards,
Andreas Geisreiter
-----Urspr?ngliche Nachricht-----
Von: Wolfgang Denk [mailto:wd at denx.de]
Gesendet: Freitag, 4. September 2009 14:17
An: A. Geisreiter
Cc: u-boot at lists.denx.de; Jean-Christophe Plagniol-Villard
Betreff: Re: [U-Boot] Starting compressed win CE kernel
Dear "A. Geisreiter",
In message <001701ca2d55$f30b6200$d9222600$@de> you wrote:
>
> > What makes you think that the uncompression code used by bootm would
> > be any faster than the one used by unzip? It ain't faster, as it is
> > the very same code actually.
>
> If bootm use the same code like the unzip command, then it couldn't be
> faster.
Indeed.
> But I have compressed a nk.bin Windows Image file with GZIP. Then I
> uncompressed the 10MB File with U-Boot. It takes roughly 1 minute. And
this
> is to much I think. What could I do to reduce the uncompression time? My
> hardware works with an PXA270 CPU.
You probably want to enable caches on your system, to get faster
performance. Jean-Christophe (on Cc:) claimed several times before
that he was working on such patches. Maybe you ask him when he will
post this stuff.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
On the subject of C program indentation: "In My Egotistical Opinion,
most people's C programs should be indented six feet downward and
covered with dirt." - Blair P. Houghton
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-10-05 7:47 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-04 10:14 [U-Boot] Starting compressed win CE kernel A. Geisreiter
2009-09-04 11:09 ` Wolfgang Denk
2009-09-04 11:50 ` A. Geisreiter
2009-09-04 12:17 ` Wolfgang Denk
2009-09-04 14:20 ` Dirk Behme
2009-10-05 7:47 ` A. Geisreiter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox