Skip to content

Commit

Permalink
Merge pull request #47 from tiopex/logo
Browse files Browse the repository at this point in the history
Add current version to boot logo
  • Loading branch information
tiopex authored Oct 25, 2023
2 parents 1cdeb8b + 1508059 commit 4496aed
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
run: |
cd ${{ inputs.submodule || '.' }}
#apt update && apt install -y wget unzip build-essential git bc swig libncurses-dev libpython3-dev libssl-dev cpio rsync subversion
sudo apt update && sudo apt install -y gsfonts
make miyoo_uclibc_defconfig
make sdk CFW_HASH="${{ steps.cfwsha.outputs.cfwsha }}"
Expand Down Expand Up @@ -117,6 +118,7 @@ jobs:
run: |
cd ${{ inputs.submodule || '.' }}
#apt update && apt install -y wget unzip build-essential git bc swig libncurses-dev libpython3-dev libssl-dev cpio rsync subversion
sudo apt update && sudo apt install -y gsfonts
make miyoo_musl_defconfig
make sdk CFW_HASH="${{ steps.cfwsha.outputs.cfwsha }}"
Expand Down
1 change: 1 addition & 0 deletions board/miyoo/genimage-sdcard.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ image bootfs.vfat {
"zImage",
"suniv-f1c500s-miyoo.dtb",
"boot.scr",
"boot/miyoo-boot.bmp",
"boot/autorun.inf",
"boot/boot.ico",
"boot/console.cfg",
Expand Down
Binary file added board/miyoo/miyoo-boot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions board/miyoo/scripts/genimage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ cp -r board/miyoo/boot "${BINARIES_DIR}"
cp -r board/miyoo/main "${BINARIES_DIR}"
mkdir -p "${BINARIES_DIR}/gmenu2x"
cp -r "${BINARIES_DIR}/gmenu2x" "${BINARIES_DIR}/main/"
convert board/miyoo/miyoo-boot.png -pointsize 12 -fill white -annotate +10+230 "v2.0.0-"`git rev-parse --short HEAD` -alpha off +flip -strip -define bmp:subtype=RGB565 bmp2:"${BINARIES_DIR}"/boot/miyoo-boot.bmp
support/scripts/genimage.sh ${1} -c board/miyoo/genimage-sdcard.cfg

0 comments on commit 4496aed

Please sign in to comment.