Imported Debian patch 3.4-9
[debian/elilo] / ChangeLog
1 2003-08-20 Stephane Eranian <eranian@hpl.hp.com>
2         * released 3.4
3 2003-08-19 Stephane Eranian <eranian@hpl.hp.com>
4         * integrated ia32 updates from Matt
5           Tolentino <matthew.e.tolentino@intel.com>
6 2003-08-13 Stephane Eranian <eranian@hpl.hp.com>
7         * updated elilo.txt and netbooting.txt
8         * fix a bug in choosers/simple.c:print_infos().
9           it needs to check if config file path is absolute
10           when printing filename.
11         * move definitions of CHAR_SLASH CHAR_BACKSLASH to elilo.h
12         * fix a bug in read_config() where it would try other
13           filename even when the user explicitely specified one
14           via -C, now it fails it that file cannot be opened.
15         * updated simple chooser set of builtin command keys
16         * command keys are only valid if first on the line
17         * increase default buffer size and increment when netbooting
18 2003-06-04 Stephane Eranian <eranian@hpl.hp.com>
19         * fix fs/netfs.c to work with recent version
20           of EFI (14.61 or higher) which do not have the 
21           TFTP problem anymore. fix submitted by Guy Laborde
22 2003-04-21 Stephane Eranian <eranian@hpl.hp.com>
23         * ext2fs support is turned off by default to avoid
24           problems with ext3-formatted partitions.
25         * added gcc version check. MUST use 3.0 or higher
26 2003-03-03 Stephane Eranian <eranian@hpl.hp.com>
27         * added check on dev_tab in fs/*fs.c:*_uninstall()
28 2003-02-07 Stephane Eranian <eranian@hpl.hp.com>
29         * clean up in glue_localfs.c w.r.t. CHAR16 in set_default_path()
30         * added support for extracting basename of bootloader path
31           when using BOOTP (DHCP) only. The prefix is then used for all files
32           open via netfs. Suggestion and initial patch by Guy Laborde from HP.
33 2003-01-28 Stephane Eranian <eranian@hpl.hp.com>
34         * fix the set_default_path() routine in glue_localfs.c. It would not
35           correctly get the basename of the devpath. This caused the
36           elilo.conf not to be found sometimes.
37 2003-01-21 Stephane Eranian <eranian@hpl.hp.com>
38         * fix bug in glue_netfs.c convert_ip2decstr() which caused some IP
39           addresses to be incorrectly converted to strings.
40 2002-11-01 Stephane Eranian <eranian@hpl.hp.com>
41         * fix bug in -r option for IA64. There is no argument to this option.
42 2002-10-15 Stephane Eranian <eranian@hpl.hp.com>
43         * fixed a double free bug for the kernel memory in case of abort.
44           (bug spotted by Levent Akyl from Intel)
45         * released 3.3a
46 2002-09-14 Stephane Eranian <eranian@hpl.hp.com>
47         * applied patch from Andreas Schwab <schwab@suse.de> to eliloalt.c.
48           eliloalt dynamically selects a variable in /proc/efi/vars.
49 2002-09-12 Stephane Eranian <eranian@hpl.hp.com>
50         * removed extra free() from fs/ext2fs.c:ext2fs_init_state().
51           Bug report and fix by NOMURA Jun'ichi <j-nomura@ce.jp.nec.com>
52         * rewrote fs/ext2fs.c:read_bytes() to large memory stack buffer which
53           was bigger than the 128KB limit of EFI causing some weird fimrware
54           errors. bug reported by OMURA Jun'ichi <j-nomura@ce.jp.nec.com>
55         * on IA-64 forbid the use of f32-f127 by the compiler (EFI spec)
56 2002-09-10 Stephane Eranian <eranian@hpl.hp.com>
57         * fix a bug in argify() that was causing an EFI assertion 
58           when aborting at the elilo prompt when netbooted.
59 2002-08-26 Stephane Eranian <eranian@hpl.hp.com>
60         * fixed devschemes/simple.c to use SPrint() instead of its own buggy
61           conversion code (spotted by Richard Hirst).
62         * fix bug in argify() when there was no NULL character in the string.
63         * released 3.3
64 2002-08-19 Stephane Eranian <eranian@hpl.hp.com>
65         * added fpswa.txt in the docs directory
66         * updated elilo.txt
67 2002-08-15 Stephane Eranian <eranian@hpl.hp.com>
68         * added -F file option for IA-64 to allow a specific fpswa driver to be loaded
69         * fixed fpswa.c to try and load the driver from all accessible partitions
70         * added support to load (plain or gzipped) big-endian ELF/ia64 binaries using p_paddr.
71         * fixed problem in fs/netfs.c causing large (>4MB) binaries to fail the Mftp() call
72 2002-06-13 Stephane Eranian <eranian@hpl.hp.com>
73         * Changed the despecialization character for the variables from \\ to &
74           to avoid conflicts with \\ as a path separator
75 2002-06-11 Stephane Eranian <eranian@hpl.hp.com>
76         * fixed the return value in efi_main(). elilo was always returning
77           success even in case of failure. Bug reported by Egan Ford <egan@sense.net>
78         * applied patch from Richard Hirst <rhirst@linuxcare.com> to fix an
79           initialization bug in choosers/textmenu.c 
80         * applied patch from Richard Hirst <rhirst@linuxcare.com> to make elilo
81           compliant with EFI spec with regards to where it looks for files.
82           With this patch, elilo will look in the directory it was loaded
83           from, not on the root of the partition anymore.
84 2002-03-04 Stephane Eranian <eranian@hpl.hp.com>
85         * released version 3.2
86         * cleanup some GNU extension in fs/ext2fs.c (variable size array)
87         * updated all documentation. Added netbooting.txt, simple_chooser.txt,
88           eliloalt.txt, elilovar.txt
89 2002-02-21 Stephane Eranian <eranian@hpl.hp.com>
90         * added a Linux utility program (elilovar in tools) to set/read/delete 
91           the EliloAlt EFI variable used to specify an alternate kernel to boot.
92         * rename DBG_PRINT() to DBG_PRT, PRINT_ERR() to ERR_PRT()
93         * added support for hostname,domain name extraction in fs/netfs.c
94         * fixed all known bugs in alternate.c
95         * integrated patch from SGI to fix load offset for relocatable kernels (Jack Steiner, Brent Casavant)
96 2002-02-21 Michael Johnston <michael.johnston@intel.com> and Chris Ahna <christopher.j.ahna@intel.com>
97         * major update to ia32 support: can now boot 2.4.x,  and 2.2.x kernels
98 2002-02-20 Stephane Eranian <eranian@hpl.hp.com>
99         * fixed missing netfs_fd_free() in case of file not found in netfs.c
100 2002-02-19 Stephane Eranian <eranian@hpl.hp.com>
101         * added support for substitution variables (vars.c)
102         * changed the bootparam structure size back to 4kB
103         * added support to simple to print final command line option with tab key
104         * got rid of all the \r characters in strings use only \n (adjust emulator)
105         * added EFICRT0 variable in Makefile to indicate location of loader script+crt0
106 2002-02-14 Stephane Eranian <eranian@hpl.hp.com>
107         * added support for message= option to simple chooser
108         * added support for description= option to simple chooser
109 2002-02-13 Stephane Eranian <eranian@hpl.hp.com>
110         * choosers/textmenu.c: new textmenu chooser (by rhirst@linuxcare.com) used by Debian
111         * config.c: added support for dynamic global/per-image option management
112         * ia64/plain_loader.c,ia64/gzip.c: fix load_offset (<bcasavan@sgi.com>)
113         * added cmd line (-E) and config option (noedd30) to not set EDD30 EFI variable to 
114           true if not already TRUE (request by Matt_Domsch@dell.com)
115         * added support for multiple devname schemes and probing
116
117 2002-01-31 Stephane Eranian <eranian@hpl.hp.com>
118         * cleaned up alternate.c
119         * added support for ctrl-U (clear line) in chooser/simple.c 
120
121 2002-01-25 Stephane Eranian <eranian@hpl.hp.com>
122         * added support for architecture specific config file (elilo-ia64.conf, elilo-ia32.conf).
123
124 2002-01-13 Stephane Eranian <eranian@hpl.hp.com>
125         * removed call to Reset() in ext2fs.c
126
127 2001-08-17 Stephane Eranian <eranian@hpl.hp.com>
128         * released 3.1
129         * added support for command line architecture specific options:
130           sysdeps_get_cmdline_opts(), sysdeps_print_cmdline_opts(),
131           syspdeps_getopt()
132         * added IA-64 command line option (-r) for relocation
133         * fix behavior when kernel specified on command line but prompt
134           mode was specified in config file. In this case, we now autoboot
135           and ignore the prompt directive.
136         * updated elilo.txt
137 2001-08-15  Brent Casavant <bcasavan@sgi.com>
138         * fix a bug in config.c:find_option() where it would do
139           a strXcmp() on a NULL string.
140
141 2001-08-01  Stephane Eranian <eranian@hpl.hp.com>
142         * fixed bug in fs/netfs.c where it would not handle the small buffer 
143           error correctly. The retry path was not allocating a bigger buffer.
144         * Global config options are now used if the user specifies a non-label
145           load target, i.e. a kernel image file.
146         * added support for architecture dependent config file image options (sys_img_options_t).
147         * added support for setjmp/longjmp.
148         * added support for aborting during a compressed load
149         * added support for user to abort a load of a compressed file.
150         * added 2 new ia-64 only config file options allowing kernel relocation: 
151           'relocatable' as a global or per image option.
152         * added support for kernel relocation on memory error. Based on code from 
153           Brent Casavant <bcasavan@sgi.com>.
154         * added slash/backslash conversion for filenames on vfat filesystems.
155
156 2001-07-23  Stephane Eranian <eranian@hpl.hp.com>
157         * fixed error in netfs.c where the kernel name was not correctly set in
158           netfs_query_layer()
159         * fixed to wait_timeout() to correct the problem with the interactive prompt when
160           return is hit directly when no text
161         * fixed command line argument destruction problem, now we make a copy of them. This
162           was affecting elilo when called directly from bootmanager with NVRAM options.
163
164 2001-06-28  Stephane Eranian <eranian@hpl.hp.com>
165         * removed W2U() hack to get from wide-char to unicode. Use -fshort-wchar option instead.
166         * split gnu-efi package in two different packages: the libary+include+crt and the bootloader.
167         * restructured the fileops module. Now use direct function calls.
168         * added support for accessing files on different devices.
169         * fixed a buffer leak in simple_chooser.c. Renamed simple_chooser.c to simple.c.
170         * created a strops.c file to incorporate all string operations functions.
171         * added support for ext2fs filesystem.
172         * restructured code to allow additional filesystems to be added easily.
173         * cleaned up add-on chooser interface.
174         * restructured code to use the EFI protocol interface to install filesystems.
175         * added compile-time options to turn on and off specific filesystems.
176         * added support for architecture specific configuration options (elilo.conf).
177         * added fpswa option to IA-64 to designate a fpswa driver file.
178         * incoporated IA-32 support from Mike Johnston <michael.johnston@intel.com>
179         * incorporated rewritten gzip.c:flush_window() from Tony Luck <tony.luck@intel.com>
180         * added interface for custom device naming schemes (devnames directory).
181         * added support for 2 possible config file (now just on netboot). The first
182           (primary) choice uses a host specific filename based on the IP address. Suggestion
183           from Egan Ford <egan@sense.net>.
184
185 2001-04-06  Stephane Eranian <eranian@hpl.hp.com>
186
187         * incorporated patches from David and Michael Johnston at Intel
188           to get the package to compile for IA-32 linux target.
189
190         * Fixed ELILO to compile for Ia-32 (does not execute yet, though):
191           Makefile and start_kernel() function.
192
193 2001-04-06  Andreas Schwab <schwab@suse.de>
194
195         * Fixed config.c  to
196           get the timeout directive to do something. implemented the global
197           root= directive.
198
199         * Fix the efi_main() to deal with the -C option properly
200
201 2001-04-05  Stephane Eranian <eranian@hpl.hp.com>
202
203         * update efi library to latest EFI toolkit 1.02 as distributed
204           by Intel. Fixed header + library files to compile with GCC
205
206         * merged ELI and LILO (as of gnu-efi-1.1) together, mostly
207           taking the config file feature of ELI.
208
209         * renamed LILO to ELILO to make the distinction
210
211         * restructured code to make it easier to understand and maintain
212
213         * fixed FPSWA driver checking and loading: we try all possible
214           files and let the driver itself figure out if it is the most
215           recent.
216         * added support for compression (gzip) but keep support for plain
217           ELF image. ELILO autodetects the format
218
219         * change the way the kernel is invoked. Now we call it in 
220           physical memory mode. This breaks the dependency between the
221           kernel code and the loader. No more lilo_start.c madness.
222
223         * changed the way the boot_params are passed. We don't use the 
224           ZERO_PAGE_ADDR trick anymore. Instead we use EFI runtime memory.
225           The address of the structure is passed to the kernel in r28
226           by our convention.
227
228         * released as gnu-efi-2.0
229
230 2001-04-03  David Mosberger  <davidm@hpl.hp.com>
231
232         * gnuefi/reloc_ia32.c (_relocate): Change return type from "void"
233         to "int".  Return error status if relocation fails for some
234         reason.
235
236         * gnuefi/elf_ia32_efi.lds: Drop unneeded ".rel.reloc" section.
237
238         * gnuefi/crt0-efi-ia32.S (_start): Exit if _relocate() returns with
239         non-zero exit status.
240
241         * inc/ia32/efibind.h [__GNUC__]: Force 8-byte alignment for 64-bit
242         types as that is what EFI appears to be expecting, despite the
243         "#pragma pack()" at the beginning of the file!
244
245 2001-03-29  David Mosberger  <davidm@hpl.hp.com>
246
247         * gnuefi/reloc_ia32.c: Add a couple of defines to work around
248         libc/efilib collision on uint64_t et al.
249         (_relocate): Use ELF32_R_TYPE() instead of ELFW(R_TYPE)().
250
251         * gnuefi/crt0-efi-ia32.S (dummy): Add a dummy relocation entry.
252
253 2001-03-29  David Mosberger  <davidm@hpl.hp.com>
254
255         * gnuefi/reloc_ia32.c: Add a couple of defines to work around
256         libc/efilib collision on uint64_t et al.
257         (_relocate): Use ELF32_R_TYPE() instead of ELFW(R_TYPE)().
258
259         * gnuefi/crt0-efi-ia32.S (dummy): Add a dummy relocation entry.
260
261 2000-10-26  David Mosberger  <davidm@hpl.hp.com>
262  
263         * gnuefi/elf_ia64_efi.lds: Mention .rela.sdata.
264  
265         * Make.defaults (CFLAGS): Remove -nostdinc flags so we can pick
266         up the C compiler's stdarg.h.
267  
268         * inc/stdarg.h: Remove this file.  It's not correct for gcc (nor
269         most other optimizing compilers).
270
271 2000-10-10  Stephane Eranian <eranian@hpl.hp.com>
272
273         * cleaned up the error message and printing of those.
274         * added support to load the FPSWA from a file in case support is not
275           present in the firmware already
276         * fixed split_args() to do the right thing when you have leading spaces
277           before kernel name
278         * changed the argify() function to rely on \0 instead of LoadOptionSize
279           as the field seems to be broken with current firmware
280         * bumped version to 1.0
281
282 2000-10-04  David Mosberger  <davidm@hpl.hp.com>
283  
284         * gnuefi/reloc_ia64.S: Reserve space for up to 750 function descriptors.
285
286         * gnuefi/elf_ia64_efi.lds: Add .sdata section for small data and
287         put __gp in the "middle" of it.
288
289         * gnuefi/crt0-efi-ia64.S (_start): Use movl/add to load
290         gp-relative addresses that could be out of the range of the addl
291         offset.
292         * gnuefi/reloc_ia64.S (_relocate): Ditto.
293
294         * apps/Makefile: Remove standard rules and include Make.rules instead.
295         * lilo/Makefile: Ditto.
296
297         * Make.rules: New file.
298
299 2000-08-04  Stephane Eranian <eranian@hpl.hp.com>
300         * released version 0.9
301         * incorporated ACPI changes for Asuza by NEC < kouchi@hpc.bs1.fc.nec.co.jp>
302         * added support for initrd (-i option) original ELI code from Bill Nottingham <notting@redhat.com>)
303         * lots of cleanups 
304         * got rid of #ifdef LILO_DEBUG and uses macro instead
305         * fix a few extra memory leaks in create_boot_params()
306         * added exit capability just before starting the kernel
307
308 2000-06-22  David Mosberger  <davidm@hpl.hp.com>
309
310         * gnuefi/elf_ia64_efi.lds: Add .srodata, .ctors, .IA64.unwind,
311         .IA64.unwind_info to .data section and .rela.ctors to .rela
312         section.
313
314 2000-04-03  David Mosberger  <davidm@hpl.hp.com>
315
316         * lilo/lilo.c (LILO_VERSION): Up version number to 0.9.
317
318         * gnuefi/elf_ia64_efi.lds: Include .IA_64.unwind and
319         .IA_64.unwind_info in .data segment to avoid EFI load error
320         "ImageAddress: pointer outside of image" error due to the .dynsym
321         relocations against these sections.
322
323         * ChangeLog: Moved from lilo/ChangeLogs.
324
325         * gnuefi/reloc_ia64.S: fixed typo: .space directive had constant
326         100 hardcoded instead of using MAX_FUNCTION_DESCRIPTORS
327         macro. Duh.
328
329 Fri Mar 17 15:19:18 PST 2000 Stephane Eranian <eranian@hpl.hp.com>
330
331         * Released 0.8
332         * replace the  getopt.c with new version free with better license
333         * created a documentation file
334         * fix a couple of memory leaks
335         * code cleanups
336         * created a separate directory for lilo in the gnu-efi package.
337         * added support for the BOOT_IMAGE argument to kernel
338         * default is to build natively now