summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2012-05-07 08:27:23 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-05-07 22:49:03 +0200
commit5324b41283e1a1c1bff98b013cf463c64151aec9 (patch)
tree6577ac21cd6f0e25bb978d19b8f381559cd4cef1
parent6dbdf34629d0b0b139bf8962ce982fb9dba842c9 (diff)
downloadbuildroot-novena-5324b41283e1a1c1bff98b013cf463c64151aec9.tar.gz
buildroot-novena-5324b41283e1a1c1bff98b013cf463c64151aec9.zip
qemu/ppc-mpc8544ds: add new sample config
Add new powerpc-mpc8544ds sample qemu config. Useful for SPE ABI testing. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--board/qemu/powerpc-mpc8544ds/readme.txt6
-rw-r--r--configs/qemu_ppc_mpc8544ds_defconfig21
2 files changed, 27 insertions, 0 deletions
diff --git a/board/qemu/powerpc-mpc8544ds/readme.txt b/board/qemu/powerpc-mpc8544ds/readme.txt
new file mode 100644
index 000000000..6ecdc4b2b
--- /dev/null
+++ b/board/qemu/powerpc-mpc8544ds/readme.txt
@@ -0,0 +1,6 @@
+Run the emulation with:
+
+ qemu-system-ppc -M mpc8544ds -kernel output/images/vmlinux -serial stdio
+
+The login prompt will appear in the terminal that started Qemu.
+
diff --git a/configs/qemu_ppc_mpc8544ds_defconfig b/configs/qemu_ppc_mpc8544ds_defconfig
new file mode 100644
index 000000000..996d6b21b
--- /dev/null
+++ b/configs/qemu_ppc_mpc8544ds_defconfig
@@ -0,0 +1,21 @@
+# Architecture
+BR2_powerpc=y
+BR2_powerpc_8548=y
+
+# filesystem
+# BR2_TARGET_ROOTFS_TAR is not set
+BR2_TARGET_ROOTFS_INITRAMFS=y
+
+# Lock to 3.3 headers to avoid breaking with newer kernels
+BR2_KERNEL_HEADERS_3_3=y
+
+# Kernel
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.3.4"
+BR2_LINUX_KERNEL_DEFCONFIG="mpc85xx"
+BR2_LINUX_KERNEL_VMLINUX=y
+
+# Serial port config
+BR2_TARGET_GENERIC_GETTY=y
+BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"