Re: ppc e500v2 support?


Leon Woestenberg <leon.woestenberg@...>
 

Hello Mark,

On Thu, Nov 4, 2010 at 6:20 PM, Mark Hatle <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,
--
Leon 'likewise' Woestenberg

Join {yocto@lists.yoctoproject.org to automatically receive all group messages.