[meta-intel] Yocto + mohonpeak BSP build probelm

Lai Eddy eddy.lai.tw at gmail.com
Thu Aug 7 06:30:41 PDT 2014


after update BSP with git, update bblayers.conf  and set
MACHINE="mohonpeak64"
got following problem:

$ bitbake core-image-minimal
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 151, in handle
    statements.eval(data)
  File "/media/eddylai/datahd/poky/bitbake/lib/bb/parse/ast.py", line 39,
in eval
    statement.eval(data)
  File "/media/eddylai/datahd/poky/bitbake/lib/bb/parse/ast.py", line 63,
in eval
    bb.parse.ConfHandler.include(self.filename, s, self.lineno, data, False)
  File
"/media/eddylai/datahd/poky/bitbake/lib/bb/parse/parse_py/ConfHandler.py",
line 97, in include
    ret = handle(fn, data, True)
  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 151, in handle
    statements.eval(data)
  File "/media/eddylai/datahd/poky/bitbake/lib/bb/parse/ast.py", line 39,
in eval
    statement.eval(data)
  File "/media/eddylai/datahd/poky/bitbake/lib/bb/parse/ast.py", line 61,
in eval
    bb.parse.ConfHandler.include(self.filename, s, self.lineno, data,
"include required")
  File
"/media/eddylai/datahd/poky/bitbake/lib/bb/parse/parse_py/ConfHandler.py",
line 100, in include
    raise ParseError("Could not %(error_out)s file %(fn)s" % vars(), oldfn,
lineno)
ParseError: ParseError at
/media/eddylai/datahd/poky/meta-intel/meta-mohonpeak/conf/machine/mohonpeak64.conf:12:
Could not include required file conf/machine/include/ia32-base.inc

ERROR: Unable to parse conf/bitbake.conf: ParseError at
/media/eddylai/datahd/poky/meta-intel/meta-mohonpeak/conf/machine/mohonpeak64.conf:12:
Could not include required file conf/machine/include/ia32-base.inc


2014-07-16 17:49 GMT+08:00 Chang, Rebecca Swee Fun <
rebecca.swee.fun.chang at intel.com>:

>  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>:
>
>  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/20140807/aef1e945/attachment.html>


More information about the meta-intel mailing list