From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.chez-thomas.org (hermes.mlbassoc.com [64.234.241.98]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 22057E00746 for ; Sun, 4 Mar 2012 04:36:09 -0800 (PST) Received: by mail.chez-thomas.org (Postfix, from userid 1998) id 98325F8124D; Sun, 4 Mar 2012 05:36:08 -0700 (MST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on hermes.chez-thomas.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED,BAYES_00 autolearn=unavailable version=3.3.2 Received: from hermes.chez-thomas.org (localhost.localdomain [127.0.0.1]) by mail.chez-thomas.org (Postfix) with ESMTP id 9E8CEF811D8; Sun, 4 Mar 2012 05:36:06 -0700 (MST) Message-ID: <4F5361B6.8040908@mlbassoc.com> Date: Sun, 04 Mar 2012 05:36:06 -0700 From: Gary Thomas User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0) Gecko/20120131 Thunderbird/10.0 MIME-Version: 1.0 To: "Robert P. J. Day" References: <4F4D457F.7000306@windriver.com> <4F514826.5050402@ti.com> <4F514EC8.8000606@ti.com> <4F515551.50708@mlbassoc.com> <20120304061843.GN24667@denix.org> In-Reply-To: Cc: yocto@yoctoproject.org Subject: Re: proper recipe for building for beagle xM? meta-ti? 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: Sun, 04 Mar 2012 12:36:09 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2012-03-04 05:19, Robert P. J. Day wrote: > On Sun, 4 Mar 2012, Denys Dmytriyenko wrote: > >> On Fri, Mar 02, 2012 at 04:18:41PM -0700, Gary Thomas wrote: >>> On 2012-03-02 15:50, William Mills wrote: >>>> We will update the README when it is merely in need of testing. >>>> Today, we know there is code that does not work with GCC 4.6. >>>> Today, we know there are features in the recipes that do not work w/o Angstrom. >>> >>> Can you elaborate on the above? I have been [I think] successfully using poky+meta-ti >>> to support internal platform based on DM8148 and DM3730 - meta-ti is the best choice >>> for a kernel "jumping off point" for these platforms. So far, I've only >>> had to make a scant few tweaks to get this combo to work, in particular: >>> >>> * In conf/local.conf, I use this to avoid parsing problems with some meta-ti >>> recipes (none of which I need at the moment) >>> # Ignore troublesome TI recipes >>> BBMASK = ".*/meta-ti/recipes-misc/" >>> >>> * In distro.conf (I do have my own distro, but it's very close to poky), I needed >>> # Allow hardware overrides, e.g. armv7a >>> OVERRIDES .= ":${SOC_FAMILY}" >>> >>> With these minor additions, I've been able to use the meta-ti layer for [some] >>> kernel work, u-boot, DSP support, etc - all the stuff one expects the layer >>> to provide. >>> >>> I know my setup is a bit outside pure poky+meta-ti, but it does show that >>> you don't actually have to have Angstrom to use meta-ti. >>> >>> It would be nice to understand what your concerns are, certainly the details >>> of your two "Today,..." statements above, if they fall outside what I've outlined >>> here. >> >> Gary, >> >> Clearly, the README is meant for the new people, who might find it >> too complicated for the above fixes to be applied in order for them >> to avoid using Angstrom. But you are correct, besides known isues >> with gcc-4.6 not working for some components and hence requiring >> meta-oe; SOC_FAMILY and systemd dependency in recipes-misc/images >> were the only other two things requiring meta-angstrom layer. >> >> You can try the updated meta-ti now, as it should solve those >> dependencies, thanks to Koen's latest patches. Please let us know >> how it works for you. Thanks. > > not sure if you're suggesting i should now be able to build for, > say, beagleboard with the meta-ti layer, but i cloned meta-ti into my > yocto tree, added that layer to bblayers.conf, and tried to > > $ bitbake core-image-minimal > > and got what i believe gary was referring to above: > > $ bitbake core-image-minimal > Pseudo is not present but is required, building this first before the main build > ERROR: ParseError at /home/rpjday/yocto/git/meta-ti/recipes-misc/payload/bonescript.bb:5: > Could not inherit file classes/systemd.bbclass > ERROR: Command execution failed: Exited with 1 > > or am i misreading what you wrote? Oops, that's one more workaround I forgot to mention. This file is in OE-core, but not in poky. I made a local copy in my distro layer, but there must be a better way to handle it. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------