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

Eric Bénard eric at eukrea.com
Thu Jun 10 03:52:11 EDT 2010


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
 
 if [ -z $eth0.ethaddr ]; then
-- 
1.6.3.3




More information about the barebox mailing list