diff options
| author | Mark Hatle <mark.hatle@xilinx.com> | 2021-11-12 14:54:38 -0800 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@xilinx.com> | 2021-11-15 13:52:07 -0800 |
| commit | 2f44ba5a42966ac2cee77485209ec239123d7aa5 (patch) | |
| tree | 0135c5185f8c6a99cf4a6fd3db767d58f6e726ca /meta-xilinx-bsp/conf/machine | |
| parent | cd447cabee3052ab4c084a55149f5d9a232b380d (diff) | |
| download | meta-xilinx-2f44ba5a42966ac2cee77485209ec239123d7aa5.tar.gz | |
Convert to new override syntax
Fix various overrides that have been missed in previous conversion.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Diffstat (limited to 'meta-xilinx-bsp/conf/machine')
| -rw-r--r-- | meta-xilinx-bsp/conf/machine/qemu-zynq7.conf | 4 | ||||
| -rw-r--r-- | meta-xilinx-bsp/conf/machine/vc-p-a2197-00-versal.conf | 10 | ||||
| -rw-r--r-- | meta-xilinx-bsp/conf/machine/vck190-versal.conf | 10 | ||||
| -rw-r--r-- | meta-xilinx-bsp/conf/machine/versal-generic.conf | 10 | ||||
| -rw-r--r-- | meta-xilinx-bsp/conf/machine/vmk180-versal.conf | 10 | ||||
| -rw-r--r-- | meta-xilinx-bsp/conf/machine/zc702-zynq7.conf | 4 | ||||
| -rw-r--r-- | meta-xilinx-bsp/conf/machine/zc706-zynq7.conf | 4 | ||||
| -rw-r--r-- | meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf | 10 | ||||
| -rw-r--r-- | meta-xilinx-bsp/conf/machine/zynq-generic.conf | 4 | ||||
| -rw-r--r-- | meta-xilinx-bsp/conf/machine/zynqmp-generic.conf | 10 |
10 files changed, 38 insertions, 38 deletions
diff --git a/meta-xilinx-bsp/conf/machine/qemu-zynq7.conf b/meta-xilinx-bsp/conf/machine/qemu-zynq7.conf index 5f25600f..8697293d 100644 --- a/meta-xilinx-bsp/conf/machine/qemu-zynq7.conf +++ b/meta-xilinx-bsp/conf/machine/qemu-zynq7.conf | |||
| @@ -20,12 +20,12 @@ FILESOVERRIDES:append:pn-init-ifupdown = ":qemuarm" | |||
| 20 | 20 | ||
| 21 | QB_MEM = "-m 1024" | 21 | QB_MEM = "-m 1024" |
| 22 | QB_NETWORK_DEVICE = "-net nic,netdev=eth0 -netdev user,id=eth0,tftp=/tftpboot -net nic" | 22 | QB_NETWORK_DEVICE = "-net nic,netdev=eth0 -netdev user,id=eth0,tftp=/tftpboot -net nic" |
| 23 | QB_DEFAULT_KERNEL_qemuboot-xilinx = "zImage" | 23 | QB_DEFAULT_KERNEL:qemuboot-xilinx = "zImage" |
| 24 | 24 | ||
| 25 | QB_SYSTEM_NAME ?= "${@qemu_target_binary(d)}" | 25 | QB_SYSTEM_NAME ?= "${@qemu_target_binary(d)}" |
| 26 | QB_DEFAULT_FSTYPE = "cpio.gz.u-boot" | 26 | QB_DEFAULT_FSTYPE = "cpio.gz.u-boot" |
| 27 | QB_DTB = "system.dtb" | 27 | QB_DTB = "system.dtb" |
| 28 | QB_ROOTFS_OPT_qemuboot-xilinx = " -drive if=sd,index=1,file=@ROOTFS@,format=raw" | 28 | QB_ROOTFS_OPT:qemuboot-xilinx = " -drive if=sd,index=1,file=@ROOTFS@,format=raw" |
| 29 | 29 | ||
| 30 | # Replicate BootROM like behaviour, having loaded SPL and PMU(ROM+FW) | 30 | # Replicate BootROM like behaviour, having loaded SPL and PMU(ROM+FW) |
| 31 | QB_OPT_APPEND = " \ | 31 | QB_OPT_APPEND = " \ |
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 558cc85e..8603098e 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 | |||
| @@ -43,14 +43,14 @@ QB_NETWORK_DEVICE = "" | |||
| 43 | QB_KERNEL_CMDLINE_APPEND ?= "" | 43 | QB_KERNEL_CMDLINE_APPEND ?= "" |
| 44 | QB_NET = "none" | 44 | QB_NET = "none" |
| 45 | 45 | ||
| 46 | QB_DEFAULT_FSTYPE_qemuboot-xilinx = "wic.qemu-sd" | 46 | 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 booti 80000 6000000 4000000 to launch | 50 | # Use booti 80000 6000000 4000000 to launch |
| 51 | 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" |
| 52 | 52 | ||
| 53 | QB_OPT_APPEND:append_qemuboot-xilinx = " \ | 53 | QB_OPT_APPEND:append:qemuboot-xilinx = " \ |
| 54 | -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/board-versal-ps-vc-p-a2197-00.dtb \ | 54 | -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/board-versal-ps-vc-p-a2197-00.dtb \ |
| 55 | -display none \ | 55 | -display none \ |
| 56 | -net nic -net user,tftp=${DEPLOY_DIR_IMAGE} \ | 56 | -net nic -net user,tftp=${DEPLOY_DIR_IMAGE} \ |
| @@ -68,5 +68,5 @@ QB_PLM_OPT = " \ | |||
| 68 | -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/board-versal-pmc-vc-p-a2197-00.dtb \ | 68 | -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/board-versal-pmc-vc-p-a2197-00.dtb \ |
| 69 | -display none \ | 69 | -display none \ |
| 70 | " | 70 | " |
| 71 | QB_OPT_APPEND:append_qemuboot-xilinx = " -plm-args '${QB_PLM_OPT}'" | 71 | QB_OPT_APPEND:append:qemuboot-xilinx = " -plm-args '${QB_PLM_OPT}'" |
| 72 | 72 | ||
diff --git a/meta-xilinx-bsp/conf/machine/vck190-versal.conf b/meta-xilinx-bsp/conf/machine/vck190-versal.conf index 62c9bc04..054bff88 100644 --- a/meta-xilinx-bsp/conf/machine/vck190-versal.conf +++ b/meta-xilinx-bsp/conf/machine/vck190-versal.conf | |||
| @@ -44,14 +44,14 @@ QB_NETWORK_DEVICE = "" | |||
| 44 | QB_KERNEL_CMDLINE_APPEND ?= "" | 44 | QB_KERNEL_CMDLINE_APPEND ?= "" |
| 45 | QB_NET = "none" | 45 | QB_NET = "none" |
| 46 | 46 | ||
| 47 | QB_DEFAULT_FSTYPE_qemuboot-xilinx = "wic.qemu-sd" | 47 | QB_DEFAULT_FSTYPE:qemuboot-xilinx = "wic.qemu-sd" |
| 48 | QB_OPT_APPEND:append_qemuboot-xilinx = " -boot mode=5" | 48 | QB_OPT_APPEND:append:qemuboot-xilinx = " -boot mode=5" |
| 49 | QB_ROOTFS_OPT_qemuboot-xilinx = " -drive if=sd,index=1,file=@ROOTFS@,format=raw" | 49 | QB_ROOTFS_OPT:qemuboot-xilinx = " -drive if=sd,index=1,file=@ROOTFS@,format=raw" |
| 50 | 50 | ||
| 51 | # Use booti 80000 6000000 4000000 to launch | 51 | # Use booti 80000 6000000 4000000 to launch |
| 52 | QB_OPT_APPEND ?= " -serial null -serial null -serial mon:stdio -display none" | 52 | QB_OPT_APPEND ?= " -serial null -serial null -serial mon:stdio -display none" |
| 53 | 53 | ||
| 54 | QB_OPT_APPEND:append_qemuboot-xilinx = " \ | 54 | QB_OPT_APPEND:append:qemuboot-xilinx = " \ |
| 55 | -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/board-versal-ps-vc-p-a2197-00.dtb \ | 55 | -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/board-versal-ps-vc-p-a2197-00.dtb \ |
| 56 | -display none \ | 56 | -display none \ |
| 57 | -net nic -net user,tftp=${DEPLOY_DIR_IMAGE} \ | 57 | -net nic -net user,tftp=${DEPLOY_DIR_IMAGE} \ |
| @@ -70,4 +70,4 @@ QB_PLM_OPT = " \ | |||
| 70 | -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/board-versal-pmc-vc-p-a2197-00.dtb \ | 70 | -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/board-versal-pmc-vc-p-a2197-00.dtb \ |
| 71 | -display none \ | 71 | -display none \ |
| 72 | " | 72 | " |
| 73 | QB_OPT_APPEND:append_qemuboot-xilinx = " -plm-args '${QB_PLM_OPT}'" | 73 | QB_OPT_APPEND:append:qemuboot-xilinx = " -plm-args '${QB_PLM_OPT}'" |
diff --git a/meta-xilinx-bsp/conf/machine/versal-generic.conf b/meta-xilinx-bsp/conf/machine/versal-generic.conf index 99dc140d..2b0cd495 100644 --- a/meta-xilinx-bsp/conf/machine/versal-generic.conf +++ b/meta-xilinx-bsp/conf/machine/versal-generic.conf | |||
| @@ -50,9 +50,9 @@ QB_NETWORK_DEVICE = "" | |||
| 50 | QB_KERNEL_CMDLINE_APPEND ?= "" | 50 | QB_KERNEL_CMDLINE_APPEND ?= "" |
| 51 | QB_NET = "none" | 51 | QB_NET = "none" |
| 52 | 52 | ||
| 53 | QB_DEFAULT_FSTYPE_qemuboot-xilinx = "wic.qemu-sd" | 53 | QB_DEFAULT_FSTYPE:qemuboot-xilinx = "wic.qemu-sd" |
| 54 | QB_OPT_APPEND:append_qemuboot-xilinx = " -boot mode=5" | 54 | QB_OPT_APPEND:append:qemuboot-xilinx = " -boot mode=5" |
| 55 | QB_ROOTFS_OPT_qemuboot-xilinx = " -drive if=sd,index=1,file=@ROOTFS@,format=raw" | 55 | QB_ROOTFS_OPT:qemuboot-xilinx = " -drive if=sd,index=1,file=@ROOTFS@,format=raw" |
| 56 | 56 | ||
| 57 | # Use booti 80000 6000000 4000000 to launch | 57 | # Use booti 80000 6000000 4000000 to launch |
| 58 | QB_OPT_APPEND ?= " -serial null -serial null -serial mon:stdio -display none" | 58 | QB_OPT_APPEND ?= " -serial null -serial null -serial mon:stdio -display none" |
| @@ -64,7 +64,7 @@ QEMU_HW_DTB_PMC ?="${QEMU_HW_DTB_PATH}/board-versal-pmc-vc-p-a2197-00.dtb" | |||
| 64 | QEMU_HW_DTB_PS_vp1202-versal = "${QEMU_HW_DTB_PATH}/board-versal-vp1202-ps-virt.dtb" | 64 | QEMU_HW_DTB_PS_vp1202-versal = "${QEMU_HW_DTB_PATH}/board-versal-vp1202-ps-virt.dtb" |
| 65 | QEMU_HW_DTB_PMC_vp1202-versal = "${QEMU_HW_DTB_PATH}/board-versal-vp1202-pmc-virt.dtb" | 65 | QEMU_HW_DTB_PMC_vp1202-versal = "${QEMU_HW_DTB_PATH}/board-versal-vp1202-pmc-virt.dtb" |
| 66 | 66 | ||
| 67 | QB_OPT_APPEND:append_qemuboot-xilinx = " \ | 67 | QB_OPT_APPEND:append:qemuboot-xilinx = " \ |
| 68 | -hw-dtb ${QEMU_HW_DTB_PS} \ | 68 | -hw-dtb ${QEMU_HW_DTB_PS} \ |
| 69 | -display none \ | 69 | -display none \ |
| 70 | -net nic -net user,tftp=${DEPLOY_DIR_IMAGE} \ | 70 | -net nic -net user,tftp=${DEPLOY_DIR_IMAGE} \ |
| @@ -83,4 +83,4 @@ QB_PLM_OPT = " \ | |||
| 83 | -hw-dtb ${QEMU_HW_DTB_PMC} \ | 83 | -hw-dtb ${QEMU_HW_DTB_PMC} \ |
| 84 | -display none \ | 84 | -display none \ |
| 85 | " | 85 | " |
| 86 | QB_OPT_APPEND:append_qemuboot-xilinx = " -plm-args '${QB_PLM_OPT}'" | 86 | QB_OPT_APPEND:append:qemuboot-xilinx = " -plm-args '${QB_PLM_OPT}'" |
diff --git a/meta-xilinx-bsp/conf/machine/vmk180-versal.conf b/meta-xilinx-bsp/conf/machine/vmk180-versal.conf index 39801e22..1996a36e 100644 --- a/meta-xilinx-bsp/conf/machine/vmk180-versal.conf +++ b/meta-xilinx-bsp/conf/machine/vmk180-versal.conf | |||
| @@ -41,14 +41,14 @@ QB_NETWORK_DEVICE = "" | |||
| 41 | QB_KERNEL_CMDLINE_APPEND ?= "" | 41 | QB_KERNEL_CMDLINE_APPEND ?= "" |
| 42 | QB_NET = "none" | 42 | QB_NET = "none" |
| 43 | 43 | ||
| 44 | QB_DEFAULT_FSTYPE_qemuboot-xilinx = "wic.qemu-sd" | 44 | QB_DEFAULT_FSTYPE:qemuboot-xilinx = "wic.qemu-sd" |
| 45 | QB_OPT_APPEND:append_qemuboot-xilinx = " -boot mode=5" | 45 | QB_OPT_APPEND:append:qemuboot-xilinx = " -boot mode=5" |
| 46 | QB_ROOTFS_OPT_qemuboot-xilinx = " -drive if=sd,index=1,file=@ROOTFS@,format=raw" | 46 | QB_ROOTFS_OPT:qemuboot-xilinx = " -drive if=sd,index=1,file=@ROOTFS@,format=raw" |
| 47 | 47 | ||
| 48 | # Use booti 80000 6000000 4000000 to launch | 48 | # Use booti 80000 6000000 4000000 to launch |
| 49 | QB_OPT_APPEND ?= " -serial null -serial null -serial mon:stdio -display none" | 49 | QB_OPT_APPEND ?= " -serial null -serial null -serial mon:stdio -display none" |
| 50 | 50 | ||
| 51 | QB_OPT_APPEND:append_qemuboot-xilinx = " \ | 51 | QB_OPT_APPEND:append:qemuboot-xilinx = " \ |
| 52 | -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/board-versal-ps-vc-p-a2197-00.dtb \ | 52 | -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/board-versal-ps-vc-p-a2197-00.dtb \ |
| 53 | -display none \ | 53 | -display none \ |
| 54 | -net nic -net user,tftp=${DEPLOY_DIR_IMAGE} \ | 54 | -net nic -net user,tftp=${DEPLOY_DIR_IMAGE} \ |
| @@ -67,4 +67,4 @@ QB_PLM_OPT = " \ | |||
| 67 | -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/board-versal-pmc-vc-p-a2197-00.dtb \ | 67 | -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/board-versal-pmc-vc-p-a2197-00.dtb \ |
| 68 | -display none \ | 68 | -display none \ |
| 69 | " | 69 | " |
| 70 | QB_OPT_APPEND:append_qemuboot-xilinx = " -plm-args '${QB_PLM_OPT}'" | 70 | QB_OPT_APPEND:append:qemuboot-xilinx = " -plm-args '${QB_PLM_OPT}'" |
diff --git a/meta-xilinx-bsp/conf/machine/zc702-zynq7.conf b/meta-xilinx-bsp/conf/machine/zc702-zynq7.conf index 82d47cb4..224365fa 100644 --- a/meta-xilinx-bsp/conf/machine/zc702-zynq7.conf +++ b/meta-xilinx-bsp/conf/machine/zc702-zynq7.conf | |||
| @@ -38,12 +38,12 @@ IMAGE_BOOT_FILES += " \ | |||
| 38 | 38 | ||
| 39 | QB_MEM = "-m 1024" | 39 | QB_MEM = "-m 1024" |
| 40 | QB_NETWORK_DEVICE = "-net nic,netdev=eth0 -netdev user,id=eth0,tftp=/tftpboot -net nic" | 40 | QB_NETWORK_DEVICE = "-net nic,netdev=eth0 -netdev user,id=eth0,tftp=/tftpboot -net nic" |
| 41 | QB_DEFAULT_KERNEL_qemuboot-xilinx = "zImage" | 41 | QB_DEFAULT_KERNEL:qemuboot-xilinx = "zImage" |
| 42 | 42 | ||
| 43 | QB_SYSTEM_NAME ?= "${@qemu_target_binary(d)}" | 43 | QB_SYSTEM_NAME ?= "${@qemu_target_binary(d)}" |
| 44 | QB_DEFAULT_FSTYPE = "cpio.gz.u-boot" | 44 | QB_DEFAULT_FSTYPE = "cpio.gz.u-boot" |
| 45 | QB_DTB = "system.dtb" | 45 | QB_DTB = "system.dtb" |
| 46 | QB_ROOTFS_OPT_qemuboot-xilinx = " -drive if=sd,index=1,file=@ROOTFS@,format=raw" | 46 | QB_ROOTFS_OPT:qemuboot-xilinx = " -drive if=sd,index=1,file=@ROOTFS@,format=raw" |
| 47 | 47 | ||
| 48 | # Replicate BootROM like behaviour, having loaded SPL and PMU(ROM+FW) | 48 | # Replicate BootROM like behaviour, having loaded SPL and PMU(ROM+FW) |
| 49 | QB_OPT_APPEND = " \ | 49 | QB_OPT_APPEND = " \ |
diff --git a/meta-xilinx-bsp/conf/machine/zc706-zynq7.conf b/meta-xilinx-bsp/conf/machine/zc706-zynq7.conf index b5268689..3a182217 100644 --- a/meta-xilinx-bsp/conf/machine/zc706-zynq7.conf +++ b/meta-xilinx-bsp/conf/machine/zc706-zynq7.conf | |||
| @@ -38,12 +38,12 @@ IMAGE_BOOT_FILES += " \ | |||
| 38 | 38 | ||
| 39 | QB_MEM = "-m 1024" | 39 | QB_MEM = "-m 1024" |
| 40 | QB_NETWORK_DEVICE = "-net nic,netdev=eth0 -netdev user,id=eth0,tftp=/tftpboot -net nic" | 40 | QB_NETWORK_DEVICE = "-net nic,netdev=eth0 -netdev user,id=eth0,tftp=/tftpboot -net nic" |
| 41 | QB_DEFAULT_KERNEL_qemuboot-xilinx = "zImage" | 41 | QB_DEFAULT_KERNEL:qemuboot-xilinx = "zImage" |
| 42 | 42 | ||
| 43 | QB_SYSTEM_NAME ?= "${@qemu_target_binary(d)}" | 43 | QB_SYSTEM_NAME ?= "${@qemu_target_binary(d)}" |
| 44 | QB_DEFAULT_FSTYPE = "cpio.gz.u-boot" | 44 | QB_DEFAULT_FSTYPE = "cpio.gz.u-boot" |
| 45 | QB_DTB = "system.dtb" | 45 | QB_DTB = "system.dtb" |
| 46 | QB_ROOTFS_OPT_qemuboot-xilinx = " -drive if=sd,index=1,file=@ROOTFS@,format=raw" | 46 | QB_ROOTFS_OPT:qemuboot-xilinx = " -drive if=sd,index=1,file=@ROOTFS@,format=raw" |
| 47 | 47 | ||
| 48 | # Replicate BootROM like behaviour, having loaded SPL and PMU(ROM+FW) | 48 | # Replicate BootROM like behaviour, having loaded SPL and PMU(ROM+FW) |
| 49 | QB_OPT_APPEND = " \ | 49 | QB_OPT_APPEND = " \ |
diff --git a/meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf b/meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf index 57570531..89c997f1 100644 --- a/meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf +++ b/meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf | |||
| @@ -42,7 +42,7 @@ QB_OPT_APPEND ?= "-nographic -serial mon:stdio -serial null" | |||
| 42 | QB_NETWORK_DEVICE = "-net nic -net nic -net nic -net nic,netdev=net0,macaddr=@MAC@" | 42 | QB_NETWORK_DEVICE = "-net nic -net nic -net nic -net nic,netdev=net0,macaddr=@MAC@" |
| 43 | 43 | ||
| 44 | # Replicate BootROM like behaviour, having loaded SPL and PMU(ROM+FW) | 44 | # Replicate BootROM like behaviour, having loaded SPL and PMU(ROM+FW) |
| 45 | QB_OPT_APPEND:append_qemuboot-xilinx = " \ | 45 | QB_OPT_APPEND:append:qemuboot-xilinx = " \ |
| 46 | -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/zcu102-arm.dtb \ | 46 | -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/zcu102-arm.dtb \ |
| 47 | ${@qemu_zynqmp_unhalt(d, True)} \ | 47 | ${@qemu_zynqmp_unhalt(d, True)} \ |
| 48 | -device loader,file=${DEPLOY_DIR_IMAGE}/arm-trusted-firmware.elf,cpu-num=0 \ | 48 | -device loader,file=${DEPLOY_DIR_IMAGE}/arm-trusted-firmware.elf,cpu-num=0 \ |
| @@ -51,9 +51,9 @@ QB_OPT_APPEND:append_qemuboot-xilinx = " \ | |||
| 51 | " | 51 | " |
| 52 | 52 | ||
| 53 | # Attach the rootfs disk image to the second SD interface of QEMU (which is SD0) | 53 | # Attach the rootfs disk image to the second SD interface of QEMU (which is SD0) |
| 54 | QB_DEFAULT_FSTYPE_qemuboot-xilinx = "wic.qemu-sd" | 54 | QB_DEFAULT_FSTYPE:qemuboot-xilinx = "wic.qemu-sd" |
| 55 | QB_OPT_APPEND:append_qemuboot-xilinx = " -boot mode=5" | 55 | QB_OPT_APPEND:append:qemuboot-xilinx = " -boot mode=5" |
| 56 | QB_ROOTFS_OPT_qemuboot-xilinx = " -drive if=sd,index=1,file=@ROOTFS@,format=raw" | 56 | QB_ROOTFS_OPT:qemuboot-xilinx = " -drive if=sd,index=1,file=@ROOTFS@,format=raw" |
| 57 | 57 | ||
| 58 | QB_PMU_OPT = " \ | 58 | QB_PMU_OPT = " \ |
| 59 | -M microblaze-fdt \ | 59 | -M microblaze-fdt \ |
| @@ -64,6 +64,6 @@ QB_PMU_OPT = " \ | |||
| 64 | -device loader,addr=0xfd1a0074,data=0x1011003,data-len=4 \ | 64 | -device loader,addr=0xfd1a0074,data=0x1011003,data-len=4 \ |
| 65 | -device loader,addr=0xfd1a007C,data=0x1010f03,data-len=4 \ | 65 | -device loader,addr=0xfd1a007C,data=0x1010f03,data-len=4 \ |
| 66 | " | 66 | " |
| 67 | QB_OPT_APPEND:append_qemuboot-xilinx = " -pmu-args '${QB_PMU_OPT}'" | 67 | QB_OPT_APPEND:append:qemuboot-xilinx = " -pmu-args '${QB_PMU_OPT}'" |
| 68 | 68 | ||
| 69 | do_write_qemuboot_conf[depends] += "u-boot-zynq-uenv:do_deploy" | 69 | do_write_qemuboot_conf[depends] += "u-boot-zynq-uenv:do_deploy" |
diff --git a/meta-xilinx-bsp/conf/machine/zynq-generic.conf b/meta-xilinx-bsp/conf/machine/zynq-generic.conf index 8a8d8f24..b585b7bf 100644 --- a/meta-xilinx-bsp/conf/machine/zynq-generic.conf +++ b/meta-xilinx-bsp/conf/machine/zynq-generic.conf | |||
| @@ -21,12 +21,12 @@ HDF_MACHINE = "zc702-zynq7" | |||
| 21 | 21 | ||
| 22 | QB_MEM = "-m 1024" | 22 | QB_MEM = "-m 1024" |
| 23 | QB_NETWORK_DEVICE = "-net nic,netdev=eth0 -netdev user,id=eth0,tftp=/tftpboot -net nic" | 23 | QB_NETWORK_DEVICE = "-net nic,netdev=eth0 -netdev user,id=eth0,tftp=/tftpboot -net nic" |
| 24 | QB_DEFAULT_KERNEL_qemuboot-xilinx = "zImage" | 24 | QB_DEFAULT_KERNEL:qemuboot-xilinx = "zImage" |
| 25 | 25 | ||
| 26 | QB_SYSTEM_NAME ?= "${@qemu_target_binary(d)}" | 26 | QB_SYSTEM_NAME ?= "${@qemu_target_binary(d)}" |
| 27 | QB_DEFAULT_FSTYPE = "cpio.gz.u-boot" | 27 | QB_DEFAULT_FSTYPE = "cpio.gz.u-boot" |
| 28 | QB_DTB = "system.dtb" | 28 | QB_DTB = "system.dtb" |
| 29 | QB_ROOTFS_OPT_qemuboot-xilinx = " -drive if=sd,index=1,file=@ROOTFS@,format=raw" | 29 | QB_ROOTFS_OPT:qemuboot-xilinx = " -drive if=sd,index=1,file=@ROOTFS@,format=raw" |
| 30 | 30 | ||
| 31 | # Replicate BootROM like behaviour, having loaded SPL and PMU(ROM+FW) | 31 | # Replicate BootROM like behaviour, having loaded SPL and PMU(ROM+FW) |
| 32 | QB_OPT_APPEND = " \ | 32 | QB_OPT_APPEND = " \ |
diff --git a/meta-xilinx-bsp/conf/machine/zynqmp-generic.conf b/meta-xilinx-bsp/conf/machine/zynqmp-generic.conf index 6f33c199..581d190a 100644 --- a/meta-xilinx-bsp/conf/machine/zynqmp-generic.conf +++ b/meta-xilinx-bsp/conf/machine/zynqmp-generic.conf | |||
| @@ -56,7 +56,7 @@ QB_OPT_APPEND ?= "-nographic -serial mon:stdio -serial null" | |||
| 56 | QB_NETWORK_DEVICE = "-net nic -net nic -net nic -net nic,netdev=net0,macaddr=@MAC@" | 56 | QB_NETWORK_DEVICE = "-net nic -net nic -net nic -net nic,netdev=net0,macaddr=@MAC@" |
| 57 | 57 | ||
| 58 | # Replicate BootROM like behaviour, having loaded SPL and PMU(ROM+FW) | 58 | # Replicate BootROM like behaviour, having loaded SPL and PMU(ROM+FW) |
| 59 | QB_OPT_APPEND:append_qemuboot-xilinx = " \ | 59 | QB_OPT_APPEND:append:qemuboot-xilinx = " \ |
| 60 | -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/zcu102-arm.dtb \ | 60 | -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/zcu102-arm.dtb \ |
| 61 | ${@qemu_zynqmp_unhalt(d, True)} \ | 61 | ${@qemu_zynqmp_unhalt(d, True)} \ |
| 62 | -device loader,file=${DEPLOY_DIR_IMAGE}/arm-trusted-firmware.elf,cpu-num=0 \ | 62 | -device loader,file=${DEPLOY_DIR_IMAGE}/arm-trusted-firmware.elf,cpu-num=0 \ |
| @@ -65,9 +65,9 @@ QB_OPT_APPEND:append_qemuboot-xilinx = " \ | |||
| 65 | " | 65 | " |
| 66 | 66 | ||
| 67 | # Attach the rootfs disk image to the second SD interface of QEMU (which is SD0) | 67 | # Attach the rootfs disk image to the second SD interface of QEMU (which is SD0) |
| 68 | QB_DEFAULT_FSTYPE_qemuboot-xilinx = "wic.qemu-sd" | 68 | QB_DEFAULT_FSTYPE:qemuboot-xilinx = "wic.qemu-sd" |
| 69 | QB_OPT_APPEND:append_qemuboot-xilinx = " -boot mode=5" | 69 | QB_OPT_APPEND:append:qemuboot-xilinx = " -boot mode=5" |
| 70 | QB_ROOTFS_OPT_qemuboot-xilinx = " -drive if=sd,index=1,file=@ROOTFS@,format=raw" | 70 | QB_ROOTFS_OPT:qemuboot-xilinx = " -drive if=sd,index=1,file=@ROOTFS@,format=raw" |
| 71 | 71 | ||
| 72 | QB_PMU_OPT = " \ | 72 | QB_PMU_OPT = " \ |
| 73 | -M microblaze-fdt \ | 73 | -M microblaze-fdt \ |
| @@ -78,7 +78,7 @@ QB_PMU_OPT = " \ | |||
| 78 | -device loader,addr=0xfd1a0074,data=0x1011003,data-len=4 \ | 78 | -device loader,addr=0xfd1a0074,data=0x1011003,data-len=4 \ |
| 79 | -device loader,addr=0xfd1a007C,data=0x1010f03,data-len=4 \ | 79 | -device loader,addr=0xfd1a007C,data=0x1010f03,data-len=4 \ |
| 80 | " | 80 | " |
| 81 | QB_OPT_APPEND:append_qemuboot-xilinx = " -pmu-args '${QB_PMU_OPT}'" | 81 | QB_OPT_APPEND:append:qemuboot-xilinx = " -pmu-args '${QB_PMU_OPT}'" |
| 82 | 82 | ||
| 83 | do_write_qemuboot_conf[depends] += "u-boot-zynq-uenv:do_deploy" | 83 | do_write_qemuboot_conf[depends] += "u-boot-zynq-uenv:do_deploy" |
| 84 | 84 | ||
