All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] qemu/ppc-mpc8544ds: add new sample config
@ 2012-05-07 18:27 Gustavo Zacarias
  2012-05-07 20:50 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Gustavo Zacarias @ 2012-05-07 18:27 UTC (permalink / raw)
  To: buildroot

Add new powerpc-mpc8544ds sample qemu config.
Useful for SPE ABI testing.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 board/qemu/powerpc-mpc8544ds/readme.txt |    6 ++++++
 configs/qemu_ppc_mpc8544ds_defconfig    |   21 +++++++++++++++++++++
 2 files changed, 27 insertions(+), 0 deletions(-)
 create mode 100644 board/qemu/powerpc-mpc8544ds/readme.txt
 create mode 100644 configs/qemu_ppc_mpc8544ds_defconfig

diff --git a/board/qemu/powerpc-mpc8544ds/readme.txt b/board/qemu/powerpc-mpc8544ds/readme.txt
new file mode 100644
index 0000000..6ecdc4b
--- /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 0000000..996d6b2
--- /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"
-- 
1.7.3.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] qemu/ppc-mpc8544ds: add new sample config
  2012-05-07 18:27 [Buildroot] [PATCH] qemu/ppc-mpc8544ds: add new sample config Gustavo Zacarias
@ 2012-05-07 20:50 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2012-05-07 20:50 UTC (permalink / raw)
  To: buildroot

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> Add new powerpc-mpc8544ds sample qemu config.
 Gustavo> Useful for SPE ABI testing.

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-07 20:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-07 18:27 [Buildroot] [PATCH] qemu/ppc-mpc8544ds: add new sample config Gustavo Zacarias
2012-05-07 20:50 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.