From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by mx1.pokylinux.org (Postfix) with ESMTP id 145F94C810A8 for ; Thu, 4 Nov 2010 13:18:33 -0500 (CDT) Received: from ALA-MAIL03.corp.ad.wrs.com (ala-mail03 [147.11.57.144]) by mail.windriver.com (8.14.3/8.14.3) with ESMTP id oA4IIWgV004807; Thu, 4 Nov 2010 11:18:32 -0700 (PDT) Received: from ala-mail06.corp.ad.wrs.com ([147.11.57.147]) by ALA-MAIL03.corp.ad.wrs.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 4 Nov 2010 11:18:31 -0700 Received: from Macintosh-5.local ([172.25.36.228]) by ala-mail06.corp.ad.wrs.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 4 Nov 2010 11:18:31 -0700 Message-ID: <4CD2F8F6.3080702@windriver.com> Date: Thu, 04 Nov 2010 13:18:30 -0500 From: Mark Hatle Organization: Wind River Systems User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: Leon Woestenberg References: <4CD1849F.6010303@windriver.com><4CD2EB61.2090502@windriver.com> In-Reply-To: X-OriginalArrivalTime: 04 Nov 2010 18:18:31.0727 (UTC) FILETIME=[AFB2A3F0:01CB7C4C] Cc: yocto@yoctoproject.org Subject: Re: ppc e500v2 support? X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Nov 2010 18:18:33 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 11/4/10 1:02 PM, Leon Woestenberg wrote: > Hello Mark, > > On Thu, Nov 4, 2010 at 6:20 PM, Mark Hatle wrote: >> On 11/4/10 8:53 AM, Leon Woestenberg wrote: >> Just an FYI.. the compiler flags for e500v1: >> >> -mcpu=8540 -mfloat-gprs=single -mspe=yes -mabi=spe >> >> and for e500v2: >> >> -mcpu=8548 -mfloat-gprs=double -mspe=yes -mabi=spe >> >> Neither of those would be compatible with the existing "ppc" packaging arch. >> We will need to generate at least one new packaging arch type, likely 2 >> (one for each). Maybe called ppc_spe or something similar? >> > In OpenEmbedded we use the core variant as the packaging name: > > TARGET_CC_ARCH = "-mcpu=8548 -mspe=yes -mabi=spe -mhard-float > -mfloat-gprs=double" > BASE_PACKAGE_ARCH = "ppce500v2" > FEED_ARCH = "ppce500v2" > PACKAGE_EXTRA_ARCHS += "ppce500v2" > > Does that make sense? > > Regards, I think this is an area we need to coordinate.. I'm not against calling is ppce500v2 for right now. However, I think this is a place we need to coordinate efforts. I'm going to attempt to pull together a list of Linux ABIs & potential optimizations in the Yocto wiki. The reason I bring this up is that over the years at Wind River, and my previous experience at MontaVista... and watching Emdebian and other projects.. _everyone_ names their package architectures differently.. because people only have a small view on the problem. We finally have enough history to have a chance at indicating what the actual ABIs are, and how the compatibility matrix may fill out. (also giving us a change to finally give these architectures reasonable naming schemes!) --Mark