Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add current version to boot logo #47

Merged
merged 4 commits into from
Oct 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,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 @@ -97,6 +98,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