Pierre-Alexandre Meyer [Sat, 14 Mar 2009 17:42:05 +0000 (10:42 -0700)]
hdt: Make syslinux_show static
Impact: None.
syslinux_show is only used in hdt-cli-syslinux.c. Let's make it static
then.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 17:39:36 +0000 (10:39 -0700)]
hdt: Remove unused parameter main_show_syslinux
Impact: Signature change.
The cli mode information is already in the function name
'main_show_syslinux'. No need to pass it as a parameter. This fixes a
compilation warning.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 17:31:46 +0000 (10:31 -0700)]
hdt: Fix indentation in header files
Impact: Cleanups.
Fix indentation in all *.h files by sticking to the Linux style (indent
-linux), using 2 spaces for indentation.
Misc.: Corrected typos in comments, wrapped to 80 characters
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Pierre-Alexandre Meyer [Sat, 14 Mar 2009 17:13:59 +0000 (10:13 -0700)]
hdt: Fix indentation in source files
Impact: Cleanups.
Fix indentation in all *.c files by sticking to the Linux style (indent
-linux), using 2 spaces for indentation.
Misc.: Corrected typos in comments, wrapped to 80 characters.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Erwan Velu [Sat, 14 Mar 2009 15:37:15 +0000 (16:37 +0100)]
hdt: Fixing syslinux entry
We have to select the syslinux menu via "y"
Erwan Velu [Sat, 14 Mar 2009 15:34:01 +0000 (16:34 +0100)]
hdt: Adding vesa detection
Bump to version 0.2.4
VESA BIOS is now detected.
vendor/product/revision & available modes are displayed
cli now have a "vesa>" context with provides both "list" & "modes"
command.
The menu mode features a new VESA entry and display the same info.
Erwan Velu [Sat, 14 Mar 2009 15:30:00 +0000 (16:30 +0100)]
vesa: fixing wrong total_memory size
Regarding the vesa spec, total_memory is reported to be 16bits
That 32bits field had shifted the whole structure and prevented
reading other fields properly.
Erwan Velu [Sat, 14 Mar 2009 07:29:16 +0000 (08:29 +0100)]
hdt: Adding PCI latency
Adding the pci latency information
Erwan Velu [Sat, 14 Mar 2009 07:17:39 +0000 (08:17 +0100)]
hdt: irq have to be in dev_info
Moving irq stuff to the dev_info structure to keep coherent
Erwan Velu [Fri, 13 Mar 2009 22:38:39 +0000 (23:38 +0100)]
hdt: Adding legacy IRQ stuff
In the cli mode, the pci context feature the following :
pci> show irq
Under cli, "pci> show device <x>" display the IRQ when device features one.
The menu mode behave the same way.
H. Peter Anvin [Fri, 13 Mar 2009 04:46:48 +0000 (21:46 -0700)]
Makefile: add com32/hdt/*.c32 to list of installables
Add com32/hdt/*.c32 to the list of installables, thereby making
hdt.c32 an installable.
H. Peter Anvin [Fri, 13 Mar 2009 04:27:22 +0000 (21:27 -0700)]
NEWS: Add hdt.c32 as a new feature
H. Peter Anvin [Fri, 13 Mar 2009 04:26:39 +0000 (21:26 -0700)]
Merge branch 'hdt'
H. Peter Anvin [Fri, 13 Mar 2009 04:23:54 +0000 (21:23 -0700)]
cmd.c32: use strpcpy() instead of sprintf()
Make the cmd.c32 module a lot smaller (and avoid a warning) by using
strpcpy() instead of sprintf().
H. Peter Anvin [Fri, 13 Mar 2009 04:23:02 +0000 (21:23 -0700)]
libcom32: add strpcpy()
Add strpcpy() -- by analogy with mempcpy(), a strcpy() which returns a
pointer to the end of the string (specifically, to the final null.)
H. Peter Anvin [Fri, 13 Mar 2009 04:14:36 +0000 (21:14 -0700)]
Update the cpuid.h license header
Erwan Velu [Thu, 12 Mar 2009 21:40:38 +0000 (22:40 +0100)]
Moving dmi & cpuid stuff to gpl subdirs
Fixing copyrights
Moving dmi includes to gplinclude/dmi
Moving dmi code to gpllib/dmi/
Moving cpuid includes to gplinclude/
Moving cpuid code to gpllib/
Fixing Makefiles accordingly
H. Peter Anvin [Thu, 12 Mar 2009 21:16:16 +0000 (14:16 -0700)]
gpllib: fix path to gpllib
H. Peter Anvin [Thu, 12 Mar 2009 21:15:23 +0000 (14:15 -0700)]
gpllib: fix the NOGPL logic
Fix the logic for when we should be enabling the GPL library.
H. Peter Anvin [Thu, 12 Mar 2009 20:57:11 +0000 (13:57 -0700)]
com32/gpllib: clean up Makefile structure
H. Peter Anvin [Thu, 12 Mar 2009 20:50:03 +0000 (13:50 -0700)]
linux.c32: fix initrd alignment
Impact: fix boot failure on Dell E6500 and possibly other platforms
Linux may not be able to access a part of an initrd which resides in a
page that is part RAM, part non-RAM. Make sure we round the end of
the memory range we want to use down to a page boundary (as well as
round the start up.)
Reported-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Thu, 12 Mar 2009 18:39:57 +0000 (11:39 -0700)]
Add gpllib, gplinclude
Add separate gpllib and gplinclude directories, and have a NOGPL
variable in MCONFIG that can be set to exclude these directories.
H. Peter Anvin [Thu, 12 Mar 2009 02:46:35 +0000 (19:46 -0700)]
Update gPXE to version 0.9.7
H. Peter Anvin [Thu, 12 Mar 2009 02:38:37 +0000 (19:38 -0700)]
NEWS: update to match current reality
Update the NEWS file to match what is on the current branch.
H. Peter Anvin [Thu, 12 Mar 2009 00:47:38 +0000 (17:47 -0700)]
runkernel: when computing initrd address, skip fractional pages
Make sure no part of the initrd extends into memory that is in a
fractional page at the end of memory. The kernel may not be able to
map such a fractional page, and therefore will be unable to access
that memory.
Erwan Velu [Wed, 11 Mar 2009 20:31:14 +0000 (21:31 +0100)]
hdt: adding booting parameters to hdt
modules_pcimap_path=<path> option allow to
ovverride the modules.pcimap path. Default was "/"
pciids_path=<path> option allow to
override the pci.ids path. Default was "/"
Bump to 0.2.3
Erwan Velu [Wed, 11 Mar 2009 20:28:25 +0000 (21:28 +0100)]
PCI: flexible modules.pcimap & pci.ids paths
While detecting the pci names, class name & kernel modules, it's
better to let the user choosing the path instead of the harcoded value
"/" is not always the wanted path
Erwan Velu [Wed, 11 Mar 2009 20:25:58 +0000 (21:25 +0100)]
hdt: Fixing kernel mode
The kernel have to exit if pci.ids or modules.pcimap is missing
The kernel mode was lacking of a help message on "show"
H. Peter Anvin [Wed, 11 Mar 2009 04:28:24 +0000 (21:28 -0700)]
isohdpfx: remove stray jmpw *%si
Remove a stay jmpw *%si which was a test instruction and wasn't meant
to have been checked in.
H. Peter Anvin [Mon, 9 Feb 2009 10:35:48 +0000 (11:35 +0100)]
mdiskchk: fix and update the boot loader name table
Fix and update the list of boot loaders in mdiskchk.
H. Peter Anvin [Tue, 10 Mar 2009 21:54:45 +0000 (14:54 -0700)]
shuffler: more corrections to shuffle buffer assignment
We really need to be able to allocate the shuffle buffer itself...
H. Peter Anvin [Tue, 10 Mar 2009 21:36:36 +0000 (14:36 -0700)]
shuffler: fix the handling of more than one block of descriptors
When allocating more than one block of descriptors, make sure we
account for all the memory used correctly. Otherwise, very bad things
happen.
erwan [Mon, 9 Mar 2009 15:24:15 +0000 (16:24 +0100)]
hdt: fixing wrong PXELINUX checks
Tests were inverted :(
H. Peter Anvin [Sun, 8 Mar 2009 23:04:33 +0000 (16:04 -0700)]
doc/menu.txt: remove stray colon
H. Peter Anvin [Sun, 8 Mar 2009 23:03:46 +0000 (16:03 -0700)]
menu.txt: document SHA-2 passwords
erwan [Sun, 8 Mar 2009 19:16:50 +0000 (20:16 +0100)]
hdt: removing useless else
Based on Andy's suggestions, this else are clearly useless
erwan [Sun, 8 Mar 2009 10:43:52 +0000 (11:43 +0100)]
hdt: adding syslinux mode in cli
cli mode now offer a syslinux mode to display :
version
product
copyright
erwan [Sun, 8 Mar 2009 10:26:03 +0000 (11:26 +0100)]
hdt: preventing pxe mode being reach w/o pxelinux
If the current bootloader isn't pxelinux, the pxe
mode mustn't be available in the cli mode
The syslinux detection have been refactorised too
erwan [Sat, 7 Mar 2009 14:58:16 +0000 (15:58 +0100)]
Improving help
erwan [Wed, 4 Mar 2009 16:05:51 +0000 (17:05 +0100)]
hdt: Adding summary in menu mode
Adding a summary in the menu mode
erwan [Tue, 3 Mar 2009 07:45:53 +0000 (08:45 +0100)]
hdt: Cleaning DMI implementation
Previous commit was incomplete.
Removing useless warnings by defining structures & functions properly
Using existing types instead of u8,u16,u32
erwan [Mon, 2 Mar 2009 22:31:25 +0000 (23:31 +0100)]
hdt:Cleaning DMI implementation
Removing useless warnings by defining structures & functions properly
Using existing types instead of u8,u16,u32
H. Peter Anvin [Mon, 2 Mar 2009 18:51:25 +0000 (10:51 -0800)]
Move complex menu to com32/cmenu; clean up the Makefiles
Move the complex menu system into the com32 directory so it can be
sequenced properly with respect to hdt (it needs to be built after
com32/lib but before com32/hdt). While we're at it, clean up the
Makefiles somewhat.
H. Peter Anvin [Mon, 2 Mar 2009 18:42:44 +0000 (10:42 -0800)]
Merge branch 'master' into hdt
H. Peter Anvin [Mon, 2 Mar 2009 18:40:49 +0000 (10:40 -0800)]
Merge commit 'erwan-hdt/master' into hdt
Vicente Jimenez Aguilar [Wed, 11 Feb 2009 19:25:52 +0000 (20:25 +0100)]
doc: documented Ctrl-N keystroke from PXELINUX
Documented Ctrl-N keystroke from PXELINUX
Vicente Jimenez Aguilar [Wed, 11 Feb 2009 19:24:55 +0000 (20:24 +0100)]
syslinux.txt: documented TAB keystroke
Documented TAB keystroke in syslinux.txt
Vicente Jimenez Aguilar [Wed, 11 Feb 2009 19:23:33 +0000 (20:23 +0100)]
pxelinux.txt: tftp tsize option not needed anymore
tftp tsize option don't needed anymore starting at version 3.70
Vicente Jimenez Aguilar [Wed, 11 Feb 2009 19:22:32 +0000 (20:22 +0100)]
syslinux.txt: possible keystrokes now support F11 and F12
Updated syslinux.txt possible keystrokes now support F11 and F12
Vicente Jimenez Aguilar [Wed, 11 Feb 2009 19:21:36 +0000 (20:21 +0100)]
syslinux.txt: fix typo: repeated F11
Fixed typo in syslinux.txt, repeated F11
Erwan Velu [Sun, 1 Mar 2009 12:27:48 +0000 (13:27 +0100)]
hdt: dmi> show memory must show the free banks
Show memory have to display the free banks
Erwan Velu [Sun, 1 Mar 2009 10:15:59 +0000 (11:15 +0100)]
hdt: Bump version 0.2.1
Adding pxe menu in menu mode
Gene Cumm [Sat, 28 Feb 2009 15:15:05 +0000 (10:15 -0500)]
com32/libutil/Makefile: Duplicate spotless target
Fix duplicate spotless target in com32/libutil/Makefile.
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sat, 28 Feb 2009 18:46:59 +0000 (10:46 -0800)]
Warn that timeout bypasses MENU PASSWD
H. Peter Anvin [Fri, 27 Feb 2009 22:33:13 +0000 (14:33 -0800)]
YEAR is a number, not a string
The macro YEAR is a number, not a string, so we have to use the
asciidec macro.
H. Peter Anvin [Fri, 27 Feb 2009 19:59:28 +0000 (11:59 -0800)]
pxelinux: abstract the handling of PXENV+ and !PXE
Make the handling of PXENV+ versus !PXE simpler by abstracting the
differences: push the various fields to the stack in a common order
and then process them in common code.
H. Peter Anvin [Fri, 27 Feb 2009 19:55:23 +0000 (11:55 -0800)]
Use YEAR, not the obsolete macro year
H. Peter Anvin [Fri, 27 Feb 2009 15:48:07 +0000 (07:48 -0800)]
isohdpfx: work around gas/ld miscompilation
Some, unknown, version of gas or ld miscompiles a relative jump to an
absolute symbol, resulting in a broken isohybrid. Implement a
workaround for it by using a far jmp, which is absolute. Fortunately,
the isohybrid prefix is one of the very few boot sectors we have which
isn't short on space.
H. Peter Anvin [Fri, 27 Feb 2009 04:46:48 +0000 (20:46 -0800)]
Merge branch 'master' into hdt
H. Peter Anvin [Fri, 27 Feb 2009 04:44:22 +0000 (20:44 -0800)]
Revert "bcopy32: move descriptor count into ecx after reload"
This reverts commit
8b9d34885d8a9d5f7e9da6fbc75735ce1a0c945b.
The count here *is* kept in eax, not in ecx.
Erwan Velu [Wed, 25 Feb 2009 20:53:01 +0000 (21:53 +0100)]
hdt: More kernel stuff
Erwan Velu [Wed, 25 Feb 2009 20:52:40 +0000 (21:52 +0100)]
hdt: PCI: Adding category
Erwan Velu [Wed, 25 Feb 2009 16:40:33 +0000 (17:40 +0100)]
hdt: Adding basic kernel support
Erwan Velu [Wed, 25 Feb 2009 16:40:07 +0000 (17:40 +0100)]
hdt: Adding basic kernel module support
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