Thanks, Andreas scripts were cool and fully automated the entire download and
build process. Here is what i did for Andrea's script to build an image:
mkdir ~/oe
git clone git://git.angstrom-distribution.org/setup-scripts ~/oe
git checkout origin/oe-core -b oe-core
# Now i have ~/oe/build ~/oe/conf ~/oe/scripts and ~/oe/sources which is
created after i run the script:
cd /~/oe
chmod +x ./oebb.sh config overo
# then i had to add MACHINE ?= "overo" to ~/oe/conf/local.conf since somehow
auto.conf was being ignored by bit bake! here is my new local.conf file:
# CONF_VERSION is increased each time build/conf/ changes incompatibly
CONF_VERSION = "1"
MACHINE ?= "overo"
INHERIT += "rm_work"
# Which files do we want to parse:
BBMASK = ""
# What kind of images do we want?
IMAGE_FSTYPES += "tar.bz2"
# Make use of SMP:
# PARALLEL_MAKE specifies how many concurrent compiler threads are spawned
per bitbake process
# BB_NUMBER_THREADS specifies how many concurrent bitbake tasks will be
run
PARALLEL_MAKE = "-j2"
BB_NUMBER_THREADS = "2"
DISTRO = "angstrom-2010.x"
# Don't generate the mirror tarball for SCM repos, the snapshot is enough
BB_GENERATE_MIRROR_TARBALLS = "0"
# Disable build time patch resolution. This would lauch a devshell
# and wait for manual intervention. We disable it.
PATCHRESOLVE = "noop"
#add custom images to be added to the build here
IMAGE_INSTALL += ""
#then i modified ~/oe/conf/bblayers.conf to add gumstix and meta-ti and
remove all the other non-essentials for overo board as follows:
# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
LCONF_VERSION = "4"
TOPDIR := "${@os.path.dirname(os.path.dirname(d.getVar('FILE', True)))}"
BBPATH = "${TOPDIR}"
BBFILES = ""
# These layers hold recipe metadata not found in OE-core, but lack any
machine or distro content
BASELAYERS ?= " \
${TOPDIR}/sources/meta-openembedded/meta-oe \
${TOPDIR}/sources/meta-openembedded/meta-efl \
${TOPDIR}/sources/meta-openembedded/meta-gpe \
${TOPDIR}/sources/meta-openembedded/meta-gnome \
${TOPDIR}/sources/meta-openembedded/meta-xfce \
${TOPDIR}/sources/meta-opie \
${TOPDIR}/sources/meta-java \
"
# These layers hold machine specific content, aka Board Support Packages
BSPLAYERS ?= " \
${TOPDIR}/sources/meta-ti \
"
# Add your overlay location to EXTRALAYERS
# Make sure to have a conf/layers.conf in there
EXTRALAYERS ?= "${TOPDIR}/sources/meta-gumstix"
BBLAYERS = " \
${TOPDIR}/sources/meta-angstrom \
${BASELAYERS} \
${BSPLAYERS} \
${EXTRALAYERS} \
${TOPDIR}/sources/openembedded-core/meta \
"
#then i modified ~/oe/sources/layers.txt and added gumstix layer at the end
as follows:
# Name,repo-uri,branch,rev
bitbake,git://github.com/openembedded/bitbake.git,master,HEAD
meta-angstrom,git://git.angstrom-distribution.org/meta-angstrom,master,HEAD
meta-openembedded,git://github.com/openembedded/meta-oe.git,master,HEAD
meta-ti,git://git.angstrom-distribution.org/meta-texasinstruments,master,HEAD
meta-ettus,git://github.com/balister/meta-ettus.git,master,HEAD
meta-efikamx,git://github.com/kraj/meta-efikamx.git,master,HEAD
meta-nslu2,git://github.com/kraj/meta-nslu2.git,master,HEAD
meta-smartphone,http://git.shr-project.org/repo/meta-smartphone.git,master,HEAD
meta-intel,git://git.yoctoproject.org/meta-intel,master,HEAD
meta-xilinx,git://git.yoctoproject.org/meta-xilinx,master,HEAD
meta-openpandora,git://github.com/openpandora/meta-openpandora.git,master,HEAD
meta-handheld,git://git.openembedded.org/meta-handheld,master,HEAD
meta-opie,git://github.com/bluelightning/meta-opie.git,master,HEAD
meta-java,git://github.com/woglinde/meta-java.git,master,HEAD
meta-mozilla,git://github.com/OSSystems/meta-mozilla.git,master,HEAD
openembedded-core,git://github.com/openembedded/oe-core.git,master,HEAD
meta-gumstix,git://gitorious.org/schnitzeltony-oe-meta/meta-gumstix.git,master,HEAD
# Finally, i sourced the hidden script to set the proper path and the
environment:
#!/bin/bash
#
# Environment setup environment for oe
#
. /home/nader/.oe/environment-oecore
MACHINE=overo bitbake console-image
and this was the smoothest build to date!!! on ubuntu 10.04 of course. the
scripts didn't work on ubuntu 11.10 and i have no idea what the magical
formula would be to get this working on 11.10.
Anyone knows the magic to upgrade to 11.10 and still have a working build
environment?
Cheers
--
View this message in context: http://gumstix.8.n6.nabble.com/Abandoning-the-broken-obsolete-Angstrom-OpenEmbedded-platform-in-favor-or-Poky-tp4337172p4344364.html
Sent from the Gumstix mailing list archive at Nabble.com.
|