Skip to contentSkip to conversation

Fix meta-intel BSPs for tune file changes

PATCH In review Paul Eggleton 3 participants 7 messages Aug 4, 2011

lore
Share & tools
lore
#0 lore raw

cover Fix meta-intel BSPs for tune file changes

Two patches to fix "TUNE_ARCH unset" and "PACKAGE_ARCHS variable does not contain TUNE_PKGARCH" on the autobuilder for sugarbay and jasperforest.

The following changes since commit 567c3b6436b4cb9551c23845c15ab544542b5083:

meta-crownbay: remove obsolete dir (2011-08-03 12:14:39 -0500)

are available in the git repository at:
git://git.yoctoproject.org/meta-intel-contrib paule/tune
http://git.yoctoproject.org/cgit.cgi/meta-intel-contrib/log/?h=paule/tune

Paul Eggleton (2):
meta-sugarbay: update machine configuration for recent tune file
changes
meta-jasperforest: update machine configuration for recent tune file
changes

 meta-jasperforest/conf/machine/jasperforest.conf |    5 +++--
 meta-sugarbay/conf/machine/sugarbay.conf         |    5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)
Signature · 1 line
1.7.4.4
#1 lore raw

PATCH 1/2 meta-sugarbay: update machine configuration for recent tune file changes

Require the tune file for x86_64, then TARGET_ARCH is set via the tune file and TRANSLATED_TARGET_ARCH is set automatically in bitbake.conf.

---
 meta-sugarbay/conf/machine/sugarbay.conf |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
meta-sugarbay/conf/machine/sugarbay.conf +3 -2
index 9450d97..9add1ca 100644
@@ -4,8 +4,9 @@
 #@DESCRIPTION: Machine configuration for Sugar Bay systems
 # i.e. Sandy Bridge + Cougar Point
 
-TARGET_ARCH = "x86_64"
-PACKAGE_EXTRA_ARCHS = "x86 snb"
+require conf/machine/include/tune-x86_64.inc
+
+PACKAGE_EXTRA_ARCHS = "x86_64 snb"
 
 BASE_PACKAGE_ARCH="snb"
 
Signature · 1 line
1.7.4.4
#2 lore raw

Re: [PATCH 1/2] meta-sugarbay: update machine configuration for recent tune file changes

Quoted 13 lines · Paul Eggleton

Require the tune file for x86_64, then TARGET_ARCH is set via the tune file and TRANSLATED_TARGET_ARCH is set automatically in bitbake.conf.

---
 meta-sugarbay/conf/machine/sugarbay.conf |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
meta-sugarbay/conf/machine/sugarbay.conf +0 -0
index 9450d97..9add1ca 100644

meta-sugarbay/conf/machine/sugarbay.conf line 11

Quoted 10 lines
meta-sugarbay/conf/machine/sugarbay.conf +3 -2
@@ -4,8 +4,9 @@
 #@DESCRIPTION: Machine configuration for Sugar Bay systems
 # i.e. Sandy Bridge + Cougar Point
 
-TARGET_ARCH = "x86_64"
-PACKAGE_EXTRA_ARCHS = "x86 snb"
+require conf/machine/include/tune-x86_64.inc
+
+PACKAGE_EXTRA_ARCHS = "x86_64 snb"
 
 BASE_PACKAGE_ARCH="snb"

What difference is BASE_PACKAGE_ARCH or snb making in this case?

Cheers,

Richard

#3 lore raw

PATCH 2/2 meta-jasperforest: update machine configuration for recent tune file changes

In reply to Paul Eggleton

Require the tune file for x86_64, then TARGET_ARCH is set via the tune file and TRANSLATED_TARGET_ARCH is set automatically in bitbake.conf.

---
 meta-jasperforest/conf/machine/jasperforest.conf |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
meta-jasperforest/conf/machine/jasperforest.conf +3 -2
index 1d875b5..b21a417 100644
@@ -4,8 +4,9 @@
 #@DESCRIPTION: Machine configuration for Jasper Forest Picket Post
 # systems i.e. Xeon C5500/C3500 + Intel 3420 chipset (Ibex Peak)
 
-TARGET_ARCH = "x86_64"
-PACKAGE_EXTRA_ARCHS = "x86 xeon"
+require conf/machine/include/tune-x86_64.inc
+
+PACKAGE_EXTRA_ARCHS = "x86_64 xeon"
 
 BASE_PACKAGE_ARCH="xeon"
 
Signature · 1 line
1.7.4.4
#4 lore raw

Re: [PATCH 2/2] meta-jasperforest: update machine configuration for recent tune file changes

Quoted 13 lines · Paul Eggleton

Require the tune file for x86_64, then TARGET_ARCH is set via the tune file and TRANSLATED_TARGET_ARCH is set automatically in bitbake.conf.

---
 meta-jasperforest/conf/machine/jasperforest.conf |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
meta-jasperforest/conf/machine/jasperforest.conf +0 -0
index 1d875b5..b21a417 100644

meta-jasperforest/conf/machine/jasperforest.conf line 11

Quoted 10 lines
meta-jasperforest/conf/machine/jasperforest.conf +3 -2
@@ -4,8 +4,9 @@
 #@DESCRIPTION: Machine configuration for Jasper Forest Picket Post
 # systems i.e. Xeon C5500/C3500 + Intel 3420 chipset (Ibex Peak)
 
-TARGET_ARCH = "x86_64"
-PACKAGE_EXTRA_ARCHS = "x86 xeon"
+require conf/machine/include/tune-x86_64.inc
+
+PACKAGE_EXTRA_ARCHS = "x86_64 xeon"
 
 BASE_PACKAGE_ARCH="xeon"

Likewise, what is special about the "xeon" package arch?

Cheers,

Richard

#5 lore raw
In reply to Paul Eggleton

Thanks, Paul. I made some similar changes here for both of these last week, but haven't been able to boot them (getting a kernel oops) so haven't posted them or checked them in. Once I get past that, I'll be able to check those in...

Thanks,

Tom

Quoted 21 lines · Paul Eggleton

Two patches to fix "TUNE_ARCH unset" and "PACKAGE_ARCHS variable does not contain TUNE_PKGARCH" on the autobuilder for sugarbay and jasperforest.

The following changes since commit 567c3b6436b4cb9551c23845c15ab544542b5083:

meta-crownbay: remove obsolete dir (2011-08-03 12:14:39 -0500)

are available in the git repository at:
git://git.yoctoproject.org/meta-intel-contrib paule/tune
http://git.yoctoproject.org/cgit.cgi/meta-intel-contrib/log/?h=paule/tune

Paul Eggleton (2):
meta-sugarbay: update machine configuration for recent tune file
changes
meta-jasperforest: update machine configuration for recent tune file
changes

 meta-jasperforest/conf/machine/jasperforest.conf |    5 +++--
 meta-sugarbay/conf/machine/sugarbay.conf         |    5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)
#6 lore raw
Quoted 4 lines · On Thursday 04 August 2011 14:29:47 Tom Zanussi wrote:

Thanks, Paul. I made some similar changes here for both of these last week, but haven't been able to boot them (getting a kernel oops) so haven't posted them or checked them in. Once I get past that, I'll be able to check those in...

OK, FYI after discussion with Richard I'll be posting a v2 set shortly.

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre