From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga14.intel.com ([143.182.124.37]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1SFTi7-0004DC-RU for openembedded-core@lists.openembedded.org; Wed, 04 Apr 2012 19:09:32 +0200 Received: from azsmga002.ch.intel.com ([10.2.17.35]) by azsmga102.ch.intel.com with ESMTP; 04 Apr 2012 09:59:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.71,315,1320652800"; d="scan'208";a="85283813" Received: from unknown (HELO [10.255.12.141]) ([10.255.12.141]) by AZSMGA002.ch.intel.com with ESMTP; 04 Apr 2012 09:59:58 -0700 Message-ID: <4F7C7E0E.1000105@linux.intel.com> Date: Wed, 04 Apr 2012 09:59:58 -0700 From: Saul Wold User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 MIME-Version: 1.0 To: Patches and discussions about the oe-core layer References: <4F7B5613.6060303@windriver.com> In-Reply-To: Subject: Re: [PATCH 0/7 v2] Cleanup and document tuning files X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Apr 2012 17:09:32 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 04/03/2012 01:07 PM, Mark Hatle wrote: > (v2 only MIPS changed -- slight revision in the README to resolve comments > from Phil Blundell) > > Also this fixes Yocto bugzilla # 2234. > > ---- > > This is a documentation and cleanup of the tuning files. Every tuning listed > in AVAILTUNES was built for core-image-minimal! The following is a list of > failure conditions with explanations: > > ep9312 - binutils - gas fails to recognize -march=ep9312 as valid > (see binutils armv5e note below) > > cortexm3 - gcc reports the target CPU does not support ARM mode > cortexr4 - gcc reports the target CPU does not support ARM mode > > mips64* - These are not yet supported by the OE compilers > > (SH is new and experimental, based on the existing tunings) > sh3* - These are missing a patch in the compiler: > sh3-installfix-fixheaders.patch > > sh*eb - Big endian varieties are defined, but not supported > > x32 ABI variants for core2-64 and x86-64 - needs x32 layer > > > Multilibs verified to work: > > x86-64& x86 > > ppce5500& ppc64e5500 > > --- > > Note armv5e& binutils-gas: > > Finally there is a small patch to binutils gas that adds armv5e as a valid > architecture, otherwise all of the armv5e* tunings fail, even though gcc > says they are valid architectures. > > --- > > Future work: > > I'm still not completely happy with the ARM tunings, but it's too disruptive > to change them at this time. I'd like to move to something closer to how > MIPS is configured. Define various "variants" for the various tunings, > instead of simply defining the ARMPKGARCH. The current method prevents us > from having a single build that can build packages optimized for armv5te and > armv7a. While this is not likely to be a huge problem for the time being, > it may lead to problems for feed based systems that can support multiple > ARM architecture families. > > The following changes since commit 38ee88e3b32b7444d7f1eb64f1b4f69a48fe0458: > > gdb: build with expat, add missing RRECOMMENDS_gdbserver (2012-04-03 14:10:44 +0100) > > are available in the git repository at: > git://git.pokylinux.org/poky-contrib mhatle/tunings > http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/tunings > > Mark Hatle (7): > conf/machine/include/README: Add readme to explain cpu tunings > conf/machine/include: Cleanup IA tunings to match README > conf/machine/include: Cleanup MIPS tunings to match README > conf/machine/include: Cleanup PowerPC tunings to match README > conf/machine/include: Cleanup ARM tunings to match README > conf/machine/include: Update SH tunings to match README > binutils: Inform binutils that armv5e really is valid! > > meta/conf/bitbake.conf | 1 - > meta/conf/machine/include/README | 77 ++++++++++++++++++++ > meta/conf/machine/include/arm/README | 40 ++++++++++ > meta/conf/machine/include/arm/arch-arm.inc | 2 +- > meta/conf/machine/include/arm/arch-armv5.inc | 2 +- > meta/conf/machine/include/arm/arch-armv7a.inc | 6 +- > meta/conf/machine/include/ia32/README | 24 ++++++ > meta/conf/machine/include/ia32/arch-ia32.inc | 26 ++++--- > meta/conf/machine/include/mips/README | 36 +++++++++ > meta/conf/machine/include/mips/arch-mips.inc | 38 +++++++++- > meta/conf/machine/include/powerpc/README | 17 +++++ > meta/conf/machine/include/powerpc/arch-powerpc.inc | 15 ++-- > .../machine/include/powerpc/arch-powerpc64.inc | 1 + > meta/conf/machine/include/sh/README | 11 +++ > meta/conf/machine/include/sh/arch-sh.inc | 9 +++ > meta/conf/machine/include/tune-c3.inc | 12 +++- > meta/conf/machine/include/tune-core2.inc | 16 +++-- > meta/conf/machine/include/tune-cortexm3.inc | 2 +- > meta/conf/machine/include/tune-cortexr4.inc | 2 +- > meta/conf/machine/include/tune-i586.inc | 8 +-- > meta/conf/machine/include/tune-mips32.inc | 17 +++-- > meta/conf/machine/include/tune-ppc603e.inc | 4 +- > meta/conf/machine/include/tune-ppce300c2.inc | 2 +- > meta/conf/machine/include/tune-ppce500.inc | 10 ++- > meta/conf/machine/include/tune-ppce500mc.inc | 4 +- > meta/conf/machine/include/tune-ppce500v2.inc | 10 ++- > meta/conf/machine/include/tune-ppce5500.inc | 4 +- > meta/conf/machine/include/tune-sh3.inc | 19 ++++- > meta/conf/machine/include/tune-sh4.inc | 32 ++++++++- > .../binutils/binutils/binutils-armv5e.patch | 20 +++++ > meta/recipes-devtools/binutils/binutils_2.22.bb | 3 +- > 31 files changed, 401 insertions(+), 69 deletions(-) > create mode 100644 meta/conf/machine/include/README > create mode 100644 meta/conf/machine/include/arm/README > create mode 100644 meta/conf/machine/include/ia32/README > create mode 100644 meta/conf/machine/include/mips/README > create mode 100644 meta/conf/machine/include/powerpc/README > create mode 100644 meta/conf/machine/include/sh/README > create mode 100644 meta/conf/machine/include/sh/arch-sh.inc > create mode 100644 meta/recipes-devtools/binutils/binutils/binutils-armv5e.patch > Merged into OE-Core Thanks Sau! > > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core >