From 8e2422caf5264529c5479abaf62daca73acd44fb Mon Sep 17 00:00:00 2001 From: john-1 Date: Fri, 8 May 2026 14:41:07 +0300 Subject: [PATCH] ci: use unified -M $machine,flash-file=$f syntax (qemu-hisilicon#80) widgetii/qemu-hisilicon#80 / #81 added a machine-level flash-file property that forwards to whichever flash controller the SoC config wires up (hisi-fmc on V3+/Goke, hisi-sfc350 on V1/V2A). Drops the abstraction leak that required the consumer workflow to know which controller each machine uses. Replaces the two-line `-M $machine \\ -global hisi-*.flash-file=...` incantation with a single uniform `-M $machine,flash-file=...` that works for every SoC. Identical line across all 8 OpenIPC HiSi u-boot workflows now. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index db3fdca..4ec574f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -166,8 +166,7 @@ jobs: mkfifo /tmp/uart.in /tmp/uart.out chmod +x ./qemu-arm ./qemu-arm \ - -M ${{ matrix.machine }} \ - -global hisi-fmc.flash-file=/tmp/flash.bin \ + -M ${{ matrix.machine }},flash-file=/tmp/flash.bin \ -nographic -serial pipe:/tmp/uart \ -monitor none > /tmp/qemu.log 2>&1 & QEMU_PID=$!