If the compressed_stream is enabled, 
1. when build the payload.nrv2b_x, 
        if ratio <= 1, the head four byte will be "0x5a5a5a5a", and use
ori payload.
        else the head four byte will be "0xaaaaaaaa", and used
payload.nrv2b image instead.
2. when rom_steam_init is called, it will check the head signature to
decide if uncompress it, or just use it.

YH

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of yhlu
Sent: Thursday, May 04, 2006 8:44 AM
To: Stefan Reinauer
Cc: Ward Vandewege; [email protected]
Subject: Re: [LinuxBIOS] s2881 build broken

that will need another 4 byte header before the stream.

YH

On 5/4/06, Stefan Reinauer <[EMAIL PROTECTED]> wrote:
> * yhlu <[EMAIL PROTECTED]> [060504 13:12]:
> > You revert the ilen print out?
>
> we could add that into the unrv2b() function, but I think we should
not
> change the API for debugging only.
>
> > if you nrv2b one zelf image, you will get more bigger ilen
instead...
>
> Can we detect whether we're decompressing a zelf image and print a
> message instead? or cause that the uncompressed version is used?
>
> Stefan
>
> --
> coresystems GmbH * Brahmsstr. 16 * D-79104 Freiburg i. Br.
>      Tel.: +49 761 7668825 * Fax: +49 761 7664613
> Email: [EMAIL PROTECTED]  * http://www.coresystems.de/
>

-- 
linuxbios mailing list
[email protected]
http://www.openbios.org/mailman/listinfo/linuxbios



-- 
linuxbios mailing list
[email protected]
http://www.openbios.org/mailman/listinfo/linuxbios

Reply via email to