mpc8315e-rdb: Set TARGET_FPU correct
PATCH 1/1 mpc8315e-rdb: Set TARGET_FPU correct
The MPC8315E has a e300c3 core in it with 'classic' or normal PPC floating point.
'SPE' floating point is what exists on the e500v2 core.
--- meta-yocto/conf/machine/mpc8315e-rdb.conf | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta-yocto/conf/machine/mpc8315e-rdb.conf +1 -1
@@ -2,7 +2,7 @@ #@DESCRIPTION: Machine configuration for running TARGET_ARCH = "powerpc" -TARGET_FPU = "spe" +TARGET_FPU = "hard" require conf/machine/include/tune-ppc603e.inc
Signature · 1 line
1.7.3.4
Quoted 4 lines · Kumar Gala
The MPC8315E has a e300c3 core in it with 'classic' or normal PPC floating point.
'SPE' floating point is what exists on the e500v2 core.
Been meaning to change this for a while, the good news, is that the setting doesn't make any difference at the moment :)
Cheers,
Bruce
Quoted 19 lines
Signed-off-by Kumar Gala<[email protected]>--- meta-yocto/conf/machine/mpc8315e-rdb.conf | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)meta-yocto/conf/machine/mpc8315e-rdb.conf +1
-1@@ -2,7 +2,7 @@ #@DESCRIPTION: Machine configuration for running TARGET_ARCH = "powerpc" -TARGET_FPU = "spe" +TARGET_FPU = "hard" require conf/machine/include/tune-ppc603e.inc
Quoted 6 lines · Bruce Ashfield
Quoted 4 lines · Kumar Gala
The MPC8315E has a e300c3 core in it with 'classic' or normal PPC floating point.
'SPE' floating point is what exists on the e500v2 core.
Quoted 8 lines
Acked-by Bruce Ashfield <[email protected]>Been meaning to change this for a while, the good news, is that the setting doesn't make any difference at the moment :)
Cheers,
Bruce
True, I want to use this for configure toolchain properly:
I'm looking at doing the following for when SPE is set:
meta/recipes-devtools/gcc/gcc-common.inc +2 -0
@@ -12,6 +12,8 @@ FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}" def get_gcc_fpu_setting(bb, d): if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]: return "--with-float=soft" + if bb.data.getVar('TARGET_FPU', d, 1) in [ 'spe' ]: + return "--enable-e500_double" return ""
Quoted 14 lines · Kumar Gala
Quoted 11 lines · Bruce Ashfield
Quoted 4 lines · Kumar Gala
The MPC8315E has a e300c3 core in it with 'classic' or normal PPC floating point.
'SPE' floating point is what exists on the e500v2 core.
Acked-by Bruce Ashfield<[email protected]>Been meaning to change this for a while, the good news, is that the setting doesn't make any difference at the moment :)
Quoted 7 lines
Quoted 3 lines
Cheers,
Bruce
True, I want to use this for configure toolchain properly:
I'm looking at doing the following for when SPE is set:
Definitely. It was simply good fortune that it hadn't been used yet. And when something like you are doing arrives, we want to have it right. Just to have it right, is a good enough reason!
Cheers,
Bruce
Quoted 13 lines
meta/recipes-devtools/gcc/gcc-common.inc +2
-0@@ -12,6 +12,8 @@ FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}" def get_gcc_fpu_setting(bb, d): if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]: return "--with-float=soft" + if bb.data.getVar('TARGET_FPU', d, 1) in [ 'spe' ]: + return "--enable-e500_double" return ""
Quoted 6 lines · Bruce Ashfield
Quoted 4 lines · Kumar Gala
The MPC8315E has a e300c3 core in it with 'classic' or normal PPC floating point.
'SPE' floating point is what exists on the e500v2 core.
Quoted 8 lines
Acked-by Bruce Ashfield <[email protected]>Been meaning to change this for a while, the good news, is that the setting doesn't make any difference at the moment :)
Cheers,
Bruce
ping, this seems to have gotten lost w/regards to getting applied
- k
Quoted 18 lines
Quoted 18 lines
Signed-off-by Kumar Gala<[email protected]>--- meta-yocto/conf/machine/mpc8315e-rdb.conf | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)meta-yocto/conf/machine/mpc8315e-rdb.conf +1
-1@@ -2,7 +2,7 @@ #@DESCRIPTION: Machine configuration for running TARGET_ARCH = "powerpc" -TARGET_FPU = "spe" +TARGET_FPU = "hard" require conf/machine/include/tune-ppc603e.inc
Quoted 9 lines · Kumar Gala
The MPC8315E has a e300c3 core in it with 'classic' or normal PPC floating point.
'SPE' floating point is what exists on the e500v2 core.
Signed-off-by Kumar Gala <[email protected]>---
meta-yocto/conf/machine/mpc8315e-rdb.conf| 2 +-1 files changed, 1 insertions(+), 1 deletions(-)
Richard,
ping. Bruce has ack'd this.
https://lists.yoctoproject.org/pipermail/yocto/2011-July/001915.html
- k
Quoted 21 lines
meta-yocto/conf/machine/mpc8315e-rdb.conf +0
-0@@ -2,7 +2,7 @@ #@DESCRIPTION: Machine configuration for running
TARGET_ARCH= "powerpc"meta-yocto/conf/machine/mpc8315e-rdb.conf +1
-1-TARGET_FPU = "spe" +TARGET_FPU = "hard"require conf/machine/include/tune-ppc603e.inc
Signature · 6 lines
1.7.3.4 _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
Quoted 15 lines · Kumar Gala
The MPC8315E has a e300c3 core in it with 'classic' or normal PPC floating point.
'SPE' floating point is what exists on the e500v2 core.
Signed-off-by Kumar Gala<[email protected]>--- meta-yocto/conf/machine/mpc8315e-rdb.conf | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)meta-yocto/conf/machine/mpc8315e-rdb.conf +0
-0
meta-yocto/conf/machine/mpc8315e-rdb.conf line 8
Quoted 8 lines
meta-yocto/conf/machine/mpc8315e-rdb.conf +1
-1@@ -2,7 +2,7 @@ #@DESCRIPTION: Machine configuration for running TARGET_ARCH = "powerpc" -TARGET_FPU = "spe" +TARGET_FPU = "hard" require conf/machine/include/tune-ppc603e.inc
Pulled into Yocto/Master
Thanks
Sau!
Quoted 18 lines · Saul Wold
Quoted 17 lines · Kumar Gala
The MPC8315E has a e300c3 core in it with 'classic' or normal PPC floating point.
'SPE' floating point is what exists on the e500v2 core.
Signed-off-by Kumar Gala<[email protected]>---
meta-yocto/conf/machine/mpc8315e-rdb.conf| 2 +-1 files changed, 1 insertions(+), 1 deletions(-)meta-yocto/conf/machine/mpc8315e-rdb.conf +0
-0@@ -2,7 +2,7 @@ #@DESCRIPTION: Machine configuration for running
Quoted 3 lines
meta-yocto/conf/machine/mpc8315e-rdb.conf line 5
Quoted 3 lines
TARGET_ARCH= "powerpc"meta-yocto/conf/machine/mpc8315e-rdb.conf +1
-1-TARGET_FPU = "spe" +TARGET_FPU = "hard"
This doesn't match the documentation:
./meta/conf/documentation.conf:TARGET_FPU[doc] = "Floating point option (mostly for FPU-less systems), can be 'soft' or empty
The file
meta/classes/icecc.bbclass
seems to be the only place where TARGET_FPU="hard" means anything.
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------