From 869bd302a8232806889685022231912210e49ff9 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Mon, 1 Jul 2024 11:47:33 +0200 Subject: [PATCH] Find opensbi in any directory name --- fpga/upload.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fpga/upload.sh b/fpga/upload.sh index 503f775..d64bfa7 100755 --- a/fpga/upload.sh +++ b/fpga/upload.sh @@ -10,11 +10,10 @@ if [ "$1" != "" ]; then dst="$1" fi -#rsync -a fpga/fpgactl "$dst" +rsync -a fpga/fpgactl "$dst" #rsync -a fpga/boot.sh "$dst" rsync -a fpga/env.sh "$dst" -#rsync "$OPENSBI/share/opensbi/lp64/fpga/openpiton/firmware/fw_payload.bin" "$dst/opensbi.bin" -rsync "$OPENSBI/share/opensbi/lp64d/fpga/ox_alveo/firmware/fw_payload.bin" "$dst/opensbi.bin" +rsync $OPENSBI/share/opensbi/*/fpga/*/firmware/fw_payload.bin "$dst/opensbi.bin" rsync "$KERNEL/Image" "$dst/kernel.bin" rsync "$INITRD/initrd" "$dst/initrd.bin" rsync "$ROOTFS/sd-image/rootfs.img" "$dst/rootfs.img"