[meta-ti] Building Yocto for Pandaboard

Christian.Schulenberg at bmw.de Christian.Schulenberg at bmw.de
Mon Feb 27 00:26:02 PST 2012


Hi,

I'm quite new to the Yocto project, but Yocto seems so to solve a lot of my problems. I'm happy to see, that there is also support from TI for the OMAP. I already managed to build a Beagleboard version and bring some custom applications onto it. For the next days, it's important for me to switch over to Pandaboard (A revisions with OMAP4430) because of it's improved HW and the more powerful OMAP4.

As a starting point, I used the meta-ti layer. Doing so, I already got the first question, because there are two machines defined:

pandaboard and omap4430-panda

Which version is the most recent one? For my first steps I decided to go with the pandaboard configuration. I building core-image-base, because for my tasks, this seems to be the most appropriate one.

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. Could anyone please give me some advice, how to change the flags first, because this would be the preferred way from my point of view.

I removed the clock initialization from the file, to see how far I can get afterwards. In fact, another problem comes up with ofono (problems with finding python, I guess another versioning problem here). Beside the point, that I don't understand why ofono is part of a base image, I can't find the right place to remove the ofono package from my image. Please, can someone give my some hint who to remove ofono? Using the hob is not a solution, because hob does not support removing packages, or did I miss something?

Please be patient when I'm asking some question, where the answers are obvious for you, but as I mentioned before, I'm new to Yocto and still learning ;-) Maybe, there is someone on this mailing list, who already managed to build Yocto successfully for Panda and who can help me out of my problems or give some further advice.

Thanks,
Christian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-ti/attachments/20120227/7bbed066/attachment.html>


More information about the meta-ti mailing list