[meta-xilinx] [PATCH 16/29] qemumicroblaze-s3adsp1800: Add runqemu support
Alistair Francis
alistair23 at gmail.com
Wed Sep 28 14:41:03 PDT 2016
On Wed, Sep 28, 2016 at 8:15 AM, Nathan Rossi <nathan at nathanrossi.com> wrote:
> Add runqemu support using the 'petalogix-s3adsp1800' QEMU machine. Based
> on the qemumicroblaze runqemu setup.
>
> Signed-off-by: Nathan Rossi <nathan at nathanrossi.com>
> ---
> conf/machine/qemumicroblaze-s3adsp1800.conf | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/conf/machine/qemumicroblaze-s3adsp1800.conf b/conf/machine/qemumicroblaze-s3adsp1800.conf
> index 330500c8a3..65a8500314 100644
> --- a/conf/machine/qemumicroblaze-s3adsp1800.conf
> +++ b/conf/machine/qemumicroblaze-s3adsp1800.conf
> @@ -16,3 +16,14 @@ SERIAL_CONSOLE = "115200 ttyUL0"
>
> MACHINE_ESSENTIAL_EXTRA_RDEPENDS_remove = "device-tree"
>
> +# For runqemu
> +IMAGE_CLASSES += "qemuboot"
> +QB_SYSTEM_NAME = "qemu-system-microblaze"
> +QB_MEM = "-m 256"
> +QB_MACHINE = "-machine petalogix-s3adsp1800"
> +QB_OPT_APPEND = "-nographic -serial mon:stdio"
> +QB_DEFAULT_FSTYPE = "cpio"
> +QB_KERNEL_CMDLINE_APPEND = "console=ttyUL0 earlyprintk"
> +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"
I didn't realise this machine existed!
While we are having all this churn is there any possibility of
removing the 'qemumicroblaze' part of the names, and just have the
machines be named after the QEMU machine name?
Then if we remove the qemuzynq machine there will be no qemu* machines left.
Reviewed-by: Alistair Francis <alistair.francis at xilinx.com>
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