[meta-intel] Yocto + mohonpeak BSP build probelm

wei sern Chan daniel_5191 at yahoo.com
Thu Aug 7 08:01:06 PDT 2014


Hi Eddy,

If you're following exactly what have mentioned in http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/tree/meta-isg/meta-mohonpeak/README?h=daisy is not enough. That documention presumes you have properly setup poky layer on your bblayers.conf.

From the parsing error, my best guess is you've missed specifying poky layer on your <builddir>/conf/bblayers.conf
As what I understand "conf/machine/include/ia32-base.inc" is coming directly from poky layer. 
So if I'm right, I guess you didn't include below:
/media/eddylai/datahd/poky/meta 

/media/eddylai/datahd/poky/meta-yocto
/media/eddylai/datahd/poky/meta-yocto-bsp 

I updated latest meta-intel on daisy branch and attempted to build core-image-minimal for mohonpeak64. Successfully build it as expected. I hope with this answer can solve your build issue on mohonpeak BSP.

If it doesn't solve your build issue, then it's better for you to share your bblayers.conf and local.conf

Thanks.

Regards,
Wei Sern.

On Thursday, August 7, 2014 9:31 PM, Lai Eddy <eddy.lai.tw at gmail.com> wrote:



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
>> 
> 

-- 
_______________________________________________
meta-intel mailing list
meta-intel at yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


More information about the meta-intel mailing list