mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] eukrea_cpuimx25: add compressed logo support
@ 2010-06-10  7:52 Eric Bénard
  2010-06-10  7:52 ` [PATCH 2/2] eukrea_cpuimx25: update defconfig Eric Bénard
  2010-06-10 11:44 ` [PATCH 1/2] eukrea_cpuimx25: add compressed logo support Sascha Hauer
  0 siblings, 2 replies; 4+ messages in thread
From: Eric Bénard @ 2010-06-10  7:52 UTC (permalink / raw)
  To: s.hauer; +Cc: barebox

Signed-off-by: Eric Bénard <eric@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


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 2/2] eukrea_cpuimx25: update defconfig
  2010-06-10  7:52 [PATCH 1/2] eukrea_cpuimx25: add compressed logo support Eric Bénard
@ 2010-06-10  7:52 ` Eric Bénard
  2010-06-10 11:44 ` [PATCH 1/2] eukrea_cpuimx25: add compressed logo support Sascha Hauer
  1 sibling, 0 replies; 4+ messages in thread
From: Eric Bénard @ 2010-06-10  7:52 UTC (permalink / raw)
  To: s.hauer; +Cc: barebox

Signed-off-by: Eric Bénard <eric@eukrea.com>
---
 arch/arm/configs/eukrea_cpuimx25_defconfig |   23 +++++++++++++++--------
 1 files changed, 15 insertions(+), 8 deletions(-)

diff --git a/arch/arm/configs/eukrea_cpuimx25_defconfig b/arch/arm/configs/eukrea_cpuimx25_defconfig
index 81f9c80..574d322 100644
--- a/arch/arm/configs/eukrea_cpuimx25_defconfig
+++ b/arch/arm/configs/eukrea_cpuimx25_defconfig
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
-# barebox version: 2010.03.0
-# Fri Mar 19 11:12:11 2010
+# barebox version: 2010.05.0
+# Wed Jun  2 01:04:00 2010
 #
 # CONFIG_BOARD_LINKER_SCRIPT is not set
 CONFIG_GENERIC_LINKER_SCRIPT=y
@@ -88,19 +88,20 @@ CONFIG_MALLOC_SIZE=0x1000000
 # CONFIG_EXPERIMENTAL is not set
 CONFIG_MACH_HAS_LOWLEVEL_INIT=y
 CONFIG_MACH_DO_LOWLEVEL_INIT=y
-CONFIG_PROMPT="barebox:"
+CONFIG_PROMPT="cpuimx25:"
 CONFIG_BAUDRATE=115200
-# CONFIG_LONGHELP is not set
+CONFIG_LONGHELP=y
 CONFIG_CBSIZE=1024
 CONFIG_MAXARGS=16
 CONFIG_SHELL_HUSH=y
 # CONFIG_SHELL_SIMPLE is not set
 CONFIG_GLOB=y
 CONFIG_PROMPT_HUSH_PS2="cpuimx25>"
+CONFIG_HUSH_FANCY_PROMPT=y
 CONFIG_CMDLINE_EDITING=y
 CONFIG_AUTO_COMPLETE=y
 CONFIG_DYNAMIC_CRC_TABLE=y
-# CONFIG_ERRNO_MESSAGES is not set
+CONFIG_ERRNO_MESSAGES=y
 CONFIG_TIMESTAMP=y
 CONFIG_CONSOLE_FULL=y
 CONFIG_CONSOLE_ACTIVATE_FIRST=y
@@ -153,6 +154,7 @@ CONFIG_CMD_UMOUNT=y
 #
 CONFIG_CMD_CLEAR=y
 CONFIG_CMD_ECHO=y
+CONFIG_CMD_ECHO_E=y
 
 #
 # memory                        
@@ -172,9 +174,9 @@ CONFIG_CMD_FLASH=y
 # booting                       
 #
 CONFIG_CMD_BOOTM=y
-# CONFIG_CMD_BOOTM_ZLIB is not set
-# CONFIG_CMD_BOOTM_BZLIB is not set
-# CONFIG_CMD_BOOTM_SHOW_TYPE is not set
+CONFIG_CMD_BOOTM_ZLIB=y
+CONFIG_CMD_BOOTM_BZLIB=y
+CONFIG_CMD_BOOTM_SHOW_TYPE=y
 CONFIG_CMD_BOOTZ=y
 CONFIG_CMD_BOOTU=y
 # CONFIG_CMD_LINUX16 is not set
@@ -188,6 +190,7 @@ CONFIG_CMD_HELP=y
 CONFIG_CMD_DEVINFO=y
 CONFIG_CMD_BMP=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_UNLZO=y
 CONFIG_NET=y
 CONFIG_NET_DHCP=y
 # CONFIG_NET_RARP is not set
@@ -243,5 +246,9 @@ CONFIG_DRIVER_VIDEO_IMX=y
 # CONFIG_FS_CRAMFS is not set
 CONFIG_FS_RAMFS=y
 CONFIG_FS_DEVFS=y
+CONFIG_ZLIB=y
+CONFIG_BZLIB=y
 CONFIG_CRC32=y
 # CONFIG_GENERIC_FIND_NEXT_BIT is not set
+CONFIG_PROCESS_ESCAPE_SEQUENCE=y
+CONFIG_LZO_DECOMPRESS=y
-- 
1.6.3.3


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] eukrea_cpuimx25: add compressed logo support
  2010-06-10  7:52 [PATCH 1/2] eukrea_cpuimx25: add compressed logo support Eric Bénard
  2010-06-10  7:52 ` [PATCH 2/2] eukrea_cpuimx25: update defconfig Eric Bénard
@ 2010-06-10 11:44 ` Sascha Hauer
  2010-06-10 13:18   ` Eric Bénard
  1 sibling, 1 reply; 4+ messages in thread
From: Sascha Hauer @ 2010-06-10 11:44 UTC (permalink / raw)
  To: Eric Bénard; +Cc: barebox

On Thu, Jun 10, 2010 at 09:52:11AM +0200, Eric Bénard wrote:
> Signed-off-by: Eric Bénard <eric@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 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] eukrea_cpuimx25: add compressed logo support
  2010-06-10 11:44 ` [PATCH 1/2] eukrea_cpuimx25: add compressed logo support Sascha Hauer
@ 2010-06-10 13:18   ` Eric Bénard
  0 siblings, 0 replies; 4+ messages in thread
From: Eric Bénard @ 2010-06-10 13:18 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: barebox

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@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

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-06-10 13:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-10  7:52 [PATCH 1/2] eukrea_cpuimx25: add compressed logo support Eric Bénard
2010-06-10  7:52 ` [PATCH 2/2] eukrea_cpuimx25: update defconfig Eric Bénard
2010-06-10 11:44 ` [PATCH 1/2] eukrea_cpuimx25: add compressed logo support Sascha Hauer
2010-06-10 13:18   ` Eric Bénard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox