From: Jean-Claude Monnin <jc_monnin@emailplus.org>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] OSELAS Toolchain for ARM Cortex A5
Date: Mon, 13 Jul 2015 17:22:58 +0200 [thread overview]
Message-ID: <126429AD-D15B-4290-88E2-57512DEC3EA1@emailplus.org> (raw)
In-Reply-To: <CABDcavY+M5mMJU+AdnPsAov06_UkEEq+AvxaPOUP=NPbzZ2S-A@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2276 bytes --]
Hi,
> I am looking for a toolchain for Atmel SAMA5D3x series. These are ARM
> Cortex A5 CPUs with hardware FPU.
>
> 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’ 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’ve done a custom config based on the 'arm-cortexa8-linux-gnueabihf' toolchain. I had to remove the 'PTXCONF_GLIBC_EXTRA_ADDONS="cortex-strings”’ option. Please check the attached file and the diff’s.
Warning: I’m no expert in toolchains. Although it seems to run fine, I haven’t done much testing. It might be safer to go with the standard 'arm-v7a’ config.
Regards,
Jean-Claude
diff arm-cortexa5-linux-gnueabihf_gcc-4.9.2_glibc-2.20_binutils-2.24_kernel-3.16-sanitized.ptxconfig arm-cortexa8-linux-gnueabihf_gcc-4.9.2_glibc-2.20_binutils-2.24_kernel-3.16-sanitized.ptxconfig
23c23
< PTXCONF_GNU_TARGET="arm-cortexa5-linux-gnueabihf"
---
> PTXCONF_GNU_TARGET="arm-cortexa8-linux-gnueabihf"
54c54
< PTXCONF_GLIBC_EXTRA_ADDONS=""
---
> PTXCONF_GLIBC_EXTRA_ADDONS="cortex-strings"
73c73
< PTXCONF_CROSS_GCC_CONFIG_EXTRA="--with-float=hard --with-fpu=vfpv4-d16 --with-cpu=cortex-a5 --with-mode=thumb"
---
> PTXCONF_CROSS_GCC_CONFIG_EXTRA="--with-float=hard --with-fpu=neon --with-cpu=cortex-a8 --with-mode=thumb"
diff arm-cortexa5-linux-gnueabihf_gcc-4.9.2_glibc-2.20_binutils-2.24_kernel-3.16-sanitized.ptxconfig arm-v7a-linux-gnueabihf_gcc-4.9.2_glibc-2.20_binutils-2.24_kernel-3.16-sanitized.ptxconfig
23c23
< PTXCONF_GNU_TARGET="arm-cortexa5-linux-gnueabihf"
---
> PTXCONF_GNU_TARGET="arm-v7a-linux-gnueabihf"
50c50
< PTXCONF_GLIBC_CONFIG_EXTRA="--disable-multi-arch"
---
> PTXCONF_GLIBC_CONFIG_EXTRA=""
73c73
< PTXCONF_CROSS_GCC_CONFIG_EXTRA="--with-float=hard --with-fpu=vfpv4-d16 --with-cpu=cortex-a5 --with-mode=thumb"
---
> PTXCONF_CROSS_GCC_CONFIG_EXTRA="--with-float=hard --with-fpu=vfpv3-d16 --with-arch=armv7-a --with-mode=thumb --with-tune=cortex-a9"
[-- Attachment #2: arm-cortexa5-linux-gnueabihf_gcc-4.9.2_glibc-2.20_binutils-2.24_kernel-3.16-sanitized.ptxconfig --]
[-- Type: application/octet-stream, Size: 4253 bytes --]
#
# 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"
[-- Attachment #3: Type: text/plain, Size: 2 bytes --]
[-- Attachment #4: Type: text/plain, Size: 48 bytes --]
--
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2015-07-13 13:23 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-13 14:39 Guillermo Rodriguez Garcia
2015-07-13 15:22 ` Jean-Claude Monnin [this message]
2015-07-13 15:34 ` Guillermo Rodriguez Garcia
2015-07-16 11:43 ` Guillermo Rodriguez Garcia
2015-07-16 13:14 ` Jean-Claude Monnin
2015-07-16 13:27 ` Guillermo Rodriguez Garcia
2015-07-16 13:37 ` Michael Olbrich
2015-07-16 14:48 ` Guillermo Rodriguez Garcia
2015-07-16 13:30 ` Michael Olbrich
2015-07-16 13:36 ` Guillermo Rodriguez Garcia
2015-07-16 13:39 ` Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=126429AD-D15B-4290-88E2-57512DEC3EA1@emailplus.org \
--to=jc_monnin@emailplus.org \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox