H. Peter Anvin [Wed, 24 Jan 2007 06:26:06 +0000 (22:26 -0800)]
Support subdirectories in the FAT version of SYSLINUX
H. Peter Anvin [Wed, 24 Jan 2007 06:20:54 +0000 (22:20 -0800)]
Fix segment register confusion in mangle_name
H. Peter Anvin [Sat, 6 Jan 2007 05:37:17 +0000 (21:37 -0800)]
comboot.doc: for function 0009h, clarify ES:DI = PXE parameter structure
Apparently "data buffer" was misinterpreted by some readers. ES:DI points
to the parameter structure, which may point to other buffer(s).
H. Peter Anvin [Tue, 12 Dec 2006 21:49:56 +0000 (13:49 -0800)]
Stealth whitespace cleanup.
Ram Yalamanchili [Mon, 20 Nov 2006 23:08:24 +0000 (15:08 -0800)]
Patch: Parse append arguments properly in mboot module
Hey guys,
I noticed the appended ipappend options end up in the beginning of the
cmdline argv[] when mboot is entered. mboot then tries to parse the first
argument as the name of the kernel module and promptly fails cuz it can't
find "ip=.." or "bootif=...".
I'm attaching a patch which basically looks for any arguments in the argv[]
array and appends them to the kernel cmdline. The arguments have to be
back-to-back to be considered "appened options", so this should be safe
enough to not take out-of-place arguments and tack onto the kernel cmdline.
Last time i sent in some of the elf section loader patches, i think Peter
had trouble importing time. Hopefully it works now.
thanks,
Ram Yalamanchili
H. Peter Anvin [Wed, 22 Nov 2006 00:14:04 +0000 (16:14 -0800)]
Merge ... git+ssh:///boot/syslinux/syslinux.git#syslinux-3.3x
H. Peter Anvin [Wed, 22 Nov 2006 00:13:15 +0000 (16:13 -0800)]
Resolve issue with push/pop ordering in raw mode.
Bug reported by James Ling.
H. Peter Anvin [Tue, 14 Nov 2006 05:04:51 +0000 (21:04 -0800)]
memdisk: Update copyright date
H. Peter Anvin [Wed, 1 Nov 2006 23:30:54 +0000 (15:30 -0800)]
spec: handle variants of "i386" like "i686"
H. Peter Anvin [Wed, 1 Nov 2006 23:28:41 +0000 (15:28 -0800)]
menu system: handle console setup/cleanup differently
Handle console setup/cleanup explicitly, instead of relying on a
destructor. The destructor doesn't get called on outbound API calls
that don't return.
H. Peter Anvin [Mon, 30 Oct 2006 19:01:41 +0000 (11:01 -0800)]
NEWS: Document recent changes
hiranotaka@zng.info [Sun, 29 Oct 2006 23:54:23 +0000 (08:54 +0900)]
The simple menu system doesn't work with serial console
Hello,
I have just get started using pxelinux, and encountered a problem.
The document says the simple menu system supports serial console,
and it works on syslinux 0.2x, but it doesn't seem to work in 0.3x and 0.4x.
I confirmed that this patch fixed the bug.
*** com32/lib/sys/xserial_write.c~ 2006-10-30 08:30:35.
000000000 +0900
H. Peter Anvin [Mon, 30 Oct 2006 18:53:44 +0000 (10:53 -0800)]
memdisk: Constrain input drive numbers both by equipment byte and INT 13h
Apparently on some BIOSes, INT 13h return a bogus number of floppy drives
when the real value is zero (probably because the code doesn't check the
validity bit in the equipment byte.) Do it ourselves if we need to.
H. Peter Anvin [Thu, 26 Oct 2006 21:39:26 +0000 (14:39 -0700)]
sha1pass: allow the user to specify an empty salt
H. Peter Anvin [Tue, 24 Oct 2006 23:40:45 +0000 (16:40 -0700)]
When chainloading, set ES:DI to point to the $PnP ICS if available.
Arguably these really should be kept from the original invocation instead
of saved. This is doable for PXELINUX, but might be very hard to do for
the disk-based ones. Think hard about it.
H. Peter Anvin [Tue, 24 Oct 2006 23:39:20 +0000 (16:39 -0700)]
memdisk: $PnP Installation Check structure length is byte 5, not 2
H. Peter Anvin [Fri, 20 Oct 2006 16:51:19 +0000 (09:51 -0700)]
[memdisk] Enable EDD support by default.
H. Peter Anvin [Tue, 17 Oct 2006 22:25:00 +0000 (15:25 -0700)]
Makefile cleanup to be able to build with CC='gcc -m32'
H. Peter Anvin [Tue, 17 Oct 2006 22:19:46 +0000 (15:19 -0700)]
Remove -x c from assembly preprocessing
H. Peter Anvin [Tue, 17 Oct 2006 22:18:37 +0000 (15:18 -0700)]
Remove -traditional
H. Peter Anvin [Tue, 17 Oct 2006 22:16:51 +0000 (15:16 -0700)]
Set MAKEFLAGS to -r to suppress predefined rules
H. Peter Anvin [Tue, 17 Oct 2006 22:12:47 +0000 (15:12 -0700)]
Move -m32 to CFLAGS as well
H. Peter Anvin [Tue, 17 Oct 2006 22:11:56 +0000 (15:11 -0700)]
Move flags from CC to CFLAGS
H. Peter Anvin [Tue, 17 Oct 2006 22:10:12 +0000 (15:10 -0700)]
Document memdisk changes
H. Peter Anvin [Tue, 17 Oct 2006 22:04:55 +0000 (15:04 -0700)]
Merge ... git+ssh:///boot/syslinux/syslinux.git#syslinux-3.3x
H. Peter Anvin [Tue, 17 Oct 2006 22:04:39 +0000 (15:04 -0700)]
[memdisk] Saner handling of the values returned to the real-mode code.
H. Peter Anvin [Tue, 17 Oct 2006 21:50:47 +0000 (14:50 -0700)]
[memdisk] Make ES:DI point to the $PnP structure on entry
ES:DI is supposed to point to the $PnP structure on entry, make it sew.
H. Peter Anvin [Tue, 3 Oct 2006 04:44:00 +0000 (21:44 -0700)]
New TEXT..ENDTEXT statement for the benefit of the menu system
H. Peter Anvin [Tue, 3 Oct 2006 04:11:48 +0000 (21:11 -0700)]
Official binaries are 32 bits. Clean up release vs prerel.
H. Peter Anvin [Tue, 3 Oct 2006 03:26:57 +0000 (20:26 -0700)]
Reduce verbosity
H. Peter Anvin [Tue, 3 Oct 2006 03:26:02 +0000 (20:26 -0700)]
Fix to "make tidy"
H. Peter Anvin [Sat, 30 Sep 2006 17:56:44 +0000 (10:56 -0700)]
vesainit: clear the VESA buffers before call (paranoia)
H. Peter Anvin [Sat, 30 Sep 2006 17:50:56 +0000 (10:50 -0700)]
vesainit: more careful detection of VESA modes
H. Peter Anvin [Thu, 28 Sep 2006 18:26:58 +0000 (11:26 -0700)]
Document new safeint mode.
H. Peter Anvin [Thu, 28 Sep 2006 18:26:26 +0000 (11:26 -0700)]
Next version on this branch: 3.32
H. Peter Anvin [Thu, 28 Sep 2006 18:25:20 +0000 (11:25 -0700)]
Add "safeint" mode to memdisk
H. Peter Anvin [Sat, 23 Sep 2006 00:07:17 +0000 (17:07 -0700)]
Try to be more true to the way "MENU INCLUDE" should work.
H. Peter Anvin [Fri, 22 Sep 2006 02:08:08 +0000 (19:08 -0700)]
Make the last row the end row.
H. Peter Anvin [Fri, 22 Sep 2006 00:55:39 +0000 (17:55 -0700)]
New MENU INCLUDE directive, and support ~ to mark default config file.
H. Peter Anvin [Fri, 22 Sep 2006 00:45:02 +0000 (17:45 -0700)]
If a later "menu background" overrides an earlier one, free the data
H. Peter Anvin [Thu, 21 Sep 2006 23:46:52 +0000 (16:46 -0700)]
Add missing #include "fill.h"
H. Peter Anvin [Thu, 21 Sep 2006 23:45:02 +0000 (16:45 -0700)]
Document shadowing mode change.
H. Peter Anvin [Thu, 21 Sep 2006 23:44:31 +0000 (16:44 -0700)]
Use the color table for the shadow, and make it user controllable
H. Peter Anvin [Wed, 20 Sep 2006 23:04:33 +0000 (16:04 -0700)]
Document ability to load more than one configuration file.
H. Peter Anvin [Wed, 20 Sep 2006 23:03:29 +0000 (16:03 -0700)]
Support multiple configuration files in the menu systems.
H. Peter Anvin [Mon, 18 Sep 2006 22:33:04 +0000 (15:33 -0700)]
Factor out extlinux as a separate package, avoid /boot/memdisk error
H. Peter Anvin [Mon, 18 Sep 2006 22:24:49 +0000 (15:24 -0700)]
Correct syntax and document move to /usr/share.
H. Peter Anvin [Mon, 18 Sep 2006 22:19:45 +0000 (15:19 -0700)]
rpm spec: add syslinux-tftpboot module
H. Peter Anvin [Mon, 18 Sep 2006 22:02:13 +0000 (15:02 -0700)]
Added a second sample background image
H. Peter Anvin [Sat, 16 Sep 2006 23:29:08 +0000 (16:29 -0700)]
Add file missing from previous commit
H. Peter Anvin [Sat, 16 Sep 2006 21:35:58 +0000 (14:35 -0700)]
Proper handling of different screen sizes (we're 78x29 in graphics mode...)
H. Peter Anvin [Sat, 16 Sep 2006 06:50:40 +0000 (23:50 -0700)]
More color tweaks.
H. Peter Anvin [Sat, 16 Sep 2006 06:50:34 +0000 (23:50 -0700)]
Properly parse MENU COLOR statements.
H. Peter Anvin [Sat, 16 Sep 2006 06:21:13 +0000 (23:21 -0700)]
Default color tweaking
H. Peter Anvin [Sat, 16 Sep 2006 06:17:40 +0000 (23:17 -0700)]
Use gamma-corrected gradient for the default image, now when we have it
H. Peter Anvin [Sat, 16 Sep 2006 06:00:58 +0000 (23:00 -0700)]
Actually do proper gamma-corrected alpha blending. It seems fast enough.
H. Peter Anvin [Thu, 14 Sep 2006 23:26:07 +0000 (16:26 -0700)]
Allow specifying * instead of any of the MENU COLOR fields.
H. Peter Anvin [Thu, 14 Sep 2006 22:35:55 +0000 (15:35 -0700)]
Add sample splash image
H. Peter Anvin [Thu, 14 Sep 2006 21:43:44 +0000 (14:43 -0700)]
Default background; skip background if VESA is uninitialized
H. Peter Anvin [Thu, 14 Sep 2006 21:43:23 +0000 (14:43 -0700)]
Clean up cursor during initialization
H. Peter Anvin [Thu, 14 Sep 2006 21:17:31 +0000 (14:17 -0700)]
Properly support 16, 24 and 32-bit modes; now working properly.
H. Peter Anvin [Thu, 14 Sep 2006 21:16:59 +0000 (14:16 -0700)]
Fix dependency checking for sys/vesa
H. Peter Anvin [Thu, 14 Sep 2006 19:01:48 +0000 (12:01 -0700)]
Replace memcpy() with a routine written in assembly which minimizes stores
H. Peter Anvin [Wed, 13 Sep 2006 20:37:00 +0000 (13:37 -0700)]
Beginnings of supporting multiple pixel formats
H. Peter Anvin [Wed, 13 Sep 2006 18:59:30 +0000 (11:59 -0700)]
fmtpixel.h: cleanups and performance improvements
H. Peter Anvin [Wed, 13 Sep 2006 18:51:25 +0000 (11:51 -0700)]
Code to deal with multiple pixel formats
H. Peter Anvin [Wed, 13 Sep 2006 04:13:07 +0000 (21:13 -0700)]
For SOH codes, always issue a leading zero reset
H. Peter Anvin [Wed, 13 Sep 2006 04:09:32 +0000 (21:09 -0700)]
Document new selection programs.
H. Peter Anvin [Wed, 13 Sep 2006 04:08:23 +0000 (21:08 -0700)]
Merge with 3.2x branch
Conflicts:
com32/modules/Makefile
Erwan Velu [Thu, 7 Sep 2006 18:30:09 +0000 (20:30 +0200)]
Introducing a new com32 module to parse pci devices/buses
The pcitest module implements an example of use the pci module
If you like to use the string name just put a pci.ids file in the root directory
(cherry picked from
85bb6facf0100592c89d5c3c5c17b25e7b0006b3 commit)
erwan [Thu, 7 Sep 2006 18:11:45 +0000 (20:11 +0200)]
Before this fix, the cpu flags were shifted
(cherry picked from
b1ffc5a7732118170aaa3f6267ab821e5a237c20 commit)
H. Peter Anvin [Wed, 13 Sep 2006 04:01:46 +0000 (21:01 -0700)]
initvesa: don't trust the BIOS when it says tty is supported
For too many BIOSes, tty output in VESA modes doesn't work in any
useful sense, even if it is claimed.
H. Peter Anvin [Wed, 13 Sep 2006 03:58:26 +0000 (20:58 -0700)]
ansi: actually enable/disable the menu as required.
H. Peter Anvin [Wed, 13 Sep 2006 03:50:54 +0000 (20:50 -0700)]
vesainfo: program to dump all VESA modes
H. Peter Anvin [Wed, 13 Sep 2006 03:50:31 +0000 (20:50 -0700)]
com32/ansicon: actually mode the cursor...
H. Peter Anvin [Wed, 13 Sep 2006 03:03:54 +0000 (20:03 -0700)]
Remove VESA demo and function used only by it
H. Peter Anvin [Wed, 13 Sep 2006 00:42:40 +0000 (17:42 -0700)]
vesacon: if mode set failed, assume screen is unchanged
H. Peter Anvin [Wed, 13 Sep 2006 00:40:57 +0000 (17:40 -0700)]
vesacon: stub out debugging function
H. Peter Anvin [Wed, 13 Sep 2006 00:39:33 +0000 (17:39 -0700)]
vesacon: if a custom font is loaded, use it instead of the BIOS font
H. Peter Anvin [Wed, 13 Sep 2006 00:06:16 +0000 (17:06 -0700)]
Implement fallback from vesacon to ansicon
H. Peter Anvin [Tue, 12 Sep 2006 05:10:21 +0000 (22:10 -0700)]
Cursor support for vesacon
H. Peter Anvin [Mon, 11 Sep 2006 01:03:06 +0000 (18:03 -0700)]
Factor out the ANSI engine from the ANSI and VESA consoles
In preparation for the VESA console needing to fall back to text mode...
H. Peter Anvin [Wed, 6 Sep 2006 05:38:32 +0000 (22:38 -0700)]
Documentation for the graphical menu system
H. Peter Anvin [Wed, 6 Sep 2006 05:23:09 +0000 (22:23 -0700)]
Document graphical console
H. Peter Anvin [Wed, 6 Sep 2006 00:07:09 +0000 (17:07 -0700)]
No need to bzero .bss memory
H. Peter Anvin [Wed, 6 Sep 2006 00:06:14 +0000 (17:06 -0700)]
Augment tinyjpeg so that we can decode straight into the buffer;
clear the screen on startup.
H. Peter Anvin [Tue, 5 Sep 2006 23:26:08 +0000 (16:26 -0700)]
Set saner limits, since tinyjpeg will actually decode the whole image
H. Peter Anvin [Tue, 5 Sep 2006 23:18:51 +0000 (16:18 -0700)]
Default to black screen; draw a JPEG background correctly.
H. Peter Anvin [Tue, 5 Sep 2006 23:18:30 +0000 (16:18 -0700)]
Correct the memory layout for the BGRA32 color space
H. Peter Anvin [Tue, 5 Sep 2006 22:46:27 +0000 (15:46 -0700)]
Merge with 3.2x branch
Conflicts:
com32/modules/Makefile
com32/modules/menu.c
com32/modules/menu.h
com32/modules/readconfig.c
version
Erwan Velu [Mon, 4 Sep 2006 20:34:55 +0000 (22:34 +0200)]
Adding a new com32 module to handle cpu information
From : Erwan Velu <erwan.velu@free.fr>
This patch a new com32 module to handle cpu information.
A new "cpu" structure can be filled by calling "detect_cpu(&cpu)".
It provides :
- Vendor name as string
- Model as string
- Vendor as integer
- Model as integer
- Family as integer
- Stepping as Integer
- Flags as boolean
- SMP as boolean
Note that SMP is just a manner to know if the bios annonce an MPTABLE.
This code can't detect each processor.
I've been adding a demo program called cpuidtest to show how it works.
if (cpu.flags.lm == true) printf("This system is x86_64 compatible\n");
This example shows how to test if a system is X86_64 compatible.
I hope it's simple enough ;)
This code is mainly taken from the Linux Kernel.
Greetings for all the guys who wrote it.
Testing and feedback are welcome.
Signed-off-by:Erwan Velu <erwan.velu@free.fr>
Arne Georg Gleditsch [Mon, 4 Sep 2006 06:50:44 +0000 (08:50 +0200)]
Simple menu system updates
Hi,
I'm attaching a patch to Syslinux dealing with a handful of issues that
were preventing me from using the simple menu interface. Issues covered:
* Enable "MENU ONERROR" as a keyword on par with "ONERROR".
* Enable hidden menu entries to be used as ontimeout and onerror entries
(probably the least estheticalla pleasing part, sorry about that.)
* Make global "IPAPPEND" directives apply also when using menu.c32.
* Memory allocation fix for the ontimeout-variable (unlabel does free()).
* Make menu.c32 add ipappend options at end of kernel commend line, as
pxelinux generally does.
I see 3.30-pre1 is out now, I haven't had time to check applicability of
these patches towards this. Hope they can still be of use.
--
Arne.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Tue, 5 Sep 2006 19:12:15 +0000 (12:12 -0700)]
Add support for decoding JPEG images as well as PNG
H. Peter Anvin [Tue, 5 Sep 2006 18:12:17 +0000 (11:12 -0700)]
tinyjpeg: add rgba32 and bgra32 formats
H. Peter Anvin [Tue, 5 Sep 2006 18:04:57 +0000 (11:04 -0700)]
Factor tinyjpeg out by colorspace, so we don't pull in everything
H. Peter Anvin [Sat, 2 Sep 2006 17:27:36 +0000 (10:27 -0700)]
Fix typo in Makefile rule
H. Peter Anvin [Sat, 2 Sep 2006 04:55:10 +0000 (21:55 -0700)]
Add tiny JPEG decoder library
H. Peter Anvin [Fri, 1 Sep 2006 08:20:28 +0000 (01:20 -0700)]
Lots of fixes to make the graphical menu actually work.
H. Peter Anvin [Fri, 1 Sep 2006 05:00:50 +0000 (22:00 -0700)]
Color table handling for the VESA console
H. Peter Anvin [Fri, 1 Sep 2006 04:58:27 +0000 (21:58 -0700)]
state -> st.state