Skip to contentSkip to conversation

tune-ppc440.inc: Update support for the PowerPC 440 processor in the Xilinx Virtex-5 FXT FPGA.

meta-xilinx Applied Elvis Dowson 2 participants 4 messages May 31, 2012 – Jun 1, 2012

lore
Share & tools
lore
#0 lore raw

This commit updates support for the PowerPC 440 processor in the Xilinx Virtex-5 FXT FPGA.

---
 conf/machine/include/tune-ppc440.inc |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
conf/machine/include/tune-ppc440.inc +5 -5
index f77f628..394364d 100644
@@ -4,11 +4,11 @@ require conf/machine/include/powerpc/arch-powerpc.inc
 
 TUNEVALID[ppc440] = "Enable ppc440 specific processor optimizations"
 TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppc440", "-mcpu=440", "", d)}"
-TUNE_PKGARCH = "${@bb.utils.contains("TUNE_FEATURES", "ppc440", "ppc440", "${PPCPKGARCH}", d)}"
 
-TARGET_FPU = "soft"
 AVAILTUNES += "ppc440"
-TUNE_FEATURES_tune-ppc440 = "m32 ppc440"
-PACKAGE_EXTRA_ARCHS_tune-ppc440 = "ppc440"
+TUNE_FEATURES_tune-ppc440 = "m32 fpu-soft ppc440"
+TUNE_PKGARCH_tune-ppc440 = "ppc440"
+PACKAGE_EXTRA_ARCHS_tune-ppc440 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc-nf} ppc440"
 
-#MACHINEOVERRIDES .= "ppc440"
+# glibc configure options to get 440 specific library (for sqrt)
+GLIBC_EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "ppc440", "-with-cpu=440", "", d)}"
Signature · 1 line
1.7.9.5
#1 lore raw

Hi Elvis,

Please update your meta-xilinx repo,
commit: 04633e44b5401288ceee2d36eb2413dfa5308a54 does something similar, but I fail to use "powerpc-nf"

I would accept a new patch for that :)

Regards
Adrian Alonso

Quoted 32 lines · Elvis Dowson

This commit updates support for the PowerPC 440 processor in the Xilinx Virtex-5 FXT FPGA.

---
 conf/machine/include/tune-ppc440.inc |   10 +++++-----

 1 file changed, 5 insertions(+), 5 deletions(-)
conf/machine/include/tune-ppc440.inc +0 -0
index f77f628..394364d 100644
@@ -4,11 +4,11 @@ require conf/machine/include/powerpc/arch-powerpc.inc
 

 TUNEVALID[ppc440] = "Enable ppc440 specific processor optimizations" TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppc440", "-mcpu=440", "", d)}"

conf/machine/include/tune-ppc440.inc +0 -2
-TUNE_PKGARCH = "${@bb.utils.contains("TUNE_FEATURES", "ppc440", "ppc440", "${PPCPKGARCH}", d)}"
 
-TARGET_FPU = "soft"

 AVAILTUNES += "ppc440"

conf/machine/include/tune-ppc440.inc +5 -4
-TUNE_FEATURES_tune-ppc440 = "m32 ppc440"
-PACKAGE_EXTRA_ARCHS_tune-ppc440 = "ppc440"
+TUNE_FEATURES_tune-ppc440 = "m32 fpu-soft ppc440"
+TUNE_PKGARCH_tune-ppc440 = "ppc440"
+PACKAGE_EXTRA_ARCHS_tune-ppc440 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc-nf} ppc440"
 
-#MACHINEOVERRIDES .= "ppc440"
+# glibc configure options to get 440 specific library (for sqrt)
+GLIBC_EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "ppc440", "-with-cpu=440", "", d)}"
--

1.7.9.5

Signature · 3 lines
Saludos
Adrian Alonso
http://aalonso.wordpress.com
#2 lore raw

Hi Adrian,

Quoted 5 lines · Adrian Alonso

Please update your meta-xilinx repo,
commit: 04633e44b5401288ceee2d36eb2413dfa5308a54 does something similar, but I fail to use "powerpc-nf"

I would accept a new patch for that :)

Done! :-)

Best regards,

Elvis Dowson

#3 lore raw

Applied

Thanks

Quoted 16 lines · Elvis Dowson

Hi Adrian,

Quoted 5 lines · Adrian Alonso

Please update your meta-xilinx repo,
commit: 04633e44b5401288ceee2d36eb2413dfa5308a54 does something similar, but I fail to use "powerpc-nf"

I would accept a new patch for that :)

Done! :-)

Best regards,

Elvis Dowson

Signature · 3 lines
Saludos
Adrian Alonso
http://aalonso.wordpress.com