[PATCH 1/2] eukrea_cpuimx25: add compressed logo support

Eric Bénard eric at eukrea.com
Thu Jun 10 09:18:36 EDT 2010


Le 10/06/2010 13:44, Sascha Hauer a écrit :
> On Thu, Jun 10, 2010 at 09:52:11AM +0200, Eric Bénard wrote:
>> Signed-off-by: Eric Bénard<eric at eukrea.com>
>> ---
>>   board/eukrea_cpuimx25/env/bin/init |    3 +++
>>   1 files changed, 3 insertions(+), 0 deletions(-)
>>
>> diff --git a/board/eukrea_cpuimx25/env/bin/init b/board/eukrea_cpuimx25/env/bin/init
>> index 8bcc732..335d7ae 100644
>> --- a/board/eukrea_cpuimx25/env/bin/init
>> +++ b/board/eukrea_cpuimx25/env/bin/init
>> @@ -14,6 +14,9 @@ fi
>>
>>   if [ -f /env/logo.bmp ]; then
>>   	bmp /env/logo.bmp
>> +elif [ -f /env/logo.bmp.lzo ]; then
>> +	unlzo /env/logo.bmp.lzo /logo.bmp
>> +	bmp /logo.bmp
>>   fi
>
> So the lzo support also is of other use than only for the kernel.
> Nice :)
>
yes, that allow to have a 1 sector environement even with an 
uncompressed BMP logo !

Thanks,
Eric



More information about the barebox mailing list