Erwan Velu [Wed, 25 Feb 2009 15:49:03 +0000 (16:49 +0100)]
hdt: Adding mac & ip adress detection
Erwan Velu [Wed, 25 Feb 2009 15:48:47 +0000 (16:48 +0100)]
hdt: Adding pxe_bootp_t structure
Erwan Velu [Wed, 25 Feb 2009 12:58:23 +0000 (13:58 +0100)]
hdt: Renaming cli-net to cli-pxe Moving hardware initialisation test directly in detect_* functions Adding basic PXE ROM detection Reworking output of show <module> for more coherency Creating a s_pxe structure to simplify data access 'show pci' command have to be more simple Implementing 'show summary' command detect_pci will try to detect the pxe environment to fill the PXE fields of every pci device Bump to 0.2.0
Erwan Velu [Wed, 25 Feb 2009 12:57:57 +0000 (13:57 +0100)]
hdt: Cleaning init
Erwan Velu [Tue, 24 Feb 2009 21:47:10 +0000 (22:47 +0100)]
hdt: Basic pxe implementation
Erwan Velu [Tue, 24 Feb 2009 21:45:24 +0000 (22:45 +0100)]
hdt: Adding pxe_get_nic_type(t_PXENV_UNDI_GET_NIC_TYPE *gnt)
Erwan Velu [Sun, 22 Feb 2009 22:20:53 +0000 (23:20 +0100)]
hdt: Adding CPU mode. cpu> show cpu DMI: Renaming processor to cpu Menu: Displaying number of elements for PCI,DISKS,MEMORY Bump to 0.1.9
Erwan Velu [Sun, 22 Feb 2009 21:58:54 +0000 (22:58 +0100)]
hdt: Fixing DMI memory corruption
Erwan Velu [Sun, 22 Feb 2009 16:51:11 +0000 (17:51 +0100)]
hdt: Enabling "Switch to CLI" from the menu Menu: switch from "PCI <D>evice" to "PC<I> Device" to avoid conflit with the "Disk" menu Sharing s_hardware between CLI & Menu system
Erwan Velu [Sun, 22 Feb 2009 15:58:14 +0000 (16:58 +0100)]
hdt: Updating prompt to make it more readable (thx anne)
Erwan Velu [Sun, 22 Feb 2009 14:49:46 +0000 (15:49 +0100)]
hdt: PCI: adding "show list" & "show device <%d>" DMI: Using "show list" instead of "show modules"
Erwan Velu [Sun, 22 Feb 2009 07:19:15 +0000 (08:19 +0100)]
hdt: CLI: Improving show pci output
Erwan Velu [Sun, 22 Feb 2009 06:25:05 +0000 (07:25 +0100)]
hdt: CLI: Adding battery menu
Erwan Velu [Sun, 22 Feb 2009 06:08:45 +0000 (07:08 +0100)]
hdt: Menu: Only display detected DMI modules Menu: Using "Memory banks" instead of "Memory Modules" DMI: Fixing error code when no memory module is installed
Erwan Velu [Sat, 21 Feb 2009 15:16:06 +0000 (16:16 +0100)]
hdt: Adding CLEAR command Support both memory & bank commands from dmi mode
Erwan Velu [Sat, 21 Feb 2009 15:08:55 +0000 (16:08 +0100)]
hdt: Increasing Memory type size to prevent data corruption
Erwan Velu [Sat, 21 Feb 2009 13:42:52 +0000 (14:42 +0100)]
hdt: Sizeof have to be more explicit
Erwan Velu [Sat, 21 Feb 2009 13:21:31 +0000 (14:21 +0100)]
hdt: More cleanup from Oznog
Erwan Velu [Sat, 21 Feb 2009 12:59:39 +0000 (13:59 +0100)]
hdt: Preventing displaying non filled dmi items Improving cli output Displaying bios details Applying oznog's patch to cleanup the code Clear Screen at startup Bump to 0.1.7
Erwan Velu [Sat, 21 Feb 2009 12:49:38 +0000 (13:49 +0100)]
hdt: Updating CPU names
Erwan Velu [Sat, 21 Feb 2009 12:10:14 +0000 (13:10 +0100)]
hdt: Fixing wrong nb of elements displayed
Erwan Velu [Sat, 21 Feb 2009 11:47:18 +0000 (12:47 +0100)]
hdt: Cleaning dmi structures
Erwan Velu [Sat, 21 Feb 2009 10:25:38 +0000 (11:25 +0100)]
hdt: Adding clear_screen Using more_printf to display long items Checking is_dmi_valid before displaying dmi items Adding dmi modules : system, base_board, bios, chassis, cpu Opening console in ansi mode
Erwan Velu [Fri, 20 Feb 2009 21:13:33 +0000 (22:13 +0100)]
hdt: Adding more dmi/pci support in cli mode
Erwan Velu [Fri, 20 Feb 2009 20:41:48 +0000 (21:41 +0100)]
hdt: Adding "filled" filed to detect supported devices
Erwan Velu [Fri, 20 Feb 2009 16:27:37 +0000 (17:27 +0100)]
hdt: Using more struct s_hardware to remove static variables POC for the cli mode
Erwan Velu [Fri, 20 Feb 2009 15:09:30 +0000 (16:09 +0100)]
hdt: Changing structure to allow a cli mode
Erwan Velu [Thu, 19 Feb 2009 22:01:35 +0000 (23:01 +0100)]
hdt: Moving hdt to com32/modules
Erwan Velu [Thu, 19 Feb 2009 21:56:11 +0000 (22:56 +0100)]
hdt: Cleaning structures
Erwan Velu [Thu, 19 Feb 2009 21:55:40 +0000 (22:55 +0100)]
hdt: Moving get_disk_parameters declaration
Erwan Velu [Thu, 19 Feb 2009 21:47:58 +0000 (22:47 +0100)]
hdt: Fixing processor menu len
Erwan Velu [Thu, 19 Feb 2009 21:44:26 +0000 (22:44 +0100)]
hdt: Fixing disk detection
Erwan Velu [Thu, 19 Feb 2009 21:14:30 +0000 (22:14 +0100)]
hdt: Cleaning menu's structures
Erwan Velu [Thu, 19 Feb 2009 21:13:37 +0000 (22:13 +0100)]
hdt: Cleaning targets
Erwan Velu [Wed, 18 Feb 2009 21:42:20 +0000 (22:42 +0100)]
hdt: Splitting hdt in several modules to improve code maintainance
Erwan Velu [Wed, 18 Feb 2009 20:18:15 +0000 (21:18 +0100)]
hdt: Moving hdt from sample to its own directory
Erwan Velu [Wed, 18 Feb 2009 19:53:06 +0000 (20:53 +0100)]
hdt: Bump version
Erwan Velu [Mon, 16 Feb 2009 15:41:57 +0000 (16:41 +0100)]
hdt: We have to iterate & copy the vendor name to all matching pci devices as all pci devices might not have a matching vendor/product id. This will help us having the proper vendor device with an unknown product.
Erwan Velu [Mon, 16 Feb 2009 15:05:35 +0000 (16:05 +0100)]
hdt: Fixing error message
Erwan Velu [Mon, 16 Feb 2009 15:01:11 +0000 (16:01 +0100)]
hdt: Fixing typo
Erwan Velu [Mon, 16 Feb 2009 14:58:31 +0000 (15:58 +0100)]
hdt: Removing static dmitable, it have to be in the s_dmi structure Making dmi_iterate quieter Relocating hdt' submenus
Erwan Velu [Mon, 16 Feb 2009 13:14:42 +0000 (14:14 +0100)]
hdt: Adding Syslinux & About menu
Erwan Velu [Mon, 16 Feb 2009 12:11:42 +0000 (13:11 +0100)]
hdt: Adding more defined values for pci components Enabling mulitple kernel modules per pci device Updating pcitest
Erwan Velu [Mon, 16 Feb 2009 10:17:28 +0000 (11:17 +0100)]
hdt: Returning ENOPCIIDS and ENOMODULESPCIMAP when pci.ids and modules.pcidmap files are missing
Erwan Velu [Sun, 15 Feb 2009 20:28:43 +0000 (21:28 +0100)]
hdt: More snprintf Use statusbar to display content
Erwan Velu [Sun, 15 Feb 2009 09:25:52 +0000 (10:25 +0100)]
hdt: Fix typo
Erwan Velu [Fri, 13 Feb 2009 21:06:22 +0000 (22:06 +0100)]
hdt: First code review by Sebastien Gonzalve
Erwan Velu [Fri, 13 Feb 2009 20:30:22 +0000 (21:30 +0100)]
hdt: More comments using #ifdef ATA for useless code until I found how to manage ata
Erwan Velu [Fri, 13 Feb 2009 19:19:00 +0000 (20:19 +0100)]
hdt: Increasing default number of menu. When having lots of PCI devices, this default value was too small Special Thanks to Antoine Ginies for showing that issue
Erwan Velu [Fri, 13 Feb 2009 19:18:39 +0000 (20:18 +0100)]
hdt: Using SUBMENULEN for realocated menus
Erwan Velu [Fri, 13 Feb 2009 19:13:21 +0000 (20:13 +0100)]
hdt: Bump version 0.1.3 Improving menu's content (thx to antoine ginies) Cleaning useless variables Adding more info during hdt startup We now count the number of menu & the number of pci devices Improving display by moving submenu
Erwan Velu [Fri, 13 Feb 2009 14:04:29 +0000 (15:04 +0100)]
hdt: Improving PCI menu display
Erwan Velu [Fri, 13 Feb 2009 12:17:03 +0000 (13:17 +0100)]
hdt: Adding kernel menu Removing beep on timeout Adjusting infobar to STATLEN Adding version display PCI scanning must be in the WITH_PCI ifdef
Erwan Velu [Fri, 13 Feb 2009 12:15:17 +0000 (13:15 +0100)]
hdt: Adjusting values to a match a default screen
Erwan Velu [Fri, 13 Feb 2009 12:13:22 +0000 (13:13 +0100)]
hdt: Improving performances by not computing product ids when the vendor doesn't exist on the local system.
Removing useless break() that prevent other com32 module to load
Erwan Velu [Thu, 12 Feb 2009 20:36:55 +0000 (21:36 +0100)]
hdt: Removing useless stuff Adding bench on memory
Erwan Velu [Thu, 12 Feb 2009 20:04:18 +0000 (21:04 +0100)]
hdt: Improving detection speed by skipping uncessary lines
Erwan Velu [Thu, 12 Feb 2009 19:50:35 +0000 (20:50 +0100)]
hdt: No need to only copy vendor name
Erwan Velu [Thu, 12 Feb 2009 19:43:09 +0000 (20:43 +0100)]
hdt: Improving disk detection
Erwan Velu [Thu, 12 Feb 2009 15:29:28 +0000 (16:29 +0100)]
hdt: Preliminary support for disks
Erwan Velu [Wed, 11 Feb 2009 22:49:15 +0000 (23:49 +0100)]
hdt: Fixing device parameter structure
Erwan Velu [Wed, 11 Feb 2009 22:22:51 +0000 (23:22 +0100)]
hdt: Initial harddrive detection
Erwan Velu [Wed, 11 Feb 2009 22:21:46 +0000 (23:21 +0100)]
hdt: Performance optimisations : avoiding hex_to_int in pci_domain loops
Erwan Velu [Wed, 11 Feb 2009 19:23:36 +0000 (20:23 +0100)]
hdt: Improving memory detection Adding battery detection
Erwan Velu [Wed, 11 Feb 2009 19:21:05 +0000 (20:21 +0100)]
hdt: Adding battery detection in DMI Improving memory detection
Erwan Velu [Wed, 11 Feb 2009 13:39:23 +0000 (14:39 +0100)]
hdt: Adding memory information
Erwan Velu [Tue, 10 Feb 2009 20:47:52 +0000 (21:47 +0100)]
hdt: Adding class name
Erwan Velu [Tue, 10 Feb 2009 20:08:24 +0000 (21:08 +0100)]
hdt: Adding get_class_name_from_pci_ids to grab class name from the pciids
Erwan Velu [Tue, 10 Feb 2009 20:01:09 +0000 (21:01 +0100)]
hdt: Improving clean target
Erwan Velu [Tue, 10 Feb 2009 17:53:02 +0000 (18:53 +0100)]
hdt: Adding PCI & DMI detection Main function must remain simple
Erwan Velu [Tue, 10 Feb 2009 17:52:07 +0000 (18:52 +0100)]
hdt: Removing useless define
Erwan Velu [Tue, 10 Feb 2009 17:51:03 +0000 (18:51 +0100)]
hdt: Increasing default values to allow big items (needed for hdt)
Erwan Velu [Tue, 10 Feb 2009 17:48:02 +0000 (18:48 +0100)]
hdt: Clean must includes libclean target
Erwan Velu [Tue, 10 Feb 2009 14:55:45 +0000 (15:55 +0100)]
hdt: Fixing typo
Erwan Velu [Tue, 10 Feb 2009 12:47:55 +0000 (13:47 +0100)]
hdt: Removing useless printf
Erwan Velu [Mon, 9 Feb 2009 22:25:28 +0000 (23:25 +0100)]
hdt: Fixing cpu structure to prevent conflict on s_cpu_flags
Erwan Velu [Mon, 9 Feb 2009 22:21:39 +0000 (23:21 +0100)]
hdt: First release
Erwan Velu [Mon, 9 Feb 2009 20:09:01 +0000 (21:09 +0100)]
hdt: Updating cpuid code to match upstream code
H. Peter Anvin [Thu, 26 Feb 2009 04:58:12 +0000 (20:58 -0800)]
gPXE: remove obsolete and useless file
H. Peter Anvin [Tue, 24 Feb 2009 23:37:24 +0000 (15:37 -0800)]
bcopy32: move descriptor count into ecx after reload
After having reloaded the descriptor buffer, we divide the byte count
to get a descriptor count. That descriptor count belongs in ECX, not
in EAX.
H. Peter Anvin [Sun, 22 Feb 2009 04:49:08 +0000 (20:49 -0800)]
pxelinux: workaround for old versions of NASM
Old versions of NASM would miscompile forward EQU references. In this
case, fixing that problem is easy, so just do it.
H. Peter Anvin [Thu, 19 Feb 2009 05:36:59 +0000 (21:36 -0800)]
entrydump: trivial program to probe PXE entry conditions
Small debugging hack program to probe the PXE stack entry
conditions. This is mostly useful when developing a PXE stack,
but might possibly be handy for finding workarounds for a stack,
too.
H. Peter Anvin [Thu, 19 Feb 2009 05:11:55 +0000 (21:11 -0800)]
syslinux_derivative_info(): use the buffer we already have
Use the data buffer already set aside for syslinux_derivative_info().
H. Peter Anvin [Thu, 19 Feb 2009 05:08:56 +0000 (21:08 -0800)]
Constructed data objects can't be common; hack derivative_info
- Constructed data objects can't be common. Earlier version of
gcc didn't if the objects were explicitly listed extern, but
newer ones need an explicit __attribute__((nocommon)) or
-fno-common.
- Make syslinux_derivative_info() save the entire reply.
H. Peter Anvin [Thu, 19 Feb 2009 05:07:56 +0000 (21:07 -0800)]
getcwd.c: need <string.h>
getcwd.c needs <string.h>
H. Peter Anvin [Wed, 18 Feb 2009 23:29:30 +0000 (15:29 -0800)]
pxelinux: InitStack is only 16-bit seg:off
H. Peter Anvin [Wed, 18 Feb 2009 23:27:24 +0000 (15:27 -0800)]
pxelinux: simplify the detection of the API structure
Simplify some of the code in the detection of the API structure.
Based on things discovered while porting this code to gPXE.
H. Peter Anvin [Wed, 18 Feb 2009 23:11:51 +0000 (15:11 -0800)]
kbdmap.c: clean up stealth whitespace
Michael Brown [Wed, 18 Feb 2009 04:34:51 +0000 (20:34 -0800)]
Simple "cmd" module to issue a CLI command
A simple "cmd" COM32 module, which only echoes a CLI command. This is
mostly useful when running on an alternate CLI, e.g. on top of the
native gPXE COMBOOT interface.
H. Peter Anvin [Wed, 18 Feb 2009 04:17:17 +0000 (20:17 -0800)]
Update gPXE to version 0.9.6+
277b84c6e7d49f3cf01c855007f591de8c7cb75f
Update gPXE to version 0.9.6+, from commit
277b84c6e7d49f3cf01c855007f591de8c7cb75f in the main gPXE repository.
The only differences is src/config/general.h which has a few protocols
added, and src/arch/i386/prefix/boot1a.S which was called boot1a.s in
the upstream repository.
Vicente Jimenez Aguilar [Tue, 17 Feb 2009 09:30:01 +0000 (10:30 +0100)]
syslinux.txt: document -r (for RAID) option and bootsecfile
Document the new -r (for RAID) option and bootsecfile as pointed out
by Gert Hulselmans.
-r (RAID) option is described correctly in the man page, so I cut and
paste this description here.
bootsecfile parameter perhaps needs more explanation.
H. Peter Anvin [Tue, 17 Feb 2009 06:53:49 +0000 (22:53 -0800)]
doc/comboot.txt: update to reflect dir branch now in mainline
The "dir" branch has been promoted to mainline, so make the
documentation reflect that.
H. Peter Anvin [Tue, 17 Feb 2009 06:52:01 +0000 (22:52 -0800)]
Merge branch 'dir'
H. Peter Anvin [Tue, 17 Feb 2009 05:11:36 +0000 (21:11 -0800)]
pxelinux: compactify the getting cached packets message
Slightly compactify the getting cached packets messages, by putting
them all on one line.
H. Peter Anvin [Tue, 17 Feb 2009 05:02:23 +0000 (21:02 -0800)]
pxelinux: Minimum size for PXENV+ is 0x28 bytes
The minimum size for the PXENV+ structure is 0x28 bytes (for PXE
1.x/2.0); the size will be 0x2C if the !PXE pointer is provided.
H. Peter Anvin [Tue, 17 Feb 2009 04:54:39 +0000 (20:54 -0800)]
pxelinux: clean up and correct the entry point search
Clean up and bug fixes of the entry point search. Verify that all
methods work, and print the one we eventually used.
Gene Cumm [Sun, 15 Feb 2009 22:26:37 +0000 (17:26 -0500)]
COM32 module: Read-Only shell
Well, here's the read-only shell (rosh) that I've been working on.
It's functional but still quite rough. My primary intention of
posting it at this time is such that people have an easy way to
demonstrate to themselves that the library calls I made work.
This should apply as a patch to the head of the "dir" branch and the
patch for c_cflag/c_lflag. The patch is only needed for Linux(without
it, segfaults will occur). I've designed it to compile as a COM32
module and Linux binary when using GNU C (as Syslinux currently
requires GNU C, if I read the Makefiles correctly).
H. Peter Anvin [Mon, 16 Feb 2009 00:35:11 +0000 (16:35 -0800)]
Merge branch 'master' into dir
Gene Cumm [Sun, 15 Feb 2009 22:24:49 +0000 (17:24 -0500)]
COM32 libutil: Fix error in flags in console_ansi_std(void)
ICANON and ECHO were applied to the control flags not local flags.
If ICANON or ECHO were applied to a serial port on Linux on the x86
architecture, this would change the serial ports baud rate.
From my /usr/include/bits/termios.h (select in-order lines):
/* c_cflag bit meaning */
#define B150 0000005
#define B300 0000007
#define B9600 0000015
#define B38400 0000017
/* c_lflag bits */
#define ICANON 0000002
#define ECHO 0000010
The different baud rates are defined here. If someone set the baud
rate to 9600 and set ICANON on c_cflag, it should change the baud rate
to 38400, dropping communication. Another example is if someone set
the baud rate to 150 the set ICANON and ECHO on c_cflag, it should
change the baud to 38400. If I am interpreting the rest of the file
correctly, a bitmask covering all of the bits used in c_cflag for the
baud rate is 0010017.
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 16 Feb 2009 00:32:12 +0000 (16:32 -0800)]
ifcpu64: fix handing with less than three arguments
Due to a silly coding error, when passed with only two arguments we
would use them in order 1 -- 2 -- 1 instead of 1 -- 2 -- 2 as was
intended. Fix.
Reported-by: Luciano Miguel Ferreira Rocha <strange@nsk.no-ip.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>