[U-Boot] [PATCH] imx: ventana: enable splashscreen support

Stefano Babic sbabic at denx.de
Thu Jul 28 12:37:00 CEST 2016


Hi Tim,

On 15/07/2016 16:17, Tim Harvey wrote:
> Signed-off-by: Tim Harvey <tharvey at gateworks.com>
> ---
>  include/configs/gw_ventana.h |   7 ++++---
>  tools/logos/gateworks.bmp    | Bin 0 -> 56202 bytes
>  2 files changed, 4 insertions(+), 3 deletions(-)
>  create mode 100644 tools/logos/gateworks.bmp
> 
> diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h
> index 1bd13fe..61242a1 100644
> --- a/include/configs/gw_ventana.h
> +++ b/include/configs/gw_ventana.h
> @@ -191,15 +191,15 @@
>  #define CONFIG_CFB_CONSOLE
>  #define CONFIG_VGA_AS_SINGLE_DEVICE
>  #define CONFIG_SYS_CONSOLE_IS_IN_ENV
> -#define CONFIG_VIDEO_BMP_RLE8
> -#define CONFIG_SPLASH_SCREEN
> -#define CONFIG_BMP_16BPP
>  #define CONFIG_VIDEO_LOGO
>  #define CONFIG_IPUV3_CLK          260000000
>  #define CONFIG_CMD_HDMIDETECT
>  #define CONFIG_CONSOLE_MUX
>  #define CONFIG_IMX_HDMI
>  #define CONFIG_IMX_VIDEO_SKIP
> +#define CONFIG_VIDEO_BMP_LOGO
> +#define CONFIG_SPLASH_SCREEN_ALIGN
> +#define CONFIG_HIDE_LOGO_VERSION  /* Custom config to hide U-boot version */
>  
>  /* Miscellaneous configurable options */
>  #define CONFIG_HWCONFIG
> @@ -274,6 +274,7 @@
>  
>  #define CONFIG_EXTRA_ENV_SETTINGS_COMMON \
>  	"pcidisable=1\0" \
> +	"splashpos=m,m\0" \
>  	"usb_pgood_delay=2000\0" \
>  	"console=ttymxc1\0" \
>  	"bootdevs=usb mmc sata flash\0" \
> diff --git a/tools/logos/gateworks.bmp b/tools/logos/gateworks.bmp
> new file mode 100644
> index 0000000000000000000000000000000000000000..01edb7cedf46c3441619213b6baf33410055601f

This is done on several boards, but I would ask if this is strictly
required. You can already display a bmp on the screen, and it is a more
flexible way as linked the image with U-Boot. Do you really need
CONFIG_VIDEO_BMP_LOGO ?

Best regards,
Stefano Babic


-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list