[meta-xilinx] [PATCH v1] qemuzynmp: Add the qemuzynqmp machine

Alistair Francis alistair.francis at xilinx.com
Thu May 12 13:44:37 PDT 2016


> -----Original Message-----
> From: Alistair Francis [mailto:alistair.francis at xilinx.com]
> Sent: Thursday, 12 May 2016 1:12 PM
> To: meta-xilinx at yoctoproject.org
> Cc: Manjukumar Harthikote Matha <MANJUKUM at xilinx.com>;
> nathan at nathanrossi.com; Alistair Francis <alistai at xilinx.com>
> Subject: [PATCH v1] qemuzynmp: Add the qemuzynqmp machine
>
> Add the qemuzynqmp machine based on the physical ZCU02 revB board.
>
> Signed-off-by: Alistair Francis <alistair.francis at xilinx.com>
> ---
> This patch relies on QEMU ZynqMP support in the Yocto scripts.
> I am sending a patch for that as well.

+ My gmail account.

Sorry about the poor email, I forgot to CC my gmail so I have to send this
from work.

While I wait for approval on this mailing list I send the other patch:
runqemu: Add suport for qemuzynqmp
to the openembedded-core at lists.openembedded.org mailing list.

Thanks,

Alistair

>
> conf/machine/qemuzynqmp.conf        | 21 +++++++++++++++++++++
>  recipes-kernel/linux/linux-xlnx.inc |  4 +++-
>  2 files changed, 24 insertions(+), 1 deletion(-)
>  create mode 100644 conf/machine/qemuzynqmp.conf
>
> diff --git a/conf/machine/qemuzynqmp.conf b/conf/machine/qemuzynqmp.conf
> new file mode 100644
> index 0000000..c5ca3c9
> --- /dev/null
> +++ b/conf/machine/qemuzynqmp.conf
> @@ -0,0 +1,21 @@
> +#@TYPE: Machine
> +#@NAME: qemuzynqmp
> +#@DESCRIPTION: Zynq UltraScale+ QEMU machine support ('xlnx-ep108'
> model)
> +
> +require conf/machine/include/tune-zynqmp.inc
> +require conf/machine/include/machine-xilinx-default.inc
> +require conf/machine/include/machine-xilinx-board.inc
> +
> +MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost"
> +
> +EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native"
> +
> +UBOOT_MACHINE = "xilinx_zynqmp_zcu102_revB_defconfig"
> +
> +SERIAL_CONSOLE = "115200 ttyPS0"
> +
> +KERNEL_DEVICETREE = "xilinx/zynqmp-zcu102-revB.dtb"
> +QEMU_DTB = "Image-zynqmp-zcu102-revB"
> +
> +PREFERRED_PROVIDER_virtual/kernel ?= "linux-xlnx"
> +PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-xlnx"
> diff --git a/recipes-kernel/linux/linux-xlnx.inc b/recipes-kernel/linux/linux-
> xlnx.inc
> index fe0a2ad..f152a7d 100644
> --- a/recipes-kernel/linux/linux-xlnx.inc
> +++ b/recipes-kernel/linux/linux-xlnx.inc
> @@ -19,10 +19,12 @@ require recipes-kernel/linux/linux-yocto.inc
>
>  DESCRIPTION = "Xilinx Kernel"
>
> +KBUILD_DEFCONFIG_qemuzynqmp = "xilinx_zynqmp_defconfig"
> +KCONFIG_MODE_qemuzynqmp = "--alldefconfig"
> +
>  require linux-xilinx-configs.inc
>  require linux-xilinx-machines.inc
>
>  KERNEL_FEATURES_append = " bsp/xilinx/soc/linux-xlnx/drivers/xilinx.scc"
>  KERNEL_FEATURES_append_zynq = " bsp/xilinx/soc/linux-
> xlnx/drivers/zynq7.scc"
>  KERNEL_FEATURES_append_zynqmp = " bsp/xilinx/soc/linux-
> xlnx/drivers/zynqmp.scc"
> -
> --
> 2.7.4



This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.




More information about the meta-xilinx mailing list