From 28a23832b105996a85ce890708ddded774924149 Mon Sep 17 00:00:00 2001 From: tiopex Date: Wed, 27 Dec 2023 12:49:15 +0100 Subject: [PATCH] Prepare splash for uboot --- board/miyoo/genimage-sdcard.cfg | 1 + board/miyoo/scripts/genimage.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/board/miyoo/genimage-sdcard.cfg b/board/miyoo/genimage-sdcard.cfg index b0ccbf791..98aef518b 100644 --- a/board/miyoo/genimage-sdcard.cfg +++ b/board/miyoo/genimage-sdcard.cfg @@ -7,6 +7,7 @@ image bootfs.vfat { "suniv-f1c100s-miyoo-4bit.dtb", "boot.scr", "boot/miyoo-boot.bmp", + "boot/miyoo-splash.bmp", "boot/autorun.inf", "boot/boot.ico", "boot/console.cfg", diff --git a/board/miyoo/scripts/genimage.sh b/board/miyoo/scripts/genimage.sh index e3dcee838..da4baa3a7 100755 --- a/board/miyoo/scripts/genimage.sh +++ b/board/miyoo/scripts/genimage.sh @@ -47,6 +47,7 @@ fi # Write CFW version to splash image convert board/miyoo/miyoo-boot.png -pointsize 12 -fill white -annotate +10+230 "v${CFW_RELEASE} ${CFW_VERSION} (${LIBC}) ${STATUS}" -alpha off -type truecolor -strip -define bmp:format=bmp4 -define bmp:subtype=RGB565 "${BINARIES_DIR}"/boot/miyoo-boot.bmp +convert board/miyoo/miyoo-boot.png -pointsize 12 -fill white -annotate +10+230 "v${CFW_RELEASE} ${CFW_VERSION} (${LIBC}) ${STATUS}" -type Palette -colors 224 -depth 8 -compress none -verbose BMP3:"${BINARIES_DIR}"/boot/miyoo-splash.bmp # Generate MAIN BTRFS partition image="${BINARIES_DIR}/main.img"