[meta-ti] building meta-ti + poky HOWTO?
Gary Thomas
gary at mlbassoc.com
Fri Apr 6 07:11:38 PDT 2012
On 2012-04-05 12:36, Brian Hutchinson wrote:
> I may be out of the loop but if you follow the yocto way of doing
> things .... poky will produce a BeagleBoard image without having to
> use meta-ti and I think you can use that on beaglebone. Some one
> correct me if I'm sending Russell in the weeds.
>
> I've been able to build yocto images for BeagleBoard but haven't tried
> them on the bone yet.
>
> Last I checked meta-ti with poky still had some issues.
Yes, there are some issues, but they can be worked around. I have successfully
built core-image-minimal for both beagleboard and beaglebone with this configuration:
OE Build Configuration:
BB_VERSION = "1.15.1"
TARGET_ARCH = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE = "beaglebone"
DISTRO = "poky"
DISTRO_VERSION = "1.1+snapshot-20120406"
TUNE_FEATURES = "armv7a vfp neon cortexa8"
TARGET_FPU = "vfp-neon"
meta
meta-yocto = "(nobranch):723c91297d833f989b762c661d05eef6a5e2fe5c"
meta-ti = "master:246cb75a970e9aab0a3974a55e72c6d90f1df151"
Simply add the meta-ti to your conf/bblayers.conf
Workarounds:
* There is still one recipe in meta-ti that causes a parse error
ERROR: ParseError at /home/local/poky-multi/meta-ti/recipes-misc/payload/bonescript.bb:5: Could not inherit file classes/systemd.bbclass
To work around this, add this to your conf/local.conf
BBMASK ?= ".*/meta-ti/recipes-misc/payload/bonescript*"
* The beaglebone kernel can't be built with its default configuration using the
GCC-4.6.x/BINUTILS-2.22. It will build with the attached patch which disables
THUMB2_KERNEL mode. Simply apply it to your local copy of meta-ti
* If you want to build the TI kernel for the beagleboard, add this to conf/local.conf
PREFERRED_PROVIDER_virtual/kernel ?= "linux-omap-psp"
That said, I've only tested the bare minimum builds. Depending on what you need to
accomplish, this may or may not be the way to go.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: beaglebone-no-thumb2-kernel-mode.patch
Type: text/x-patch
Size: 659 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/meta-ti/attachments/20120406/0909464c/attachment.bin>
More information about the meta-ti
mailing list