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>
This commit is contained in:
Gustavo Zacarias 2012-12-06 08:59:34 +00:00 committed by Peter Korsgaard
parent 190ef5bac1
commit fe3fee8bb6
2 changed files with 30 additions and 0 deletions

View File

@ -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

View File

@ -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"