summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2014-08-14 17:55:10 -0300
committerPeter Korsgaard <peter@korsgaard.com>2014-08-15 12:00:04 +0200
commit4c26eaa38cc5ca0443da4d01fd38f04e742c9061 (patch)
treec12b9bdf927b4c461bead75673038903450d5311
parentaa74455e15a77f36e1108b349245f24307695152 (diff)
downloadbuildroot-4c26eaa38cc5ca0443da4d01fd38f04e742c9061.tar.gz
buildroot-4c26eaa38cc5ca0443da4d01fd38f04e742c9061.zip
qemu/powerpc64-pseries: add new sample config
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--board/qemu/powerpc64-pseries/readme.txt7
-rw-r--r--configs/qemu_ppc64_pseries_defconfig23
2 files changed, 30 insertions, 0 deletions
diff --git a/board/qemu/powerpc64-pseries/readme.txt b/board/qemu/powerpc64-pseries/readme.txt
new file mode 100644
index 0000000000..45953f7413
--- /dev/null
+++ b/board/qemu/powerpc64-pseries/readme.txt
@@ -0,0 +1,7 @@
+Run the emulation with:
+
+ qemu-system-ppc64 -M pseries -cpu POWER7 -m 256 -kernel output/images/vmlinux -append 'console=hvc0 root=/dev/sda' -drive file=output/images/rootfs.ext2,if=scsi,index=0 -serial stdio -display curses
+
+The login prompt will appear in the terminal that started Qemu.
+
+Tested with QEMU 2.1.0
diff --git a/configs/qemu_ppc64_pseries_defconfig b/configs/qemu_ppc64_pseries_defconfig
new file mode 100644
index 0000000000..802ee08bd2
--- /dev/null
+++ b/configs/qemu_ppc64_pseries_defconfig
@@ -0,0 +1,23 @@
+# Architecture
+BR2_powerpc64=y
+BR2_powerpc_power7=y
+
+# System
+BR2_TARGET_GENERIC_GETTY=y
+BR2_TARGET_GENERIC_GETTY_PORT="hvc0"
+
+# Filesystem
+BR2_TARGET_ROOTFS_EXT2=y
+# BR2_TARGET_ROOTFS_TAR is not set
+
+# Lock to 3.16 headers to avoid breaking with newer kernels
+BR2_KERNEL_HEADERS_VERSION=y
+BR2_DEFAULT_KERNEL_VERSION="3.16.1"
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_16=y
+
+# Kernel
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.16.1"
+BR2_LINUX_KERNEL_DEFCONFIG="pseries"
+BR2_LINUX_KERNEL_VMLINUX=y
OpenPOWER on IntegriCloud