view sources/targets/armv4eb @ 1601:e958c89076c1

Prep work for linux-3.10.
author Rob Landley <rob@landley.net>
date Tue, 04 Jun 2013 07:48:16 -0500
parents a49311441334
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
}