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