[meta-ti] Building Yocto for Pandaboard
Koen Kooi
koen at dominion.thruhere.net
Mon Feb 27 08:19:53 PST 2012
Op 27 feb. 2012, om 17:06 heeft Philip Balister het volgende geschreven:
> On 02/27/2012 03:50 AM, Koen Kooi wrote:
>>
>> Op 27 feb. 2012, om 09:26 heeft <Christian.Schulenberg at bmw.de> <Christian.Schulenberg at bmw.de> het volgende geschreven:
>>
>>> I already added to following line to my local.conf:
>>>
>>> BBMASK = ".*/meta-ti/recipes-misc/"
>>>
>>> which helps to bypass the first build problem. The next show stopper is building the boot loader (denx version of u-boot):
>>>
>>> clocks.c:415:13: internal compiler error: in decode_addr_const, at varasm.c:2632
>>>
>>> This seems to be a problem with the used version of gcc. I guess there are two ways to work around this: Use older version of gcc (4.5) or change compiler optimization from -Os to -O0. Unfortunately, neither can I find the right place to switch from gcc 4.6 to 4.5, nor the place to change compiler flags.
>>
>> Have you read the README in the meta-ti layer yet? That explains how to setup a working environment.
>
> The README contains instructions for building Angstrom, which is not the
> right answer for everyone trying to use meta-ti.
Since the recipe in question break with gcc 4.6 and/or binutils 2.22 *and* you need SOC_FAMILY in overrides angstrom is the only "out of the box" option. Other routes will involve heavy patching. I agree that needs to be addressed, but it doesn't change the solution *right now*.
And the instructions in the README set things for 'yocto', which is what people are asking for. If they asked for 'poky', that would be a totally different thing.
More information about the meta-ti
mailing list