All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] tune-ppc476.inc: support ppc476
@ 2012-07-16 17:58 Peter Seebach
  2012-07-16 17:58 ` [PATCH 1/1] tune-ppc476.inc: Support ppc476 Peter Seebach
  2012-07-19 16:12 ` [PATCH 0/1] tune-ppc476.inc: support ppc476 Saul Wold
  0 siblings, 2 replies; 4+ messages in thread
From: Peter Seebach @ 2012-07-16 17:58 UTC (permalink / raw)
  To: openembedded-core

One of the BSPs we support uses a 476-family chip, so we have a
tuning for it in our custom toolchain layer. Sending a tuning upstream
too because someone else might want it. Has been lightly tested with
the oe-core toolchain; it at least allows compiles.

The following changes since commit 20405bdab18b7a2b101f818e72863d289d5945e4:
  Bruce Ashfield (1):
        linux-yocto/3.0: perf scripting support

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib seebs/ppc476
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=seebs/ppc476

Peter Seebach (1):
  tune-ppc476.inc: Support ppc476

 meta/conf/machine/include/tune-ppc476.inc |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
 create mode 100644 meta/conf/machine/include/tune-ppc476.inc




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

* [PATCH 1/1] tune-ppc476.inc: Support ppc476
  2012-07-16 17:58 [PATCH 0/1] tune-ppc476.inc: support ppc476 Peter Seebach
@ 2012-07-16 17:58 ` Peter Seebach
  2012-07-16 18:02   ` Khem Raj
  2012-07-19 16:12 ` [PATCH 0/1] tune-ppc476.inc: support ppc476 Saul Wold
  1 sibling, 1 reply; 4+ messages in thread
From: Peter Seebach @ 2012-07-16 17:58 UTC (permalink / raw)
  To: openembedded-core

A couple of boards use chips which perform noticably better
when optimized for the 476. Add a trivial tune file to let
them run better.

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
---
 meta/conf/machine/include/tune-ppc476.inc |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
 create mode 100644 meta/conf/machine/include/tune-ppc476.inc

diff --git a/meta/conf/machine/include/tune-ppc476.inc b/meta/conf/machine/include/tune-ppc476.inc
new file mode 100644
index 0000000..5d10261
--- /dev/null
+++ b/meta/conf/machine/include/tune-ppc476.inc
@@ -0,0 +1,14 @@
+DEFAULTTUNE ?= "ppc476"
+
+require conf/machine/include/powerpc/arch-powerpc.inc
+
+TUNEVALID[ppc476] = "Enable ppc476 specific processor optimizations"
+TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppc476", "-mcpu=476", "", d)}"
+
+AVAILTUNES += "ppc476"
+TUNE_FEATURES_tune-ppc476 = "m32 fpu-hard ppc476"
+TUNE_PKGARCH_tune-ppc476 = "ppc476"
+PACKAGE_EXTRA_ARCHS_tune-ppc476 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc} ppc476"
+
+# glibc configure options to get 476 specific library (for sqrt)
+GLIBC_EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "ppc476", "-with-cpu=476", "", d)}"
-- 
1.7.0.4




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

* Re: [PATCH 1/1] tune-ppc476.inc: Support ppc476
  2012-07-16 17:58 ` [PATCH 1/1] tune-ppc476.inc: Support ppc476 Peter Seebach
@ 2012-07-16 18:02   ` Khem Raj
  0 siblings, 0 replies; 4+ messages in thread
From: Khem Raj @ 2012-07-16 18:02 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Mon, Jul 16, 2012 at 10:58 AM, Peter Seebach
<peter.seebach@windriver.com> wrote:
> +GLIBC_EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "ppc476", "-with-cpu=476", "", d)}"

have you built an OE internal toolchain with this successfully.?



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

* Re: [PATCH 0/1] tune-ppc476.inc: support ppc476
  2012-07-16 17:58 [PATCH 0/1] tune-ppc476.inc: support ppc476 Peter Seebach
  2012-07-16 17:58 ` [PATCH 1/1] tune-ppc476.inc: Support ppc476 Peter Seebach
@ 2012-07-19 16:12 ` Saul Wold
  1 sibling, 0 replies; 4+ messages in thread
From: Saul Wold @ 2012-07-19 16:12 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 07/16/2012 10:58 AM, Peter Seebach wrote:
> One of the BSPs we support uses a 476-family chip, so we have a
> tuning for it in our custom toolchain layer. Sending a tuning upstream
> too because someone else might want it. Has been lightly tested with
> the oe-core toolchain; it at least allows compiles.
>
> The following changes since commit 20405bdab18b7a2b101f818e72863d289d5945e4:
>    Bruce Ashfield (1):
>          linux-yocto/3.0: perf scripting support
>
> are available in the git repository at:
>
>    git://git.yoctoproject.org/poky-contrib seebs/ppc476
>    http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=seebs/ppc476
>
> Peter Seebach (1):
>    tune-ppc476.inc: Support ppc476
>
>   meta/conf/machine/include/tune-ppc476.inc |   14 ++++++++++++++
>   1 files changed, 14 insertions(+), 0 deletions(-)
>   create mode 100644 meta/conf/machine/include/tune-ppc476.inc
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
>
Merged into OE-Core

Thanks
	Sau!




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

end of thread, other threads:[~2012-07-19 16:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-16 17:58 [PATCH 0/1] tune-ppc476.inc: support ppc476 Peter Seebach
2012-07-16 17:58 ` [PATCH 1/1] tune-ppc476.inc: Support ppc476 Peter Seebach
2012-07-16 18:02   ` Khem Raj
2012-07-19 16:12 ` [PATCH 0/1] tune-ppc476.inc: support ppc476 Saul Wold

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.