Bug 6482 - yocto-bsp tool: Wrong tune files for qemux86-64 and qemuppc
Summary: yocto-bsp tool: Wrong tune files for qemux86-64 and qemuppc
Status: RESOLVED FIXED
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-tools (show other bugs)
Version: 1.7
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.7
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-06-26 04:54 UTC by Yi Zhao
Modified: 2014-07-04 08:15 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Regression (Used to work)
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)