From 65b674855af93fc8fd6ea45759e1a58a1273ca9e Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Sun, 1 Feb 2026 08:36:34 +0100 Subject: [PATCH] .github: add rpi2 bootloader and SD card image builds Add Raspberry Pi 2B to the bootloader build matrix and raspberrypi-rpi2 to the SD card image builder, enabling full RPi 2B image creation. Signed-off-by: Joachim Wiberg --- .github/workflows/build-boot.yml | 1 + .github/workflows/build-image.yml | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/.github/workflows/build-boot.yml b/.github/workflows/build-boot.yml index 9ae6f067..1a8a849f 100644 --- a/.github/workflows/build-boot.yml +++ b/.github/workflows/build-boot.yml @@ -22,6 +22,7 @@ jobs: - cn9130_crb_boot - fireant_boot - nanopi_r2s_boot + - rpi2_boot - rpi64_boot env: MAKEFLAGS: -j5 diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml index b9e8a8a4..d73f9154 100644 --- a/.github/workflows/build-image.yml +++ b/.github/workflows/build-image.yml @@ -8,6 +8,7 @@ on: type: choice required: true options: + - raspberrypi-rpi2 - raspberrypi-rpi64 - bananapi-bpi-r3 - friendlyarm-nanopi-r2s @@ -49,6 +50,11 @@ jobs: - name: Set bootloader and target based on board run: | case "${{ inputs.board }}" in + raspberrypi-rpi2) + echo "BOOTLOADER=rpi2-boot" >> $GITHUB_ENV + echo "ARCH=arm" >> $GITHUB_ENV + echo "BUILD_EMMC=false" >> $GITHUB_ENV + ;; raspberrypi-rpi64) echo "BOOTLOADER=rpi64-boot" >> $GITHUB_ENV echo "ARCH=aarch64" >> $GITHUB_ENV