root/memdump/README

Revision 5a16eeb519c87fa4c437e838af81731b8d355052, 0.8 KB (checked in by H. Peter Anvin <hpa@…>, 5 years ago)

memdump: a debugging utility to dump memory over a serial port

A memory-dumping utility which runs in real mode. Thus, it can be
used to get memory dumps from a relatively pristine system.

  • Property mode set to 100644
Line 
1This is a very simple COMBOOT program which can be used to dump memory
2regions over a serial port.  To use it, type on the SYSLINUX command
3line:
4
5memdump <port> <prefix> <start>,<len> <start>,<len>...
6
7For example:
8
9memdump 0 funnysystem- 0,0x600 0x9fc00,0x400 0xf0000,0x10000
10
11... dumps three memory ranges (the standard BIOS memory ranges, often
12useful) onto serial port 0.  The <port> can either be in the range 0-3
13for the standard BIOS serial port, or the I/O address of the UART.
14
15The data is transferred using the YMODEM protocol; the Unix
16implementation of this protocol is called "rb" and is part of the
17"lrzsz" (or "rzsz") package.  If one uses a terminal program like
18Minicom, there is often a way to invoke it from inside the terminal
19program; in Minicom, this is done with the Ctrl-A R control sequence.
Note: See TracBrowser for help on using the browser.