All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-xilinx] tune-ppc440.inc: Add support for PowerPC 440 processor for Xilinx Virtex-5 FXT FPGA.
@ 2012-05-30 18:55 Elvis Dowson
  2012-05-30 19:24 ` Khem Raj
  0 siblings, 1 reply; 4+ messages in thread
From: Elvis Dowson @ 2012-05-30 18:55 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Elvis Dowson

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

Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com>
---
 meta/conf/machine/include/tune-ppc440.inc |   14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 meta/conf/machine/include/tune-ppc440.inc

diff --git a/meta/conf/machine/include/tune-ppc440.inc b/meta/conf/machine/include/tune-ppc440.inc
new file mode 100644
index 0000000..394364d
--- /dev/null
+++ b/meta/conf/machine/include/tune-ppc440.inc
@@ -0,0 +1,14 @@
+DEFAULTTUNE ?= "ppc440"
+
+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)}"
+
+AVAILTUNES += "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"
+
+# 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




^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [meta-xilinx] tune-ppc440.inc: Add support for PowerPC 440 processor for Xilinx Virtex-5 FXT FPGA.
  2012-05-30 18:55 [meta-xilinx] tune-ppc440.inc: Add support for PowerPC 440 processor for Xilinx Virtex-5 FXT FPGA Elvis Dowson
@ 2012-05-30 19:24 ` Khem Raj
  2012-05-30 19:38   ` Adrian Alonso
  0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2012-05-30 19:24 UTC (permalink / raw)
  To: openembedded-devel

On (30/05/12 20:55), Elvis Dowson wrote:
> This commit adds support for the PowerPC 440 processor for the Xilinx
> Virtex-5 FXT FPGA.
> 


this looks ok to me


> Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com>
> ---
>  meta/conf/machine/include/tune-ppc440.inc |   14 ++++++++++++++
>  1 file changed, 14 insertions(+)
>  create mode 100644 meta/conf/machine/include/tune-ppc440.inc
> 
> diff --git a/meta/conf/machine/include/tune-ppc440.inc b/meta/conf/machine/include/tune-ppc440.inc
> new file mode 100644
> index 0000000..394364d
> --- /dev/null
> +++ b/meta/conf/machine/include/tune-ppc440.inc
> @@ -0,0 +1,14 @@
> +DEFAULTTUNE ?= "ppc440"
> +
> +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)}"
> +
> +AVAILTUNES += "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"
> +
> +# 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
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-- 
-Khem



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [meta-xilinx] tune-ppc440.inc: Add support for PowerPC 440 processor for Xilinx Virtex-5 FXT FPGA.
  2012-05-30 19:24 ` Khem Raj
@ 2012-05-30 19:38   ` Adrian Alonso
  2012-05-31  6:12     ` Elvis Dowson
  0 siblings, 1 reply; 4+ messages in thread
From: Adrian Alonso @ 2012-05-30 19:38 UTC (permalink / raw)
  To: openembedded-devel, Elvis Dowson

Hi Elvis,

the tune file its ok, but it should be better if you rather provide a
fix for the tune-ppc440.inc
that is part of meta-xilinx layer;

Regards
Adrian Alonso

On Wed, May 30, 2012 at 2:24 PM, Khem Raj <raj.khem@gmail.com> wrote:
> On (30/05/12 20:55), Elvis Dowson wrote:
>> This commit adds support for the PowerPC 440 processor for the Xilinx
>> Virtex-5 FXT FPGA.
>>
>
>
> this looks ok to me
>
>
>> Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com>
>> ---
>>  meta/conf/machine/include/tune-ppc440.inc |   14 ++++++++++++++
>>  1 file changed, 14 insertions(+)
>>  create mode 100644 meta/conf/machine/include/tune-ppc440.inc
>>
>> diff --git a/meta/conf/machine/include/tune-ppc440.inc b/meta/conf/machine/include/tune-ppc440.inc
>> new file mode 100644
>> index 0000000..394364d
>> --- /dev/null
>> +++ b/meta/conf/machine/include/tune-ppc440.inc
>> @@ -0,0 +1,14 @@
>> +DEFAULTTUNE ?= "ppc440"
>> +
>> +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)}"
>> +
>> +AVAILTUNES += "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"
>> +
>> +# 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
>>
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
> --
> -Khem
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel



-- 
Saludos
Adrian Alonso
http://aalonso.wordpress.com



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [meta-xilinx] tune-ppc440.inc: Add support for PowerPC 440 processor for Xilinx Virtex-5 FXT FPGA.
  2012-05-30 19:38   ` Adrian Alonso
@ 2012-05-31  6:12     ` Elvis Dowson
  0 siblings, 0 replies; 4+ messages in thread
From: Elvis Dowson @ 2012-05-31  6:12 UTC (permalink / raw)
  To: Adrian Alonso, OpenEmbedded Developer Mailing List

Hi Adrian,

On May 30, 2012, at 9:38 PM, Adrian Alonso wrote:

> the tune file its ok, but it should be better if you rather provide a
> fix for the tune-ppc440.inc
> that is part of meta-xilinx layer;

Here is a diff against the existing tune-ppc440.inc file in the meta-xilinx layer. I'll submit a patch shortly.

diff --git a/conf/machine/include/tune-ppc440.inc b/conf/machine/include/tune-ppc440.inc
index f77f628..394364d 100644
--- a/conf/machine/include/tune-ppc440.inc
+++ b/conf/machine/include/tune-ppc440.inc
@@ -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)}"

Best regards,

Elvis Dowson


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-05-31  6:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-30 18:55 [meta-xilinx] tune-ppc440.inc: Add support for PowerPC 440 processor for Xilinx Virtex-5 FXT FPGA Elvis Dowson
2012-05-30 19:24 ` Khem Raj
2012-05-30 19:38   ` Adrian Alonso
2012-05-31  6:12     ` Elvis Dowson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.