diff options
author | Mark Hatle <mark.hatle@xilinx.com> | 2020-03-12 10:52:29 -0700 |
---|---|---|
committer | Mark Hatle <mark.hatle@xilinx.com> | 2020-03-17 07:57:27 -0700 |
commit | 0deecd58dfd0fb5f6463f1b779076cd1e518854c (patch) | |
tree | 22ffcc2b9eedbd666f7032a4088161a360bf613c | |
parent | e62aac4ae1ebb3948be18b8da8f024cb7d7a9d7d (diff) | |
download | meta-xilinx-0deecd58dfd0fb5f6463f1b779076cd1e518854c.tar.gz |
xilinx-qemu: Move -multiarch extension to the machine-xilinx-qemu
All xilinx BSPs that support qemu should use the machine-xilinx-qemu.inc
file. So move all references to the -multiarch extension into that
location.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
4 files changed, 1 insertions, 9 deletions
diff --git a/meta-xilinx-bsp/conf/machine/include/machine-xilinx-qemu.inc b/meta-xilinx-bsp/conf/machine/include/machine-xilinx-qemu.inc index 3d3eae5c..74eeff4d 100644 --- a/meta-xilinx-bsp/conf/machine/include/machine-xilinx-qemu.inc +++ b/meta-xilinx-bsp/conf/machine/include/machine-xilinx-qemu.inc | |||
@@ -44,6 +44,7 @@ def qemu_zynqmp_unhalt(d, multiarch): | |||
44 | return "-device loader,addr=0xfd1a0104,data=0x8000000e,data-len=4 -device loader,addr=0xfd1a0104,data=0x8000000e,data-len=4" | 44 | return "-device loader,addr=0xfd1a0104,data=0x8000000e,data-len=4 -device loader,addr=0xfd1a0104,data=0x8000000e,data-len=4" |
45 | 45 | ||
46 | # For qemuboot, default setup across all machines in meta-xilinx | 46 | # For qemuboot, default setup across all machines in meta-xilinx |
47 | QB_SYSTEM_NAME_aarch64 ?= "${@qemu_target_binary(d)}-multiarch" | ||
47 | QB_SYSTEM_NAME ?= "${@qemu_target_binary(d)}" | 48 | QB_SYSTEM_NAME ?= "${@qemu_target_binary(d)}" |
48 | QB_DEFAULT_FSTYPE ?= "cpio" | 49 | QB_DEFAULT_FSTYPE ?= "cpio" |
49 | QB_DTB ?= "${@qemu_default_dtb(d)}" | 50 | QB_DTB ?= "${@qemu_default_dtb(d)}" |
diff --git a/meta-xilinx-bsp/conf/machine/vc-p-a2197-00-versal.conf b/meta-xilinx-bsp/conf/machine/vc-p-a2197-00-versal.conf index 4a5c5b02..94d94c8b 100644 --- a/meta-xilinx-bsp/conf/machine/vc-p-a2197-00-versal.conf +++ b/meta-xilinx-bsp/conf/machine/vc-p-a2197-00-versal.conf | |||
@@ -47,10 +47,7 @@ QB_DEFAULT_FSTYPE_qemuboot-xilinx = "wic.qemu-sd" | |||
47 | QB_OPT_APPEND_append_qemuboot-xilinx = " -boot mode=5" | 47 | QB_OPT_APPEND_append_qemuboot-xilinx = " -boot mode=5" |
48 | QB_ROOTFS_OPT_qemuboot-xilinx = " -drive if=sd,index=1,file=@ROOTFS@,format=raw" | 48 | QB_ROOTFS_OPT_qemuboot-xilinx = " -drive if=sd,index=1,file=@ROOTFS@,format=raw" |
49 | 49 | ||
50 | # Use the multiarch script instead of launching QEMU directly | ||
51 | # Use booti 80000 6000000 4000000 to launch | 50 | # Use booti 80000 6000000 4000000 to launch |
52 | QB_SYSTEM_NAME_append = "-multiarch" | ||
53 | |||
54 | QB_OPT_APPEND ?= " -serial null -serial null -serial mon:stdio -display none" | 51 | QB_OPT_APPEND ?= " -serial null -serial null -serial mon:stdio -display none" |
55 | 52 | ||
56 | QB_OPT_APPEND_append_qemuboot-xilinx = " \ | 53 | QB_OPT_APPEND_append_qemuboot-xilinx = " \ |
diff --git a/meta-xilinx-bsp/conf/machine/vck190-versal.conf b/meta-xilinx-bsp/conf/machine/vck190-versal.conf index cb1921dd..f16ca9f7 100644 --- a/meta-xilinx-bsp/conf/machine/vck190-versal.conf +++ b/meta-xilinx-bsp/conf/machine/vck190-versal.conf | |||
@@ -53,10 +53,7 @@ QB_DEFAULT_FSTYPE_qemuboot-xilinx = "wic.qemu-sd" | |||
53 | QB_OPT_APPEND_append_qemuboot-xilinx = " -boot mode=5" | 53 | QB_OPT_APPEND_append_qemuboot-xilinx = " -boot mode=5" |
54 | QB_ROOTFS_OPT_qemuboot-xilinx = " -drive if=sd,index=1,file=@ROOTFS@,format=raw" | 54 | QB_ROOTFS_OPT_qemuboot-xilinx = " -drive if=sd,index=1,file=@ROOTFS@,format=raw" |
55 | 55 | ||
56 | # Use the multiarch script instead of launching QEMU directly | ||
57 | # Use booti 80000 6000000 4000000 to launch | 56 | # Use booti 80000 6000000 4000000 to launch |
58 | QB_SYSTEM_NAME_append = "-multiarch" | ||
59 | |||
60 | QB_OPT_APPEND ?= " -serial null -serial null -serial mon:stdio -display none" | 57 | QB_OPT_APPEND ?= " -serial null -serial null -serial mon:stdio -display none" |
61 | 58 | ||
62 | QB_OPT_APPEND_append_qemuboot-xilinx = " \ | 59 | QB_OPT_APPEND_append_qemuboot-xilinx = " \ |
diff --git a/meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf b/meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf index ecf85589..855a5b85 100644 --- a/meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf +++ b/meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf | |||
@@ -43,9 +43,6 @@ QB_MEM = "-m 4096" | |||
43 | QB_OPT_APPEND ?= "-nographic -serial mon:stdio -serial null" | 43 | QB_OPT_APPEND ?= "-nographic -serial mon:stdio -serial null" |
44 | QB_NETWORK_DEVICE = "-net nic -net nic -net nic -net nic,netdev=net0,macaddr=@MAC@" | 44 | QB_NETWORK_DEVICE = "-net nic -net nic -net nic -net nic,netdev=net0,macaddr=@MAC@" |
45 | 45 | ||
46 | # Use the multiarch script instead of launching QEMU directly | ||
47 | QB_SYSTEM_NAME_append = "-multiarch" | ||
48 | |||
49 | # Replicate BootROM like behaviour, having loaded SPL and PMU(ROM+FW) | 46 | # Replicate BootROM like behaviour, having loaded SPL and PMU(ROM+FW) |
50 | QB_OPT_APPEND_append_qemuboot-xilinx = " \ | 47 | QB_OPT_APPEND_append_qemuboot-xilinx = " \ |
51 | -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/zcu102-arm.dtb \ | 48 | -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/zcu102-arm.dtb \ |