diff options
author | Peter Korsgaard <peter@korsgaard.com> | 2017-02-26 21:44:27 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-03-01 22:15:27 +0100 |
commit | bbe2d66110e896e24913368ffa9e01a75cc53fa1 (patch) | |
tree | 315761d50f4c5dc862731f9c434ce7adf93a0dbc /package | |
parent | bb5717c5de642bc8b6c87aaaccd5f7e9075d2524 (diff) | |
download | buildroot-bbe2d66110e896e24913368ffa9e01a75cc53fa1.tar.gz buildroot-bbe2d66110e896e24913368ffa9e01a75cc53fa1.zip |
memtool: new package
memtool allows one to read and write memory mapped registers via /dev/mem.
The commands are inspired by the respective commands of the barebox
bootloader. This is handy during driver development to inspect and modify
register settings. It can also be used to modify regular files and
character devices (e.g. to paint to /dev/fb0).
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
[Thomas: add entry to DEVELOPERS file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package')
-rw-r--r-- | package/Config.in | 1 | ||||
-rw-r--r-- | package/memtool/Config.in | 13 | ||||
-rw-r--r-- | package/memtool/memtool.hash | 2 | ||||
-rw-r--r-- | package/memtool/memtool.mk | 13 |
4 files changed, 29 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in index 3fa820b054..fa7e5cb78b 100644 --- a/package/Config.in +++ b/package/Config.in @@ -418,6 +418,7 @@ endmenu source "package/mdadm/Config.in" source "package/memtest86/Config.in" source "package/memtester/Config.in" + source "package/memtool/Config.in" source "package/minicom/Config.in" source "package/msr-tools/Config.in" source "package/nanocom/Config.in" diff --git a/package/memtool/Config.in b/package/memtool/Config.in new file mode 100644 index 0000000000..63099d0d5e --- /dev/null +++ b/package/memtool/Config.in @@ -0,0 +1,13 @@ +config BR2_PACKAGE_MEMTOOL + bool "memtool" + help + Development tool to modify memory mapped registers. + + memtool allows one to read and write memory mapped registers + via /dev/mem. The commands are inspired by the respective + commands of the barebox bootloader. This is handy during + driver development to inspect and modify register + settings. It can also be used to modify regular files and + character devices (e.g. to paint to /dev/fb0). + + http://www.pengutronix.de/software/memtool/index_en.html diff --git a/package/memtool/memtool.hash b/package/memtool/memtool.hash new file mode 100644 index 0000000000..95df1aaf85 --- /dev/null +++ b/package/memtool/memtool.hash @@ -0,0 +1,2 @@ +# Locally computed: +sha256 58309d356cb9b45a241cb602ca3850891a70ddaa93ced51d1cced78e14767680 memtool-2016.10.0.tar.xz diff --git a/package/memtool/memtool.mk b/package/memtool/memtool.mk new file mode 100644 index 0000000000..59b864cd57 --- /dev/null +++ b/package/memtool/memtool.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# memtool +# +################################################################################ + +MEMTOOL_VERSION = 2016.10.0 +MEMTOOL_SITE = http://public.pengutronix.de/software/memtool/ +MEMTOOL_SOURCE = memtool-$(MEMTOOL_VERSION).tar.xz +MEMTOOL_LICENSE = GPLv2 +MEMTOOL_LICENSE_FILES = COPYING + +$(eval $(autotools-package)) |