summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2012-12-06 08:59:34 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-12-10 22:23:22 +0100
commitfe3fee8bb6153be041cc6b28b6eb92ede020ab75 (patch)
tree304001dbf1715770af70e3eff6fea354d63e8ae6
parent190ef5bac13a1387b526309c194638bfdb6f6e23 (diff)
downloadbuildroot-novena-fe3fee8bb6153be041cc6b28b6eb92ede020ab75.tar.gz
buildroot-novena-fe3fee8bb6153be041cc6b28b6eb92ede020ab75.zip
qemu/ppc-virtex-ml507: add new sample config
Add new powerpc-virtex-ml507 sample qemu config. Useful for powerpc softfloat testing. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--board/qemu/powerpc-virtex-ml507/readme.txt8
-rw-r--r--configs/qemu_ppc_virtex_ml507_defconfig22
2 files changed, 30 insertions, 0 deletions
diff --git a/board/qemu/powerpc-virtex-ml507/readme.txt b/board/qemu/powerpc-virtex-ml507/readme.txt
new file mode 100644
index 000000000..0500a9575
--- /dev/null
+++ b/board/qemu/powerpc-virtex-ml507/readme.txt
@@ -0,0 +1,8 @@
+Run the emulation with:
+
+ cp output/images/virtex440-ml507.dtb ppc.dtb
+ qemu-system-ppc -M virtex-ml507 -kernel output/images/vmlinux -m 256 -nographic -append "console=ttyS0"
+
+The login prompt will appear in the terminal that started Qemu.
+
+Tested with QEMU 1.2.0
diff --git a/configs/qemu_ppc_virtex_ml507_defconfig b/configs/qemu_ppc_virtex_ml507_defconfig
new file mode 100644
index 000000000..6b4ea7403
--- /dev/null
+++ b/configs/qemu_ppc_virtex_ml507_defconfig
@@ -0,0 +1,22 @@
+# Architecture
+BR2_powerpc=y
+BR2_powerpc_440=y
+
+# Filesystem
+# BR2_TARGET_ROOTFS_TAR is not set
+BR2_TARGET_ROOTFS_INITRAMFS=y
+
+# Lock to 3.6 headers to avoid breaking with newer kernels
+BR2_KERNEL_HEADERS_3_6=y
+
+# Use soft float
+BR2_SOFT_FLOAT=y
+
+# Kernel
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.6.9"
+BR2_LINUX_KERNEL_DEFCONFIG="44x/virtex5"
+BR2_LINUX_KERNEL_VMLINUX=y
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="virtex440-ml507"