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

Sascha Hauer s.hauer at pengutronix.de
Thu Jun 10 07:44:05 EDT 2010


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 :)

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list