view sources/targets/armv4eb @ 1775:c197b67b381a draft

Attempt at making sh2elf build cross-compiler from simple-cross-compiler
author Rob Landley <rob@landley.net>
date Tue, 14 Jul 2015 19:36:46 -0500
parents b89324905ca2
children
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

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
}