summaryrefslogtreecommitdiff
path: root/com32/sysdump
Commit message (Collapse)AuthorAgeFilesLines
* sysdump: add $(LIBS) to the link ruleH. Peter Anvin2011-04-261-1/+1
| | | | | | $(C_LIBS) doesn't include $(LIBS) so we need to add it explicitly. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Merge remote-tracking branch 'mfleming/for-hpa/makefile-cleanup'H. Peter Anvin2011-04-261-3/+4
|\ | | | | | | | | | | | | | | Resolved Conflicts: com32/hdt/Makefile com32/sysdump/Makefile Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * sysdump: Delete superfluous $(LIBS) prerequisiteMatt Fleming2011-04-161-2/+1
| | | | | | | | | | | | | | com32.mk already includes the necessary libraries in $(C_LIBS), we don't need to list them again in $(LIBS). Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
| * Makefile: Move Makefile fragments into mk/Matt Fleming2011-04-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the MCONFIG files into a mk/ directory and give them more descriptive names. This is purely a cosmetic change to make the 'include' directives a bit more coherent by making it obvious exactly which MCONFIG file we're including. For example, in com32/lua/src/Makefile we exchange the line, include ../../MCONFIG for the much more comprehensible, include $(MAKEDIR)/com32.mk Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
* | sysdump: Fixing includesErwan Velu2011-03-1610-11/+5
| | | | | | | | This patch remove ugly relative includes like ../something.h
* | sysdump: removing useless fileErwan Velu2011-03-161-2/+0
| | | | | | | | Data.h is not used, so let's remove it
* | libupload: New library to manage uploadsErwan Velu2011-03-1522-3098/+41
|/ | | | | | | | 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, be_srec: increment the addressH. Peter Anvin2010-06-221-0/+1
| | | | | | Need to increment the address for each srec... Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* sysdump: output S-records to the consoleH. Peter Anvin2010-06-223-0/+86
| | | | | | | | | 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: smarter ACPI dumpH. Peter Anvin2010-06-213-19/+288
| | | | | | | | Follow the XSDT as well as the RSDT, at least as long as we can do that with 32-bit addresses. Actually keep track of what we have already dumped. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* sysdump: make TFTP server optionalH. Peter Anvin2010-06-211-3/+23
| | | | | | Make entering the TFTP server optional (defaults to boot server). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* sysdump: dump ACPI informationH. Peter Anvin2010-06-183-0/+177
| | | | | | Dump ACPI tables. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* sysdump: use lmalloc/lfreeH. Peter Anvin2010-06-182-3/+10
| | | | | | Use lmalloc/lfree instead of using the fixed (obsolete) bounce buffer. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* sysdump: tftp: use lmalloc(), and set the gatewayH. Peter Anvin2010-06-181-6/+21
| | | | | | | Use lmalloc() rather than the fixed (obsolete) bounce buffer, and set the gateway for PXE stacks that need it. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* sysdump: use <sys/cpu.h>H. Peter Anvin2010-05-111-21/+1
| | | | | | Use <sys/cpu.h> where it makes sense. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* sysdump: guard against a nonsensical month numberH. Peter Anvin2010-02-141-0/+7
| | | | | | If the month is off the table, don't even try to read it... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* sysdump: don't force cpuid() to be inlinedH. Peter Anvin2010-02-141-2/+1
| | | | | | The compiler can usually decide that better than we can... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Merge branch 'master' into pathbasedsyslinux-4.00-pre20H. Peter Anvin2010-02-141-2/+2
| | | | | | | | | | Resolved Conflicts: com32/Makefile com32/include/syslinux/pxe.h core/pxelinux.asm core/syslinux.ld Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* sysdump: quiet gcc warningH. Peter Anvin2010-02-081-1/+2
| | | | | | Null change to quiet a gcc warning. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* sysdump: use the same serial receive threshold as the coresyslinux-3.85-pre9H. Peter Anvin2010-02-071-1/+1
| | | | | | Match the core with regards to the serial receive threshold. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* sysdump: make ymodem work even on a serial consoleH. Peter Anvin2010-02-073-13/+47
| | | | | | | | | Make it possible to do a ymodem transfer even on the port used for a serial console. Furthermore, on a serial console, get the parameters from the serial console information, so port number and speed don't have to be specified. Signed-off-by: H. Peter Anvin <hpa@zytor.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: ymodem: actually retransmit a block if we get NAKH. Peter Anvin2010-02-071-2/+2
| | | | | | | Incorrectly nested loops, we need to actually retransmit if we get a NAK reply... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* sysdump: actually make the new backend system worksyslinux-3.85-pre8H. Peter Anvin2010-02-077-57/+72
| | | | | | 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-0710-193/+183
| | | | | | | | 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: serial: add missing header fileH. Peter Anvin2010-02-071-0/+1
| | | | | | Missing header file -> warning. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* sysdump: be_tftp.c: fix prototypeH. Peter Anvin2010-02-071-1/+3
| | | | | | The init function now takes an additional length argument. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* sysdump: *actually* generate the proper version stringH. Peter Anvin2010-02-071-2/+7
| | | | | | Make the gen-id.sh script actually do the right thing... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* sysdump: handle the case of more than one DMI tableH. Peter Anvin2010-02-071-4/+11
| | | | | | | | On the offchance a system has more than one valid DMI table, record them all. Also record the address of the signature structure and of the table itself. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* sysdump: record the sysdump version used to generate a bundleH. Peter Anvin2010-02-072-1/+15
| | | | | | 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-073-0/+115
| | | | | | | 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-064-2/+9
| | | | | | | 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: fix the dumping of the e820 memory informationH. Peter Anvin2010-02-061-0/+1
| | | | | | Need to advance the pointer... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* sysdump: fix hacking of the DMI structure addressH. Peter Anvin2010-02-061-7/+4
| | | | | | Fix the hacking of the DMI structure address, for dmidecode's sake. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* sysdump: dump memory map informationH. Peter Anvin2010-02-063-0/+82
| | | | | | 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-064-1/+72
| | | | | | Dump PCI configuration space. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* sysdump: add support for dumping DMI tablesH. Peter Anvin2010-02-066-91/+136
| | | | | | | 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-0615-275/+325
| | | | | | Now we just need more front ends (information providers)... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* sysdump: add missing return statement in cpio_writefile()H. Peter Anvin2010-02-061-0/+2
| | | | | | cpio_writefile() should return the actual return value... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* sysdump: dump vesa modes, generate usable timestampsH. Peter Anvin2010-02-0612-15/+165
| | | | | | | 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-067-4/+385
| | | | | | | | 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-0610-0/+2652
Port memdump to com32, with the intent of modifying and enhancing it. Signed-off-by: H. Peter Anvin <hpa@zytor.com>