diff --git a/recipes-bsp/u-boot/u-boot-stm32mp-splash/ST_logo_2020_blue_H_rgb_rle8_183x480.bmp b/recipes-bsp/u-boot/u-boot-stm32mp-splash/ST_logo_2020_blue_H_rgb_rle8_183x480.bmp new file mode 100644 index 0000000..560c160 Binary files /dev/null and b/recipes-bsp/u-boot/u-boot-stm32mp-splash/ST_logo_2020_blue_H_rgb_rle8_183x480.bmp differ diff --git a/recipes-bsp/u-boot/u-boot-stm32mp-splash_2018.11.bb b/recipes-bsp/u-boot/u-boot-stm32mp-splash_2018.11.bb index d23f005..8776ab3 100644 --- a/recipes-bsp/u-boot/u-boot-stm32mp-splash_2018.11.bb +++ b/recipes-bsp/u-boot/u-boot-stm32mp-splash_2018.11.bb @@ -3,13 +3,15 @@ SUMMARY = "Universal Boot Loader Splash Screen for stm32mp embedded devices" LICENSE = "Proprietary" LIC_FILES_CHKSUM = "file://LICENSE;md5=ac3e0fd89b582e9fc11d534a27636636" -SRC_URI = "${@bb.utils.contains('MACHINE_FEATURES', 'splashscreen', 'file://${UBOOT_SPLASH_SRC}', '', d)}" +SRC_URI = "${@bb.utils.contains('MACHINE_FEATURES', 'splashscreen', 'file://${UBOOT_SPLASH_LANDSCAPE_SRC} file://${UBOOT_SPLASH_PORTRAIT_SRC}', '', d)}" SRC_URI += "file://LICENSE" S = "${WORKDIR}" -UBOOT_SPLASH_SRC = "ST_logo_2020_blue_H_rgb_rle8_480x183.bmp" -UBOOT_SPLASH_IMAGE ?= "splash" +UBOOT_SPLASH_LANDSCAPE_SRC = "ST_logo_2020_blue_H_rgb_rle8_480x183.bmp" +UBOOT_SPLASH_PORTRAIT_SRC = "ST_logo_2020_blue_H_rgb_rle8_183x480.bmp" +UBOOT_SPLASH_LANDSCAPE_IMAGE ?= "splash_landscape" +UBOOT_SPLASH_PORTRAIT_IMAGE ?= "splash_portrait" inherit deploy @@ -17,8 +19,11 @@ do_compile[noexec] = "1" do_install() { install -d ${D}/boot - if [ -e "${S}/${UBOOT_SPLASH_SRC}" ]; then - install -m 644 ${S}/${UBOOT_SPLASH_SRC} ${D}/boot/${UBOOT_SPLASH_IMAGE}.bmp + if [ -e "${S}/${UBOOT_SPLASH_LANDSCAPE_SRC}" ]; then + install -m 644 ${S}/${UBOOT_SPLASH_LANDSCAPE_SRC} ${D}/boot/${UBOOT_SPLASH_LANDSCAPE_IMAGE}.bmp + fi + if [ -e "${S}/${UBOOT_SPLASH_PORTRAIT_SRC}" ]; then + install -m 644 ${S}/${UBOOT_SPLASH_PORTRAIT_SRC} ${D}/boot/${UBOOT_SPLASH_PORTRAIT_IMAGE}.bmp fi }