okuji
df002327f6
2003-02-20 Yoshinori K. Okuji <okuji@enbug.org>
...
* util/grub-install.in (find_device): Fix the sed script.
2003-02-19 23:26:46 +00:00
okuji
cd23d85031
2003-02-17 Yoshinori K. Okuji <okuji@enbug.org>
...
* lib/device.c (check_device): If DEVICE is empty, just return
1.
(get_scsi_disk_name) [__QNXNTO__]: Make NAME empty, because SCSI
disks are detected as IDE disks on QNX RTP.
From Taketo Kabe <kabe@sra-tohoku.co.jp >:
* lib/device.c (get_ide_disk_name) [__QNXNTO__]: Set NAME to
"/dev/hdX".
(get_floppy_disk_name) [__QNXNTO__]: Set NAME to "/dev/fdX".
* stage2/mb_info.h (struct AddrRangeDesc): Specified with the
attribute packed.
* stage2/shared.h (struct mmar_desc): Likewise.
2003-02-17 12:35:30 +00:00
okuji
7c1993fc4c
2003-01-02 Yoshinori K. Okuji <okuji@enbug.org>
...
From Jeremy Katz:
* configure.in: Support building on x86_64 with gcc -m32.
2003-01-02 14:51:37 +00:00
okuji
58b292f419
2002-12-03 Yoshinori K. Okuji <okuji@enbug.org>
...
* docs/grub.texi (terminfo): Fix a misleading English sentence.
Reported by Pavel Roskin.
* stage2/builtins.c (builtin_terminfo): Likewise.
2002-12-02 22:37:52 +00:00
okuji
3ff3b071ea
2002-12-01 Yoshinori K. Okuji <okuji@enbug.org>
...
* docs/grub.texi (Reporting bugs): Specify the project page of
the BTS instead of the BTS itself.
2002-11-30 17:13:15 +00:00
okuji
bf88d91883
2002-11-30 Yoshinori K. Okuji <okuji@enbug.org>
...
* docs/Makefile.am (man_MANS): Added grub-terminfo.8.
($(srcdir)/grub_terminfo.8): New target.
* utils/grub-terminfo.in: New file.
* util/Makefile.am (sbin_SCRIPTS): Added grub-terminfo.
* configure.in (AC_OUTPUT): Added util/grub-terminfo.
* docs/grub.texi (terminfo): New subsection.
(Invoking grub-terminfo): New chapter.
From Tilmann Bubeck <t.bubeck@reinform.de >:
* stage2/Makefile.am (noinst_HEADERS): Added terminfo.h and
tparm.h.
(libgrub_a_SOURCES): Added terminfo.c and tparm.c.
(pre_stage2_exe_SOURCES): Likewise.
* stage2/terminfo.c: New file.
* stage2/terminfo.h: Likewise.
* stage2/tparm.c: Likewise.
* stage2/tparm.h: Likewise.
* stage2/stage2.c (get_line_from_config): Fix handling of
backslashes.
* stage2/char_io.c (grub_putstr): New function.
(grub_printf): Use grub_putstr.
(substring): Add const into both arguments.
* stage2/builtins.c [SUPPORT_SERIAL]: Include terminfo.h.
[SUPPORT_SERIAL] (terminfo_func): New function.
[SUPPORT_SERIAL] (builtin_terminfo): New variable.
(builtin_table) [SUPPORT_SERIAL]: Added a pointer to
BUILTIN_TERMINFO.
* stage2/serial.c (serial_gotoxy): Use ti_cursor_address.
(serial_cls): Use ti_clear_screen.
(serial_highlight): use ti_enter_standout_mode and
ti_exit_standout_mode.
2002-11-29 20:39:24 +00:00
okuji
6ebab1bf0b
2002-11-15 Yoshinori K. Okuji <okuji@enbug.org>
...
* docs/grub.texi (QNX): New subsection. Reported by
Marian-Nicolae V. ION <marian_ion@noos.fr >.
2002-11-14 22:22:40 +00:00
okuji
f891c6f7e4
2002-10-06 Yoshinori K. Okuji <okuji@enbug.org>
...
* configure.in (falign_loop_flag): New variable. Set to if GCC
supports `-falign-*'. If true, use `-falign-jumps',
`-falign-loops' and `-falign-functions' instead of
`-malign-jumps', `-malign-loops' and `-malign-functions',
because `-malign-*' are obsolete in GCC 3.x. Reported by Jeremy
Katz.
2002-10-05 23:20:15 +00:00
okuji
c97b7d2098
2002-09-08 Yoshinori K. Okuji <okuji@enbug.org>
...
* configure.in (--disable-serial): Fix a typo in the
description.
2002-09-08 02:01:14 +00:00
okuji
7c16231fec
Update what Jason Thomas did.
2002-09-03 19:05:48 +00:00
okuji
1548282786
2002-07-04 Yoshinori K. Okuji <okuji@enbug.org>
...
* docs/grub.texi (Reporting bugs): Use the group name (i.e.
grub) instead of the group id (i.e. 68) for the URL of the BTS.
2002-07-03 20:27:47 +00:00
okuji
321b3d6a1d
2002-07-03 Yoshinori K. Okuji <okuji@enbug.org>
...
* stage2/serial.c [!GRUB_UTIL] (serial_hw_fetch): Fixed a typo.
Reported by Ilguiz Latypov.
2002-07-02 21:23:28 +00:00
okuji
1e42fdd201
2002-07-01 Yoshinori K. Okuji <okuji@enbug.org>
...
* Makefile.am (AUTOMAKE_OPTIONS): New variable. Specify the
required Automake version explicitly.
2002-07-01 14:28:53 +00:00
okuji
fada891e5c
Rewrite the sections "Header graphics fields" and "Machine state".
2002-06-16 03:12:58 +00:00
okuji
c628bca2ae
Fix some typos in the Multiboot Specification.
2002-06-14 23:53:54 +00:00
okuji
2369202e83
2002-06-12 Yoshinori K. Okuji <okuji@enbug.org>
...
The terminal handling code is rewritten radically.
* stage2/console.c: New file.
* stage2/term.h: Likewise.
* stage2/Makefile.am (noinst_HEADERS): Added term.h.
(libgrub_a_SOURCES): Added serial.c.
(pre_stage2_exec_SOURCES): Added console.c.
* stage2/asm.S (console_putchar): Rewritten from scratch.
[!STAGE1_5] (translation_table): New variable.
[!STAGE1_5] (translate_keycode): New function.
[!STAGE1_5] (console_getkey): Call translate_keycode.
[!STAGE1_5] (console_checkkey): Likewise.
[!STAGE1_5] (nocursor): Renamed to ...
[!STAGE1_5] (console_nocursor): ... this.
[!STAGE1_5] (console_set_attrib): Removed.
* stage2/builtins.c: Include term.h.
(terminal): Removed.
(normal_color): Likewise.
(highlight_color): Likewise.
(cat_func): Display a question mark when a non-printable
character was read.
(terminal_func): Rewritten almost from scratch.
* stage2/char_io.c: Include term.h.
[!STAGE1_5] (auto_fill): Removed.
[!STAGE1_5] (term_table): New variable.
[!STAGE1_5] (current_term): Likewise.
[!STAGE1_5] (real_get_cmdline): New function. The code was
stolen from the previous version of get_cmdline.
[!STAGE1_5] (get_cmdline): Rewritten from scratch.
[!STAGE1_5] (translate_keycode): Removed.
[!STAGE1_5] (getkey): Rewritten from scratch.
[!STAGE1_5] (checkkey): Likewise.
(grub_putchar): Likewise.
[!STAGE1_5] (gotoxy): Likewise.
[!STAGE1_5] (getxy): Likewise.
[!STAGE1_5] (cls): Likewise.
[!STAGE1_5] (nocursor): New function.
[SUPPORT_SERIAL] (serial_getxy): Removed.
[SUPPORT_SERIAL] (serial_gotoxy): Likewise.
[SUPPORT_SERIAL] (serial_cls): Likewise.
[SUPPORT_SERIAL] (serial_getxy): Likewise.
[!STAGE1_5] (set_attrib): Likewise.
* stage2/cmdline.c (init_cmdline): Set COUNT_LINES to -1.
* stage2/common.c [!STAGE1_5] (err_list): Removed
ERR_NEED_SERIAL and added ERR_DEV_NEED_INIT.
* stage2/hercules.c: Rewritten almost from scratch.
* stage2/hercules.h (herc_putchar): Removed.
(herc_cls): Likewise.
(herc_getxy): Likewise.
(herc_gotoxy): Likewise.
(herc_set_attrib): Likewise.
* stage2/serial.c: Rewritten almost from scratch.
* stage2/serial.h: Likewise.
* stage2/shared.h [GRUB_UTIL] (DISP_UL): Set to the same value
as VGA's.
[GRUB_UTIL] (DISP_UR): Likewise.
[GRUB_UTIL] (DISP_LL): Likewise.
[GRUB_UTIL] (DISP_LR): Likewise.
[GRUB_UTIL] (DISP_HORIZ): Likewise.
[GRUB_UTIL] (DISP_VERT): Likewise.
[GRUB_UTIL] (DISP_LEFT): Likewise.
[GRUB_UTIL] (DISP_RIGHT): Likewise.
[GRUB_UTIL] (DISP_UP): Likewise.
[GRUB_UTIL] (DISP_DOWN): Likewise.
(grub_error_t): Removed ERR_NEED_SERIAL.
Added ERR_DEV_NEED_INIT.
(normal_color): Removed.
(highlight_color): Likewise.
(console_cls): Removed, because this is declared in term.h.
(console_getxy): Likewise.
(console_gotoxy): Likewise.
(console_putchar): Likewise.
(console_getkey): Likewise.
(console_checkkey): Likewise.
(console_set_attrib): Removed.
(set_attrib): Likewise.
[GRUB_UTIL] (nocursor): Declared.
(auto_fill): Removed.
(terminal): Likewise.
(TERMINAL_CONSOLE): Likewise.
(TERMINAL_SERIAL): Likewise.
(TERMINAL_HERCULES): Likewise.
(TERMINAL_DUMB): Likewise.
(translate_keycode): Likewise.
* stage2/stage2.c: Include term.h.
(print_entry): Rewritten from scratch.
(print_entries): Likewise.
(print_border): Likewise.
(set_line): Removed.
(set_line_normal): Likewise.
(set_line_highlight): Likewise.
* grub/Makefile.am (AM_CFLAGS): Added -DSUPPORT_HERCULES=1.
* grub/asmstub.c: Don't include hercules.h. Include term.h.
(console_current_color): New variable.
(console_translate_key): New function.
(console_checkkey): Rewritten from scratch.
(console_getkey): Likewise.
(console_putchar): Likewise.
(console_set_attrib): Removed.
(console_highlight): New function.
(console_setcolor): Likewise.
(console_nocursor): Likewise.
(serial_getkey): Removed.
(serial_checkkey): Likewise.
(serial_putchar): Likewise.
(serial_exists): Likewise.
(serial_get_port): Likewise.
(serial_init): Likewise.
(serial_hw_fetch): New function.
(serial_hw_put): Likewise.
(serial_hw_delay): Likewise.
(serial_hw_get_port): Likewise.
(serial_hw_init): Likewise.
(set_serial_device): Renamed to ...
(serial_set_device): ... this.
(herc_putchar): Renamed to ...
(hercules_putchar): ... this.
(herc_cls): Renamed to ...
(hercules_cls): ... this.
(herc_getxy): Renamed to ...
(hercules_getxy): ... this.
(herc_gotoxy): Renamed to ...
(hercules_gotoxy): ... this.
(hercules_highlight): New function.
(hercules_setcolor): Likewise.
(hercules_nocursor): Likewise.
(herc_set_attrib): Removed.
* grub/main.c: Include term.h.
(main): If USE_CURSES is false, set CURRENT_TERM->FLAGS to
TERM_NO_EDIT | TERM_DUMB. TERMINAL is not used any longer.
2002-06-11 16:36:54 +00:00
okuji
9ab2360b15
2002-06-01 Yoshinori K. Okuji <okuji@enbug.org>
...
* docs/grub.texi (FAQ): Removed. See the GNU GRUB FAQ on the web
instead.
2002-06-01 00:00:27 +00:00
okuji
afbae72a33
2002-05-31 Yoshinori K. Okuji <okuji@enbug.org>
...
* docs/grub.texi (Reporting bugs): Recommend using the BTS on
Savannah rather than the list bug-grub.
2002-05-30 22:56:49 +00:00
okuji
58a5878421
2002-05-23 Yoshinori K. Okuji <okuji@enbug.org>
...
* configure.in (AM_INIT_AUTOMAKE): Changed the version number to
0.93.
2002-05-22 17:12:45 +00:00
okuji
b225b42f05
2002-05-23 Yoshinori K. Okuji <okuji@enbug.org>
...
Define the behavior of the boot loader when the load end address
and the bss end address are zero in the Multiboot Specification,
and add the support into GRUB. I've modified a patch from Yuri
Zaporogets <yuriz@ukr.net >.
* stage2/boot.c (load_image): In the case of Multiboot a.out
kludge, set the load end address to the load address plus the
size of the OS image file, if it is zero. Similarly, set the bss
end address to the load end address, if it is zero.
* util/mbchk.c (check_multiboot): Don't check if the load
address is greater than or equal to the load end address, if the
load end address is zero. Don't check if the load end address is
greater than the bss end address, if the bss end address is
zero. And, don't check if the load end address is less than or
equal to the entry address, if the load end address is zero.
* docs/multiboot.texi (The address fields of Multiboot header):
Added descriptions about the behavior of the boot loader when
LOAD_END_ADDR is zero and BSS_END_ADDR is zero.
2002-05-22 17:08:37 +00:00
okuji
522de743e8
2002-05-08 Yoshinori K. Okuji <okuji@enbug.org>
...
* netboot/etherboot.h (ETH_MAX_MTU): Because some DHCP/BOOTP
servers don't treat the maximum length the same as Etherboot,
subtract the size of an IP header and that of an UDP header.
2002-05-08 05:49:33 +00:00
okuji
bd9abb21c5
2002-04-29 Yoshinori K. Okuji <okuji@enbug.org>
...
* stage2/builtins.c [SUPPORT_SERIAL] (terminal_func): Added a
new option ``--silent''. This suppresses messages, if specified.
2002-04-29 00:35:30 +00:00
okuji
204a870ff7
Update the link to binutils.
2002-04-15 22:09:16 +00:00
okuji
86d5582ec2
2002-04-06 Yoshinori K. Okuji <okuji@enbug.org>
...
* stage2/builtins.c [GRUB_UTIL] (dump_func): New function.
[GRUB_UTIL] (builtin_dump): New variable.
(builtin_table) [GRUB_UTIL]: Added a pointer to BUILTIN_DUMP.
* util/grub-install.in: Make sure that GRUB reads the same
images as the host operating system by comparing the result of
running the command "dump" with the contents of the OS file.
2002-04-06 12:15:13 +00:00
okuji
cfce0b1fae
2002-04-04 Yoshinori K. Okuji <okuji@enbug.org>
...
* stage2/builtins.c (setup_func): Don't embed a drive number, if
unnecessary.
2002-04-04 14:52:21 +00:00
okuji
4c73310092
Miscellaneous doc updates.
2002-04-04 14:22:35 +00:00
okuji
0c8552cfae
2002-03-29 Yoshinori K. Okuji <okuji@enbug.org>
...
* docs/grub.texi (General commands): Added ``pager'' into the
menu.
(pager): New subsection.
(terminal): Added a description about the option
``--lines=LINES''.
* configure.in (AC_INIT_AUTOMAKE): Set the version number to
0.92.
2002-03-29 10:24:17 +00:00
okuji
3c5148ff24
2002-03-24 Yoshinori K. Okuji <okuji@enbug.org>
...
* stage2/stage2.c (run_menu): Call cls outside the loop to run
scripts.
* stage2/cmdline.c (run_script): Prompt a user's intervention,
only when FALLBACK_ENTRY is negative.
2002-03-24 12:28:54 +00:00
okuji
dfccfe6d92
Update the FAQ.
2002-02-11 16:44:54 +00:00
okuji
c34bb04818
2002-02-08 Yoshinori K. Okuji <okuji@enbug.org>
...
* grub/main.c (OPT_NO_PAGER): New macro.
(longopts): Added an entry for "--no-pager".
(usage): Added a description about "--no-pager".
(main): In case of OPT_NO_PAGER, set USE_PAGER to zero. The same
thing is done with OPT_BATCH, because the pager is just harmful
in batch mode.
2002-02-08 01:28:39 +00:00
okuji
68ef83eeae
2002-02-05 Yoshinori K. Okuji <okuji@enbug.org>
...
* stage2/builtins.c (displaymem_func): Use hex digits to display
for consistency.
2002-02-04 22:47:51 +00:00
okuji
f7eda1235f
It seems that I forgot to add natsemi.c to the CVS...
2002-01-15 10:32:22 +00:00
okuji
70b173af35
2002-01-15 Yoshinori K. Okuji <okuji@gnu.org>
...
* docs/grub.texi (Preset Menu): New chapter.
2002-01-15 10:28:18 +00:00
okuji
5ca9541403
2002-01-15 Yoshinori K. Okuji <okuji@gnu.org>
...
* docs/grub.texi: Added some text about JFS and XFS.
2002-01-15 09:37:15 +00:00
okuji
4ea83d7811
2002-01-08 Yoshinori K. Okuji <okuji@gnu.org>
...
* grub/main.c (use_preset_menu): New variable.
(OPT_PRESET_MENU): New macro.
(longopts): Added an entry for "--preset-menu".
(usage): Added a description for "--preset-menu". Also, change
the first character of the description for "--device-map" to
lower case for consistency.
(main): Set USE_PRESET_MENU to 1 in the case of OPT_PRESET_MENU.
* stage2/shared.h (use_preset_menu): Declared.
* stage2/stage2.c [PRESET_MENU_STRING || SUPPORT_DISKLESS]
(open_preset_menu) [GRUB_UTIL]: If USE_PRESET_MENU is false,
return zero immediately.
2002-01-08 03:19:23 +00:00
okuji
973e6f4129
2002-01-03 Yoshinori K. Okuji <okuji@gnu.org>
...
Update the netboot stuff to Etherboot-5.0.5.
* configure.in (--enable-3c590): Removed. This was a mistake.
(--enable-davicom): New option.
(--enable-eepro): Likewise.
(--enable-natsemi): Likewise.
(--enable-ni5010): Likewise.
(--enable-sis900): Likewise.
(--enable-w89c840): Likewise.
(--enable-3c509-hack): Removed.
(--enable-ns8390-force-16bit): Likewise.
* netboot/Makefile.am (libdrivers_a_SOURCES): Added timer.c and
timer.h.
(EXTRA_libdrivers_a_SOURCES): Added davicom.c, eepro.c, fa311.c,
natsemi.c, ni5010.c, sis900.c, sis900.h, tlan.c and w89c840.c.
(EXTRA_DIST): Added sis900.txt.
(3c595_drivers): Remove 3c590.o from this.
(davicom_drivers): New variable.
(eepro_drivers): Likewise.
(natsemi_drivers): Likewise.
(ni5010_drivers): Likewise.
(sis900_drivers): Likewise.
(w89c840_drivers): Likewise.
(3c590_o_CFLAGS): Removed.
(davicom_o_CFLAGS): New variable.
(eepro_o_CFLAGS): Likewise.
(natsemi_o_CFLAGS): Likewise.
(ni5010_o_CFLAGS): Likewise.
(sis900_o_CFLAGS): Likewise.
(w89c840_o_CFLAGS): Likewise.
* netboot/davicom.c: New file, from Etherboot-5.0.5.
* netboot/eepro.c: Likewise.
* netboot/natsemi.c: Likewise.
* netboot/ni5010.c: Likewise.
* netboot/sis900.c: Likewise.
* netboot/sis900.h: Likewise.
* netboot/sis900.txt: Likewise.
* netboot/timer.c: Likewise.
* netboot/timer.h: Likewise.
* netboot/w89c840.c: Likewise.
* netboot/fa311.c: Likewise.
* netboot/tlan.c: Likewise.
* netboot/3c509.c: Copied from Etherboot-5.0.5.
* netboot/3c509.h: Likewise.
* netboot/3c595.c: Likewise.
* netboot/3c90x.c: Likewise.
* netboot/3c90x.txt: Likewise.
* netboot/cards.h: Likewise.
* netboot/cs89x0.c: Likewise.
* netboot/depca.c: Likewise.
* netboot/eepro100.c: Likewise.
* netboot/epic100.c: Likewise.
* netboot/i82586.c: Likewise.
* netboot/lance.c: Likewise.
* netboot/linux-asm-string.h: Likewise.
* netboot/nic.h: Likewise.
* netboot/ns8390.c: Likewise.
* netboot/ns8390.h: Likewise.
* netboot/otulip.c: Likewise.
* netboot/pci.h: Likewise.
* netboot/rtl8139.c: Likewise.
* netboot/sk_g16.c: Likewise.
* netboot/smc9000.c: Likewise.
* netboot/tiara.c: Likewise.
* netboot/tulip.c: Likewise.
* netboot/via-rhine.c: Likewise.
* netboot/config.c: Applied a diff between Etherboot-4.6.18 and
Etherboot-5.0.5 manually.
* netboot/main.c: Likewise.
* netboot/pci.c: Likewise.
* netboot/etherboot.h: Rewritten mostly from scratch, based on
the same file in Etherboot-5.0.5.
* netboot/misc.c: Likewise.
* netboot/osdep.h: Likewise.
* netboot/fsys_tftp.c (GRUB): Defined.
(buf_fill): Use rfc2131_sleep_interval instead of rfc951_sleep.
* stage2/builtins.c [SUPPORT_NETBOOT] (GRUB): Defined.
(boot_func) [SUPPORT_NETBOOT]: Call cleanup_net.
* stage2/cmdline.c [SUPPORT_DISKLESS] (GRUB): Defined.
* stage2/common.c [SUPPORT_DISKLESS] (GRUB): Likewise.
2002-01-02 21:56:40 +00:00
okuji
daa965eccc
2002-01-02 Jeremy Katz <katzj@redhat.com>
...
* util/grub-install.in: Support using mktemp as well as tempfile
for secure temporary file creation.
2002-01-02 18:46:31 +00:00
okuji
6e8c6154fb
2002-01-02 Jeremy Katz <katzj@redhat.com>
...
* stage2/md5.c (md5_password): Ensure the password exists before
trying to check against the md5 crypted version.
2002-01-02 17:48:41 +00:00
okuji
f9e7ef1b41
Fix a wrong comment.
2001-12-19 11:17:06 +00:00
okuji
f51d8ce561
Change the error message from the command "embed" to "No spare sectors on
...
the disk".
2001-12-09 21:11:38 +00:00
okuji
4232395f9f
Ignore the signal SIGWINCH in the grub shell.
2001-12-09 20:55:56 +00:00
okuji
502a79c799
hide and unhide support logical partitions.
2001-11-28 18:43:56 +00:00
okuji
3a150c2b37
Reorganize the file `AUTHOR', according to the current status of copyright
...
assignments received by the FSF.
Jason Thomas was added.
Erich Stefan Boleyn was moved into those who assigned their copyrights.
Gordon Matzigkeit was moved into the others, because he still wasn't listed
in fencepost.gnu.org:/gd/gnuorg/copyright.list.
The remaining problem is that we haven't had copyright assignments of
VaX#8, Heiko Schroeder and Gordon Matzigkeit. As for the first two, Erich
is now trying to contact them by proxy. So I'm just waiting.
As for Gordon.... oh, what are you doing, Gordon?! Hurry up, please!
2001-11-12 06:57:29 +00:00
gord
e5fd53e574
Update to Automake 1.5
2001-10-15 04:49:50 +00:00
okuji
61928d1323
Ensure that a serial port is set up before used.
2001-10-13 12:02:30 +00:00
okuji
a8ac7eb3f9
add support for DAC960.
2001-10-13 04:20:05 +00:00
okuji
e9d94149ef
Set the level of APM support to 1.1, before turning off the power state.
2001-08-08 08:00:01 +00:00
okuji
62cba90d65
Add a missing file and increase the version number.
2001-07-05 11:29:56 +00:00
okuji
cd93e2f5f9
Update the manual (not complete).
2001-07-05 11:14:21 +00:00
okuji
60415d246c
Use automake-1.4h instead of our own version. Some required changes are made.
2001-07-04 07:33:48 +00:00