Skip to content

Commit 33e873c

Browse files
committed
workflows: create-image: add banana pi r3 as target board
No eMMC support added yet, only SD card.
1 parent 56fce18 commit 33e873c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/build-image.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
required: true
1010
options:
1111
- raspberry-pi-4
12+
- banana-pi-r3
1213
default: 'raspberry-pi-4'
1314
use_latest_release:
1415
description: 'Use latest release artifacts instead of workflow artifacts'
@@ -55,6 +56,10 @@ jobs:
5556
echo "BOOTLOADER=rpi4_boot" >> $GITHUB_ENV
5657
echo "TARGET=aarch64" >> $GITHUB_ENV
5758
;;
59+
banana-pi-r3)
60+
echo "BOOTLOADER=mt7986_sd_boot" >> $GITHUB_ENV
61+
echo "TARGET=aarch64" >> $GITHUB_ENV
62+
;;
5863
*)
5964
echo "Error: Unknown board ${{ inputs.board }}"
6065
exit 1
@@ -142,7 +147,7 @@ jobs:
142147
143148
# Use the standardized mkimage.sh path for the selected board
144149
# BOARD_SCRIPT="src/board/${{ inputs.board }}/mkimage.sh"
145-
BOARD_SCRIPT="src/board/raspberry-pi-4/mkimage.sh"
150+
BOARD_SCRIPT="src/board/${{ inputs.board }}/mkimage.sh"
146151
147152
if [ -f "$BOARD_SCRIPT" ]; then
148153
echo "Using board-specific image creation script: $BOARD_SCRIPT"

0 commit comments

Comments
 (0)