[poky] Need help to build poky image for beagle board

Sparsh Wid hope sparsh150847 at yahoo.com
Mon Mar 21 21:15:14 PDT 2011


Thanks for your guidance, I downloaded angstrom-angstrom-layers package from the link 
http://gitorious.org/angstrom/angstrom-layers/ and updated laverne-4.0.1/meta/conf, /recipes-bsp, /recipes-ti, added image recipes_images_beagleboard-demo-image.bb in /meta/recipes/core/images and modified /meta/conf/local.conf.sample as 
#MACHINE  ?="qemux86" and
MACHINE ?="beagleboard"
and bitbake it as bitbake omap-image-beagleboard-demo and got the error :
NOTE: <type 'exceptions.Exception'>:variable BBPATH references itself! while evaluating:
/home/surya/Surya/pro/POKY/laverne-4.0.1/meta:${BBPATH}
NOTE: <type 'exceptions.Exception'>:variable BBPATH references itself! while evaluating:
${BBPATH}:${LAYERDIR}
FATAL: Traceback (most recent call last):
  File "/home/surya/Surya/pro/POKY/laverne-4.0.1/scripts/..//bitbake//bin/bitbake", line 216, in <module>
    ret = main()
  File "/home/surya/Surya/pro/POKY/laverne-4.0.1/scripts/..//bitbake//bin/bitbake", line 177, in main
    cooker = bb.cooker.BBCooker(configuration, server)
  File "/home/surya/Surya/pro/POKY/laverne-4.0.1/scripts/..//bitbake/lib/bb/cooker.py", line 85, in __init__
    self.parseConfigurationFiles(self.configuration.file)
  File "/home/surya/Surya/pro/POKY/laverne-4.0.1/scripts/..//bitbake/lib/bb/cooker.py", line 515, in parseConfigurationFiles
    data = bb.parse.handle(os.path.join(layer, "conf", "layer.conf"), data)
  File "/home/surya/Surya/pro/POKY/laverne-4.0.1/scripts/..//bitbake/lib/bb/parse/__init__.py", line 75, in handle
    return h['handle'](fn, data, include)
  File "/home/surya/Surya/pro/POKY/laverne-4.0.1/scripts/..//bitbake/lib/bb/parse/parse_py/ConfHandler.py", line 105, in handle
    statements.eval(data)
  File "/home/surya/Surya/pro/POKY/laverne-4.0.1/scripts/..//bitbake/lib/bb/parse/ast.py", line 37, in eval
    statement.eval(data)
  File "/home/surya/Surya/pro/POKY/laverne-4.0.1/scripts/..//bitbake/lib/bb/parse/ast.py", line 97, in eval
    val = bb.data.expand(groupd["value"], e)
Exception: variable BBPATH references itself!

Help me to solve the problem.
Thanks in advance.


--- On Mon, 21/3/11, Koen Kooi <koen at dominion.thruhere.net> wrote:

From: Koen Kooi <koen at dominion.thruhere.net>
Subject: Re: [poky] Need help to build poky image for beagle board
To: "Sparsh Wid hope" <sparsh150847 at yahoo.com>
Cc: "poky" <poky at yoctoproject.org>, "Patches and discussions about the oe-core layer" <openembedded-core at lists.openembedded.org>
Date: Monday, 21 March, 2011, 11:49 AM


Op 21 mrt 2011, om 11:29 heeft Sparsh Wid hope het volgende geschreven:

> Hi All,
> 
> I'm trying to build poky image for beagle board. 

I'll address the 'beagleboard' portion of your question below.

> I got the following error- 
> FATAL: Error when parsing []: file classes/packaged-staging.bbclass not found in /home/surya/Surya/pro/POKY/meta-texasinstruments:/home/surya/Surya/pro/POKY/meta
> 
> I followed the steps below-
> 
> 1.Downloaded the source 
> wget -c http://git.pokylinux.org/cgit/cgit.cgi/poky/snapshot/poky-laverne-4.0.1.tar.bz2
> 
> and rename it as POKY.
> 2. Get TI's overlay
> git clone git://github.com/mrchapp/meta-texasinstruments.git
> cd meta-texasinstruments
> git checkout -b gitomapzoom --track origin/gitomapzoom

That's not a TI overlay, it's an overlay done by someone to add the dspbridge stuff to OE. If you want better beagleboard support, use the following layer:

http://gitorious.org/angstrom/angstrom-layers/

If you don't want to manually resolve all the layer dependencies have a look at the scripts mentioned in the readme:

http://gitorious.org/angstrom/angstrom-layers/blobs/master/README

The 'better' in the above is aimed at hw support like cpufreq, DSP, 1GHz/720MHz, etc. The standard yocto kernel lacks all that because it's focussed at different things like 100% POSIX compliance.

regards,

Koen

> 
> 3. Copy configuration
> cp -p POKY/meta-texasinstruments/conf/misc/local.conf POKY/build/conf/local.conf
> 
> 4. Build!
> cd POKY
> source poky-init-build-env
> 
> from the link http://elinux.org/BeagleBoard/Poky
> Help me to solve this error.
> Thanks in advance          
> 
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20110322/87bfa6f7/attachment.html>


More information about the poky mailing list