view sources/targets/armv5l @ 1744:4c3164f0d2c2 draft

As long as current kernels have an overlay filesystem, might as well enable it.
author Rob Landley <rob@landley.net>
date Sun, 22 Feb 2015 17:22:00 -0600
parents b89324905ca2
children 4927c8b8de1b
line wrap: on
line source

DESCRIPTION="
ARM v5, little endian, EABI with vector floating point (vfp).

ARMv5 is the Pentium of the ARM world.  Most modern arm hardware should be
able to run this, and hardware that supports the v5 instruction set should run
this about 25% faster than code compiled for v4.
"

KARCH=arm
KERNEL_PATH=arch/${KARCH}/boot/zImage
GCC_FLAGS="--with-march=armv5 --with-mfloat-abi=soft --with-mfp=vfp"
BINUTILS_FLAGS=
QEMU_TEST=$KARCH

CROSS_TARGET=armv5l-unknown-linux-gnueabi

CONSOLE=ttyAMA0

UCLIBC_CONFIG="
TARGET_arm=y
CONFIG_ARM_EABI=y
ARCH_WANTS_LITTLE_ENDIAN=y
DOPIC=y
"

LINUX_CONFIG="

# Processor config

CONFIG_CPU_ARM926T=y
CONFIG_MMU=y
CONFIG_VFP=y
CONFIG_ARM_THUMB=y
CONFIG_AEABI=y

# Versatile board

CONFIG_ARCH_VERSATILE=y
CONFIG_ARCH_VERSATILE_PB=y
CONFIG_PCI_LEGACY=y
CONFIG_SERIAL_NONSTANDARD=y
CONFIG_SERIAL_AMBA_PL011=y
CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
CONFIG_RTC_DRV_PL031=y
CONFIG_SCSI_SYM53C8XX_2=y
CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=0
CONFIG_SCSI_SYM53C8XX_MMIO=y
"

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