cancel
Showing results for 
Search instead for 
Did you mean: 

U-Boot Splash Screen

MFR
Associate II

Hi,

Appreciate any help on how to enable u-boot splash screen during boot. I am using STM32MP157F-DK2.

Thank you.

 

 

 

1 REPLY 1
Hamdi_b
Associate

Hello @MFR ,

The uboot splash screen is enabled by default when you generate image by yocto. if your  question is about the customization of the splash screen, you need to update the recipe meta-st-stm32mp/recipes-bsp/u-boot/u-boot-stm32mp-splash_2018.bb and add your images in the directory layers/meta-st/meta-st-stm32mp/recipes-bsp/u-boot/u-boot-stm32mp-splash. So, you can customize it as follow:

  1. Generate bmp images using convert (images dimension must be 480*183 or 183*480) :
    convert your_logo_l_rgb_rle8_480x183.jpg -type Palette -colors 224 -depth 8 -compress none -verbose BMP3:your_logo_l_rgb_rle8_480x183.bmp
  2. Copy your splash images (bmp) under meta-your-layer/recipes-bsp/u-boot/u-boot-stm32mp
  3. Create meta-your-layer/recipes-bsp/u-boot/u-boot-stm32mp-splash_%.bbappend
  4. Copy the following content in your bbappend file:

FILESEXTRAPATHS:prepend := "${THISDIR}/u-boot-stm32mp:"
SRC_URI = "file://${UBOOT_SPLASH_LANDSCAPE_SRC} \
file://${UBOOT_SPLASH_PORTRAIT_SRC}"

UBOOT_SPLASH_LANDSCAPE_src="your_logo_l_rgb_rle8_480x183.bmp"
UBOOT_SPLASH_PORTRAIT_src="your_logo_p_rgb_rle8_480x183.bmp"