Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#807315: ITP: memtool -- manipulate and read memory mapped registers

42 views
Skip to first unread message

Uwe Kleine-König

unread,
Dec 7, 2015, 5:30:04 AM12/7/15
to
Package: wnpp
Severity: wishlist
Owner: "Uwe Kleine-König" <ukle...@debian.org>

* Package name : memtool
Version : 2015.12.0
Upstream Author : Pengutronix <entwi...@pengutronix.de>
* URL : http://www.pengutronix.de/software/memtool/index_en.html
* License : GPLv2
Programming Lang: C
Description : manipulate and read memory mapped registers

memtool is a program we use at Pengutronix to inspect and modify
registers mostly on arm/armhf. It's functions are inspired by the
respective functions (md and mw) of the barebox bootloader. Usually it
works on /dev/mem but can be used to modify other character devices
(like /dev/fb0) for example.

There exist some alternatives:
- memtool (argh, same name)
ftp://ftp.koansoftware.com/public/linux/memtool/memtool.c
It's less flexible, doesn't format it's output that nicely
and also doesn't include an ascii representation.

- devmem2
Similar to memtool. There is an RFP at http://bugs.debian.org/595805
from 2010 which looks orphaned however. Some crititcs pointed out
in the bug's log maybe also applies to memtool (hard coding page
size, hardcoding sizeof(long) == 4) etc.) but I'm willing to fix
these up.

- memedit
http://www.pengutronix.de/software/memedit/index_en.html
this is really clumsy to use because you have to map memory
by hand.

I'm sure there are more, but I didn't find any of these in Debian.

Best regards
Uwe

Sascha Hauer

unread,
Dec 7, 2015, 6:00:03 AM12/7/15
to
On Mon, Dec 07, 2015 at 11:22:57AM +0100, Uwe Kleine-König wrote:
> Package: wnpp
> Severity: wishlist
> Owner: "Uwe Kleine-König" <ukle...@debian.org>
>
> * Package name : memtool
> Version : 2015.12.0
> Upstream Author : Pengutronix <entwi...@pengutronix.de>
> * URL : http://www.pengutronix.de/software/memtool/index_en.html
> * License : GPLv2
> Programming Lang: C
> Description : manipulate and read memory mapped registers
>
> memtool is a program we use at Pengutronix to inspect and modify
> registers mostly on arm/armhf. It's functions are inspired by the
> respective functions (md and mw) of the barebox bootloader. Usually it
> works on /dev/mem but can be used to modify other character devices
> (like /dev/fb0) for example.

Natürlich auch auf regurären Dateien.

Gruß
Sascha


--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
0 new messages