qemu/ppc-virtex-ml507: update to the latest versions

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Gustavo Zacarias 2014-10-07 09:29:53 -03:00 committed by Peter Korsgaard
parent 6d7a03f4ba
commit a8956b2b53
2 changed files with 11 additions and 7 deletions

View File

@ -1,8 +1,7 @@
Run the emulation with: 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" -dtb virtex440-ml507.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. The login prompt will appear in the terminal that started Qemu.
Tested with QEMU 1.7.0 Tested with QEMU 2.1.2

View File

@ -6,10 +6,10 @@ BR2_powerpc_440=y
# BR2_TARGET_ROOTFS_TAR is not set # BR2_TARGET_ROOTFS_TAR is not set
BR2_TARGET_ROOTFS_INITRAMFS=y BR2_TARGET_ROOTFS_INITRAMFS=y
# Lock to 3.13 headers to avoid breaking with newer kernels # Lock to 3.17 headers to avoid breaking with newer kernels
BR2_KERNEL_HEADERS_VERSION=y BR2_KERNEL_HEADERS_VERSION=y
BR2_DEFAULT_KERNEL_VERSION="3.13.5" BR2_DEFAULT_KERNEL_VERSION="3.17"
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_13=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_17=y
# Use soft float # Use soft float
BR2_SOFT_FLOAT=y BR2_SOFT_FLOAT=y
@ -17,8 +17,13 @@ BR2_SOFT_FLOAT=y
# Kernel # Kernel
BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.13.5" BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.17"
BR2_LINUX_KERNEL_DEFCONFIG="44x/virtex5" BR2_LINUX_KERNEL_DEFCONFIG="44x/virtex5"
BR2_LINUX_KERNEL_VMLINUX=y BR2_LINUX_KERNEL_VMLINUX=y
BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="virtex440-ml507" BR2_LINUX_KERNEL_INTREE_DTS_NAME="virtex440-ml507"
# Qemu
BR2_PACKAGE_HOST_QEMU_SYSTEM=y
BR2_PACKAGE_HOST_QEMU_SYSTEM_VERSION="2.1.2"
BR2_PACKAGE_HOST_QEMU_SYSTEM_ARGS="-M virtex-ml507 -kernel output/images/vmlinux -m 256 -append 'console=ttyS0' -display none -nographic -dtb output/images/virtex440-ml507.dtb"