.. index:: mw (command) .. _command_mw: mw - memory write ================= Usage ^^^^^ ``mw [-bwlqx] [-d FILE] REGION DATA...`` Synopsis ^^^^^^^^ Write DATA value(s) to the specified REGION. Options ^^^^^^^ -b byte access -w word access (16 bit) -l long access (32 bit) -q quad access (64 bit) -d FILE write file (default /dev/mem) -x swap bytes Description ^^^^^^^^^^^ Memory regions can be specified in two different forms: START+SIZE or START-END, If START is omitted it defaults to 0x100 Sizes can be specified as decimal, or if prefixed with 0x as hexadecimal. An optional suffix of k, M or G is for kbytes, Megabytes or Gigabytes. .. generated from: /ptx/work/WORK_EIHEI/sha/backup/barebox/barebox-maintainer-utils/barebox/commands/mw.c .. command function: do_mem_mw