view sources/targets/armv4eb @ 1574:a49311441334

The linux 3.7 arm config changed the default board off of versatile, so add a config symbol explicitly specifying it.
author Rob Landley <rob@landley.net>
date Sat, 15 Dec 2012 01:47:00 -0600
parents b499abdbcdfa
children b89324905ca2
line wrap: on
line source

DESCRIPTION="
ARM v4, big endian, soft float, OABI.

Although arm processors can work with either endianness, most ARM boards are
wired little endian, so building big endian arm is fairly uncommon.  The
ixp4xx, ixp2000, and ixp23xx Linux targets support big endian operation.
"

KARCH=arm
KERNEL_PATH=arch/${KARCH}/boot/zImage
GCC_FLAGS="--with-float=soft"
BINUTILS_FLAGS=
QEMU_TEST=$KARCH

ROOT=sda
CONSOLE=ttyAMA0

UCLIBC_CONFIG="TARGET_arm=y"

LINUX_CONFIG="
CONFIG_CPU_ARM926T=y
CONFIG_MMU=y
CONFIG_ARCH_VERSATILE=y
CONFIG_ARCH_VERSATILE_PB=y
CONFIG_MACH_VERSATILE_AB=y
CONFIG_CPU_ARM926T=y
CONFIG_ARM_THUMB=y
CONFIG_SERIAL_NONSTANDARD=y
CONFIG_SERIAL_AMBA_PL011=y
CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
CONFIG_RTC_DRV_PL031=y
"

emulator_command()
{
  echo qemu-system-arm -M versatilepb $(qemu_defaults "$@") \
    -net nic,model=rtl8139 -net user
}