1.5. Memory areas¶
Several barebox commands like md - memory display, erase - erase flash memory or crc32 - CRC32 checksum calculation 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.
1.5.1. Examples¶
Display a hexdump from 0x80000000 to 0x80001000 (inclusive):
md 0x80000000-0x80001000
Display 1 kilobyte of memory starting at 0x80000000:
md 0x80000000+1k