| Submitter | Elvis Dowson |
|---|---|
| Date | May 30, 2012, 6:55 p.m. |
| Message ID | <1338404160-6968-1-git-send-email-elvis.dowson@gmail.com> |
| Download | mbox | patch |
| Permalink | /patch/28965/ |
| State | Superseded |
| Headers | show |
Comments
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
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
Patch
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)}"
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