Changes between Initial Version and Version 1 of ventana/devmem


Ignore:
Timestamp:
10/22/2017 05:28:45 AM (2 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ventana/devmem

    v1 v1  
     1This 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 [http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX6Q&fpsp=1&tab=Documentation_Tab Link]
     2
     3devmem is a powerful, yet dangerous tool for modifying memory addresses.
     4{{{
     5root@OpenWrt:/# devmem
     6BusyBox v1.19.4 (2013-10-02 00:06:48 PDT) multi-call binary.
     7
     8Usage: devmem ADDRESS [WIDTH [VALUE]]
     9
     10Read/write from physical address
     11
     12        ADDRESS Address to act upon
     13        WIDTH   Width (8/16/...)
     14        VALUE   Data to be written
     15
     16
     17}}}
     18
     19Example Writing:
     20{{{
     21root@OpenWrt:/# devmem 0x20e05cc 32 0x1b0b8
     22}}}
     23
     24Example Reading:
     25{{{
     26root@OpenWrt:/# devmem 0x20E06CC 32
     270x0001B0B1
     28
     29}}}
     30
     31= Laguna =
     32devmem is inside of the busybox package.
     33
     34Please enable devmem in the OpenWrt build by using make menuconfig and then re-installing busybox onto the target.