From 4b669303a31e3d0ef6c62568b172e5eeb5825e48 Mon Sep 17 00:00:00 2001 From: Radoslav Kolev Date: Fri, 17 Mar 2017 14:40:52 +0200 Subject: [PATCH] Copy a splash.bmp splash screen for u-boot to the SD card VFAT partition if one is found in the deploy dir --- classes/sdcard_image-sunxi.bbclass | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/classes/sdcard_image-sunxi.bbclass b/classes/sdcard_image-sunxi.bbclass index 9bad720..94ee15f 100644 --- a/classes/sdcard_image-sunxi.bbclass +++ b/classes/sdcard_image-sunxi.bbclass @@ -90,6 +90,10 @@ IMAGE_CMD_sunxi-sdimg () { then mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/boot.scr ::boot.scr fi + if [ -e "${DEPLOY_DIR_IMAGE}/splash.bmp" ] + then + mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/splash.bmp ::splash.bmp + fi # Add stamp file