test-qemu: Use romulus instead of witherspoon for AST2500
Witherspoon's UBI support seems to be broken. However, Romulus is also
used by CI as a smoke test, so it makes sense to check that anyway.
Change-Id: I4c20f1e800b43ff5614cb34388149657529a5130
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
diff --git a/scripts/test-qemu b/scripts/test-qemu
index 813fd73..d5a5d56 100755
--- a/scripts/test-qemu
+++ b/scripts/test-qemu
@@ -31,13 +31,13 @@
-c 'expect -i $spawn_id eof'
# AST2500
-WITHERSPOON_ARTIFACTS="$(acquire witherspoon)"
-WITHERSPOON_MTD="$(echo "${WITHERSPOON_ARTIFACTS}"/obmc-phosphor-image-witherspoon-*.ubi.mtd)"
+ROMULUS_ARTIFACTS="$(acquire romulus)"
+ROMULUS_MTD="$(echo "${ROMULUS_ARTIFACTS}"/obmc-phosphor-image-romulus*.mtd)"
# shellcheck disable=SC2016 # 'expect' strings
expect \
-c "spawn qemu-system-arm \
- -M witherspoon-bmc \
- -drive file=${WITHERSPOON_MTD},if=mtd,format=raw \
+ -M romulus-bmc \
+ -drive file=${ROMULUS_MTD},if=mtd,format=raw \
-nographic \
-net nic \
-net user,hostfwd=:127.0.0.1:2222-:22,hostfwd=:127.0.0.1:2443-:443,hostname=qemu" \