diff options
author | Gregory Nutt <gnutt@linux-qpx1.site> | 2013-11-16 12:08:54 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@linux-qpx1.site> | 2013-11-16 12:08:54 -0600 |
commit | 7486e0996033898b1741ea4c016669b65fea37bd (patch) | |
tree | e5d99f2cb34117c2255a10d3e7c89ffefe74a507 /misc/buildroot | |
parent | 8758c9ab0f1804dd95e66575937f459bf8b80cfa (diff) | |
download | px4-nuttx-7486e0996033898b1741ea4c016669b65fea37bd.tar.gz px4-nuttx-7486e0996033898b1741ea4c016669b65fea37bd.tar.bz2 px4-nuttx-7486e0996033898b1741ea4c016669b65fea37bd.zip |
Add support for Cortex-A5 and A8
Diffstat (limited to 'misc/buildroot')
-rw-r--r-- | misc/buildroot/ChangeLog | 1 | ||||
-rw-r--r-- | misc/buildroot/Config.in | 7 | ||||
-rw-r--r-- | misc/buildroot/configs/cortexa8-eabi-defconfig-4.6.3 | 125 | ||||
-rw-r--r-- | misc/buildroot/toolchain/binutils/Config.in | 12 | ||||
-rw-r--r-- | misc/buildroot/toolchain/gcc/Config.in | 8 |
5 files changed, 143 insertions, 10 deletions
diff --git a/misc/buildroot/ChangeLog b/misc/buildroot/ChangeLog index 4ba06a8f0..64c7fc120 100644 --- a/misc/buildroot/ChangeLog +++ b/misc/buildroot/ChangeLog @@ -138,4 +138,5 @@ buildroot-1.13 2011-xx-xx <gnutt@nuttx.org> * Ubuntu's HOSTCC prints 'gcc-Version 4.6.3' but dependencies.sh expects 'gcc version 4.6.3'. This changes solves the issue, but should be revisited at some time. From Oliver Riesener (2013-12-12). + * Add support for Cortex-A5 and Cortex-A8 diff --git a/misc/buildroot/Config.in b/misc/buildroot/Config.in index 21444f056..6005bec83 100644 --- a/misc/buildroot/Config.in +++ b/misc/buildroot/Config.in @@ -91,6 +91,10 @@ config BR2_arm926t bool "ARM926T" config BR2_arm1136jf_s bool "ARM1136JF-S" +config BR2_cortex_a5 + bool "Cortex-A5" +config BR2_cortex_a8 + bool "Cortex-A8" config BR2_cortex_m3 bool "Cortex-M3/M4" config BR2_cortex_m0 @@ -218,6 +222,8 @@ config BR2_GCC_TARGET_TUNE default arm922t if BR2_arm922t default arm9tdmi if BR2_arm926t default arm1136jf-s if BR2_arm1136jf_s + default cortex-a5 if BR2_cortex_a5 + default cortex-a8 if BR2_cortex_a8 default cortex-m3 if BR2_cortex_m3 default cortex-m0 if BR2_cortex_m0 default strongarm110 if BR2_sa110 @@ -237,6 +243,7 @@ config BR2_GCC_TARGET_ARCH default armv4t if BR2_arm720t || BR2_arm920t || BR2_arm922t default armv5te if BR2_arm926t || BR2_arm10t || BR2_xscale default armv6j if BR2_arm1136jf_s + default armv7-a if BR2_cortex_a5 || BR_cortex_a8 default armv7-m if BR2_cortex_m3 default armv6-m if BR2_cortex_m0 default iwmmxt if BR2_iwmmxt diff --git a/misc/buildroot/configs/cortexa8-eabi-defconfig-4.6.3 b/misc/buildroot/configs/cortexa8-eabi-defconfig-4.6.3 new file mode 100644 index 000000000..73a40985b --- /dev/null +++ b/misc/buildroot/configs/cortexa8-eabi-defconfig-4.6.3 @@ -0,0 +1,125 @@ +# +# Automatically generated make config: don't edit +# +BR2_HAVE_DOT_CONFIG=y +# BR2_alpha is not set +BR2_arm=y +# BR2_armeb is not set +# BR2_avr is not set +# BR2_avr32 is not set +# BR2_bfin is not set +# BR2_cris is not set +# BR2_i386 is not set +# BR2_m32c is not set +# BR2_m68k is not set +# BR2_m68hc11 is not set +# BR2_m68hc12 is not set +# BR2_m9s12x is not set +# BR2_mips is not set +# BR2_mipsel is not set +# BR2_nios2 is not set +# BR2_powerpc is not set +# BR2_sh is not set +# BR2_sh64 is not set +# BR2_h8300 is not set +# BR2_sparc is not set +# BR2_x86_64 is not set +# BR2_generic_arm is not set +# BR2_arm610 is not set +# BR2_arm7tdmi is not set +# BR2_arm710 is not set +# BR2_arm720t is not set +# BR2_arm740t is not set +# BR2_arm920t is not set +# BR2_arm922t is not set +# BR2_arm926t is not set +# BR2_arm1136jf_s is not set +# BR2_cortex_a5 is not set +BR2_cortex_a8=y +# BR2_cortex_m3 is not set +# BR2_cortex_m0 is not set +# BR2_sa110 is not set +# BR2_sa1100 is not set +# BR2_xscale is not set +# BR2_iwmmxt is not set +# BR2_ARM_OABI is not set +BR2_ARM_EABI=y +BR2_ARCH="arm" +BR2_GCC_TARGET_TUNE="cortex-a8" +BR2_GCC_TARGET_ABI="aapcs-linux" +BR2_ENDIAN="LITTLE" + +# +# Build options +# +BR2_WGET="wget --passive-ftp" +BR2_SVN="svn co" +BR2_ZCAT="zcat" +BR2_BZCAT="bzcat" +BR2_TAR_OPTIONS="" +BR2_DL_DIR="$(BASE_DIR)/../archives" +BR2_STAGING_DIR="$(BUILD_DIR)/staging_dir" +BR2_NUTTX_DIR="$(TOPDIR)/../../nuttx" +BR2_TOPDIR_PREFIX="" +BR2_TOPDIR_SUFFIX="" +BR2_GNU_BUILD_SUFFIX="pc-elf" +BR2_GNU_TARGET_SUFFIX="nuttx-eabi" +# BR2_PREFER_IMA is not set + +# +# Toolchain Options +# + +# +# Binutils Options +# +# BR2_BINUTILS_VERSION_2_17 is not set +# BR2_BINUTILS_VERSION_2_18 is not set +# BR2_BINUTILS_VERSION_2_19 is not set +# BR2_BINUTILS_VERSION_2_19_1 is not set +# BR2_BINUTILS_VERSION_2_21_1 is not set +BR2_BINUTILS_VERSION_2_22=y +BR2_BINUTILS_VERSION="2.22" +BR2_EXTRA_BINUTILS_CONFIG_OPTIONS="" + +# +# GCC Options +# +BR2_PACKAGE_GCC=y +# BR2_GCC_VERSION_3_3_6 is not set +# BR2_GCC_VERSION_3_4_6 is not set +# BR2_GCC_VERSION_4_2_4 is not set +# BR2_GCC_VERSION_4_3_3 is not set +# BR2_GCC_VERSION_4_5_2 is not set +BR2_GCC_VERSION_4_6_3=y +BR2_GCC_SUPPORTS_SYSROOT=y +BR2_GCC_VERSION="4.6.3" +# BR2_GCC_USE_SJLJ_EXCEPTIONS is not set +BR2_EXTRA_GCC_CONFIG_OPTIONS="" +BR2_INSTALL_LIBSTDCPP=y +# BR2_INSTALL_LIBGCJ is not set +# BR2_INSTALL_OBJC is not set +# BR2_INSTALL_FORTRAN is not set + +# +# Gdb Options +# +# BR2_PACKAGE_GDB is not set +# BR2_PACKAGE_GDB_SERVER is not set +# BR2_PACKAGE_GDB_HOST is not set + +# +# NuttX Binary Support +# +BR2_PACKAGE_NXFLAT=y +BR2_PACKAGE_GENROMFS=y + +# +# Common Toolchain Options +# +# BR2_PACKAGE_SSTRIP_TARGET is not set +# BR2_PACKAGE_SSTRIP_HOST is not set +# BR2_ENABLE_MULTILIB is not set +BR2_LARGEFILE=y +BR2_SOFT_FLOAT=y +BR2_TARGET_OPTIMIZATION="-Os -pipe" diff --git a/misc/buildroot/toolchain/binutils/Config.in b/misc/buildroot/toolchain/binutils/Config.in index 96cff013f..5aa674133 100644 --- a/misc/buildroot/toolchain/binutils/Config.in +++ b/misc/buildroot/toolchain/binutils/Config.in @@ -4,23 +4,23 @@ comment "Binutils Options" choice prompt "Binutils Version" - default BR2_BINUTILS_VERSION_2_19_1 if BR2_cortex_m3 || BR2_cortex_m0 - default BR2_BINUTILS_VERSION_2_19 if !BR2_avr32 && !BR2_cortex_m3 && !BR2_cortex_m0 && !BR2_m9s12x + default BR2_BINUTILS_VERSION_2_19_1 if BR2_cortex_a5 || BR2_cortex_a8 || BR2_cortex_m3 || BR2_cortex_m0 + default BR2_BINUTILS_VERSION_2_19 if !BR2_avr32 && !BR2_cortex_a5 && !BR2_cortex_a8 && !BR2_cortex_m3 && !BR2_cortex_m0 && !BR2_m9s12x default BR2_BINUTILS_VERSION_2_18 if BR2_m9s12x - default BR2_BINUTILS_VERSION_2_17 if !BR2_cortex_m3 && !BR2_cortex_m0 && !BR2_m9s12x + default BR2_BINUTILS_VERSION_2_17 if !BR2_cortex_a5 && !BR2_cortex_a8 && !BR2_cortex_m3 && !BR2_cortex_m0 && !BR2_m9s12x help Select the version of binutils you wish to use. config BR2_BINUTILS_VERSION_2_17 - depends !BR2_nios2 && !BR2_cortex_m3 && !BR2_cortex_m0 && !BR2_m9s12x + depends !BR2_nios2 && !BR2_cortex_a5 && !BR2_cortex_a8 && !BR2_cortex_m3 && !BR2_cortex_m0 && !BR2_m9s12x bool "binutils 2.17" config BR2_BINUTILS_VERSION_2_18 - depends !BR2_avr32 && !BR2_nios2 && !BR2_cortex_m3 && !BR2_cortex_m0 + depends !BR2_avr32 && !BR2_nios2 && !BR2_cortex_a5 && !BR2_cortex_a8 && !BR2_cortex_m3 && !BR2_cortex_m0 bool "binutils 2.18" config BR2_BINUTILS_VERSION_2_19 - depends !BR2_avr32 && !BR2_nios2 && !BR2_cortex_m3 && !BR2_cortex_m0 &&!BR2_m9s12x + depends !BR2_avr32 && !BR2_nios2 && !BR2_cortex_a5 && !BR2_cortex_a8 && !BR2_cortex_m3 && !BR2_cortex_m0 &&!BR2_m9s12x bool "binutils 2.19" config BR2_BINUTILS_VERSION_2_19_1 diff --git a/misc/buildroot/toolchain/gcc/Config.in b/misc/buildroot/toolchain/gcc/Config.in index edef88a3e..f7f9bfd28 100644 --- a/misc/buildroot/toolchain/gcc/Config.in +++ b/misc/buildroot/toolchain/gcc/Config.in @@ -10,8 +10,8 @@ config BR2_PACKAGE_GCC choice prompt "GCC compiler Version" - default BR2_GCC_VERSION_4_3_3 if BR2_cortex_m3 || BR2_cortex_m0 - default BR2_GCC_VERSION_4_2_4 if !BR2_avr32 && !BR2_cortex_m3 && !BR2_cortex_m0 && !BR2_m9s12x + default BR2_GCC_VERSION_4_3_3 if BR2_cortex_a5 || BR2_cortex_a8 || BR2_cortex_m3 || BR2_cortex_m0 + default BR2_GCC_VERSION_4_2_4 if !BR2_avr32 && !BR2_cortex_a5 && !BR2_cortex_a8 && !BR2_cortex_m3 && !BR2_cortex_m0 && !BR2_m9s12x default BR2_GCC_VERSION_3_4_6 if BR2_avr32 default BR2_GCC_VERSION_3_3_6 if BR2_m9s12x depends on BR2_PACKAGE_GCC @@ -23,11 +23,11 @@ choice bool "gcc 3.3.6" config BR2_GCC_VERSION_3_4_6 - depends on !BR2_m32c && !BR2_cortex_m3 && !BR2_cortex_m0 && !BR2_m9s12x + depends on !BR2_m32c && !BR2_cortex_a5 && !BR2_cortex_a8 && !BR2_cortex_m3 && !BR2_cortex_m0 && !BR2_m9s12x bool "gcc 3.4.6" config BR2_GCC_VERSION_4_2_4 - depends on !BR2_avr32 && !BR2_nios2 && !BR2_cortex_m3 && !BR2_cortex_m0 && !BR2_m9s12x + depends on !BR2_avr32 && !BR2_nios2 && !BR2_cortex_a5 && !BR2_cortex_a8 && !BR2_cortex_m3 && !BR2_cortex_m0 && !BR2_m9s12x select BR2_GCC_SUPPORTS_SYSROOT bool "gcc 4.2.4" |