Skip to contentSkip to conversation

qemu/ppc-virtex-ml507: add new sample config

PATCH New Gustavo Zacarias 2 participants 2 messages Dec 6, 2012 – Dec 10, 2012

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 qemu/ppc-virtex-ml507: add new sample config

Add new powerpc-virtex-ml507 sample qemu config.
Useful for powerpc softfloat testing.

---
 board/qemu/powerpc-virtex-ml507/readme.txt |    8 ++++++++
 configs/qemu_ppc_virtex_ml507_defconfig    |   22 ++++++++++++++++++++++
 2 files changed, 30 insertions(+), 0 deletions(-)
 create mode 100644 board/qemu/powerpc-virtex-ml507/readme.txt
 create mode 100644 configs/qemu_ppc_virtex_ml507_defconfig
board/qemu/powerpc-virtex-ml507/readme.txt new file +8 -0
new file mode 100644
index 0000000..0500a95
@@ -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
configs/qemu_ppc_virtex_ml507_defconfig new file +22 -0
new file mode 100644
index 0000000..6b4ea74
@@ -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"
Signature · 1 line
1.7.8.6
#1 lore raw

PATCH v2 1/1 qemu/ppc-virtex-ml507: add new sample config

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

Gustavo> Add new powerpc-virtex-ml507 sample qemu config. Gustavo> Useful for powerpc softfloat testing.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard