barebox/Documentation/user/memory-areas.rst
Robert P. J. Day 37f47a2a8c crc32: Proper name of command is "crc32".
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-07-08 07:45:45 +02:00

28 lines
576 B
ReStructuredText

Memory areas
============
Several barebox commands like :ref:`command_md`, :ref:`command_erase`
or :ref:`command_crc32` work on an area of memory. Areas have the following form::
<start>-<end>
or::
<start>+<count>
start, end and count are interpreted as decimal values if not prefixed with 0x.
Additionally these can be postfixed with K, M or G for kilobyte, megabyte or
gigabyte.
Examples
--------
Display a hexdump from 0x80000000 to 0x80001000 (inclusive)::
md 0x80000000-0x80001000
Display 1 kilobyte of memory starting at 0x80000000::
md 0x80000000+1k