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