aboutsummaryrefslogtreecommitdiffstats
path: root/com32/sysdump/main.c
Commit message (Collapse)AuthorAgeFilesLines
* com32: console is already initialised when we enter main()Matt Fleming2011-04-261-1/+0
| | | | | | | | | There's no need to initialise the console when we enter main() as ldlinux.c32 will already have initialised it for us. Leaving the calls to openconsole() causes the console settings to be reset whenever we run a module. Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
* sysdump: Fixing includesErwan Velu2011-03-161-2/+1
| | | | This patch remove ugly relative includes like ../something.h
* libupload: New library to manage uploadsErwan Velu2011-03-151-10/+10
| | | | | | | | This commit creates a library to upload content via 3 backends (srec/ymodem/tftp). Code came from sysdump and got librarized for being used more easily by more other com32 modules.
* sysdump: output S-records to the consoleH. Peter Anvin2010-06-221-0/+1
| | | | | | | | | Sometimes we have a console path that can be captured (virtual machine, serial console, ...) but no realistic path for two-way or binary communication. Add an option to output S-records to the console as an inefficient but hopefully reliable way to get data out. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* sysdump: dump ACPI informationH. Peter Anvin2010-06-181-0/+1
| | | | | | Dump ACPI tables. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* sysdump: don't include final null byte in version fileH. Peter Anvin2010-02-071-1/+1
| | | | | | We don't want the null byte at the end as part of the version file. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* sysdump: actually make the new backend system worksyslinux-3.85-pre8H. Peter Anvin2010-02-071-4/+4
| | | | | | With these changes, both TFTP and Ymodem seem to actually work. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* sysdump: change to a two-phase generate/output model, buffer in memoryH. Peter Anvin2010-02-071-9/+8
| | | | | | | | Instead of outputting data as it is generated, buffer it all in memory and then output it all at once. This not only gives us exact size and so on before we start, but turns out to be faster at least for TFTP. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* sysdump: record the sysdump version used to generate a bundleH. Peter Anvin2010-02-071-1/+6
| | | | | | Record the sysdump version used to actually generate a data set. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* sysdump: dump CPUID informationsyslinux-3.85-pre7H. Peter Anvin2010-02-071-0/+1
| | | | | | | Dump CPUID information in as generic of a way as is possible, given the ugliness in certain places. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* sysdump: remove unused variableH. Peter Anvin2010-02-071-1/+0
| | | | Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* sysdump: be more explicit about what we are doingH. Peter Anvin2010-02-061-1/+0
| | | | | | | Print more information on the console about what is going on. That can help detect problems if we find a machine which hangs on sysdump. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* sysdump: dump memory map informationH. Peter Anvin2010-02-061-0/+1
| | | | | | Dump the memory map information - e820 et al. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* sysdump: add PCI config space dumpingH. Peter Anvin2010-02-061-0/+1
| | | | | | Dump PCI configuration space. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* sysdump: add support for dumping DMI tablesH. Peter Anvin2010-02-061-83/+1
| | | | | | | Add support for dumping DMI tables; hopefully in a way that is compatible with dmidecode. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* sysdump: add back ymodem support; clean up memory dump structureH. Peter Anvin2010-02-061-34/+42
| | | | | | Now we just need more front ends (information providers)... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* sysdump: dump vesa modes, generate usable timestampsH. Peter Anvin2010-02-061-2/+5
| | | | | | | Dump all the VESA modes; give functional timestamps for the cpio members. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* sysdump: first working version (can dump lowmem over TFTP)H. Peter Anvin2010-02-061-4/+58
| | | | | | | | Most of the infrastructure for sysdump, and enough to make it useful. Sysdump will produce a gzipped cpio archive containing individual data members; for now only a memory dump of lowmem. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* sysdump: port memdump to com32 with the intent of enhancing itH. Peter Anvin2010-02-061-0/+109
Port memdump to com32, with the intent of modifying and enhancing it. Signed-off-by: H. Peter Anvin <hpa@zytor.com>