view sources/targets/mips64 @ 1609:19a363f60409

OpenBIOS upgrade in qemu 1.5 broke sparc, by changing reported CPU features. Specify different processor variant on command line to make it work again.
author Rob Landley <rob@landley.net>
date Thu, 04 Jul 2013 07:19:27 -0500
parents b499abdbcdfa
children b89324905ca2
line wrap: on
line source

DESCRIPTION="64 bit big endian mips"

KARCH=mips
KERNEL_PATH=vmlinux
BINUTILS_FLAGS="--enable-64-bit-bfd"
GCC_FLAGS=
QEMU_TEST=mips64

ROOT=hda
CONSOLE=ttyS0

UCLIBC_CONFIG="
TARGET_mips=y
CONFIG_MIPS_N64_ABI=y
CONFIG_MIPS_ISA_MIPS64=y
UCLIBC_HAS_FPU=y
"

LINUX_CONFIG="
CONFIG_CPU_MIPS64_R1=y
CONFIG_64BIT=y
CONFIG_MIPS_MALTA=y
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_PCNET32=y
CONFIG_BLK_DEV_PIIX=y
"

emulator_command()
{
  echo qemu-system-mips64 -M malta $(qemu_defaults "$@")
}