On Fri, Aug 19, 2016 at 11:12 AM, Robert Yang <[email protected]> wrote: > The new runqemu has removed machine knowledge, these info can set in > bsp's conf file, please see oe-core's meta/classes/qemuboot.bbclass for > more info.
This patch looks good, I tested the targets and the only issue I had was with the runqemu script it self regarding aarch64 and slirp (see my comments on the oe list thread). Will follow the oe thread and apply this once the runqemu changes are merged into OE. Thanks, Nathan > > Signed-off-by: Robert Yang <[email protected]> > --- > conf/machine/qemumicroblaze.conf | 7 +++++++ > conf/machine/qemuzynq.conf | 10 ++++++++++ > conf/machine/qemuzynqmp.conf | 12 ++++++++++++ > 3 files changed, 29 insertions(+) > > diff --git a/conf/machine/qemumicroblaze.conf > b/conf/machine/qemumicroblaze.conf > index 9de93c8..d3708dd 100644 > --- a/conf/machine/qemumicroblaze.conf > +++ b/conf/machine/qemumicroblaze.conf > @@ -17,3 +17,10 @@ SERIAL_CONSOLE = "115200 ttyS0" > # Use the networking setup from qemuarm > FILESOVERRIDES_append_pn-init-ifupdown = ":qemuarm" > > +# For runqemu > +IMAGE_CLASSES += "qemuboot" > +QB_SYSTEM_NAME = "qemu-system-microblazeel" > +QB_MACHINE = "-machine petalogix-ml605" > +QB_DEFAULT_FSTYPE = "cpio" > +QB_KERNEL_CMDLINE_APPEND = "console=ttyPS0 earlyprintk" > +QB_MEM = "-m 256" > diff --git a/conf/machine/qemuzynq.conf b/conf/machine/qemuzynq.conf > index c23db5d..894fee8 100644 > --- a/conf/machine/qemuzynq.conf > +++ b/conf/machine/qemuzynq.conf > @@ -17,3 +17,13 @@ MACHINE_DEVICETREE = "qemu/qemuzynq.dts" > # Use the networking setup from qemuarm > FILESOVERRIDES_append_pn-init-ifupdown = ":qemuarm" > > +# For runqemu > +IMAGE_CLASSES += "qemuboot" > +QB_SYSTEM_NAME = "qemu-system-arm" > +QB_MEM = "-m 1024" > +QB_MACHINE = "-machine xilinx-zynq-a9" > +QB_DTB = "${MACHINE}.dtb" > +QB_SERIAL_OPT = "-serial null -serial mon:stdio" > +QB_OPT_APPEND = "-net nic -net nic -usb -usbdevice tablet" > +QB_DEFAULT_FSTYPE = "cpio" > +QB_KERNEL_CMDLINE_APPEND = "console=ttyPS0" > diff --git a/conf/machine/qemuzynqmp.conf b/conf/machine/qemuzynqmp.conf > index 8b4dd5d..6fa93b1 100644 > --- a/conf/machine/qemuzynqmp.conf > +++ b/conf/machine/qemuzynqmp.conf > @@ -5,3 +5,15 @@ > MACHINEOVERRIDES =. "ep108-zynqmp:" > > require conf/machine/ep108-zynqmp.conf > + > +# 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 = "${QEMU_DTB}.dtb" > +QB_SERIAL_OPT = "-serial mon:stdio -serial null" > +QB_DEFAULT_KERNEL = "Image" > +QB_DEFAULT_FSTYPE = "cpio" > +QB_KERNEL_CMDLINE_APPEND = "console=ttyPS0" > -- > 2.9.0 > > -- > _______________________________________________ > meta-xilinx mailing list > [email protected] > https://lists.yoctoproject.org/listinfo/meta-xilinx -- _______________________________________________ meta-xilinx mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-xilinx
