@@ -83,6 +83,7 @@ elif [ "$arch" = "arm" ] || [ "$arch" = "arm64" ]; then
testdir=arm
elif [ "$arch" = "ppc64" ]; then
testdir=powerpc
+ firmware="$testdir/boot_rom.bin"
else
testdir=$arch
fi
@@ -137,4 +138,5 @@ OBJDUMP=$cross_prefix$objdump
AR=$cross_prefix$ar
API=$api
TEST_DIR=$testdir
+FIRMWARE=$firmware
EOF
@@ -42,7 +42,7 @@ fi
M='-machine pseries'
M+=",accel=$ACCEL"
-command="$qemu $M -bios powerpc/boot_rom.bin"
+command="$qemu $M -bios $FIRMWARE"
command+=" -display none -serial stdio -kernel"
echo $command "$@"
@@ -51,6 +51,11 @@ generate_test ()
return 1
fi
+ if [ "$FIRMWARE" ]; then
+ temp_file firmware "$FIRMWARE"
+ echo 'export FIRMWARE=$firmware'
+ fi
+
echo "trap 'rm -f \$cleanup' EXIT"
temp_file bin "$kernel"
PowerPC needs firmware. Signed-off-by: Andrew Jones <drjones@redhat.com> --- configure | 2 ++ powerpc/run | 2 +- scripts/mkstandalone.sh | 5 +++++ 3 files changed, 8 insertions(+), 1 deletion(-)