* [ptxdist] [PATCH] Add a nice little helper for memory bandwidth measurement on ARM CPUs
@ 2011-11-01 15:42 Juergen Beisert
0 siblings, 0 replies; only message in thread
From: Juergen Beisert @ 2011-11-01 15:42 UTC (permalink / raw)
To: ptxdist
commit 7f778cacb6400af8e5d23abc85ecaf05a8761e0f
Author: Juergen Beisert <jbe@pengutronix.de>
Date: Tue Nov 1 16:36:45 2011 +0100
Add a nice little helper for memory bandwidth measurement on ARM CPUs
This tool measures the available bandwidth into the external memory and can
provide valuable numbers when setting up chipset settings, priority settings or
memory timings. It's specific for ARM architecture based CPUs.
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
diff --git a/rules/arm-memspeed.in b/rules/arm-memspeed.in
new file mode 100644
index 0000000..1af3ea8
--- /dev/null
+++ b/rules/arm-memspeed.in
@@ -0,0 +1,10 @@
+## SECTION=test_suites
+
+config ARM_MEMSPEED
+ tristate
+ prompt "arm-memspeed"
+ help
+ Measures the available bandwidth on ARM based CPUs into the external
+ RAM. It can help to check chipset and RAM timing settings.
+ Note: it does not work on a different architecture than ARM!
+
diff --git a/rules/arm-memspeed.make b/rules/arm-memspeed.make
new file mode 100644
index 0000000..2690b90
--- /dev/null
+++ b/rules/arm-memspeed.make
@@ -0,0 +1,55 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2011 by Juergen Beisert <juergen@kreuzholzen.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_ARM_MEMSPEED) += arm-memspeed
+
+#
+# Paths and names
+#
+ARM_MEMSPEED_VERSION := 1.0
+ARM_MEMSPEED_MD5 := daf1824f1d1f0a6dd8021cc825b2a8b3
+ARM_MEMSPEED := arm-memspeed-$(ARM_MEMSPEED_VERSION)
+ARM_MEMSPEED_SUFFIX := tar.bz2
+ARM_MEMSPEED_URL := http://www.kreuzholzen.de/src/arm-memspeed/$(ARM_MEMSPEED).$(ARM_MEMSPEED_SUFFIX)
+ARM_MEMSPEED_SOURCE := $(SRCDIR)/$(ARM_MEMSPEED).$(ARM_MEMSPEED_SUFFIX)
+ARM_MEMSPEED_DIR := $(BUILDDIR)/$(ARM_MEMSPEED)
+ARM_MEMSPEED_LICENSE := GPLv2
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+#
+# autoconf
+#
+ARM_MEMSPEED_CONF_TOOL := autoconf
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/arm-memspeed.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, arm-memspeed)
+ @$(call install_fixup, arm-memspeed,PRIORITY,optional)
+ @$(call install_fixup, arm-memspeed,SECTION,base)
+ @$(call install_fixup, arm-memspeed,AUTHOR,"Juergen Beisert <juergen@kreuzholzen.de>")
+ @$(call install_fixup, arm-memspeed,DESCRIPTION, "Memory bandwidth measurement tool")
+
+ @$(call install_copy, arm-memspeed, 0, 0, 0755, -, /usr/bin/memspeed)
+
+ @$(call install_finish, arm-memspeed)
+
+ @$(call touch)
+
+# vim: syntax=make
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | http://www.pengutronix.de/ |
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-11-01 16:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-01 15:42 [ptxdist] [PATCH] Add a nice little helper for memory bandwidth measurement on ARM CPUs Juergen Beisert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox