Skip to contentSkip to conversation

machine: add qemuppc64 machine

PATCH New Armin Kuster 1 participant 1 message Sep 13, 2014

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 machine: add qemuppc64 machine

override USER_CLASSES as prelink does not work on ppc64

V2:
use _remove instead of overriding USER_CLASSES USER_CLASSES_remove = "image-prelink" IMAGE_PREPROCESS_COMMAND_remove = "prelink_image;"

---
 meta/conf/machine/qemuppc64.conf | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 meta/conf/machine/qemuppc64.conf
meta/conf/machine/qemuppc64.conf new file +17 -0
new file mode 100644
index 0000000..14d5c90
@@ -0,0 +1,17 @@
+#@TYPE: Machine
+#@NAME: qemu PPC 64 Emulator setup
+#@DESCRIPTION: Machine configuration for running an PPC system under qemu emulation
+
+require conf/machine/include/qemu.inc
+DEFAULTTUNE ?= "ppc64p6"
+require conf/machine/include/tune-power6.inc
+
+#prelink broken on ppc64
+USER_CLASSES_remove = "image-prelink"
+IMAGE_PREPROCESS_COMMAND_remove = "prelink_image;"
+
+KERNEL_IMAGETYPE = "vmlinux"
+
+IMAGE_FSTYPES = "ext2 ext3"
+
+SERIAL_CONSOLE ?= "ttyS0"
Signature · 1 line
1.9.1