From: Gary Thomas <gary@mlbassoc.com>
To: meta-ti@yoctoproject.org
Subject: Re: building meta-ti + poky HOWTO?
Date: Fri, 06 Apr 2012 08:11:38 -0600 [thread overview]
Message-ID: <4F7EF99A.7040700@mlbassoc.com> (raw)
In-Reply-To: <CAFZh4h9hFiRTRhVK_BfxfhFWhmZSinKjC5NJBq=ncubqboyvBg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2249 bytes --]
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
------------------------------------------------------------
[-- Attachment #2: beaglebone-no-thumb2-kernel-mode.patch --]
[-- Type: text/x-patch, Size: 674 bytes --]
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/defconfig b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/defconfig
index 782f52d..179c568 100644
--- a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/defconfig
+++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/defconfig
@@ -420,8 +420,8 @@ CONFIG_PREEMPT_NONE=y
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT is not set
CONFIG_HZ=100
-CONFIG_THUMB2_KERNEL=y
-CONFIG_THUMB2_AVOID_R_ARM_THM_JUMP11=y
+# CONFIG_THUMB2_KERNEL is not set
+# CONFIG_THUMB2_AVOID_R_ARM_THM_JUMP11 is not set
CONFIG_ARM_ASM_UNIFIED=y
CONFIG_AEABI=y
CONFIG_ARCH_HAS_HOLES_MEMORYMODEL=y
next prev parent reply other threads:[~2012-04-06 14:11 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-05 18:09 building meta-ti + poky HOWTO? Russell Senior
2012-04-05 18:36 ` Brian Hutchinson
2012-04-05 19:07 ` Denys Dmytriyenko
2012-04-05 19:15 ` Brian Hutchinson
2012-04-06 14:11 ` Gary Thomas [this message]
2012-04-12 14:42 ` Marco Monguzzi
2012-04-12 17:49 ` Denys Dmytriyenko
2012-04-05 19:15 ` Denys Dmytriyenko
2012-04-05 20:43 ` Russell Senior
2012-04-06 1:40 ` Russell Senior
2012-04-06 17:48 ` [Angstrom-devel] " Khem Raj
2012-04-09 1:40 ` Denys Dmytriyenko
2012-04-09 8:42 ` [PATCH] apply recommended kernel config for beaglebone Russell Senior
2012-04-09 9:08 ` Koen Kooi
2012-04-09 10:12 ` Russell Senior
2012-04-07 13:51 ` building meta-ti + poky HOWTO? Jack Mitchell
2012-04-07 19:35 ` Russell Senior
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F7EF99A.7040700@mlbassoc.com \
--to=gary@mlbassoc.com \
--cc=meta-ti@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.