OpenQNX :: The QNX Community Portal

Sep 07, 2008 - 07:28 AM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 46 unlogged users and 0 registered users online.

You can log-in or register for a user account here.

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
jacus
Post subject: Compressing an OS image with the help of LZO algorithm  PostPosted: 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
 
 View user's profile Send private message  
Reply with quote Back to top
jacus
Post subject: Re: Compressing an OS image with the help of LZO algorithm  PostPosted: 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

 
 View user's profile Send private message  
Reply with quote Back to top
Armand C.
Post subject: Re: Compressing an OS image with the help of LZO algorithm  PostPosted: Mar 08, 2006 - 08:43 AM
Guest





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




 
   
Reply with quote Back to top
jacus
Post subject: Re: Compressing an OS image with the help of LZO algorithm  PostPosted: 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



 
 View user's profile Send private message  
Reply with quote Back to top
Steve Reid
Post subject: Re: Compressing an OS image with the help of LZO algorithm  PostPosted: Mar 09, 2006 - 01:59 PM
Guest





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
------------------------------------------
 
   
Reply with quote Back to top
Steve Reid
Post subject: Re: Compressing an OS image with the help of LZO algorithm  PostPosted: Mar 09, 2006 - 02:59 PM
Guest





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
------------------------------------------
 
   
Reply with quote Back to top
jacus
Post subject: Re: Compressing an OS image with the help of LZO algorithm  PostPosted: 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
 
 View user's profile Send private message  
Reply with quote Back to top
jacus
Post subject: Re: Compressing an OS image with the help of LZO algorithm  PostPosted: 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
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters.
Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.