Skip to content

Commit

Permalink
Prepare splash for uboot
Browse files Browse the repository at this point in the history
  • Loading branch information
tiopex committed Dec 27, 2023
1 parent cb9342a commit 28a2383
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions board/miyoo/genimage-sdcard.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions board/miyoo/scripts/genimage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 28a2383

Please sign in to comment.