| Author |
Message |
|
|
Post subject: Compressing an OS image with the help of LZO algorithm
Posted: Mar 06, 2006 - 10:56 AM
|
|
Senior Member
Joined: Apr 22, 2003
Posts: 238
|
|
Hello,
By default an OS image is compressed in the UCL format.
How can I change compression algorithm to the LZO mode?
Regards,
Jacek |
|
|
| |
|
|
|
 |
|
|
Post subject: Re: Compressing an OS image with the help of LZO algorithm
Posted: Mar 07, 2006 - 07:53 AM
|
|
Senior Member
Joined: Apr 22, 2003
Posts: 238
|
|
I mean OS image ganerated by the mkifs command.
Is it possible to force LZO compression for it ?
Jacek
Użytkownik "Jacek Rudnicki" <jacek.rudnicki@quantum.com.pl> napisał w
wiadomości news:duh3s6$r6d$1@inn.qnx.com...
Quote:
Hello,
By default an OS image is compressed in the UCL format.
How can I change compression algorithm to the LZO mode?
Regards,
Jacek
|
|
|
| |
|
|
|
 |
|
|
Post subject: Re: Compressing an OS image with the help of LZO algorithm
Posted: Mar 08, 2006 - 08:43 AM
|
|
|
|
With the IDE, in the System builder perspective you can select the
compression type in the "Properties" panel when you select your .bld file.
With command line, you can try to add this to your build file
[compress=0] No compression
[compress=1] Zlib
[compress=2] LZO
[compress=3] UCL
Armand
Jacek Rudnicki wrote:
Quote:
I mean OS image ganerated by the mkifs command.
Is it possible to force LZO compression for it ?
Jacek
Użytkownik "Jacek Rudnicki" <jacek.rudnicki@quantum.com.pl> napisał w
wiadomości news:duh3s6$r6d$1@inn.qnx.com...
Hello,
By default an OS image is compressed in the UCL format.
How can I change compression algorithm to the LZO mode?
Regards,
Jacek
|
|
|
| |
|
|
|
 |
|
|
Post subject: Re: Compressing an OS image with the help of LZO algorithm
Posted: Mar 09, 2006 - 09:05 AM
|
|
Senior Member
Joined: Apr 22, 2003
Posts: 238
|
|
That was very easy.
Quote:
With command line, you can try to add this to your build file
[compress=0] No compression
[compress=1] Zlib
[compress=2] LZO
[compress=3] UCL
Is it documented somewhere ?
Thank you,
Jacek
Uzytkownik "Armand C." <no@mail.com> napisal w wiadomosci
news:dum4qq$cts$1@inn.qnx.com...
Quote:
With the IDE, in the System builder perspective you can select the
compression type in the "Properties" panel when you select your .bld file.
With command line, you can try to add this to your build file
[compress=0] No compression
[compress=1] Zlib
[compress=2] LZO
[compress=3] UCL
Armand
Jacek Rudnicki wrote:
I mean OS image ganerated by the mkifs command.
Is it possible to force LZO compression for it ?
Jacek
Użytkownik "Jacek Rudnicki" <jacek.rudnicki@quantum.com.pl> napisał w
wiadomości news:duh3s6$r6d$1@inn.qnx.com...
Hello,
By default an OS image is compressed in the UCL format.
How can I change compression algorithm to the LZO mode?
Regards,
Jacek
|
|
|
| |
|
|
|
 |
|
|
Post subject: Re: Compressing an OS image with the help of LZO algorithm
Posted: Mar 09, 2006 - 01:59 PM
|
|
|
|
Jacek Rudnicki <jacek.rudnicki@quantum.com.pl> wrote:
Quote:
That was very easy.
With command line, you can try to add this to your build file
[compress=0] No compression
[compress=1] Zlib
[compress=2] LZO
[compress=3] UCL
Is it documented somewhere ?
I don't think so. I'll create a PR.
------------------------------------------
Steve Reid stever@qnx.com
Technical Editor
QNX Software Systems
------------------------------------------ |
|
|
| |
|
|
|
 |
|
|
Post subject: Re: Compressing an OS image with the help of LZO algorithm
Posted: Mar 09, 2006 - 02:59 PM
|
|
|
|
Steve Reid <stever@stevernto.ott.qnx.com> wrote:
Quote:
Jacek Rudnicki <jacek.rudnicki@quantum.com.pl> wrote:
That was very easy.
With command line, you can try to add this to your build file
[compress=0] No compression
[compress=1] Zlib
[compress=2] LZO
[compress=3] UCL
Is it documented somewhere ?
I don't think so. I'll create a PR.
One of the developers told me that the startup library uses UCL, and those
other options won't work unless you have a special version of the library.
So, you should consider the "compress" attribute to be a boolean as the
docs for mkifs say.
------------------------------------------
Steve Reid stever@qnx.com
Technical Editor
QNX Software Systems
------------------------------------------ |
|
|
| |
|
|
|
 |
|
|
Post subject: Re: Compressing an OS image with the help of LZO algorithm
Posted: Mar 10, 2006 - 07:24 AM
|
|
Senior Member
Joined: Apr 22, 2003
Posts: 238
|
|
|
Quote:
One of the developers told me that the startup library uses UCL, and those
other options won't work unless you have a special version of the library.
So, you should consider the "compress" attribute to be a boolean as the
docs for mkifs say.
No problems with creating custom startup library and uncompressing OS image.
Thank's,
Jacek |
|
|
| |
|
|
|
 |
|
|
Post subject: Re: Compressing an OS image with the help of LZO algorithm
Posted: Mar 10, 2006 - 07:28 AM
|
|
Senior Member
Joined: Apr 22, 2003
Posts: 238
|
|
Użytkownik "Steve Reid" <stever@stevernto.ott.qnx.com> napisał w wiadomości
news:dupccd$jgm$1@inn.qnx.com...
Quote:
Jacek Rudnicki <jacek.rudnicki@quantum.com.pl> wrote:
That was very easy.
With command line, you can try to add this to your build file
[compress=0] No compression
[compress=1] Zlib
[compress=2] LZO
[compress=3] UCL
Is it documented somewhere ?
I don't think so. I'll create a PR.
That will be useful especialy for people who are using standard release of
QNX Momentics dev. seat. Where everything is done from the command line; no
IDE.
Regards,
Jacek |
|
|
| |
|
|
|
 |
|
|