| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| |
| |
| | |
The following conflict is a result of the fact comapi_chainboot was
only stubbed out on the 'elflink' branch but was properly marked as
obsolete in 'master'.
Conflicts:
core/comboot.inc
|
| |
| |
| |
| |
| |
| |
| | |
By using the "silent" option at the cmdline, HDT tries not displaying
any boring message.
This is particulary interesting with the "display" option.
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A lot of development has gone on in the 'master' branch since the last
time we merged; new features, bug fixes, etc, etc.
Conflicts:
Makefile
com32/Makefile
com32/lib/Makefile
com32/lib/syslinux/load_linux.c
com32/modules/Makefile
com32/modules/chain.c
core/bootsect.inc
core/init.inc
version
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When HDT is exiting, you might need executing something else.
This could be used in the following scenario :
You start HDT, do an automatic command like 'dump; exit', but then after
you might need to launch something else from syslinux.
The postexec option will allow you to define what label you'd love
running one HDT got terminated.
Syntaxt is like the following:
postexec='menu_label_to_run_once_hdt_got_exited'
Note the quotes (') after the equal sign (=)
This could looks like :
APPEND auto='dump; exit' postexec='memtest'
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This option allow the user to redefine the way filename is made-of.
By default that's "mac_address+dmi_vendor_name+dmi_product_name"
This can be overidded by the following syntax:
dump_filename=your_filename
Note that it's mandatory not to add "" or '' around your_filename.
your_filename could be a regular filename but can also includes %{}
directives as defined by :
%{m} = mac address
%{v} = vendor name of the machine
%{p} = product name of the machine
%{ba} = Asset tag of the base board
%{bs} = Serial number of the base board
%{ca} = Asset tag of the chassis
%{cs} = Serial number of the chassis
%{sk} = SKU number of the system
%{ss} = Serial number of the system
Here come a possible command line :
APPEND nomenu auto='dump;' dump_path=hdt2 tftp_ip=192.168.1.254 dump_filename=%{m}+%{bs}+%{ba}+%{cs}+%{ca}+%{sk}+%{ss}+%{p}+%{v}
|
|/
|
|
|
|
|
|
|
|
|
| |
Move the __unused tag from com32/hdt/ to com32/include/klibc/ so that
it can be used by the entire code base, and mark unused function
parameters as __unused to stop the following kind of build warning,
elflink/load_env32.c: In function ‘load_env32’:
elflink/load_env32.c:107:30: warning: unused parameter ‘regs’
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
|
|
|
|
|
|
|
|
|
| |
Parsing of the auto='' mode was weak an non functionnal in many
configuration like
auto='dump'
This is now fixed.
|
|
|
|
| |
If the PXE is enabled, let's show a dump menu at the main menu.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
This commit add the basics for doing a dump command.
|
| |
|
|\
| |
| |
| |
| | |
Conflicts:
com32/hdt/hdt.h
|
| |
| |
| |
| | |
Rebooting can be achieved via syslinux_reboot() instead of the useless reboot.c32 module.
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
() means the same as (...) in C, not the same as (void) as it does in
C++. It is generally misused to mean (void), though. Actually write
what we mean... this is C, after all.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
| |
| |
| |
| |
| | |
Impact: code cleanup
Let's use a single place to detect all hdt's parameters.
|
| |
| |
| |
| |
| |
| | |
Impact: Hardware detection path is simplified
Hardware is detected once, at boot time
|
|/
|
|
|
|
| |
Impact: new acpi mode
Adding a new ACPI mode, still lots of work to do
|
|
|
|
|
|
|
| |
Impact: Fix memory detection under cli
Under the CLI, the memory detection wasn't started...
This commit fixes the memory initialisation path
|
|
|
|
|
|
|
| |
Impact: none
In a close future, as vesa will be enabled by default, let's anticipate
the novesa command
|
|
|
|
|
|
| |
Impact: Visual cleanup
HDT now uses the same indent as syslinux
|
|
|
|
|
|
|
| |
Impact: Detect memory size even if dmi is broken
This commit uses e820/e801/e88 memory detection to find the memory size.
That allow to display the memory size even if the dmi table is broken
|
|
|
|
|
|
|
| |
Impact: none
This commit allow user using vesa=<filename> to override the background
image in vesa mode
|
|
|
|
|
|
| |
Impact: Visual
The cli now features a background image when started in vesa mode
|
|
|
|
|
|
|
| |
Impact: cli can now be turned into vesa
Using the "vesa" keyword at boot time, you can enable the vesa mode for
the cli.
|
|
|
|
|
|
| |
Impact: "quiet" keyword also a quiet display
quiet is a new keyword to prevent HDT beeing too much verbose
|
|
|
|
|
|
|
|
|
|
| |
Pass 'debug' on the kernel command line for the output to be more verbose.
Making hdt quiet is really helpful in auto mode, when a lot of information
is flowing.
This fixes #21.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
|
|
|
|
|
|
|
| |
disable_more_printf should be set only in auto mode (for now).
Add __likely macro to optimize the code.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
|
|
|
|
|
|
| |
Impact: None.
Some modes could requires disabling more_printf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Impact: HDT can be controlled via the cmdline
When the auto= parameter is set, HDT execute a set of commands and
return to the cli after.
i.e auto='show summary; show pci' will show the summary then the pci and
return to the cli.
Note that the auto= feature, requires a the "'" char to define the
complete set of commands and the ";" char to separate commands.
Some more examples:
auto='show syslinux; exit' -> this will show the syslinux release and
then exit to return to the bootloader
auto='show summary; reboot' -> this will show the summary and
then reboot the computer
|
|
|
|
|
|
| |
Add a reboot entry to reboot the system. Uses reboot.c32 behind the scenes.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
|
|
|
|
|
|
|
|
| |
The help prints several elements on the same line. This can't
work with more_printf() as the macro assumes each call contains
one and only one \n.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
|
|
|
|
|
|
|
|
|
|
|
| |
A lot of places still had printf() instead of more_printf().
This patch does a bulk update and add missing reset_more_printf(),
used to reset the pager counter between each command call.
This also changes the more_printf() routine to delete the "--More--"
line while scrolling.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
|
|\
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
com32/hdt/hdt-cli-disk.c
com32/hdt/hdt-common.c
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
|
| |
| |
| |
| |
| |
| |
| | |
In a few places, extra LFs cause the menu to scroll ('\n' in the status bar).
Remove them (they are not needed anyway).
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
|
| |
| |
| |
| |
| |
| | |
Make hdt use libansi.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
HDT and cmenu are currently duplicating code: they both define their
own mini ansi library.
This patch extracts the HDT ansi lib into gpllib as a first step towards
unification.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
com32/hdt/hdt-cli-disk.c
com32/hdt/hdt-common.h
com32/hdt/hdt-menu-disk.c
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
bootloaders.c really inspects the MBR, not the bootloader itself.
Let's not confuse the two of them.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Syslinux and Master Boot LoaDeR share the first 2 bytes. Use one more
to distinguish between the two of them.
To keep standards types, uint16_t is being replaced by uint32_t.
The extra byte is not used yet.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Alright - let's try again.
* Manually increment the display_line_nb counter in the disk CLI
(we are doing a multi line more_printf!)
* Add the pause_printf() macro to pause the CLI as needed
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Some users have reported that reading the CLI can be difficult,
especially when spitting out a lot of information.
This patch:
* adds a missing reset_more_printf() in the disk CLI
* reduces the total scrolling to 20 lines (seems better in my testing)
* removes a reset_more_printf() in the show disk function. This can potentially
be bad when doing a lot of show disk 0xXX (especially after 4 in a row)
but enhances the display when running show disks with lots of disks.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
|
| | |
| | |
| | |
| | |
| | |
| | | |
The id is of the form 0xABCD: use uint16_t instead of int.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
|
| |/
| |
| |
| |
| |
| |
| | |
Add a bootloader_ids[] array in the hardware structure to store bootloader
ids when probing the disks.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
|
| |
| |
| |
| |
| |
| |
| | |
Both cli and menu need to access disk functions. Include disk headers
in hdt-common.h, instead of duplicating code.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some users have reported that reading the CLI can be difficult,
especially when spitting out a lot of information.
This patch:
* adds a missing reset_more_printf() in the disk CLI
* reduces the total scrolling to 20 lines (seems better in my testing)
* removes a reset_more_printf() in the show disk function. This can potentially
be bad when doing a lot of show disk 0xXX (especially after 4 in a row)
but enhances the display when running show disks with lots of disks.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
|
|
|
|
|
|
|
| |
Adapt the disk menu to use the new disklib interfaces. This fixes bugs related
to the display of partition numbering and swsusp signature.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Impact: It is now possible to use modules.alias to search kernel
modules.
This commit rename modules= command line parameter to modules_pcimap=
It introduce modules_alias= parameter to override the default
"modules.alias" filename.
Both methods (pcimap & alias) are tried when detecting hardware.
A failure message will occurs only if both methods fails.
|
|\
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
com32/hdt/hdt-common.c
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
|
| |\
| | |
| | |
| | |
| | |
| | | |
Conflicts:
com32/hdt/hdt-cli.c
com32/hdt/hdt-cli.h
|