automation: qemu-smoke-arm64.sh: Rename the device tree to avoid confusion

Rename the device tree from virt-gicv3 to virt-gicv2 to avoid confusion
since the version of the generic interrupt controller used for this test
is the v2 and not the v3.

Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
Xenia Ragiadakou authored and Stefano Stabellini committed 2022-07-29 16:25:44 -07:00
1 parent d7cb99c378
commit 1971609550
1 file changed
+5 -5
+5 -5
View File
@@ -36,11 +36,11 @@ curl -fsSLO https://github.com/qemu/qemu/raw/v5.2.0/pc-bios/efi-virtio.rom
-machine virtualization=true \
-cpu cortex-a57 -machine type=virt \
-m 1024 -display none \
-machine dumpdtb=binaries/virt-gicv3.dtb
-machine dumpdtb=binaries/virt-gicv2.dtb
# XXX disable pl061 to avoid Linux crash
dtc -I dtb -O dts binaries/virt-gicv3.dtb > binaries/virt-gicv3.dts
sed 's/compatible = "arm,pl061.*/status = "disabled";/g' binaries/virt-gicv3.dts > binaries/virt-gicv3-edited.dts
dtc -I dts -O dtb binaries/virt-gicv3-edited.dts > binaries/virt-gicv3.dtb
dtc -I dtb -O dts binaries/virt-gicv2.dtb > binaries/virt-gicv2.dts
sed 's/compatible = "arm,pl061.*/status = "disabled";/g' binaries/virt-gicv2.dts > binaries/virt-gicv2-edited.dts
dtc -I dts -O dtb binaries/virt-gicv2-edited.dts > binaries/virt-gicv2.dtb
# Busybox
@@ -73,7 +73,7 @@ cd ..
echo 'MEMORY_START="0x40000000"
MEMORY_END="0x80000000"
DEVICE_TREE="virt-gicv3.dtb"
DEVICE_TREE="virt-gicv2.dtb"
XEN="xen"
DOM0_KERNEL="Image"
DOM0_RAMDISK="initrd"
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.