[meta-intel] Yocto + mohonpeak BSP build probelm
Chang, Rebecca Swee Fun
rebecca.swee.fun.chang at intel.com
Wed Jul 16 02:49:23 PDT 2014
Thanks for pointing that out. We will update it soon.
-Rebecca
From: Lai Eddy [mailto:eddy.lai.tw at gmail.com]
Sent: 16 July, 2014 5:39 PM
To: Chang, Rebecca Swee Fun
Cc: meta-intel at yoctoproject.org
Subject: Re: [meta-intel] Yocto + mohonpeak BSP build probelm
Thanks Rebecca,
Bblayers.conf:
- Remove line : /media/eddylai/datahd/poky/meta-intel/meta-isg \
fixed the problem, and I just add the 3 layer path according to Mohonpeak BSP's README file ( http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/tree/meta-isg/meta-mohonpeak/README?h=daisy ), maybe this file need to be updated.
BRGDS
Eddy Lai
2014-07-16 16:51 GMT+08:00 Chang, Rebecca Swee Fun <rebecca.swee.fun.chang at intel.com<mailto:rebecca.swee.fun.chang at intel.com>>:
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()}<mailto:$%7b at oe.utils.cpu_count()%7d>
Choose 1 option and comment out the other option.
BB_NUMBER_THREADS ?= ${@oe.utils.cpu_count()}<mailto:$%7b at oe.utils.cpu_count()%7d> 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()}<mailto:$%7b at oe.utils.cpu_count()%7d>"
- 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> [mailto: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<mailto: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/cd3224b2/attachment-0001.html>
More information about the meta-intel
mailing list