diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2016-08-18 18:12:35 -0700 |
---|---|---|
committer | Nathan Rossi <nathan@nathanrossi.com> | 2016-09-28 23:16:11 +1000 |
commit | b40710ac4d6e5df03502d7ba2e621f878cf1eca4 (patch) | |
tree | a6c9b88cf7fb9c8466c6bed81ccf619f996013b7 | |
parent | c52a435a45eae4e13e1c6a5a43039e84f0d3bbba (diff) | |
download | meta-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.conf | 7 | ||||
-rw-r--r-- | conf/machine/qemuzynq.conf | 10 | ||||
-rw-r--r-- | conf/machine/qemuzynqmp.conf | 12 |
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 |
18 | FILESOVERRIDES_append_pn-init-ifupdown = ":qemuarm" | 18 | FILESOVERRIDES_append_pn-init-ifupdown = ":qemuarm" |
19 | 19 | ||
20 | # For runqemu | ||
21 | IMAGE_CLASSES += "qemuboot" | ||
22 | QB_SYSTEM_NAME = "qemu-system-microblazeel" | ||
23 | QB_MACHINE = "-machine petalogix-ml605" | ||
24 | QB_DEFAULT_FSTYPE = "cpio" | ||
25 | QB_KERNEL_CMDLINE_APPEND = "console=ttyPS0 earlyprintk" | ||
26 | QB_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 |
18 | FILESOVERRIDES_append_pn-init-ifupdown = ":qemuarm" | 18 | FILESOVERRIDES_append_pn-init-ifupdown = ":qemuarm" |
19 | 19 | ||
20 | # For runqemu | ||
21 | IMAGE_CLASSES += "qemuboot" | ||
22 | QB_SYSTEM_NAME = "qemu-system-arm" | ||
23 | QB_MEM = "-m 1024" | ||
24 | QB_MACHINE = "-machine xilinx-zynq-a9" | ||
25 | QB_DTB = "${MACHINE}.dtb" | ||
26 | QB_SERIAL_OPT = "-serial null -serial mon:stdio" | ||
27 | QB_OPT_APPEND = "-net nic -net nic -usb -usbdevice tablet" | ||
28 | QB_DEFAULT_FSTYPE = "cpio" | ||
29 | QB_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 @@ | |||
5 | MACHINEOVERRIDES =. "ep108-zynqmp:" | 5 | MACHINEOVERRIDES =. "ep108-zynqmp:" |
6 | 6 | ||
7 | require conf/machine/ep108-zynqmp.conf | 7 | require conf/machine/ep108-zynqmp.conf |
8 | |||
9 | # For runqemu | ||
10 | IMAGE_CLASSES += "qemuboot" | ||
11 | QB_SYSTEM_NAME = "qemu-system-aarch64" | ||
12 | QB_MACHINE = "-machine xlnx-ep108" | ||
13 | QB_CPU = "-cpu cortex-a57" | ||
14 | QB_MEM = "-m 2048" | ||
15 | QB_DTB = "${QEMU_DTB}.dtb" | ||
16 | QB_SERIAL_OPT = "-serial mon:stdio -serial null" | ||
17 | QB_DEFAULT_KERNEL = "Image" | ||
18 | QB_DEFAULT_FSTYPE = "cpio" | ||
19 | QB_KERNEL_CMDLINE_APPEND = "console=ttyPS0" | ||