Erwan Velu [Thu, 14 Apr 2011 18:58:05 +0000 (20:58 +0200)]
cpuid: Managing UNKNOWN CPU better
It's safe to manage the unknown cpu as a regular one. This will avoid
weird behavior when CPU isn't well detected.
Erwan Velu [Wed, 13 Apr 2011 19:13:37 +0000 (21:13 +0200)]
hdt: Changing boot flag semantic in menu mode
What we report is the presence of the boot flag and not the ability of a
partition to be bootable. A partition can have a valid bootloader with a
boot flag not set. So the 'Bootable' semantic was wrong.
Jim Cromie [Wed, 13 Apr 2011 19:03:58 +0000 (21:03 +0200)]
cpuid: add cpuid info for "Geode by NSC"
Without this, cpu_detect(), and set_generic_info() would take 416
seconds on a soekris 4801 and hdt would report ?????????? as the
processor vendor.
Jim Cromie [Wed, 13 Apr 2011 18:57:31 +0000 (20:57 +0200)]
hdt: fix precedence problem in double-space check
Erwan Velu [Wed, 13 Apr 2011 18:42:38 +0000 (20:42 +0200)]
hdt: Display non-sequentials disks configurations
If the location of the disks wasn't sequential on the system, the menu
mode was missing some.
This commit fix ticket #46.
Thanks gerth for reporting.
Erwan Velu [Wed, 13 Apr 2011 17:33:27 +0000 (19:33 +0200)]
hdt: Adding chain.c32 to pre-built images
This got a requirement from some users.
Erwan Velu [Tue, 12 Apr 2011 17:43:34 +0000 (19:43 +0200)]
hdt: Fixing checksums deletion
We have to delete all the checksums files while cleaning.
Older release might exists.
Erwan Velu [Tue, 12 Apr 2011 17:28:38 +0000 (19:28 +0200)]
hdt: New release 0.5.0-beta2
Erwan Velu [Mon, 11 Apr 2011 20:02:52 +0000 (22:02 +0200)]
hdt: Adding dump entry in the menu
If the PXE is enabled, let's show a dump menu at the main menu.
Erwan Velu [Mon, 11 Apr 2011 19:29:27 +0000 (21:29 +0200)]
hdt: Adding checksums file
When generating a release, let's create a list of the checksums
Erwan Velu [Mon, 11 Apr 2011 19:10:11 +0000 (21:10 +0200)]
hdt: Adding dump_mode & tftp_ip boot option
dump_mode=<dir> give the user a chance to select a directory on the tftp
server.
tftp_ip=<w.x.y.z> give the user a chance to select another tftp server
for dumping data. By default, we use the tftp that serves the pxe
booting.
Erwan Velu [Mon, 11 Apr 2011 18:32:49 +0000 (20:32 +0200)]
hdt: new beta 0.5.0-beta1
This first beta is featuring the dumping code.
Erwan Velu [Mon, 11 Apr 2011 18:32:27 +0000 (20:32 +0200)]
hdt: Dumping HDT
HDT information is now dumped in the 'hdt' file
Erwan Velu [Mon, 11 Apr 2011 18:09:52 +0000 (20:09 +0200)]
hdt: Adding Kernel dumping
Kernel is now dumped into th 'kernel' file
Erwan Velu [Mon, 11 Apr 2011 17:41:56 +0000 (19:41 +0200)]
Merge remote branch 'hpa/master' into libupload
H. Peter Anvin [Tue, 5 Apr 2011 00:38:18 +0000 (17:38 -0700)]
diskstart: Add a pointer to the syslinux_banner to the EPA
For the benefit of third-party tools, add a pointer to the
syslinux_banner in the extended patch area.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Mon, 4 Apr 2011 23:43:10 +0000 (16:43 -0700)]
com32, bitops: proper constraint for byte-sized output
The proper output for the byte-sized output of "setc" is "=qm".
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 4 Apr 2011 23:31:55 +0000 (16:31 -0700)]
NEWS: iso9660 also had issues with ../ paths.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 4 Apr 2011 23:22:38 +0000 (16:22 -0700)]
core: Adjust formatting around the date string
Adjust the formatting around the date string to avoid missing and
duplicated spaces.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Mon, 4 Apr 2011 23:17:48 +0000 (16:17 -0700)]
tinyjpeg: change DEBUG to JPEG_DEBUG
Rename the debugging option for tinyjpeg to JPEG_DEBUG to avoid
conflict with the global dprintf option.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Mon, 4 Apr 2011 23:14:37 +0000 (16:14 -0700)]
iso9660: use generic_mangle_name
There is no longer any need to do special name-mangling for iso9660,
and doing so, in fact, breaks the handling of paths starting with ../.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Mon, 4 Apr 2011 22:48:45 +0000 (15:48 -0700)]
NEWS: Handle .. support for VFAT
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Rich Mahn [Mon, 4 Apr 2011 22:46:06 +0000 (15:46 -0700)]
vfat: Fix mangling of directory names starting with ..
We need to handle directory names starting with .. correctly.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Mon, 4 Apr 2011 20:11:13 +0000 (13:11 -0700)]
NEWS: update the NEWS file
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Mon, 4 Apr 2011 20:10:49 +0000 (13:10 -0700)]
pxe: disable the "force INT 18h" hack
It seems to break as many machines as it fixes, so disable it for now.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Erwan Velu [Mon, 4 Apr 2011 19:46:12 +0000 (21:46 +0200)]
hdt: Dumping ACPI structures
This commit add the ACPI into the dumped structures.
Erwan Velu [Mon, 4 Apr 2011 19:46:00 +0000 (21:46 +0200)]
hdt: Fixing typo
Erwan Velu [Mon, 4 Apr 2011 18:14:45 +0000 (20:14 +0200)]
hdt: flags_to_string is now part of the acpi code
This code is now generic, let's remove it from hdt.
Erwan Velu [Mon, 4 Apr 2011 18:13:13 +0000 (20:13 +0200)]
acpi: moving flags_to_string to base code
This code is useful for many program, let's make it generic.
H. Peter Anvin [Mon, 4 Apr 2011 17:36:12 +0000 (10:36 -0700)]
com32, bitops: an "m" constraint takes an object, not a pointer to one
The argument to an "m" constraint is an object, not a pointer to an
object. For a void pointer it needs to be cast to an indirectable
type (like char) and then indirected.
Reported-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 4 Apr 2011 17:31:09 +0000 (10:31 -0700)]
com32: fix range handling in vsscanf
Fix multiple errors in building the bitmap for ranges in %[.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 4 Apr 2011 16:58:44 +0000 (09:58 -0700)]
bitops: the bt instructions returns result in CF, not ZF
The bit test instructions returns the tested bit in CF, not the
inverse of the tested bit in ZF. I don't know how I got that idea...
Reported-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 3 Apr 2011 23:22:42 +0000 (16:22 -0700)]
diskstart: Move DATE_STR out of sector 1
Save a few bytes in sector 1 by moving DATE_STR out. This string can
be fairly long especially when using a git tree.
Reported-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Erwan Velu [Sun, 3 Apr 2011 19:28:53 +0000 (21:28 +0200)]
hdt: Removing debugging message
Erwan Velu [Sun, 3 Apr 2011 19:16:38 +0000 (21:16 +0200)]
hdt: Cleaning macros
They have to be simplier.
Erwan Velu [Sun, 3 Apr 2011 18:59:34 +0000 (20:59 +0200)]
hdt: Making dumping code easier to use
A set of CREATE_NEW_OBJECT / FLUSH is enough for a simple dump.
Erwan Velu [Sun, 3 Apr 2011 18:57:51 +0000 (20:57 +0200)]
hdt: Removing corruption on printf
Prior to this commit some garbage occured. The printing buffer wasn't
correctly cleaned after usage.
H. Peter Anvin [Fri, 1 Apr 2011 23:53:22 +0000 (16:53 -0700)]
Merge remote-tracking branch 'genec/memdiskdbg-for-sha0'
Gene Cumm [Fri, 1 Apr 2011 23:49:54 +0000 (19:49 -0400)]
memdisk/dskprobe.c: Add status check to probes 08h and 41h
If this fails, the machine should never be working.
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
H. Peter Anvin [Fri, 1 Apr 2011 22:51:49 +0000 (15:51 -0700)]
Merge remote-tracking branch 'genec/diag-mbr-handoff-for-hpa'
H. Peter Anvin [Fri, 1 Apr 2011 22:51:46 +0000 (15:51 -0700)]
Merge remote-tracking branch 'genec/diag-geodsp-for-hpa'
H. Peter Anvin [Fri, 1 Apr 2011 20:08:40 +0000 (13:08 -0700)]
gpxe: Inhibit parallel make
Don't parallel make the gpxe directory.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Sebastian Herbszt [Wed, 30 Mar 2011 21:41:08 +0000 (23:41 +0200)]
Update .gitignore
Add *.img, *.img.xz and mk-lba-img to .gitignore.
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Fri, 1 Apr 2011 20:05:24 +0000 (13:05 -0700)]
Merge remote-tracking branch 'sherbszt/gfxboot32'
H. Peter Anvin [Fri, 1 Apr 2011 19:59:04 +0000 (12:59 -0700)]
ld: Use ABSOLUTE() when taking differences between relative symbols
binutils 2.21.51.0.6, and possibly other versions, generate the wrong
result when subtracting two section-relative symbols (the final result
ends up having the base of the section incorrectly added to it.) Work
around this by using ABSOLUTE() on the symbols to force the result to
become absolute.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Erwan Velu [Thu, 31 Mar 2011 19:55:12 +0000 (21:55 +0200)]
hdt: Moving define for more coherency
Erwan Velu [Thu, 31 Mar 2011 19:52:04 +0000 (21:52 +0200)]
hdt: Adding PCI dumping
Erwan Velu [Thu, 31 Mar 2011 19:51:35 +0000 (21:51 +0200)]
hdt: Using Macro to create objects
It makes the code easier to read
Erwan Velu [Thu, 31 Mar 2011 19:51:18 +0000 (21:51 +0200)]
hdt: Avoid memory corruption
Sebastian Herbszt [Wed, 30 Mar 2011 21:09:32 +0000 (23:09 +0200)]
gfxboot: remove save_read() function
Remove the no longer needed save_read() function.
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
Sebastian Herbszt [Wed, 30 Mar 2011 20:57:55 +0000 (22:57 +0200)]
gfxboot: remove lowmem_buf_size variable
Remove the no longer needed lowmem_buf_size variable.
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
Sebastian Herbszt [Wed, 30 Mar 2011 20:51:10 +0000 (22:51 +0200)]
gfxboot: don't use the bounce buffer
Allocate lowmem buffer instead of using the bounce buffer.
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
Sebastian Herbszt [Wed, 30 Mar 2011 18:33:49 +0000 (20:33 +0200)]
gfxboot: use skipspace()
Use skipspace() instead of local skip_spaces().
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
Gene Cumm [Tue, 29 Mar 2011 22:35:18 +0000 (18:35 -0400)]
diag/geodsp/README: Additional use notes
H. Peter Anvin [Tue, 29 Mar 2011 21:45:22 +0000 (14:45 -0700)]
Merge remote-tracking branch 'mcb30/empty-tftp-ip'
Erwan Velu [Tue, 29 Mar 2011 21:25:26 +0000 (23:25 +0200)]
hdt: Dumping memory configuration
This patch dumps the 88, e801 & e820 memory mapping.
Erwan Velu [Tue, 29 Mar 2011 20:42:47 +0000 (22:42 +0200)]
hdt: Displaying item name for missing dmi items
Erwan Velu [Tue, 29 Mar 2011 20:30:07 +0000 (22:30 +0200)]
hdt: Dumping oem & security items
Erwan Velu [Tue, 29 Mar 2011 20:19:18 +0000 (22:19 +0200)]
hdt: Dumping more memory configuration
Erwan Velu [Tue, 29 Mar 2011 19:50:10 +0000 (21:50 +0200)]
hdt: Dumping cache information
Erwan Velu [Tue, 29 Mar 2011 19:39:00 +0000 (21:39 +0200)]
hdt: Improving base_board dump
Some items were missing
Erwan Velu [Mon, 28 Mar 2011 21:20:40 +0000 (23:20 +0200)]
hdt: Dumping DMI
This needs more work to dump the remaining items.
Michael Brown [Mon, 28 Mar 2011 19:44:17 +0000 (20:44 +0100)]
pxe: allow TFTP server IP to be empty when not using TFTP
Reported-by: Marcus Grando <Marcus.Grando@corp.terra.com.br>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Gene Cumm [Sun, 27 Mar 2011 12:36:19 +0000 (08:36 -0400)]
diag/mbr/handoff: Add optional printing of floppy descriptor
Gene Cumm [Sun, 27 Mar 2011 12:32:05 +0000 (08:32 -0400)]
diag/mbr/handoff: Code comments; reflow output
The printing of CR/LF was misplaced such that it'd print a blank line if
no PnP data was found.
Erwan Velu [Fri, 25 Mar 2011 22:12:43 +0000 (23:12 +0100)]
hdt: Adding add_ahi & addhs for dump mode
This ease at adding hardware items to an array
Erwan Velu [Fri, 25 Mar 2011 21:36:28 +0000 (22:36 +0100)]
hdt: Dumping disks partitions
Erwan Velu [Thu, 24 Mar 2011 22:00:35 +0000 (23:00 +0100)]
hdt: Initial work for dumping disks
More work is necessary to export partition' configuration
Erwan Velu [Wed, 23 Mar 2011 22:01:59 +0000 (23:01 +0100)]
zzjson: Avoid printing empty line after each print
This is useless and generates confusing outputs
Erwan Velu [Wed, 23 Mar 2011 21:53:17 +0000 (22:53 +0100)]
hdt: Dumping vesa modes & configuration
Erwan Velu [Wed, 23 Mar 2011 21:52:35 +0000 (22:52 +0100)]
hdt: Dumping pxe state
Let's report the state (valid/invalid) in the dumped file.
Erwan Velu [Wed, 23 Mar 2011 20:02:51 +0000 (21:02 +0100)]
hdt: Adding VPD to dump feature
Erwan Velu [Tue, 22 Mar 2011 22:04:02 +0000 (23:04 +0100)]
hdt: Dumping syslinux information
Syslinux is now dumped.
Erwan Velu [Tue, 22 Mar 2011 22:02:55 +0000 (23:02 +0100)]
hdt: Fixing memory corruption
When flusing the output, we need to reset also len & size.
Erwan Velu [Tue, 22 Mar 2011 21:16:30 +0000 (22:16 +0100)]
dump-pxe: dumping part of the dhcpdata structure
This is a nice info as it gives the next-server ip.
Erwan Velu [Tue, 22 Mar 2011 21:13:10 +0000 (22:13 +0100)]
inet: Adding inet_ntoa()
Adding inet_ntoa() as it could be useful to print pxe_boot_t structure
Erwan Velu [Mon, 21 Mar 2011 22:05:28 +0000 (23:05 +0100)]
hdt: Dumping pxe structures
If pxe is detected, let's dump the structures.
Erwan Velu [Mon, 21 Mar 2011 22:04:01 +0000 (23:04 +0100)]
hdt: Using flush() for dumping data
This function ease the printing & generation of the dumped information &
files
Erwan Velu [Mon, 21 Mar 2011 21:18:52 +0000 (22:18 +0100)]
cpuid: Simplied structure init
Let's zeroify everything and then init what is different from 0;
Erwan Velu [Mon, 21 Mar 2011 21:14:41 +0000 (22:14 +0100)]
cpuid: NCAPINTS was too small
We do have up to 9x32bits not 7....
Erwan Velu [Mon, 21 Mar 2011 21:08:54 +0000 (22:08 +0100)]
cpuid: Fixing names & init.
The init code was nearly incorrect. Fixed regarding Shao's comments.
Erwan Velu [Mon, 21 Mar 2011 21:00:42 +0000 (22:00 +0100)]
hdt: Spliting cpu dump into separate file
Spliting each dump into a different file will make things easier to
read.
Erwan Velu [Mon, 21 Mar 2011 20:48:17 +0000 (21:48 +0100)]
hdt: First implementation of cpu dump
This commit add the ability of dumping the cpu info into a remote file
formatted in JSON.
Erwan Velu [Mon, 21 Mar 2011 20:23:56 +0000 (21:23 +0100)]
cpuid: Enable cpu flags members parsing
This patch allow a program to parse the list of the cpu flags and
retrieve its values, name & comments.
I'd like to thank Shao Miller for helping me doing this code. He was
really helpful and a good support. Thx Shao !
Erwan Velu [Mon, 21 Mar 2011 20:22:12 +0000 (21:22 +0100)]
cpuid: Init flags structures
Let's zeroify it at init time.
Erwan Velu [Sun, 20 Mar 2011 20:28:40 +0000 (21:28 +0100)]
zzjson: Use PRINT() instead of PUTC()
PUTC() call didn't got caught when using the bufprintf.
We can use the PRINT() macro instead.
Erwan Velu [Sat, 19 Mar 2011 20:02:53 +0000 (21:02 +0100)]
bufprintf: Adding bufprintf
Erwan Velu [Fri, 18 Mar 2011 21:42:26 +0000 (22:42 +0100)]
Merge branch 'json' into libupload
Erwan Velu [Fri, 18 Mar 2011 21:41:15 +0000 (22:41 +0100)]
zzjson: Adding sample module
Note, this module is lacking of the reading test as the ungetc isn't
available. At least, this first implementation consider that syslinux
needs more the output stuff than the input one.
Erwan Velu [Fri, 18 Mar 2011 21:00:57 +0000 (22:00 +0100)]
Merge branch 'json' into libupload
Erwan Velu [Fri, 18 Mar 2011 21:00:05 +0000 (22:00 +0100)]
zzjson: Fixing compilation errors
Just a simple recasting.
Erwan Velu [Fri, 18 Mar 2011 20:58:21 +0000 (21:58 +0100)]
zzjson: No need to keep the test case
This is useless.
Erwan Velu [Fri, 18 Mar 2011 20:56:58 +0000 (21:56 +0100)]
zzjson: Adding zzjson 1.1.0
Erwan Velu [Fri, 18 Mar 2011 20:49:38 +0000 (21:49 +0100)]
hdt: Adding preliminary dump support
This commit add the basics for doing a dump command.
H. Peter Anvin [Fri, 18 Mar 2011 17:55:11 +0000 (10:55 -0700)]
linux.c32: For protocol 2.10+, use init_size when relocating
If we have to relocate the kernel, use the init_size parameter if it
is available, rather than an arbitrary fudge factor.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Erwan Velu [Fri, 18 Mar 2011 17:28:52 +0000 (18:28 +0100)]
lib: make chrreplace reachable for com32 modules
chr_replace was only used in pci/scan.c but this could be useful for
other modules like hdt ;)
Erwan Velu [Fri, 18 Mar 2011 08:33:05 +0000 (09:33 +0100)]
Merge remote branch 'hpa/master' into libupload
H. Peter Anvin [Thu, 17 Mar 2011 22:26:16 +0000 (15:26 -0700)]
gpxe: Make the build parallel-safe
Make sure we don't have multiple build processes wrecking havoc in the
gpxe directory.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Erwan Velu [Thu, 17 Mar 2011 19:09:10 +0000 (20:09 +0100)]
Merge remote branch 'hpa/master' into libupload
H. Peter Anvin [Thu, 17 Mar 2011 18:58:35 +0000 (11:58 -0700)]
Merge remote-tracking branch 'genec/gpxelinux-kpxe-for-hpa'