From: Juergen Beisert <jbe@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] Add a nice little helper for memory bandwidth measurement on ARM CPUs
Date: Tue, 1 Nov 2011 16:42:06 +0100 [thread overview]
Message-ID: <201111011642.07425.jbe@pengutronix.de> (raw)
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
reply other threads:[~2011-11-01 16:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201111011642.07425.jbe@pengutronix.de \
--to=jbe@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox