Bug 6482

Summary: yocto-bsp tool: Wrong tune files for qemux86-64 and qemuppc
Product: [Build System, Metadata & Runtime] BSPs Reporter: Yi Zhao <yi.zhao>
Component: bsps-toolsAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: alexandru.c.georgescu, ke.zou, richard.purdie
Version: 1.7   
Target Milestone: 1.7   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Used to work)
Verified: Documentation change: No (bug/feature does not impact docs)

Description Yi Zhao 2014-06-26 04:54:38 UTC
Git rev: master/68824d9b8f6e290da078383316b3f4b732585f2b

Steps:
1. Use yocto-bsp to create a new qemux86-64 bsp:
   yocto-bsp create myqemux86-64 qemu
2. Build the image:
   bitbake core-image-minimal

The following error occurs:
###########################
ParseError: ParseError at /buildarea3/yzhao1/poky-build/build-myqemux86-64/meta-myqemux86-64/conf/machine/myqemux86-64.conf:16: Could not include required file conf/machine/include/tune-x86_64.inc

ERROR: Unable to parse conf/bitbake.conf: ParseError at /buildarea3/yzhao1/poky-build/build-myqemux86-64/meta-myqemux86-64/conf/machine/myqemux86-64.conf:16: Could not include required file conf/machine/include/tune-x86_64.inc
###########################

The cause is the tune-x86_64.inc has been replaced by tune-core2.inc (meta/conf/machine/qemux86-64.conf ). So we need to update the yocto-bsp tool.

A similar issue also exists in qemuppc. The qemuppc now use ppc7400 as the default tune file (meta/conf/machine/qemuppc.conf). But in yocot-bsp tool, it still use the tune-ppc603e.
Comment 1 Richard Purdie 2014-07-04 08:15:39 UTC
I've resolved this with http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=05c47cc68ea0592ce3d46ce21ae1afd00e571030 (addresses the x86_64 and ppc issue)