* Includes conf/machine/ts75xx.conf and conf/machine/include/tune-fa526.inc files needed for building OE packages w/ EABI and *NO* thumb support
Signed-off-by: UDel V2G Team <v2g.u...@gmail.com> --- conf/machine/include/tune-fa526.inc | 22 ++++++++++++++++++++++ conf/machine/ts75xx.conf | 22 ++++++++++++++++++++++ 2 files changed, 44 insertions(+), 0 deletions(-) create mode 100755 conf/machine/include/tune-fa526.inc create mode 100755 conf/machine/ts75xx.conf diff --git a/conf/machine/include/tune-fa526.inc b/conf/machine/include/tune-fa526.inc new file mode 100755 index 0000000..a5c5008 --- /dev/null +++ b/conf/machine/include/tune-fa526.inc @@ -0,0 +1,22 @@ +# This tune file is for the Faraday FA526 core is used in +# ARM processors like the Semi STR8132/ Cavium CNS2132, which is +# in the Technologic Systems TS-7500 board in addition to some +# NAS boxes out there. +# +# This core basically resembles a ARM920T but has NO thumb interworking support +# which makes it not fully EABI compliant +# +# Hence, we need to diable all thumb instructions here +# Also be sure to disable all thumb flags/features/includes in the distros + +FEED_ARCH = "armv4" +BASE_PACKAGE_ARCH = "armv4" + +# Ideally we want the following CFLAGS for our architecture. +# Angstorm will automtically add the thumb flags, so don't include them here +# TARGET_CC_ARCH += "-march=armv4 -mno-thumb-interwork -mno-thumb -mfloat-abi=soft" +TARGET_CC_ARCH += "-march=armv4 -mfloat-abi=soft" + +PACKAGE_EXTRA_ARCHS += "armv4" +LDFLAGS += "-Xlinker --fix-v4bx -Xassembler --fix-v4bx" +THUMB_INTERWORK = "no" diff --git a/conf/machine/ts75xx.conf b/conf/machine/ts75xx.conf new file mode 100755 index 0000000..d76548d --- /dev/null +++ b/conf/machine/ts75xx.conf @@ -0,0 +1,22 @@ +#@TYPE: Machine +#@Name: Technologic Systems TS-75xx SBC +#@DESCRIPTION: Machine configuration for Technologic Systems TS-75xx SBC + +TARGET_ARCH = "arm" + +MACHINE_FEATURES = "kernel26 ext2 usbhost" + +# This requires cavium fa526 patch set to function +# See the linux-ts75xx directory for the patches +PREFERRED_PROVIDER_virtual/kernel = "linux-ts75xx" +PREFERRED_VERSION_linux = "2.6.35" + +SERIAL_CONSOLE = "115200 ttyS0" +USE_VT = "0" + +# Uses the traditional TS-7500 bootloader process +# See the ts75xx-initrd-image.bb recipe for building +# an initrd script that only uses EABI userspace utilities +CMDLINE = "root=/dev/ram0 init=/linuxrc console=/dev/ttyS0,115200 lpj=958464" + +require conf/machine/include/tune-fa526.inc -- 1.7.3.4 _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel