From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by metis.ext.pengutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1ZEdhX-0000vA-OS for ptxdist@pengutronix.de; Mon, 13 Jul 2015 15:23:20 +0200 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id D197320797 for ; Mon, 13 Jul 2015 11:22:59 -0400 (EDT) Received: from mbp-2015-jc.fritz.box (hsi-kbw-109-192-055-174.hsi6.kabel-badenwuerttemberg.de [109.192.55.174]) by mail.messagingengine.com (Postfix) with ESMTPA id 30C74C00023 for ; Mon, 13 Jul 2015 11:22:59 -0400 (EDT) From: Jean-Claude Monnin Content-Type: multipart/mixed; boundary="Apple-Mail=_FF0667FC-2BB5-44F4-8997-23711112C63E" Message-Id: <126429AD-D15B-4290-88E2-57512DEC3EA1@emailplus.org> Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\)) Date: Mon, 13 Jul 2015 17:22:58 +0200 References: In-Reply-To: Subject: Re: [ptxdist] OSELAS Toolchain for ARM Cortex A5 List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de --Apple-Mail=_FF0667FC-2BB5-44F4-8997-23711112C63E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi, > I am looking for a toolchain for Atmel SAMA5D3x series. These are ARM > Cortex A5 CPUs with hardware FPU. >=20 > I had a look at the latest OSELAS toolchain release (2014.12.1) and > didn't find a specific ptxconfig for Cortex A5. What would be the best > suitable? arm-v7a perhaps? I could boot the SAMA5D3-Xplained board using the = 'arm-v7a-linux-gnueabihf=E2=80=99 config of OSELAS toolchain 2014.12.0. > Does anybody have experience with OSELAS toolchain and the Atmel > SAMA5D3x series? (or otherwise with other Cortex A5 CPUs)? I=E2=80=99ve done a custom config based on the = 'arm-cortexa8-linux-gnueabihf' toolchain. I had to remove the = 'PTXCONF_GLIBC_EXTRA_ADDONS=3D"cortex-strings=E2=80=9D=E2=80=99 option. = Please check the attached file and the diff=E2=80=99s. Warning: I=E2=80=99m no expert in toolchains. Although it seems to run = fine, I haven=E2=80=99t done much testing. It might be safer to go with = the standard 'arm-v7a=E2=80=99 config. Regards, Jean-Claude diff = arm-cortexa5-linux-gnueabihf_gcc-4.9.2_glibc-2.20_binutils-2.24_kernel-3.1= 6-sanitized.ptxconfig = arm-cortexa8-linux-gnueabihf_gcc-4.9.2_glibc-2.20_binutils-2.24_kernel-3.1= 6-sanitized.ptxconfig=20 23c23 < PTXCONF_GNU_TARGET=3D"arm-cortexa5-linux-gnueabihf" --- > PTXCONF_GNU_TARGET=3D"arm-cortexa8-linux-gnueabihf" 54c54 < PTXCONF_GLIBC_EXTRA_ADDONS=3D"" --- > PTXCONF_GLIBC_EXTRA_ADDONS=3D"cortex-strings" 73c73 < PTXCONF_CROSS_GCC_CONFIG_EXTRA=3D"--with-float=3Dhard = --with-fpu=3Dvfpv4-d16 --with-cpu=3Dcortex-a5 --with-mode=3Dthumb" --- > PTXCONF_CROSS_GCC_CONFIG_EXTRA=3D"--with-float=3Dhard --with-fpu=3Dneon = --with-cpu=3Dcortex-a8 --with-mode=3Dthumb" diff = arm-cortexa5-linux-gnueabihf_gcc-4.9.2_glibc-2.20_binutils-2.24_kernel-3.1= 6-sanitized.ptxconfig = arm-v7a-linux-gnueabihf_gcc-4.9.2_glibc-2.20_binutils-2.24_kernel-3.16-san= itized.ptxconfig=20 23c23 < PTXCONF_GNU_TARGET=3D"arm-cortexa5-linux-gnueabihf" --- > PTXCONF_GNU_TARGET=3D"arm-v7a-linux-gnueabihf" 50c50 < PTXCONF_GLIBC_CONFIG_EXTRA=3D"--disable-multi-arch" --- > PTXCONF_GLIBC_CONFIG_EXTRA=3D"" 73c73 < PTXCONF_CROSS_GCC_CONFIG_EXTRA=3D"--with-float=3Dhard = --with-fpu=3Dvfpv4-d16 --with-cpu=3Dcortex-a5 --with-mode=3Dthumb" --- > PTXCONF_CROSS_GCC_CONFIG_EXTRA=3D"--with-float=3Dhard = --with-fpu=3Dvfpv3-d16 --with-arch=3Darmv7-a --with-mode=3Dthumb = --with-tune=3Dcortex-a9" --Apple-Mail=_FF0667FC-2BB5-44F4-8997-23711112C63E Content-Disposition: attachment; filename*0=arm-cortexa5-linux-gnueabihf_gcc-4.9.2_glibc-2.20_binutils-2.24_; filename*1=kernel-3.16-sanitized.ptxconfig Content-Type: application/octet-stream; name="arm-cortexa5-linux-gnueabihf_gcc-4.9.2_glibc-2.20_binutils-2.24_kernel-3.16-sanitized.ptxconfig" Content-Transfer-Encoding: 7bit # # Automatically generated file; DO NOT EDIT. # PTXdist 2014.12.0 # PTXCONF__ptxconfig_MAGIC__=y PTXCONF_BUILD_TOOLCHAIN=y PTXCONF_NO_PLATFORM=y PTXCONF_PROJECT="OSELAS.Toolchain-2014.12.0" # # ---------------------------------- # PTXCONF_ARCH_ARM=y # PTXCONF_ARCH_ARM64 is not set # PTXCONF_ARCH_M68K is not set # PTXCONF_ARCH_MIPS is not set # PTXCONF_ARCH_POWERPC is not set # PTXCONF_ARCH_I386 is not set # PTXCONF_ARCH_X86_64 is not set # PTXCONF_ARCH_AVR is not set # PTXCONF_ARCH_AVR32 is not set PTXCONF_ARCH="arm" PTXCONF_GNU_TARGET="arm-cortexa5-linux-gnueabihf" PTXCONF_SIZEOF_LONG_DOUBLE="8" # # ---------------------------------- # PTXCONF_LIBC_HEADERS=y PTXCONF_LIBC_FIRST=y PTXCONF_LIBC=y PTXCONF_LIBC_GLIBC=y # PTXCONF_LIBC_UCLIBC is not set # PTXCONF_LIBC_NEWLIB is not set # PTXCONF_LIBC_MINGW is not set # PTXCONF_LIBC_AVR is not set PTXCONF_TOOLCHAIN_ENABLE_SYSROOT=y PTXCONF_TOOLCHAIN_CONFIG_SYSROOT="--with-sysroot=${SYSROOT}" PTXCONF_TOOLCHAIN_DISABLE_MULTILIB=y PTXCONF_TOOLCHAIN_CONFIG_MULTILIB="--disable-multilib" PTXCONF_GLIBC_HEADERS=y PTXCONF_GLIBC_CRT=y PTXCONF_GLIBC_FIRST=y PTXCONF_GLIBC=y PTXCONF_GLIBC_VERSION="2.20" PTXCONF_GLIBC_MD5="5d9d375e670fe546a030061db36e9f3d" PTXCONF_GLIBC_TIMESTAMP="" PTXCONF_GLIBC_SERIES="" PTXCONF_GLIBC_ENABLE_KERNEL="3.0" PTXCONF_GLIBC_CONFIG_EXTRA="--disable-multi-arch" PTXCONF_GLIBC_CONFIG_EXTRA_CROSS="--enable-obsolete-rpc" PTXCONF_GLIBC_HEADERS_FAKE_CROSS="-D__ARM_EABI__" PTXCONF_GLIBC_TLS=y PTXCONF_GLIBC_EXTRA_ADDONS="" # PTXCONF_GLIBC_PORTS is not set PTXCONF_CROSS_BINUTILS=y PTXCONF_CROSS_BINUTILS_VERSION="2.24" PTXCONF_CROSS_BINUTILS_MD5="e0f71a7b2ddab0f8612336ac81d9636b" # PTXCONF_CROSS_ELF2FLT is not set PTXCONF_KERNEL_HEADERS=y PTXCONF_KERNEL_HEADERS_VERSION="3.16" PTXCONF_KERNEL_HEADERS_MD5="5c569ed649a0c9711879f333e90c5386" PTXCONF_KERNEL_HEADERS_SANITIZED=y PTXCONF_CROSS_GCC=y PTXCONF_CROSS_GCC_VERSION="4.9.2" PTXCONF_CROSS_GCC_MD5="4df8ee253b7f3863ad0b86359cd39c43" PTXCONF_CROSS_GCC_DL_VERSION="${PTXCONF_CROSS_GCC_VERSION}" PTXCONF_CROSS_GCC_PKGVERSION="${PTXCONF_PROJECT}" PTXCONF_CROSS_GCC_43=y PTXCONF_CROSS_GCC_45=y PTXCONF_CROSS_GCC_48=y PTXCONF_CROSS_GCC_SERIES="" PTXCONF_CROSS_GCC_CONFIG_EXTRA="--with-float=hard --with-fpu=vfpv4-d16 --with-cpu=cortex-a5 --with-mode=thumb" # # Additional supported languages: # PTXCONF_CROSS_GCC_LANG_C=y PTXCONF_CROSS_GCC_LANG_CXX=y # PTXCONF_CROSS_GCC_LANG_FORTRAN is not set # PTXCONF_CROSS_GCC_LANG_JAVA is not set PTXCONF_CROSS_GCC_ENABLE_CXA_ATEXIT=y PTXCONF_CROSS_GCC_CONFIG_CXA_ATEXIT="--enable-__cxa_atexit" PTXCONF_CROSS_GCC_DISABLE_SJLJ_EXCEPTIONS=y PTXCONF_CROSS_GCC_CONFIG_SJLJ_EXCEPTIONS="--disable-sjlj-exceptions" PTXCONF_CROSS_GCC_DISABLE_LIBSSP=y PTXCONF_CROSS_GCC_CONFIG_LIBSSP="--disable-libssp" PTXCONF_CROSS_GCC_ENABLE_SHARED=y PTXCONF_CROSS_GCC_CONFIG_SHARED="--enable-shared" PTXCONF_CROSS_GCC_THREADS_POSIX=y PTXCONF_CROSS_GCC_THREADS="posix" PTXCONF_CROSS_GCC_FIRST=y PTXCONF_CROSS_GDB=y PTXCONF_CROSS_GDB_VERSION="7.8.1" PTXCONF_CROSS_GDB_MD5="8072be87a94be0936bc3b4b6941b0862" PTXCONF_CROSS_TOOLCHAIN=y PTXCONF_HOST_FAKE_MAKEINFO=y PTXCONF_HOST_CLOOG=y PTXCONF_HOST_EXPAT=y PTXCONF_HOST_GMP=y PTXCONF_HOST_ISL=y PTXCONF_HOST_MPC=y PTXCONF_HOST_MPFR=y PTXCONF_HOST_XZ=y PTXCONF_HOST_ZLIB=y PTXCONF_HOST_LIBELF=y PTXCONF_HOST_AUTOTOOLS_AUTOCONF=y PTXCONF_HOST_CHRPATH=y PTXCONF_HOST_M4=y PTXCONF_HOST_SYSTEM_PERL=y # # ---------------------------------- # # # misc # PTXCONF_PREFIX="/opt" PTXCONF_PREFIX_KERNEL="-sanitized" PTXCONF_PREFIX_TCID="gcc-${PTXCONF_CROSS_GCC_VERSION}${PTXCONF_PREFIX_JAVA}-glibc-${PTXCONF_GLIBC_VERSION}-binutils-${PTXCONF_CROSS_BINUTILS_VERSION}-kernel-${PTXCONF_KERNEL_HEADERS_VERSION}${PTXCONF_PREFIX_KERNEL}" PTXCONF_SYSROOT_HOST="${PTXDIST_PLATFORMDIR}/sysroot-host" PTXCONF_SYSROOT_CROSS="${PTX_AUTOBUILD_DESTDIR}${PTXCONF_PREFIX}/${PTXCONF_PROJECT}/${PTXCONF_GNU_TARGET}/${PTXCONF_PREFIX_TCID}" PTXCONF_SYSROOT_TARGET="${PTXCONF_SYSROOT_CROSS}/sysroot-${PTXCONF_GNU_TARGET}" PTXCONF_PLATFORM="${PTXCONF_GNU_TARGET}-${PTXCONF_PREFIX_TCID}" PTXCONF_COMPILER_PREFIX="${PTXCONF_GNU_TARGET}-" # PTXCONF_TOOLCHAIN_DEBUG is not set PTXCONF_IMAGE_TOOLCHAIN_TGZ=y PTXCONF_IMAGE_TOOLCHAIN_DEB=y PTXCONF_CONFIGFILE_VERSION="2014.12.0" --Apple-Mail=_FF0667FC-2BB5-44F4-8997-23711112C63E Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii --Apple-Mail=_FF0667FC-2BB5-44F4-8997-23711112C63E Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline LS0gCnB0eGRpc3QgbWFpbGluZyBsaXN0CnB0eGRpc3RAcGVuZ3V0cm9uaXguZGUK --Apple-Mail=_FF0667FC-2BB5-44F4-8997-23711112C63E--