From f9c2e5980dc12031adaa1535ee9fc808fbcceeb4 Mon Sep 17 00:00:00 2001 From: Yifan Xu Date: Tue, 19 Nov 2024 18:40:26 +0800 Subject: [PATCH] ci: fix aon error (use old opensbi fw) Signed-off-by: Yifan Xu --- .github/workflows/th1520.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/th1520.yml b/.github/workflows/th1520.yml index 3782324d49819..a249300cda8db 100644 --- a/.github/workflows/th1520.yml +++ b/.github/workflows/th1520.yml @@ -141,6 +141,9 @@ jobs: sudo chroot mnt sh -c 'apt update && apt dist-upgrade -y' # Add preinstalled software sudo chroot mnt sh -c 'apt install -y cpufrequtils python3-ruamel.yaml iperf firmware-realtek' + # Install old version of OpenSBI to solve devicetree aon error (th1520-mainline-opensbi) + sudo chroot mnt sh -c 'apt install --allow-downgrades -y th1520-boot-firmware=2024.05.10+sdk1.5.4' + sudo chroot mnt sh -c 'apt-mark hold th1520-boot-firmware' sudo umount -l mnt zstd boot-lpi4amain-ci-${TIMESTAMP}.ext4 zstd root-lpi4amain-ci-${TIMESTAMP}.ext4