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>
This commit is contained in:
Peter Korsgaard 2017-02-26 21:44:27 +01:00 committed by Thomas Petazzoni
parent bb5717c5de
commit bbe2d66110
5 changed files with 30 additions and 0 deletions

View file

@ -1173,6 +1173,7 @@ F: configs/orangepi_pc_defconfig
F: package/flickcurl/
F: package/libfastjson/
F: package/lzop/
F: package/memtool/
F: package/mosquitto/
F: package/python-alsaaudio/
F: package/python-enum/

View file

@ -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"

13
package/memtool/Config.in Normal file
View file

@ -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

View file

@ -0,0 +1,2 @@
# Locally computed:
sha256 58309d356cb9b45a241cb602ca3850891a70ddaa93ced51d1cced78e14767680 memtool-2016.10.0.tar.xz

View file

@ -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))