summaryrefslogtreecommitdiff
path: root/meta-unit-graphics/recipes-bsp
diff options
context:
space:
mode:
Diffstat (limited to 'meta-unit-graphics/recipes-bsp')
-rw-r--r--meta-unit-graphics/recipes-bsp/u-boot-splash/files/yocto_project_logo_blue_1024x600_24bpp.bmp.gzbin0 -> 13477 bytes
-rw-r--r--meta-unit-graphics/recipes-bsp/u-boot-splash/files/yocto_project_logo_blue_800x480_24bpp.bmp.gzbin0 -> 10135 bytes
-rw-r--r--meta-unit-graphics/recipes-bsp/u-boot-splash/files/yocto_project_logo_white_800x480_24bpp.bmp.gzbin27081 -> 0 bytes
-rw-r--r--meta-unit-graphics/recipes-bsp/u-boot-splash/u-boot-splash.bb7
-rw-r--r--meta-unit-graphics/recipes-bsp/u-boot/files/splash.cfg9
-rw-r--r--meta-unit-graphics/recipes-bsp/u-boot/u-boot_%.bbappend1
6 files changed, 15 insertions, 2 deletions
diff --git a/meta-unit-graphics/recipes-bsp/u-boot-splash/files/yocto_project_logo_blue_1024x600_24bpp.bmp.gz b/meta-unit-graphics/recipes-bsp/u-boot-splash/files/yocto_project_logo_blue_1024x600_24bpp.bmp.gz
new file mode 100644
index 0000000..96ad799
--- /dev/null
+++ b/meta-unit-graphics/recipes-bsp/u-boot-splash/files/yocto_project_logo_blue_1024x600_24bpp.bmp.gz
Binary files differ
diff --git a/meta-unit-graphics/recipes-bsp/u-boot-splash/files/yocto_project_logo_blue_800x480_24bpp.bmp.gz b/meta-unit-graphics/recipes-bsp/u-boot-splash/files/yocto_project_logo_blue_800x480_24bpp.bmp.gz
new file mode 100644
index 0000000..2c9beae
--- /dev/null
+++ b/meta-unit-graphics/recipes-bsp/u-boot-splash/files/yocto_project_logo_blue_800x480_24bpp.bmp.gz
Binary files differ
diff --git a/meta-unit-graphics/recipes-bsp/u-boot-splash/files/yocto_project_logo_white_800x480_24bpp.bmp.gz b/meta-unit-graphics/recipes-bsp/u-boot-splash/files/yocto_project_logo_white_800x480_24bpp.bmp.gz
deleted file mode 100644
index d603f12..0000000
--- a/meta-unit-graphics/recipes-bsp/u-boot-splash/files/yocto_project_logo_white_800x480_24bpp.bmp.gz
+++ /dev/null
Binary files differ
diff --git a/meta-unit-graphics/recipes-bsp/u-boot-splash/u-boot-splash.bb b/meta-unit-graphics/recipes-bsp/u-boot-splash/u-boot-splash.bb
index 7e5b318..46f0da8 100644
--- a/meta-unit-graphics/recipes-bsp/u-boot-splash/u-boot-splash.bb
+++ b/meta-unit-graphics/recipes-bsp/u-boot-splash/u-boot-splash.bb
@@ -4,15 +4,18 @@ LIC_FILES_CHKSUM = "file://${UNIT_GRAPHICS_LAYERDIR}/LICENSE;md5=a77c12e0c0e8a14
inherit deploy
+BOOT_SPLASH_FILE ??= "yocto_project_logo_blue_800x480_24bpp.bmp.gz"
+
SRC_URI = "\
- file://yocto_project_logo_white_800x480_24bpp.bmp.gz;unpack=0 \
+ file://yocto_project_logo_blue_800x480_24bpp.bmp.gz;unpack=0 \
+ file://yocto_project_logo_blue_1024x600_24bpp.bmp.gz;unpack=0 \
"
S = "${UNPACKDIR}"
do_deploy() {
install -d ${DEPLOY_DIR_IMAGE}
- install -m 0644 ${S}/yocto_project_logo_white_800x480_24bpp.bmp.gz ${DEPLOY_DIR_IMAGE}/yocto_project_logo_white_800x480_24bpp.bmp.gz
+ install -m 0644 ${S}/${BOOT_SPLASH_FILE} ${DEPLOY_DIR_IMAGE}/splashfile.bmp.gz
}
addtask deploy before do_build after do_compile
diff --git a/meta-unit-graphics/recipes-bsp/u-boot/files/splash.cfg b/meta-unit-graphics/recipes-bsp/u-boot/files/splash.cfg
new file mode 100644
index 0000000..997ebd1
--- /dev/null
+++ b/meta-unit-graphics/recipes-bsp/u-boot/files/splash.cfg
@@ -0,0 +1,9 @@
+CONFIG_CMD_BMP=y
+CONFIG_BMP=y
+CONFIG_BMP_24BPP=y
+CONFIG_HIDE_LOGO_VERSION=y
+CONFIG_SPLASH_SCREEN=y
+CONFIG_SPLASH_SCREEN_ALIGN=y
+CONFIG_SPLASH_SOURCE=y
+CONFIG_VIDEO_BMP_GZIP=y
+CONFIG_VIDEO_LOGO_MAX_SIZE=0x120000
diff --git a/meta-unit-graphics/recipes-bsp/u-boot/u-boot_%.bbappend b/meta-unit-graphics/recipes-bsp/u-boot/u-boot_%.bbappend
new file mode 100644
index 0000000..8802adb
--- /dev/null
+++ b/meta-unit-graphics/recipes-bsp/u-boot/u-boot_%.bbappend
@@ -0,0 +1 @@
+FILESEXTRAPATHS:prepend := "${THISDIR}/files:"