[meta-intel] Yocto + mohonpeak BSP build probelm

Chang, Rebecca Swee Fun rebecca.swee.fun.chang at intel.com
Wed Jul 16 01:51:08 PDT 2014


Hi Eddy,

Thanks for using Mohonpeak Yocto Project BSP. I’ve checked your attachments. Here are my comments:

Bblayers.conf:
- Remove line : /media/eddylai/datahd/poky/meta-intel/meta-isg \
- You only add layers that contains conf/ directory. In this case, meta-isg layer does not contain any layer configurations, so you don’t need to add that.

Layer.conf:
- You have duplicated parallelism options
Note that you have:
BB_NUMBER_THREADS ?= "8"
BB_NUMBER_THREADS ?= ${@oe.utils.cpu_count()}

Choose 1 option and comment out the other option.
BB_NUMBER_THREADS ?= ${@oe.utils.cpu_count()} will allocate max number of threads based on your machine capability.
If you would like to specify your own, comment this line.

Same for this:
PARALLEL_MAKE ?= "-j 8"
PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}"

- You are building two MACHINE type
MACHINE ?= "mohonpeak-32"
MACHINE ??= "qemux86"

Choose one and comment out the other option.

Regards
Rebecca



From: meta-intel-bounces at yoctoproject.org [mailto:meta-intel-bounces at yoctoproject.org] On Behalf Of Lai Eddy
Sent: 16 July, 2014 4:39 PM
To: meta-intel at yoctoproject.org
Subject: [meta-intel] Yocto + mohonpeak BSP build probelm


I have just download Yocto YP Core - Daisy 1.6.1 and  Intel® Atom® Processor C2000 (Mohon Peak) BSP , modified .conf files (as attached) then try the first time build, got errors as below, anything else I did wrong? (have tried both 32/64 arch )
checked there's no conf/layer.conf under meta-isg folder included in the original downloaded BSP( tryied both "git" and "download the .bz2 file from YP site")
Eddy Lai
============================================================
$ bitbake core-image-sato
ERROR: Traceback (most recent call last):
  File "/media/eddylai/datahd/poky/bitbake/lib/bb/cookerdata.py", line 163, in wrapped
    return func(fn, *args)
  File "/media/eddylai/datahd/poky/bitbake/lib/bb/cookerdata.py", line 173, in parse_config_file
    return bb.parse.handle(fn, data, include)
  File "/media/eddylai/datahd/poky/bitbake/lib/bb/parse/__init__.py", line 99, in handle
    return h['handle'](fn, data, include)
  File "/media/eddylai/datahd/poky/bitbake/lib/bb/parse/parse_py/ConfHandler.py", line 120, in handle
    abs_fn = resolve_file(fn, data)
  File "/media/eddylai/datahd/poky/bitbake/lib/bb/parse/__init__.py", line 122, in resolve_file
    raise IOError("file %s not found" % fn)
IOError: file /media/eddylai/datahd/poky/meta-intel/meta-isg/conf/layer.conf not found

ERROR: Unable to parse /media/eddylai/datahd/poky/meta-intel/meta-isg/conf/layer.conf: file /media/eddylai/datahd/poky/meta-intel/meta-isg/conf/layer.conf not found

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-intel/attachments/20140716/52cf4a4b/attachment-0001.html>


More information about the meta-intel mailing list