[PATCH 5/5] at91sam9m10g45ek: add lcdc support

Sascha Hauer s.hauer at pengutronix.de
Tue Sep 25 04:09:22 EDT 2012


On Sat, Sep 22, 2012 at 08:26:48PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> Acked-by: Nicolas Ferre <nicolas.ferre at atmel.com>
> ---
>  .../arm/boards/at91sam9m10g45ek/env/bin/boot_board |    7 +++++
>  arch/arm/boards/at91sam9m10g45ek/env/splash.png    |  Bin 0 -> 22747 bytes
>  arch/arm/boards/at91sam9m10g45ek/init.c            |   33 ++++++++++++++++++++
>  arch/arm/configs/at91sam9m10g45ek_defconfig        |   11 +++++--
>  4 files changed, 48 insertions(+), 3 deletions(-)
>  create mode 100644 arch/arm/boards/at91sam9m10g45ek/env/splash.png
> 
> diff --git a/arch/arm/boards/at91sam9m10g45ek/env/bin/boot_board b/arch/arm/boards/at91sam9m10g45ek/env/bin/boot_board
> index 3d7426f..eeb7a76 100644
> --- a/arch/arm/boards/at91sam9m10g45ek/env/bin/boot_board
> +++ b/arch/arm/boards/at91sam9m10g45ek/env/bin/boot_board
> @@ -5,6 +5,13 @@ export PATH
>  
>  . /env/config
>  
> +splash=/env/splash.png
> +
> +if [ -f ${splash} ]; then
> +	splash ${splash}
> +	fb0.enable=1
> +fi
> +
>  menu -r -m boot
>  menu -a -m boot -d "\e[1;36mWelcome on Barebox Boot Sequence\e[0m"
>  menu -e -a -m boot -c 'menu_boot'			-d "boot (default)             "
> diff --git a/arch/arm/boards/at91sam9m10g45ek/env/splash.png b/arch/arm/boards/at91sam9m10g45ek/env/splash.png

I understand your desire to show a logo on the screen, but we really
need a storage outside the main repository for this. I'm perfectly fine
with showing full HD 3d pictures on the screen if your hardware can do
so, but we should not put this into the repository.

We should solve this right now, then we are free to add huge logos, add
different logo for each board, update logos for christmas, summer,
Helloween...

How about adding some wget mechanism which:

- Only downloads the logos if allowed in the config
- Does not download logos if a logo directory already exists

I'm sure we could create some storage here.

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