1 commit 6e6bf6fc7665851798a6c2c92893ebb629e42aff
2 Author: Matt Domsch <Matt_Domsch@dell.com>
3 Date: Fri Jan 11 15:08:12 2008 -0600
5 replacing elilo < 3.6-6, not -5
7 per conversation with clumens.
9 commit 4c1fd35da4d0478074e08c10225eb590576acf91
10 Author: Matt Domsch <Matt_Domsch@dell.com>
11 Date: Thu Jan 3 12:19:28 2008 -0600
13 RPM spec rewrite for Fedora inclusion
15 efibootmgr is being split out of the elilo SRPM in Fedora, into its
18 commit 833cf4c1266ef72357948299008a22bfb80aa3f3
19 Author: Matt Domsch <Matt_Domsch@dell.com>
20 Date: Thu Jan 3 12:18:31 2008 -0600
26 take an EXTRA_CFLAGS argument so rpmbuild can give us it's CFLAGS
27 without overriding ours.
29 exclude .git and *~ files from the tarball.
31 commit f0a8b91ba45ff4cf251805cc29aed4f8672c1801
32 Author: Matt Domsch <Matt_Domsch@dell.com>
33 Date: Thu Jan 3 12:16:35 2008 -0600
35 src/lib/efi.c: include linux/types.h
39 commit f387d5c5bde5d7129e41638e92faa2d38b7ad5a1
40 Author: Matt Domsch <Matt_Domsch@dell.com>
41 Date: Thu Jan 3 12:15:18 2008 -0600
43 make sure GPT_HEADER_SIGNATURE is a 64-bit value
45 patch from Debian / Ubuntu 0.5.3-3ubuntu1.
47 commit 7b53efa45112f28e97451bdc16e6c6a68740bd79
48 Author: Matt Domsch <Matt_Domsch@dell.com>
49 Date: Mon Nov 12 13:31:32 2007 -0600
51 avoid more unaligned access warnings
53 commit 048197821f9ae2ef9e0c2bd4065649e72332e2dc
54 Author: Matt Domsch <Matt_Domsch@dell.com>
55 Date: Mon Nov 12 12:25:42 2007 -0600
57 cleanup a few unaligned access warnings
59 commit fa3942b34f1533659af8fe3f6fffb3b4acf4ee10
60 Author: Matt Domsch <Matt_Domsch@dell.com>
61 Date: Mon Nov 12 12:12:37 2007 -0600
63 cleanup exit values a little
65 commit c7e236783a79b6977df0ba03db0f92fabffc4b31
66 Author: Doug Chapman <doug.chapman@hp.com>
67 Date: Mon Nov 12 11:32:12 2007 -0500
69 patch to make efibootmgr have non-zero exit code on errors
71 We have some automated tools that use efibootmgr which are having a hard
72 time detecting when efibootmgr fails since it exits with 0 on many
73 failures. This patch catches (most) errors and exits with non-zero. I
74 also added several error messages for to make it more obvious what was
75 wrong with the command line arguments.
77 Signed-off-by: Matt Domsch <Matt_Domsch@dell.com>
79 commit ecd3c24cb6bee5072ff6d1292456ee3b2cc91019
80 Author: Matt Domsch <Matt_Domsch@dell.com>
81 Date: Mon Jul 9 16:47:50 2007 +0000
83 add -lz to libs, needed when libpci happens to need it
85 commit e192a055e0803263b71f89db732de73d5cf4de9b
86 Author: Matt Domsch <Matt_Domsch@dell.com>
87 Date: Mon Jul 9 16:23:34 2007 +0000
89 apply patch from Dave Jiang <djiang@mvista.com> to enable cross-building
91 commit 0ee8ecc10109b91d0a77098d5596f56780c862d8
92 Author: Matt Domsch <Matt_Domsch@dell.com>
93 Date: Thu Aug 11 17:37:04 2005 +0000
97 * Thu Aug 11 2005 Matt Domsch <Matt_Domsch@dell.com>
98 - applied patch from Rogerio Timmers which adds a new option -@ <file>,
99 which takes extra variable parameters from <file>, or - from stdin.
100 This lets you pass binary (non-unicode, non-ascii) formatted options to
102 - cleaned up Rogerio's patch some.
103 - moved definition of _FILE_OFFSET_BITS=64 into Makefile and out of the
104 individual .c files. This fixes a bug reported by Red Flag, where
105 variable data was getting incorrectly set with a 32-bit copy of
106 efibootmgr on a 32-bit kernel.
107 - made efi_variable_t.DataSize be an unsigned long to match the kernel.
108 This lets a 32-bit copy of efibootmgr run on a 32-bit kernel. This
109 means you've got to have a 32-bit efibootmgr on a 32-bit kernel, and a
110 64-bit efibootmgr on a 64-bit kernel, but since efi_status_t is also a
111 long, this was really going to be the case anyway.
112 - valgrind caught the app exiting without freeing some malloc'd
113 structures, fix that.
114 - v0.5.2.2 released for testing
117 * Fri May 20 2005 Matt Domsch <Matt_Domsch@dell.com>
118 - applied patch from Andreas Schwab to properly parse PCI
119 domain:bus:device.fn info in netboot entries. Fixed up return value
120 when creating network boot entries for nonexistant devices, so the
121 creation now fails, rather than succeeding with incorrect data.
124 * Tue Mar 08 2005 Matt Domsch <Matt_Domsch@dell.com>
125 - applied patch from Alex Williamson for handling BootXXXX values
126 using uppercase hex rather than lowercase, per EFI 1.10 spec.
127 - this also allows the full 65k boot entries, rather than requiring all
128 entries to begin with a zero.
131 * Thu Aug 26 2004 Matt Domsch <Matt_Domsch@dell.com>
132 - v0.5.0-test4 released as v0.5.0 with no code changes
134 * Wed Jun 07 2004 Matt Domsch <Matt_Domsch@dell.com>
135 - Fixed bug where read_boot_order() would wrongly return EFI_NOT_FOUND
136 when it needed to create a new BootOrder variable. Reported by Micah Parrish.
137 - Added code to recursively walk the PCI bus putting parent PCI bridges
138 in. This is necessary for Dell PowerEdge 3250 and 7250 servers and
139 Intel Tiger2 and Tiger4 platforms when creating PXE boot entries for
140 the onboard NICs, and if creating EDD30 boot path entries. Work by Matt
142 - Note, efibootmgr now requires libpci for building.
143 - Released v0.5.0-test4
145 * Sat Apr 24 2004 Matt Domsch <Matt_Domsch@dell.com>
146 - Fixed reversed logic of create_or_edit_variable which prevented object
147 creation or editing on sysfs.
148 - Removed debug printfs in sysfs read/write commands.
149 - Released v0.5.0-test3
151 * Thu Feb 04 2004 Matt Domsch <Matt_Domsch@dell.com>
152 - removed -t short option for --test
153 - added -t <timeout> and -T delete timeout options
154 - updated man page and README about the timeout options
155 - Released v0.5.0-test2
157 * Tue Sep 09 2003 Matt Domsch <Matt_Domsch@dell.com>
158 - Released v0.5.0-test1
160 * Thu Sep 04 2003 Matt Domsch <Matt_Domsch@dell.com>
161 - Seperated access to variables through /proc into efivars_procfs.[ch]
162 - Added efivars_sysfs.h to access variables through sysfs.
163 - Moved around some functions, cleaned up some duplication.
165 * Thu Sep 04 2003 Matt Domsch <Matt_Domsch@dell.com>
166 - released v0.4.2-test2 as v0.4.2 without additional changes.
168 * Mon Aug 11 2003 Matt Domsch <Matt_Domsch@dell.com>
169 - fixed unaligned access errors
170 - removed extraneous printing of mac addr when creating netboot entries
171 - sync docbook to README
172 - whitespace cleanups
174 * Thu Jul 31 2003 Matt Domsch <Matt_Domsch@dell.com>
175 - Applied patch from Dann Frazier to enable creating netboot entries.
176 - update AUTHORS with Dann's netboot contribution.
177 - Until we can get the ACPI HID and UID programatically, make the user
178 pass them in when creating a netboot entry.
179 - Add O_DIRECT support for reading the disk.
180 - Fix unparse_hardware_path() for the PCI case - the device and function
181 values were printed in reverse order.
182 - Fix the README file to reflect all the options that can be passed, and
183 add a new item for netboot entries.
184 - whitespace cleanups
186 * Fri Oct 25 2002 Matt Domsch <Matt_Domsch@dell.com>
187 - trivial patch from Fabien Lebaillif - Delamare <fabien@quadric.com>
188 increases the length of the boot option description from 40 to 64 bytes.
190 * Tue Oct 22 2002 Matt Domsch <Matt_Domsch@dell.com>
191 - ran docbook2man on the man page Dann Frazier created
192 - Added man page to spec file
193 - Added patches from Dann Frazier
194 - Removes the requirement to be root to run efibootmgr. This lets
195 mortal users run efibootmgr to check the version, and see the
196 --help output. It should also allow efibootmgr to work under
197 security systems without the strict root/non-root dichotomy.
198 - Checks to see if a boot option was specified when a boot option
199 deletion was requested.
200 - Released version 0.4.1
202 * Sun Jul 21 2002 Matt Domsch <Matt_Domsch@dell.com>
203 - Added kernel_has_blkgetsize64() test, now uses BLKGETSIZE64 if on a
204 known-good kernel. This is important when the Large Block Device (64-bit
205 block address) patch gets merged into the 2.5 kernel.
207 * Wed May 1 2002 Matt Domsch <Matt_Domsch@dell.com>
208 - Released version 0.4.0
210 * Tue Apr 30 2002 Matt Domsch <Matt_Domsch@dell.com>
211 - Added some printfs to compare_gpts().
213 * Mon Apr 08 2002 Matt Domsch <Matt_Domsch@dell.com>
214 - Make sure partition number arg is in the GPT disk.
215 - Added a few more _FILE_OFFSET_BITS defines where needed
217 * Fri Apr 05 2002 Matt Domsch <Matt_Domsch@dell.com>
218 - Added syncs to make tarball target so NFS is current and CVS dirs get
219 deleted before the tarball is made.
220 - Added a few __leXX_to_cpu() calls in code currently commented out in gpt.c
222 * Tue Apr 02 2002 Matt Domsch <Matt_Domsch@dell.com>
223 - finished conversion to GPT code
225 * Sat Mar 30 2002 Matt Domsch <Matt_Domsch@dell.com>
226 - began conversion to GPT code in post-2.4.18 and post-2.5.7 kernels.
227 - added manpage contributed by dannf@fc.hp.com
229 * Mon Feb 11 2002 Matt Domsch <Matt_Domsch@dell.com>
230 - BLKGETSIZE64 is fixed in 2.4.18-pre8 and 2.5.4-pre3. Wait a bit longer
232 - added list_for_each_safe() routine. It's needed in the boot
233 var deletion routine, though it was already breaking out once found.
234 - changed struct list_head to list_t
235 - released v0.4.0-test4
237 * Fri Jan 18 2002 Matt Domsch <Matt_Domsch@dell.com>
238 - commented out BLKGETSIZE64 ioctl use for now. Kernels 2.4.15-2.4.18 and
239 2.5.0-2.5.3 don't return the right value.
241 * Thu Jan 3 2002 Matt Domsch <Matt_Domsch@dell.com>
242 - added back in read last sector IOCTL hack, but only after read() fails.
243 - released v0.4.0-test4
245 * Thu Jan 3 2002 Matt Domsch <Matt_Domsch@dell.com>
247 - released v0.4.0-test3
249 * Wed Jan 2 2002 Matt Domsch <Matt_Domsch@dell.com>
250 - Changed PROC_DIR_EFI to PROC_DIR_EFI_VARS
251 - write_variable() now searches /proc/efi/vars for a variable that's not
252 the one being written. The EFI 1.1 sample implementation changed the
253 name of the "victim" being written to (was Efi-xxxxx, now EFI-xxxxx), so
254 previous versions of efibootmgr don't work with the new firmware. This
256 - released v0.4.0-test2
258 * Fri Dec 7 2001 Matt Domsch <Matt_Domsch@dell.com>
259 - Removed read last sector ioctl hack, it's not needed anymore. The
260 kernel takes care of it for us with a new patch.
261 - Added test for valid PMBR, similar to parted and the kernel.
262 - Added test for returning size of block device as a u64.
263 - Added test for returning sector size as int, and use that.
264 - Changed GPT struct and member names to be more Linux-like.
265 - added -g option to force disk with invalid PMBR to be treated as GPT anyhow.
266 - released v0.4.0-test1
268 * Thu Aug 9 2001 Matt Domsch <Matt_Domsch@dell.com>
269 - Added some uniqueness to the MBR signature.
270 - removed ExclusiveArch from spec file
273 * Mon Aug 6 2001 Matt Domsch <Matt_Domsch@dell.com>
274 - applied patch from Richard Hirst <rhirst@linuxcare.com> to fix
275 efichar_char_strcmp().
278 * Fri Aug 3 2001 Matt Domsch <Matt_Domsch@dell.com>
279 - By request, warn when creating a new boot entry with the same name
280 as another boot entry.
283 * Mon Jul 30 2001 Matt Domsch <Matt_Domsch@dell.com>
284 - Added test for non-zero signature on MBR-style disks,
285 and new -w flag to write a unique signature to the disk if so.
286 - released v0.3.3-test4
287 - Fixed counting of optional data length (extra args)
288 - released v0.3.3-test5
290 * Fri Jul 27 2001 Matt Domsch <Matt_Domsch@dell.com>
291 - Added test for running as root
292 - released v0.3.3-test3
294 * Thu Jul 26 2001 Matt Domsch <Matt_Domsch@dell.com>
295 - Unparse extra args being passed to bootloader too.
296 - released v0.3.3-test2
298 * Wed Jul 25 2001 Matt Domsch <Matt_Domsch@dell.com>
299 - Added -u option to pass extra args to the bootloader in unicode
300 (default is to pass in ASCII)
301 - Added -t option to allow writing to a file (for testing)
302 - released v0.3.3-test1
304 * Tue May 22 2001 Matt Domsch <Matt_Domsch@dell.com>
305 - Applied patch from Andreas Schwab. remove_from_boot_order() called
306 read_boot_order() without checking the return status.
307 - Changed README to remove os loader args comment
308 - Changed efi_status_t to be unsigned long (not uint64_t) as per EFI
309 spec. This allows efibootmgr to be recompiled as a 32-bit or 64-bit app
310 depending on its running on 32-bit or 64-bit Linux. Note: this changes
311 the size of the structure returned in /proc/efi/vars to match the kernel
312 implementation. 32-bit efibootmgr won't work on 64-bit Linux and vice versa.
315 * Fri May 18 2001 Matt Domsch <Matt_Domsch@dell.com>
316 - changed usage() to *not* let you think you can pass args to the OS
320 * Fri May 18 2001 Matt Domsch <Matt_Domsch@dell.com>
321 - Padded HARDDRIVE_DEVICE_PATH out to please EFI Boot Manager.
322 - Incorporated patches from Andreas Schwab
323 - replace __u{8,16,32,64} with uint{8,16,32,64}_t
324 - use _FILE_OFFSET_BITS
328 * Tue May 15 2001 Matt Domsch <Matt_Domsch@dell.com>
329 - initial external release v0.2.0