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
------------------------------------------------------------
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
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti