Commit a8956b2b authored by Gustavo Zacarias's avatar Gustavo Zacarias Committed by Peter Korsgaard
Browse files

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

parent 6d7a03f4
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
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"
 qemu-system-ppc -M virtex-ml507 -kernel output/images/vmlinux -m 256 -nographic -append "console=ttyS0" -dtb virtex440-ml507.dtb

The login prompt will appear in the terminal that started Qemu.

Tested with QEMU 1.7.0
Tested with QEMU 2.1.2
+9 −4
Original line number Diff line number Diff line
@@ -6,10 +6,10 @@ BR2_powerpc_440=y
# BR2_TARGET_ROOTFS_TAR is not set
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_DEFAULT_KERNEL_VERSION="3.13.5"
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_13=y
BR2_DEFAULT_KERNEL_VERSION="3.17"
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_17=y

# Use soft float
BR2_SOFT_FLOAT=y
@@ -17,8 +17,13 @@ BR2_SOFT_FLOAT=y
# Kernel
BR2_LINUX_KERNEL=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_VMLINUX=y
BR2_LINUX_KERNEL_DTS_SUPPORT=y
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"