On 9/26/22 07:04, Michal Orzel wrote:
Take an example from arm64 qemu test scripts and use ImageBuilder
to generate u-boot script automatically. Calculating the addresses
manually is quite error prone and also we will be able to benefit
from using ImageBuilder when adding domUs to this test in the future.
Install and use u-boot from the debian package.
Modify the script so that binaries are loaded from u-boot via tftp.
Remove dtuart=/pl011@9000000 because stdout-path in QEMU dtb is always
set to pl011 node path.
Signed-off-by: Michal Orzel <[email protected]>
---
Changes in v2:
- add explanation in commit msg why we remove dtuart path
---
automation/scripts/qemu-smoke-arm32.sh | 57 ++++++++++++--------------
1 file changed, 27 insertions(+), 30 deletions(-)
diff --git a/automation/scripts/qemu-smoke-arm32.sh
b/automation/scripts/qemu-smoke-arm32.sh
index 530f3892fdd3..765facbe4d66 100755
--- a/automation/scripts/qemu-smoke-arm32.sh
+++ b/automation/scripts/qemu-smoke-arm32.sh
@@ -4,7 +4,9 @@ set -ex
export DEBIAN_FRONTENT=noninteractive
While you are here, there's a typo. s/DEBIAN_FRONTENT/DEBIAN_FRONTEND/