wiki:linux/devmem

Version 1 (modified by trac, 7 years ago) ( diff )

--

This tool can be handy if direct memory address modification is needed based on a change desired after reading the processor reference manual available on Freescale's Website Link

devmem is a powerful, yet dangerous tool for modifying memory addresses.

root@OpenWrt:/# devmem
BusyBox v1.19.4 (2013-10-02 00:06:48 PDT) multi-call binary.

Usage: devmem ADDRESS [WIDTH [VALUE]]

Read/write from physical address

        ADDRESS Address to act upon
        WIDTH   Width (8/16/...)
        VALUE   Data to be written


Example Writing:

root@OpenWrt:/# devmem 0x20e05cc 32 0x1b0b8

Example Reading:

root@OpenWrt:/# devmem 0x20E06CC 32
0x0001B0B1

Laguna

devmem is inside of the busybox package.

Please enable devmem in the OpenWrt build by using make menuconfig and then re-installing busybox onto the target.

Attachments (2)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.