summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2016-08-18 18:12:35 -0700
committerNathan Rossi <nathan@nathanrossi.com>2016-09-28 23:16:11 +1000
commitb40710ac4d6e5df03502d7ba2e621f878cf1eca4 (patch)
treea6c9b88cf7fb9c8466c6bed81ccf619f996013b7
parentc52a435a45eae4e13e1c6a5a43039e84f0d3bbba (diff)
downloadmeta-xilinx-b40710ac4d6e5df03502d7ba2e621f878cf1eca4.tar.gz
conf/machine: update for new runqemu
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. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
-rw-r--r--conf/machine/qemumicroblaze.conf7
-rw-r--r--conf/machine/qemuzynq.conf10
-rw-r--r--conf/machine/qemuzynqmp.conf12
3 files changed, 29 insertions, 0 deletions
diff --git a/conf/machine/qemumicroblaze.conf b/conf/machine/qemumicroblaze.conf
index 9de93c8c..d3708dd1 100644
--- a/conf/machine/qemumicroblaze.conf
+++ b/conf/machine/qemumicroblaze.conf
@@ -17,3 +17,10 @@ SERIAL_CONSOLE = "115200 ttyS0"
17# Use the networking setup from qemuarm 17# Use the networking setup from qemuarm
18FILESOVERRIDES_append_pn-init-ifupdown = ":qemuarm" 18FILESOVERRIDES_append_pn-init-ifupdown = ":qemuarm"
19 19
20# For runqemu
21IMAGE_CLASSES += "qemuboot"
22QB_SYSTEM_NAME = "qemu-system-microblazeel"
23QB_MACHINE = "-machine petalogix-ml605"
24QB_DEFAULT_FSTYPE = "cpio"
25QB_KERNEL_CMDLINE_APPEND = "console=ttyPS0 earlyprintk"
26QB_MEM = "-m 256"
diff --git a/conf/machine/qemuzynq.conf b/conf/machine/qemuzynq.conf
index c23db5da..894fee81 100644
--- a/conf/machine/qemuzynq.conf
+++ b/conf/machine/qemuzynq.conf
@@ -17,3 +17,13 @@ MACHINE_DEVICETREE = "qemu/qemuzynq.dts"
17# Use the networking setup from qemuarm 17# Use the networking setup from qemuarm
18FILESOVERRIDES_append_pn-init-ifupdown = ":qemuarm" 18FILESOVERRIDES_append_pn-init-ifupdown = ":qemuarm"
19 19
20# For runqemu
21IMAGE_CLASSES += "qemuboot"
22QB_SYSTEM_NAME = "qemu-system-arm"
23QB_MEM = "-m 1024"
24QB_MACHINE = "-machine xilinx-zynq-a9"
25QB_DTB = "${MACHINE}.dtb"
26QB_SERIAL_OPT = "-serial null -serial mon:stdio"
27QB_OPT_APPEND = "-net nic -net nic -usb -usbdevice tablet"
28QB_DEFAULT_FSTYPE = "cpio"
29QB_KERNEL_CMDLINE_APPEND = "console=ttyPS0"
diff --git a/conf/machine/qemuzynqmp.conf b/conf/machine/qemuzynqmp.conf
index 8b4dd5d2..6fa93b16 100644
--- a/conf/machine/qemuzynqmp.conf
+++ b/conf/machine/qemuzynqmp.conf
@@ -5,3 +5,15 @@
5MACHINEOVERRIDES =. "ep108-zynqmp:" 5MACHINEOVERRIDES =. "ep108-zynqmp:"
6 6
7require conf/machine/ep108-zynqmp.conf 7require conf/machine/ep108-zynqmp.conf
8
9# For runqemu
10IMAGE_CLASSES += "qemuboot"
11QB_SYSTEM_NAME = "qemu-system-aarch64"
12QB_MACHINE = "-machine xlnx-ep108"
13QB_CPU = "-cpu cortex-a57"
14QB_MEM = "-m 2048"
15QB_DTB = "${QEMU_DTB}.dtb"
16QB_SERIAL_OPT = "-serial mon:stdio -serial null"
17QB_DEFAULT_KERNEL = "Image"
18QB_DEFAULT_FSTYPE = "cpio"
19QB_KERNEL_CMDLINE_APPEND = "console=ttyPS0"