[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#595805: ITP: devmem2 -- Simple program to read/write from/to any hardware address



On Mon, 2010-09-06 at 21:37 +0200, Michael Opdenacker wrote:
> Package: wnpp
> Severity: wishlist
> Owner: Michael Opdenacker <michael.opdenacker@free-electrons.com>
> 
> 
> * Package name    : devmem2
>   Version         : 1.0.0
>   Upstream Author : Jan-Derk Bakker <jdb@lartmaker.nl>
> * URL             : http://www.lartmaker.nl/lartware/port/devmem2.c 
> * License         : GPLv2 or later
>   Programming Lang: C
>   Description     : Simple program to read/write from/to any hardware address
> 
> devmem2 can be used to access physical addresses 
> in your system, when allowed by the kernel.
> It releaves you from having to access
> /dev/mem by yourself with a C program, and
> allows for quick experiments with the hardware
> from the command line, before implementing a
> real device driver.

This is a quick hack, too trivial to deserve a package.  A more useful
tool would be one that allows you to define named registers and fields
in the various spaces they may exist (memory, I/O, PCI config space,
indirect...).  I've written and used something like that in my day job -
though it wasn't general enough to attempt to release.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: