platform/upstream/syslinux.git
14 years agoextlinux: make installer rewrite the whole file
H. Peter Anvin [Fri, 22 Jan 2010 22:44:53 +0000 (14:44 -0800)]
extlinux: make installer rewrite the whole file

With the additional patchable areas outside the main patch area, it is
now much more complicated to keep track of a high water mark of what
needs to be modified.  It's easier to just rewrite the whole thing.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agoMerge branch 'fsc' into pathbased
H. Peter Anvin [Fri, 22 Jan 2010 05:41:00 +0000 (21:41 -0800)]
Merge branch 'fsc' into pathbased

14 years agocore/diskio: correct the EDD parameter query syslinux-4.00-pre10
H. Peter Anvin [Fri, 22 Jan 2010 05:36:52 +0000 (21:36 -0800)]
core/diskio: correct the EDD parameter query

We need to tell the BIOS how big of a buffer we have for the EDD
parameter query.  This caused us to *never* use EDD, which meant that
large filesystems never worked.

Reported-by: Gert Hulselmans <kimmik999999@yahoo.co.uk>
Isolated-by: Alek Du <alek.du@intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agocore/diskstart: we don't have 64-bit partition offset just yet...
H. Peter Anvin [Fri, 22 Jan 2010 05:36:07 +0000 (21:36 -0800)]
core/diskstart: we don't have 64-bit partition offset just yet...

We don't actually have a way to receive a 64-bit partition offset yet,
so don't pretend to (on FAT, this field contains other information.)

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agopathbased: clean up diskstart address numbers, 256 byte subvols
H. Peter Anvin [Wed, 13 Jan 2010 23:44:38 +0000 (15:44 -0800)]
pathbased: clean up diskstart address numbers, 256 byte subvols

Clean up the uses of hard-coded addresses in diskstart.inc.
Furthermore, the btrfs spec allows 255 characters for a subvolume, so
we might as well allocate that much.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agopathbased:btrfs: initial subvol support
Alek Du [Wed, 13 Jan 2010 07:06:15 +0000 (15:06 +0800)]
pathbased:btrfs: initial subvol support

Added "Subvol" name in the extlinux.sys, and then btrfs fs code will
handle the subvol correctly. Also fixed the bug where CurrentDirName
and SubvolName should not exist in the first sector.

14 years agocore: initial work on path-based cwd selection
H. Peter Anvin [Thu, 7 Jan 2010 02:40:52 +0000 (18:40 -0800)]
core: initial work on path-based cwd selection

Work on picking the initial cwd by storing a path instead of by
storing an inode number.  This should be both more general (in the
sense of supporting filesystems in a generic way) as well as
conceptually cleaner.  The code doesn't work yet, but this at least
provides support for the extlinux installer to store its subpath into
the installed image.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agoMerge branch 'master' into fsc
H. Peter Anvin [Wed, 6 Jan 2010 19:35:05 +0000 (11:35 -0800)]
Merge branch 'master' into fsc

Resolved Conflicts:
core/configinit.inc
version

Resolved Undetected Conflicts:
 core/ui.inc

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agoUpdate date to 2010
H. Peter Anvin [Wed, 6 Jan 2010 19:31:58 +0000 (11:31 -0800)]
Update date to 2010

14 years agocore: Remove the built-in default
H. Peter Anvin [Wed, 6 Jan 2010 19:28:24 +0000 (11:28 -0800)]
core: Remove the built-in default

The built-in default is rarely if ever used anymore and highly
confusing to users.  Remove it entirely.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agoMerge branch 'master' into fsc
H. Peter Anvin [Thu, 31 Dec 2009 00:04:30 +0000 (16:04 -0800)]
Merge branch 'master' into fsc

14 years agodosutil: don't remove targets which need Watcom even for "make spotless"
H. Peter Anvin [Thu, 31 Dec 2009 00:03:22 +0000 (16:03 -0800)]
dosutil: don't remove targets which need Watcom even for "make spotless"

Most systems won't have Watcom installed, so don't remove
Watcom-generated binaries even with "make spotless".

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agobtrfs: use malloc instead of static allocation for chunk map
Du, Alek [Tue, 29 Dec 2009 07:58:06 +0000 (23:58 -0800)]
btrfs: use malloc instead of static allocation for chunk map

Now when we have malloc() available, use it instead of static allocation.

Signed-off-by: Alek Du <alek.du@intel.com>
LKML-Reference: <1262073486-21321-1-git-send-email-alek.du@intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agobtrfs: change func() to func(void)
H. Peter Anvin [Tue, 29 Dec 2009 04:07:52 +0000 (20:07 -0800)]
btrfs: change func() to func(void)

"void func()" means "void func(...)" in C, but "void func(void)" in
C++.  However, we want the "void func(void)" meaning, but this is C.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agochain.c32: stylistic comments/usage output changes
Kim Mik [Tue, 29 Dec 2009 01:00:25 +0000 (01:00 +0000)]
chain.c32: stylistic comments/usage output changes

Comments fix and usage output corrected for chain.c32

- Gert Hulselmans

Signed-off-by: Gert Hulselmans <kimmik999999@yahoo.co.uk>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agoMerge commit 'origin/master' into fsc syslinux-4.00-pre9
H. Peter Anvin [Tue, 29 Dec 2009 01:52:38 +0000 (17:52 -0800)]
Merge commit 'origin/master' into fsc

Resolved Conflicts:
version

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agoMerge commit 'sherbszt/gfxboot32' syslinux-3.85-pre1
H. Peter Anvin [Tue, 29 Dec 2009 01:51:07 +0000 (17:51 -0800)]
Merge commit 'sherbszt/gfxboot32'

14 years agogfxboot: add .gitignore file
H. Peter Anvin [Tue, 29 Dec 2009 01:48:03 +0000 (17:48 -0800)]
gfxboot: add .gitignore file

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agoisolinux: export kaboom
H. Peter Anvin [Tue, 29 Dec 2009 01:46:43 +0000 (17:46 -0800)]
isolinux: export kaboom

We need to export kaboom in all cases...

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agoMerge commit 'liu/master' into fsc
H. Peter Anvin [Tue, 29 Dec 2009 01:38:48 +0000 (17:38 -0800)]
Merge commit 'liu/master' into fsc

Resolved Conflicts:
core/fs.c
core/fs/ext2/ext2.c

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agoeltorito: align some pointlessly misaligned data items
H. Peter Anvin [Tue, 29 Dec 2009 00:51:34 +0000 (16:51 -0800)]
eltorito: align some pointlessly misaligned data items

Align some data items (including the jump table) which were misaligned
for no clear reason.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agochain.c: do a proper copy operation for the cmldr signature
H. Peter Anvin [Tue, 29 Dec 2009 00:24:48 +0000 (16:24 -0800)]
chain.c: do a proper copy operation for the cmldr signature

Instead of writing into memory that we might not own, create a proper
copy operation using syslinux_add_movelist().

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agochain.c32: add support for booting the Recovery Console of Windows NT/2K/XP
Kim Mik [Mon, 28 Dec 2009 21:42:55 +0000 (21:42 +0000)]
chain.c32: add support for booting the Recovery Console of Windows NT/2K/XP

The following patch for chain.c32 adds support to boot the Recovery Console of Windows NT/2K/XP.
Normally when you want to boot the recovery console, you need to patch "cmdcons\0" into the
bootsectorof the partition (8 bytes starting at 0x3 (4th byte)).

We can do this patching in memory:
  strcpy((char *) 0x7c03, "cmdcons");

To boot the recovery console with chain.c32:
  chain.c32 cmldr=/cmldr

- Gert Hulselmans

14 years agoMerge commit 'contrib/master'
H. Peter Anvin [Tue, 29 Dec 2009 00:13:41 +0000 (16:13 -0800)]
Merge commit 'contrib/master'

14 years agochain.c32: fixing implicit declaration of function ‘syslinux_force_text_mode’
Kim Mik [Mon, 28 Dec 2009 20:23:45 +0000 (20:23 +0000)]
chain.c32: fixing implicit declaration of function ‘syslinux_force_text_mode’

When building chain.c32:

$ make chain.c32
gcc -Wp,-MT,chain.o,-MD,./..chain.o.d -std=gnu99 -m32 -fno-stack-protector -mregparm=3 -DREGPARM=3 -march=i386 -Os -W -Wall -march=i386 -fomit-frame-pointer -D__COM32__ -nostdinc -iwithprefix include -I../../com32/libutil/include -I../../com32/include -I../../com32/gplinclude -c -o chain.o chain.c
chain.c: In function ‘do_boot’:
chain.c:552: warning: implicit declaration of function ‘syslinux_force_text_mode’
ld -m elf_i386 -T ../../com32/lib/com32.ld -o chain.elf chain.o ../../com32/libutil/libutil_com.a ../../com32/gpllib/libcom32gpl.a ../../com32/lib/libcom32.a /usr/lib/gcc/i486-linux-gnu/4.4.1/libgcc.a
objcopy -O binary chain.elf chain.c32

The following was missing:
  #include <syslinux/video.h>

- Gert Hulselmans

14 years agoNEWS, version: prepare for 3.85
H. Peter Anvin [Tue, 22 Dec 2009 23:56:03 +0000 (15:56 -0800)]
NEWS, version: prepare for 3.85

14 years agoMerge commit 'origin/master' into fsc
H. Peter Anvin [Tue, 22 Dec 2009 23:55:11 +0000 (15:55 -0800)]
Merge commit 'origin/master' into fsc

14 years agocom32: syslinux_report_video_mode returns void
H. Peter Anvin [Tue, 22 Dec 2009 23:53:43 +0000 (15:53 -0800)]
com32: syslinux_report_video_mode returns void

syslinux_report_video_mode() never gave a return value, to have it
return void unless we need something else.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agovesa: formatting fix
H. Peter Anvin [Tue, 22 Dec 2009 23:53:15 +0000 (15:53 -0800)]
vesa: formatting fix

Code formatting fix in screencpy.c

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agovesamenu: unbreak the default background
H. Peter Anvin [Tue, 22 Dec 2009 23:52:41 +0000 (15:52 -0800)]
vesamenu: unbreak the default background

Unbreak the default background image; it would clobber all of memory.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agocore: clean up the call to disk_init() syslinux-4.00-pre8
H. Peter Anvin [Tue, 22 Dec 2009 20:42:20 +0000 (12:42 -0800)]
core: clean up the call to disk_init()

Move direct references to registers up as far as possible to make the
code easier to read.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agocore: canonicalize ROOT_FS_OPS
H. Peter Anvin [Tue, 22 Dec 2009 20:23:06 +0000 (12:23 -0800)]
core: canonicalize ROOT_FS_OPS

ROOT_FS_OPS belongs in .rodata, and make it the same format.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agoisolinux: fs_init now takes a pointer to an array of filesystems
H. Peter Anvin [Tue, 22 Dec 2009 20:22:26 +0000 (12:22 -0800)]
isolinux: fs_init now takes a pointer to an array of filesystems

fs_init now takes a pointer to an array of filesystems, not a pointer
to a single filesystem type.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agopxe: update to match the new fs_init interface
H. Peter Anvin [Tue, 22 Dec 2009 20:10:43 +0000 (12:10 -0800)]
pxe: update to match the new fs_init interface

fs_init now takes a pointer to an array of filesystems, so provide it
as such.  Furthermore, fs_init needs to return a nonnegative value to
be considered successful.

Finally, handle the case of 64-bit partition offsets being passed in
to fs_init (in ebx:ecx in the disk-based derivatives.)

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agobtrfs: reduce size by computing the crc32c table on the fly
H. Peter Anvin [Tue, 22 Dec 2009 18:24:14 +0000 (10:24 -0800)]
btrfs: reduce size by computing the crc32c table on the fly

The crc32c algorithm requires a largish table (1K), however, it can be
computed at runtime using a fairly trivial piece of code.  Even with
compression, this is substantially smaller.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agobtrfs: add btrfs file system support to extlinux syslinux-4.00-pre7
Alek Du [Thu, 17 Dec 2009 03:14:48 +0000 (11:14 +0800)]
btrfs: add btrfs file system support to extlinux

the extlinux.sys will be installed in btrfs first 64K blank area, and the
extlinux.conf must be in root dir...

Signed-off-by: Alek Du <alek.du@intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agoMerge commit 'syslinux-3.84'
H. Peter Anvin [Tue, 22 Dec 2009 17:45:59 +0000 (09:45 -0800)]
Merge commit 'syslinux-3.84'

Resolved Conflicts:
Makefile

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agoMerge branch 'master' into fsc
H. Peter Anvin [Tue, 22 Dec 2009 17:38:43 +0000 (09:38 -0800)]
Merge branch 'master' into fsc

Resolved Conflicts:
com32/Makefile
com32/lib/sys/open.c
com32/modules/Makefile
dos/Makefile
dos/com16.ld
dos/syslinux.c
version

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agospec: don't actually package the dosutil directory proper syslinux-3.84
H. Peter Anvin [Fri, 18 Dec 2009 23:29:51 +0000 (15:29 -0800)]
spec: don't actually package the dosutil directory proper

No need to actually package the dosutil directory per se.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agospec: NASM 2.03, new dosutil directory
H. Peter Anvin [Fri, 18 Dec 2009 23:25:54 +0000 (15:25 -0800)]
spec: NASM 2.03, new dosutil directory

Require NASM 2.03, and add new dosutil directory.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agoNEWS: document eltorito.sys
H. Peter Anvin [Fri, 18 Dec 2009 23:20:08 +0000 (15:20 -0800)]
NEWS: document eltorito.sys

14 years agoNEWS: chain.c32 now always returns to text mode.
H. Peter Anvin [Fri, 18 Dec 2009 23:18:38 +0000 (15:18 -0800)]
NEWS: chain.c32 now always returns to text mode.

14 years agochain.c32: force text mode
H. Peter Anvin [Fri, 18 Dec 2009 23:09:00 +0000 (15:09 -0800)]
chain.c32: force text mode

When loading an unknown system, revert to text mode first.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agovideo: implement long-promised video functions; use them
H. Peter Anvin [Fri, 18 Dec 2009 23:08:02 +0000 (15:08 -0800)]
video: implement long-promised video functions; use them

Implement long-since-promised video functions defined in
<syslinux/video.h>.  Use these functions in initvesa.c instead of
open-coding the same functionality.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agoNEWS: document chain.c32 -> isolinux.bin addition
H. Peter Anvin [Fri, 18 Dec 2009 22:48:29 +0000 (14:48 -0800)]
NEWS: document chain.c32 -> isolinux.bin addition

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agovfs: add the readdir stuff support
Liu Aleaxander [Tue, 15 Dec 2009 06:00:38 +0000 (14:00 +0800)]
vfs: add the readdir stuff support

For now, the EXT, VFAT and ISO fs support readdir lib. So, the dir.c32
module can do the right work.

Signed-off-by: Liu Aleaxander <Aleaxander@gmail.com>
14 years agoEXTLINUX: fix the complie error
Liu Aleaxander [Tue, 15 Dec 2009 03:15:38 +0000 (11:15 +0800)]
EXTLINUX: fix the complie error

I fogot to  remove the removed filed of inode in bmap.c file.

Signed-off-by: Liu Aleaxander <Aleaxander@gmail.com>
14 years agoisofs: fix some coding style problems in iso9660.c
Liu Aleaxander [Mon, 14 Dec 2009 14:48:01 +0000 (22:48 +0800)]
isofs: fix some coding style problems in iso9660.c

Signed-off-by: Liu Aleaxander <Aleaxander@gmail.com>
14 years agocore: some cleanups
Liu Aleaxander [Mon, 14 Dec 2009 14:44:38 +0000 (22:44 +0800)]
core: some cleanups

The blksize filed in inode structure removed, since we can simply get it
by BLOCK_SIZE(fs) macro.

Signed-off-by: Liu Aleaxander <Aleaxander@gmail.com>
14 years agoISOLINUX: applying the generic path-lookup to iso9660 fs
Liu Aleaxander [Mon, 14 Dec 2009 14:00:15 +0000 (22:00 +0800)]
ISOLINUX: applying the generic path-lookup to iso9660 fs

Signed-off-by: Liu Aleaxander <Aleaxander@gmail.com>
14 years agomemdisk: Fix "might be used uninitialized" warning
Shao Miller [Fri, 11 Dec 2009 18:53:16 +0000 (19:53 +0100)]
memdisk: Fix "might be used uninitialized" warning

Impact: Initializing variables

The checksum_buf function was providing an incorrect checksum
on at least one build.

14 years agomemdisk: Fix mBFT alignment
Shao Miller [Fri, 11 Dec 2009 18:52:15 +0000 (19:52 +0100)]
memdisk: Fix mBFT alignment

Impact: Fixing mBFT alignment

It was previously possible that the mBFT might not be 16-byte
aligned because the .data section was not.

14 years agovfs: turn off the cache debug information
Liu Aleaxander [Thu, 10 Dec 2009 14:26:48 +0000 (22:26 +0800)]
vfs: turn off the cache debug information

Signed-off-by: Liu Aleaxander <Aleaxander@gmail.com>
14 years agoLDLINUX:vfat: Oh, NO, I did fix the above bug in a wrong way!
Liu Aleaxander [Thu, 10 Dec 2009 13:35:07 +0000 (21:35 +0800)]
LDLINUX:vfat: Oh, NO, I did fix the above bug in a wrong way!

I shouldn't count on the 'dname' parameter, we should ZERO the
'long_name' buffer at every time we met a new long name entry,
and that's the right way to fix the bug.

And we shouldn't count the 'id == 0' to check if we have a long
name matched first or not. Say we have one entry of a long name
entry, it will always be 'id == 0' even it doesn't matches. So,
add a new flag variable to do this.

Signed-off-by: Liu Aleaxander <Aleaxander@gmail.com>
14 years agoLDLINUX:vfat: fix the bug that can't find the program even it exists
Liu Aleaxander [Thu, 10 Dec 2009 13:06:25 +0000 (21:06 +0800)]
LDLINUX:vfat: fix the bug that can't find the program even it exists

Here comes a TINY bug but hard to find! After we run hdt.c32(it can run it
well), then we will get failed if we run cpuidtest.c32, and it does exist.

Well, it's weird since it doesn't happened in the fstk implementation.

Signed-off-by: Liu Aleaxander <Aleaxander@gmail.com>
14 years agoLDLINUX:vfat: Improve the fat fs relative path searching
Liu Aleaxander [Thu, 10 Dec 2009 07:30:21 +0000 (15:30 +0800)]
LDLINUX:vfat: Improve the fat fs relative path searching

Added a new flag, FS_THISIND, used in the fat and iso fs relative path
searching. It means tries to get the last directory of the config file
path in the 'this_inode' variable to do a relative searching while loading
the kernel images in after.

And also fixed a bug in fs.c which wouldn't close the file structure when
doing path searching failed! And as a result, we could just run a few com32
programs.

Signed-off-by: Liu Aleaxander <Aleaxander@gmail.com>
14 years agoeltorito: align the buffer
H. Peter Anvin [Thu, 10 Dec 2009 03:59:48 +0000 (19:59 -0800)]
eltorito: align the buffer

Align the sector buffer.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agodosutil: move install to a subdirectory
H. Peter Anvin [Thu, 10 Dec 2009 03:59:13 +0000 (19:59 -0800)]
dosutil: move install to a subdirectory

Move the DOS directory to a subdirectory of the auxdir.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agoMakefile: add DOS utilities as installables
H. Peter Anvin [Thu, 10 Dec 2009 03:57:56 +0000 (19:57 -0800)]
Makefile: add DOS utilities as installables

Add the DOS utilities as auxilliary installables

In case someone wants them...

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agoLDLINUX: Applying the generic path_lookup to FAT fs
Liu Aleaxander [Wed, 9 Dec 2009 14:23:14 +0000 (22:23 +0800)]
LDLINUX: Applying the generic path_lookup to FAT fs

Well, it's far more to be done, esp. the relative path-searching.

Signed-off-by: Liu Aleaxander <Aleaxander@gmail.com>
14 years agoeltorito: it is converted to NASM...
H. Peter Anvin [Wed, 9 Dec 2009 02:19:02 +0000 (18:19 -0800)]
eltorito: it is converted to NASM...

Fix comment to give a NASM compilation rule, not TASM.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agodosutil: add $(NASMOPT) to rules; clean up *.lst
H. Peter Anvin [Wed, 9 Dec 2009 02:17:20 +0000 (18:17 -0800)]
dosutil: add $(NASMOPT) to rules; clean up *.lst

Add $(NASMOPT) to NASM rules, clean up *.lst.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agoeltorito: fix comments that confuse NASM
H. Peter Anvin [Wed, 9 Dec 2009 02:16:31 +0000 (18:16 -0800)]
eltorito: fix comments that confuse NASM

The sequence ; ... \ is interpreted by NASM as a continuation line of
a comment which thus comments out the next line.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agodosutil: add eltorito.sys
H. Peter Anvin [Tue, 8 Dec 2009 22:30:43 +0000 (14:30 -0800)]
dosutil: add eltorito.sys

Add eltorito.sys.
Original by Gary Tong and Bart Lagerweij; reconstructed to binary
version 1.4 by Eric Auer; converted to NASM by NoMySo and HPA ;)

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agogfxboot: fix loading of LABELs with non KERNEL or LINUX commands
Sebastian Herbszt [Tue, 8 Dec 2009 20:38:52 +0000 (21:38 +0100)]
gfxboot: fix loading of LABELs with non KERNEL or LINUX commands

Call syslinux_run_command() if menu_ptr->kernel or menu_ptr->linux are not set.

Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
14 years agogfxboot: accept plain boot logo files
Sebastian Herbszt [Tue, 8 Dec 2009 20:05:28 +0000 (21:05 +0100)]
gfxboot: accept plain boot logo files

Don't force the boot logo file to be a cpio archive.

Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
14 years agodoc: document mBFT and "safe hook" syslinux-3.84-pre6
Shao Miller [Tue, 8 Dec 2009 00:38:19 +0000 (19:38 -0500)]
doc: document mBFT and "safe hook"

14 years agovesacon: don't display the cursor when doing a quiet boot
H. Peter Anvin [Tue, 8 Dec 2009 00:49:15 +0000 (16:49 -0800)]
vesacon: don't display the cursor when doing a quiet boot

Don't display the cursor on the graphical screen while doing a quiet
boot.  When doing a quiet boot we will probably show the graphical
screen for a fair bit of time; as a result, we really don't want a
completely bogus cursor blob on the bottom of the screen.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agoNEWS: document MENU RESOLUTION
H. Peter Anvin [Tue, 8 Dec 2009 00:24:33 +0000 (16:24 -0800)]
NEWS: document MENU RESOLUTION

14 years agoMerge branch 'softres'
H. Peter Anvin [Tue, 8 Dec 2009 00:23:22 +0000 (16:23 -0800)]
Merge branch 'softres'

14 years agodoc: document MENU RESOLUTION
H. Peter Anvin [Tue, 8 Dec 2009 00:22:07 +0000 (16:22 -0800)]
doc: document MENU RESOLUTION

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agovesamenu: add MENU RESOLUTION to be able to set nonstandard res
H. Peter Anvin [Tue, 8 Dec 2009 00:18:09 +0000 (16:18 -0800)]
vesamenu: add MENU RESOLUTION to be able to set nonstandard res

Add a MENU RESOLUTION command to make it possible to set a nonstandard
resolution.  If the nonstandard resolution is unavailable, we revert
to the text mode screen.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agovesacon: make it possible to request nonstandard resolutions
H. Peter Anvin [Tue, 8 Dec 2009 00:17:10 +0000 (16:17 -0800)]
vesacon: make it possible to request nonstandard resolutions

Make it possible to request nonstandard resolutions when enabling
vesacon.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agovesacon: not all JPEG images are JFIF
H. Peter Anvin [Mon, 7 Dec 2009 23:51:17 +0000 (15:51 -0800)]
vesacon: not all JPEG images are JFIF

There are a fair number of valid JPEG images which we can validly
decode that aren't JFIF-complient, so don't require the JFIF header.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agoNEWS: document mBFT
H. Peter Anvin [Mon, 7 Dec 2009 23:19:37 +0000 (15:19 -0800)]
NEWS: document mBFT

14 years agoNEWS: update for 3.84
H. Peter Anvin [Mon, 7 Dec 2009 23:18:12 +0000 (15:18 -0800)]
NEWS: update for 3.84

14 years agomemdisk: slight cleanup of the "safe hook" structure
H. Peter Anvin [Mon, 7 Dec 2009 23:02:14 +0000 (15:02 -0800)]
memdisk: slight cleanup of the "safe hook" structure

Make the "safe hook" structure code a bit more readable.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agomemdisk: "safe hook" and mBFT
Shao Miller [Mon, 7 Dec 2009 04:03:43 +0000 (23:03 -0500)]
memdisk: "safe hook" and mBFT

Two additions to MEMDISK to support OS drivers.

The "safe hook" structure ("Safe Master Boot Record INT 13h Hook Routines")
is a means for an OS driver to follow a chain of INT 13h hooks, examining
the hooks' vendors and assuming responsibility for hook functionality along
the way.  For MEMDISK, we guarantee an additional field which holds the
physical address for the mBFT.

The mBFT is an ACPI table which an OS driver can scan for.  The mBFT
contains the official MEMDISK Info structure (MDI) which itself includes
parameters the OS will want to know about.  The mBFT points back at the
"safe hook" structure's physical address so that an OS supporting both
"safe hook" chain-walking as well as mBFT-scanning can know that both
refer to the same MEMDISK instance.

Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 years agodoc: Fix some typos in the comboot documentation
Sebastian Herbszt [Sat, 28 Nov 2009 12:27:32 +0000 (13:27 +0100)]
doc: Fix some typos in the comboot documentation

Impact: Fixing typos

Fix some typos in the comboot documentation

14 years agogfxboot: fix typo in cb_getcwd - wrong function number
Sebastian Herbszt [Sat, 5 Dec 2009 16:50:57 +0000 (17:50 +0100)]
gfxboot: fix typo in cb_getcwd - wrong function number

Use function number 1fh in cb_getcwd.

Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
14 years agogfxboot: use $(NASM) and $(OBJCOPY)
Sebastian Herbszt [Sat, 5 Dec 2009 16:48:00 +0000 (17:48 +0100)]
gfxboot: use $(NASM) and $(OBJCOPY)

Use $(NASM) and $(OBJCOPY) in Makefile.

Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
14 years agohdt: Fixing make release target
Erwan Velu [Fri, 4 Dec 2009 16:40:06 +0000 (17:40 +0100)]
hdt: Fixing make release target

Impact: fixing com32 naming

Make release now generates the .c32 file accordingly to the scheme

14 years agohdt: New release 0.3.6
Erwan Velu [Fri, 4 Dec 2009 16:29:55 +0000 (17:29 +0100)]
hdt: New release 0.3.6

Impact: new release

New release, thx to everyone for making that release possible

14 years agohdt: Fixing about menu & show hdt
Erwan Velu [Fri, 4 Dec 2009 15:58:12 +0000 (16:58 +0100)]
hdt: Fixing about menu & show hdt

Impact: visual

Let's add website, rename contact to mailing list and put all people
together

14 years agohdt: Fixing memory corruption in kernel>show
Erwan Velu [Wed, 2 Dec 2009 21:31:18 +0000 (22:31 +0100)]
hdt: Fixing memory corruption in kernel>show

Impact: Fixing memory corruption

Fixing memory corruption which occurs during kernel>show
This patch makes the init cleaner.

14 years agohdt: Fixing memtest entry
Erwan Velu [Mon, 30 Nov 2009 23:11:25 +0000 (00:11 +0100)]
hdt: Fixing memtest entry

Impact: none

Fixing memtest entry

14 years agohdt: Makefile isn't gzipping pci.ids
Erwan Velu [Mon, 30 Nov 2009 19:47:45 +0000 (20:47 +0100)]
hdt: Makefile isn't gzipping pci.ids

Impact: avoid missed gzipping

The iso wasn't gzipping pci.ids correctly

14 years agodmi: dmitest have to use voltage_mv
Erwan Velu [Mon, 30 Nov 2009 17:44:36 +0000 (18:44 +0100)]
dmi: dmitest have to use voltage_mv

Impact: fixing build error

Processor is now using voltage_mv

14 years agohdt: summary mode only show memory size
Erwan Velu [Mon, 30 Nov 2009 14:57:41 +0000 (15:57 +0100)]
hdt: summary mode only show memory size

Impact: visual

Summary mode only show the detected memory size.
Showing used banks is too much verbose for a summary

14 years agohdt: Adding cpu voltage
Erwan Velu [Mon, 30 Nov 2009 12:26:39 +0000 (13:26 +0100)]
hdt: Adding cpu voltage

Impact: Adding cpu voltage

Adding cpu voltage via DMI

14 years agodmi: Switching processor voltage from V to mV
Erwan Velu [Mon, 30 Nov 2009 12:25:00 +0000 (13:25 +0100)]
dmi: Switching processor voltage from V to mV

Impact: Changing units

Processor voltage is now millivolts

14 years agodmi: more chassis types
Erwan Velu [Mon, 30 Nov 2009 12:01:58 +0000 (13:01 +0100)]
dmi: more chassis types

Impact: more chassis types

More DMI chassis types

14 years agodmi: returning out of spec instead of NULL
Erwan Velu [Mon, 30 Nov 2009 11:59:04 +0000 (12:59 +0100)]
dmi: returning out of spec instead of NULL

Impact: avoid null string

It's better returning out of spec instead of null

14 years agodmi: More processors
Erwan Velu [Mon, 30 Nov 2009 11:55:12 +0000 (12:55 +0100)]
dmi: More processors

Impact: More processors

More processors in the DMI table

14 years agohdt: Fixing history cycling
Erwan Velu [Mon, 30 Nov 2009 11:39:08 +0000 (12:39 +0100)]
hdt: Fixing history cycling

Impact: prior to that commit, cycling the history failed

When we enter more than 32 commands, let's cycle the history

14 years agohdt: Using del_multi_spaces for the cpu model
Erwan Velu [Mon, 30 Nov 2009 11:27:37 +0000 (12:27 +0100)]
hdt: Using del_multi_spaces for the cpu model

Impact: avoid multi spaces in the cpu model

Some cpu vendors like to put multi spaces in the model name.
We don't need it for a cleaner & shorter display

14 years agodmi: More cpu upgrade options
Erwan Velu [Mon, 30 Nov 2009 11:24:40 +0000 (12:24 +0100)]
dmi: More cpu upgrade options

Impact: many cpu upgrade were set out of spec

Fixing stupid typo which prevent cpu upgrade options to be shown

14 years agohdt: removing vendor_id from cpu info
Erwan Velu [Mon, 30 Nov 2009 10:18:36 +0000 (11:18 +0100)]
hdt: removing vendor_id from cpu info

Impact: visual

No need to display the vendor_id as we already show the vendor name.
That confuse users, let's remove it

14 years agopci: replace '-' by '_' in modules names
Erwan Velu [Mon, 30 Nov 2009 10:02:49 +0000 (11:02 +0100)]
pci: replace '-' by '_' in modules names

Impact: avoid kernel modules duplication

In modules.pcimap, kernel modules name are featuring '_' or '-' whereas modules.alias is only using '_'.
To avoid kernel modules duplication, let's rename all '-' by '_' to match what modules.alias provides
This avoid stupid duplications like "a-b" & "a_b" whereas they are in
fact the same kernel module

14 years agohdt: Adding memtest entry in the menu
Erwan Velu [Mon, 30 Nov 2009 09:07:02 +0000 (10:07 +0100)]
hdt: Adding memtest entry in the menu

Imapct: Allow people starting memtest from the menu

Users can now starts memtest for our menu