[meta-xilinx] [PATCH 12/29] ep108-zynqmp: Add runqemu support
Alistair Francis
alistair23 at gmail.com
Wed Sep 28 14:32:26 PDT 2016
On Wed, Sep 28, 2016 at 8:15 AM, Nathan Rossi <nathan at nathanrossi.com> wrote:
> Based on the configuration in qemuzynqmp, add support for runqemu.
>
> Signed-off-by: Nathan Rossi <nathan at nathanrossi.com>
> ---
> conf/machine/ep108-zynqmp.conf | 13 ++++++++++++-
> 1 file changed, 12 insertions(+), 1 deletion(-)
>
> diff --git a/conf/machine/ep108-zynqmp.conf b/conf/machine/ep108-zynqmp.conf
> index 17363ef540..16e208c461 100644
> --- a/conf/machine/ep108-zynqmp.conf
> +++ b/conf/machine/ep108-zynqmp.conf
> @@ -21,5 +21,16 @@ UBOOT_ENTRYPOINT = "0x80000"
>
> EXTRA_IMAGEDEPENDS += "arm-trusted-firmware"
>
> -QEMU_DTB = "${KERNEL_IMAGETYPE}-${@os.path.splitext(os.path.basename(d.getVar("KERNEL_DEVICETREE",True)))[0]}"
> +# For runqemu
> +IMAGE_CLASSES += "qemuboot"
> +QB_SYSTEM_NAME = "qemu-system-aarch64"
> +QB_MACHINE = "-machine xlnx-ep108"
> +QB_CPU = "-cpu cortex-a57"
> +QB_MEM = "-m 2048"
> +QB_DTB = "${KERNEL_IMAGETYPE}-${@os.path.splitext(os.path.basename(d.getVar("KERNEL_DEVICETREE",True)))[0]}.dtb"
> +QB_OPT_APPEND = "-nographic -serial mon:stdio -serial null"
> +QB_DEFAULT_FSTYPE = "cpio"
> +QB_KERNEL_CMDLINE_APPEND = "console=ttyPS0"
> +QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no -net nic,netdev=net0,macaddr=@MAC@"
> +QB_SLIRP_OPT = "-netdev user,id=net0 -net nic,netdev=net0"
Shouldn't all of this just be in a standard include?
Thanks,
Alistair
>
> --
> 2.9.3
> --
> _______________________________________________
> meta-xilinx mailing list
> meta-xilinx at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx
More information about the meta-xilinx
mailing list