platform/upstream/gummiboot.git
11 years agoMakefile: add gummiboot-setup to 'install'
Kay Sievers [Tue, 12 Feb 2013 15:28:28 +0000 (16:28 +0100)]
Makefile: add gummiboot-setup to 'install'

11 years agosetup: add basic installer/updater tool
Lennart Poettering [Tue, 12 Feb 2013 05:33:29 +0000 (06:33 +0100)]
setup: add basic installer/updater tool

11 years agoversion 19 19
Kay Sievers [Mon, 11 Feb 2013 02:38:31 +0000 (03:38 +0100)]
version 19

11 years agoexport executed image path to the running OS
Kay Sievers [Fri, 8 Feb 2013 14:37:26 +0000 (15:37 +0100)]
export executed image path to the running OS

11 years agoexport firmware environment data to show in the running OS
Kay Sievers [Fri, 8 Feb 2013 14:07:46 +0000 (15:07 +0100)]
export firmware environment data to show in the running OS

11 years agoversion 18 18
Kay Sievers [Fri, 8 Feb 2013 02:22:40 +0000 (03:22 +0100)]
version 18

11 years agofix 32-bit non-booting issue
Daniel Leung [Thu, 7 Feb 2013 23:08:33 +0000 (15:08 -0800)]
fix 32-bit non-booting issue

The GCC linker is sensitive to the order of objects specified in
its input. The resulting gummitboot binary cannot be booted on
system with 32-bit UEFI BIOS. This issue is seen on both GCC
4.6.2 and 4.7.3, with binutils 2.23.1.

This changes the libgcc.a to be specified at the end when linking.

11 years agodo not use unicode chars in console mode, some firmware has only ASCII fonts
Kay Sievers [Wed, 6 Feb 2013 20:21:04 +0000 (21:21 +0100)]
do not use unicode chars in console mode, some firmware has only ASCII fonts

11 years agoMakefile: move dependencies for test image
Kay Sievers [Wed, 6 Feb 2013 20:05:29 +0000 (21:05 +0100)]
Makefile: move dependencies for test image

11 years agocreate simple disk image for 'make test'
root [Wed, 6 Feb 2013 12:42:18 +0000 (13:42 +0100)]
create simple disk image for 'make test'

11 years agoinclude "machine type short-name" in the filename, like gummibootx64.efi, gummibootia...
Kay Sievers [Wed, 6 Feb 2013 00:18:05 +0000 (01:18 +0100)]
include "machine type short-name" in the filename, like gummibootx64.efi, gummibootia32.efi

11 years agoversion 17 17
Kay Sievers [Sun, 3 Feb 2013 18:03:33 +0000 (19:03 +0100)]
version 17

11 years agouse correct variable in str_verscmp()
Kay Sievers [Sun, 3 Feb 2013 17:51:37 +0000 (18:51 +0100)]
use correct variable in str_verscmp()

11 years agodraw menu at the center of the screen
Kay Sievers [Sun, 3 Feb 2013 17:08:40 +0000 (18:08 +0100)]
draw menu at the center of the screen

11 years agoversion 16 16
Kay Sievers [Thu, 24 Jan 2013 09:20:58 +0000 (10:20 +0100)]
version 16

11 years agouse "USec" instead of "Usec"
Kay Sievers [Thu, 24 Jan 2013 08:59:01 +0000 (09:59 +0100)]
use "USec" instead of "Usec"

11 years agoadd web link to the CPU documentation
Kay Sievers [Wed, 23 Jan 2013 02:35:37 +0000 (03:35 +0100)]
add web link to the CPU documentation

11 years agoversion 15 15
Kay Sievers [Wed, 23 Jan 2013 01:22:47 +0000 (02:22 +0100)]
version 15

11 years agoexport proper microseconds instead of "ticks"
Kay Sievers [Wed, 23 Jan 2013 00:53:24 +0000 (01:53 +0100)]
export proper microseconds instead of "ticks"

11 years agoversion 14 14
Kay Sievers [Tue, 22 Jan 2013 13:19:57 +0000 (14:19 +0100)]
version 14

11 years agoinclude magic string to find version number in the binary
Kay Sievers [Tue, 22 Jan 2013 03:22:39 +0000 (04:22 +0100)]
include magic string to find version number in the binary

11 years agodump: suppress output for unset value
Kay Sievers [Tue, 22 Jan 2013 03:22:10 +0000 (04:22 +0100)]
dump: suppress output for unset value

11 years agouse gcc's -Wextra
Kay Sievers [Tue, 22 Jan 2013 03:19:15 +0000 (04:19 +0100)]
use gcc's -Wextra

11 years agoversion 13 13
Kay Sievers [Mon, 21 Jan 2013 23:55:24 +0000 (00:55 +0100)]
version 13

11 years agouse git archive
Kay Sievers [Mon, 21 Jan 2013 23:55:00 +0000 (00:55 +0100)]
use git archive

11 years agoexport automatically added entries in an EFI variable
Kay Sievers [Mon, 21 Jan 2013 23:22:21 +0000 (00:22 +0100)]
export automatically added entries in an EFI variable

11 years agoskip check if entry->machine_id is not set
Kay Sievers [Mon, 21 Jan 2013 21:22:38 +0000 (22:22 +0100)]
skip check if entry->machine_id is not set

11 years agoversion 12 12
Kay Sievers [Mon, 21 Jan 2013 20:53:09 +0000 (21:53 +0100)]
version 12

11 years agorecognize LoaderEntryOptions{,OneShot}-$machine-id EFI variables
Kay Sievers [Mon, 21 Jan 2013 20:41:45 +0000 (21:41 +0100)]
recognize LoaderEntryOptions{,OneShot}-$machine-id EFI variables

11 years agoturn "title-machine" and "title-version" into proper "machine-id" and "version"
Kay Sievers [Mon, 21 Jan 2013 20:40:19 +0000 (21:40 +0100)]
turn "title-machine" and "title-version" into proper "machine-id" and "version"

11 years agoTODO update
Kay Sievers [Mon, 21 Jan 2013 20:39:17 +0000 (21:39 +0100)]
TODO update

11 years agoadd missing break;
Kay Sievers [Sat, 19 Jan 2013 20:31:45 +0000 (21:31 +0100)]
add missing break;

11 years agoversion 11 11
Kay Sievers [Sat, 19 Jan 2013 20:22:12 +0000 (21:22 +0100)]
version 11

11 years agoexport LoaderDevicePartUUID=
Kay Sievers [Sat, 19 Jan 2013 19:27:31 +0000 (20:27 +0100)]
export LoaderDevicePartUUID=

11 years agoversion 10 10
Kay Sievers [Thu, 17 Jan 2013 06:26:43 +0000 (07:26 +0100)]
version 10

11 years agoversion 9 9
Kay Sievers [Thu, 6 Dec 2012 14:47:24 +0000 (15:47 +0100)]
version 9

11 years agosecure boot: signal security error back to the caller
James Bottomley [Thu, 6 Dec 2012 11:37:13 +0000 (11:37 +0000)]
secure boot: signal security error back to the caller

I needed a modification to gummiboot: it has to signal back to the
calling program that it had a security error so that the original loader
can ask the user to enrol the hash of the kernel for booting.

11 years agoversion 8 8
Kay Sievers [Wed, 31 Oct 2012 11:54:13 +0000 (12:54 +0100)]
version 8

11 years agoproperly skip empty lines in config files
Kay Sievers [Wed, 31 Oct 2012 11:53:22 +0000 (12:53 +0100)]
properly skip empty lines in config files

11 years agodo not count backwards with for (;;) and unsigned, it does not stop
Kay Sievers [Tue, 30 Oct 2012 22:39:54 +0000 (23:39 +0100)]
do not count backwards with for (;;) and unsigned, it does not stop

11 years agoenable signed/unsigned warnings
Kay Sievers [Tue, 30 Oct 2012 22:39:35 +0000 (23:39 +0100)]
enable signed/unsigned warnings

11 years agoadd missing = NULL initializers
Kay Sievers [Tue, 30 Oct 2012 11:52:43 +0000 (12:52 +0100)]
add missing = NULL initializers

11 years agoversion 7 7
Kay Sievers [Fri, 12 Oct 2012 11:18:27 +0000 (13:18 +0200)]
version 7

11 years agofix memory leaks
Felipe Contreras [Thu, 11 Oct 2012 23:55:47 +0000 (01:55 +0200)]
fix memory leaks

11 years agostandardize error checks
Felipe Contreras [Thu, 11 Oct 2012 23:55:46 +0000 (01:55 +0200)]
standardize error checks

11 years agoconfig_default_entry_select: get rid of unconditional curly braces block
Kay Sievers [Thu, 11 Oct 2012 15:55:27 +0000 (17:55 +0200)]
config_default_entry_select: get rid of unconditional curly braces block

11 years agoMakefile: test - create subdirectory
Kay Sievers [Thu, 11 Oct 2012 15:54:29 +0000 (17:54 +0200)]
Makefile: test - create subdirectory

11 years agoFix conditional loop when there are no entries
Felipe Contreras [Thu, 11 Oct 2012 17:42:11 +0000 (19:42 +0200)]
Fix conditional loop when there are no entries

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
11 years agoversion 6 6
Kay Sievers [Sun, 9 Sep 2012 22:26:10 +0000 (00:26 +0200)]
version 6

11 years agoadd OS X to the boot options list
Kay Sievers [Sun, 9 Sep 2012 22:16:12 +0000 (00:16 +0200)]
add OS X to the boot options list

11 years agoignore case when comparing the loaded image location
Kay Sievers [Wed, 5 Sep 2012 01:24:58 +0000 (03:24 +0200)]
ignore case when comparing the loaded image location

11 years agodo not auto-select automatically added entries
Kay Sievers [Wed, 5 Sep 2012 01:08:49 +0000 (03:08 +0200)]
do not auto-select automatically added entries

11 years agouncomment -mno-red-zone
Kay Sievers [Fri, 27 Jul 2012 08:01:01 +0000 (10:01 +0200)]
uncomment -mno-red-zone

11 years agoversion 5 5
Kay Sievers [Wed, 18 Jul 2012 17:59:32 +0000 (19:59 +0200)]
version 5

11 years agoforce EFI text mode when entering the menu
Kay Sievers [Wed, 18 Jul 2012 17:58:46 +0000 (19:58 +0200)]
force EFI text mode when entering the menu

11 years agoMakefile: change comment about fstab
Kay Sievers [Wed, 18 Jul 2012 17:18:34 +0000 (19:18 +0200)]
Makefile: change comment about fstab

11 years agoadd "title-version", "title-machine" to non-unique menu "title"s
Kay Sievers [Sat, 14 Jul 2012 22:15:40 +0000 (00:15 +0200)]
add "title-version", "title-machine" to non-unique menu "title"s

11 years agofix typo in comment
Kay Sievers [Sat, 14 Jul 2012 21:12:59 +0000 (23:12 +0200)]
fix typo in comment

11 years agoversion 4 4
Kay Sievers [Sat, 14 Jul 2012 21:08:48 +0000 (23:08 +0200)]
version 4

11 years agomove some code around
Kay Sievers [Sat, 14 Jul 2012 21:02:53 +0000 (23:02 +0200)]
move some code around

11 years agoupdate TODO
Kay Sievers [Sat, 14 Jul 2012 21:02:25 +0000 (23:02 +0200)]
update TODO

11 years agoprint error and exit if no loader to start can be found
Kay Sievers [Sat, 14 Jul 2012 21:01:54 +0000 (23:01 +0200)]
print error and exit if no loader to start can be found

11 years ago"EFI default loader" -> "EFI Default Loader"
Kay Sievers [Sat, 14 Jul 2012 19:47:01 +0000 (21:47 +0200)]
"EFI default loader" -> "EFI Default Loader"

11 years agoMakefile: search for gnuefi libdir
Kay Sievers [Sat, 14 Jul 2012 19:42:59 +0000 (21:42 +0200)]
Makefile: search for gnuefi libdir

11 years agoupdate TODO
Kay Sievers [Sat, 14 Jul 2012 19:13:02 +0000 (21:13 +0200)]
update TODO

11 years agoadd config entry for EFI Shell automatically
Joerg Schirottke [Sat, 14 Jul 2012 01:26:23 +0000 (03:26 +0200)]
add config entry for EFI Shell automatically

11 years agoupdate TODO
Kay Sievers [Fri, 13 Jul 2012 19:16:23 +0000 (21:16 +0200)]
update TODO

11 years agoupdate TODO
Kay Sievers [Fri, 13 Jul 2012 18:40:16 +0000 (20:40 +0200)]
update TODO

11 years agoupdate README
Kay Sievers [Fri, 13 Jul 2012 18:00:52 +0000 (20:00 +0200)]
update README

11 years agoupdate TODO
Kay Sievers [Fri, 13 Jul 2012 17:31:59 +0000 (19:31 +0200)]
update TODO

11 years agoupdate TODO
Kay Sievers [Fri, 13 Jul 2012 15:30:00 +0000 (17:30 +0200)]
update TODO

11 years agorename to loader-postinst.sh
Kay Sievers [Fri, 13 Jul 2012 14:42:24 +0000 (16:42 +0200)]
rename to loader-postinst.sh

11 years agopostinst script: tabs are as useful as a hole in the head
Kay Sievers [Fri, 13 Jul 2012 14:41:17 +0000 (16:41 +0200)]
postinst script: tabs are as useful as a hole in the head

11 years agoadd "default $vendor-*" to /loader/loader.conf
Kay Sievers [Fri, 13 Jul 2012 14:28:56 +0000 (16:28 +0200)]
add "default $vendor-*" to /loader/loader.conf

11 years agogummiboot-postinst.sh: clarified error messages
Harald Hoyer [Fri, 13 Jul 2012 12:28:35 +0000 (14:28 +0200)]
gummiboot-postinst.sh: clarified error messages

11 years agoadd TODO
Kay Sievers [Fri, 13 Jul 2012 11:38:26 +0000 (13:38 +0200)]
add TODO

11 years agodump: start "1/3" number with 1
Kay Sievers [Fri, 13 Jul 2012 11:35:34 +0000 (13:35 +0200)]
dump: start "1/3" number with 1

11 years agogummiboot-postinst.sh: s#/etc/kernel-cmdline#/etc/kernel/cmdline#g
Harald Hoyer [Fri, 13 Jul 2012 10:55:49 +0000 (12:55 +0200)]
gummiboot-postinst.sh: s#/etc/kernel-cmdline#/etc/kernel/cmdline#g

11 years agogummiboot-postinst.sh: create loader/loader.conf and code beauty
Harald Hoyer [Fri, 13 Jul 2012 10:45:11 +0000 (12:45 +0200)]
gummiboot-postinst.sh: create loader/loader.conf and code beauty

if loader/loader.conf does not exist, create it with

default *$ID*

where $ID is the distro ID in /etc/os-release.

Also turned all variables in upper case.

11 years agogummiboot-postinst.sh: cow option for cp is useless
Harald Hoyer [Fri, 13 Jul 2012 07:27:10 +0000 (09:27 +0200)]
gummiboot-postinst.sh: cow option for cp is useless

vfat does not support cow, of course

11 years agogummiboot-postinst.sh: shorten title entry
Harald Hoyer [Fri, 13 Jul 2012 06:58:27 +0000 (08:58 +0200)]
gummiboot-postinst.sh: shorten title entry

11 years agogummiboot.c: correct maximum line lenght of menu entries
Harald Hoyer [Fri, 13 Jul 2012 06:58:51 +0000 (08:58 +0200)]
gummiboot.c: correct maximum line lenght of menu entries

11 years agogummiboot-postinst.sh: add $version to title
Harald Hoyer [Fri, 13 Jul 2012 06:38:28 +0000 (08:38 +0200)]
gummiboot-postinst.sh: add $version to title

11 years agoThis is a script to be called automatically by new-kernel-pkg as
Harald Hoyer [Fri, 13 Jul 2012 06:03:10 +0000 (08:03 +0200)]
This is a script to be called automatically by new-kernel-pkg as
/etc/kernel/postinst.d/gummiboot-postinst.sh

11 years agodebug -> dump
Kay Sievers [Fri, 6 Jul 2012 01:16:11 +0000 (03:16 +0200)]
debug -> dump

11 years ago'*' dumps the internal state to the console
Kay Sievers [Fri, 6 Jul 2012 01:15:16 +0000 (03:15 +0200)]
'*' dumps the internal state to the console

11 years agocall Exit() when quitting
Kay Sievers [Fri, 6 Jul 2012 01:14:52 +0000 (03:14 +0200)]
call Exit() when quitting

11 years agobump version 3
Kay Sievers [Thu, 5 Jul 2012 23:17:26 +0000 (01:17 +0200)]
bump version

11 years agomove most of the documentation to the wiki
Kay Sievers [Thu, 5 Jul 2012 23:05:45 +0000 (01:05 +0200)]
move most of the documentation to the wiki

11 years agoLoaderDevicePath -> LoaderDeviceIdentifer
Kay Sievers [Thu, 5 Jul 2012 22:04:21 +0000 (00:04 +0200)]
LoaderDevicePath -> LoaderDeviceIdentifer

11 years agoexport LoaderDevicePath= to allow the OS to find the active ESP
Kay Sievers [Thu, 5 Jul 2012 07:24:23 +0000 (09:24 +0200)]
export LoaderDevicePath= to allow the OS to find the active ESP

11 years agoLoaderTicksStartImage -> LoaderTicksExec
Kay Sievers [Thu, 5 Jul 2012 07:23:39 +0000 (09:23 +0200)]
LoaderTicksStartImage -> LoaderTicksExec

11 years agocleanup on exit
Kay Sievers [Wed, 4 Jul 2012 18:28:00 +0000 (20:28 +0200)]
cleanup on exit

11 years agoshow firmware revision in 'v'
Kay Sievers [Wed, 4 Jul 2012 17:46:29 +0000 (19:46 +0200)]
show firmware revision in 'v'

11 years agobump version 2
Kay Sievers [Wed, 4 Jul 2012 16:13:03 +0000 (18:13 +0200)]
bump version

11 years ago'q' is quit
Kay Sievers [Wed, 4 Jul 2012 14:50:30 +0000 (16:50 +0200)]
'q' is quit

11 years agorename internal identifiers of well-known loader names to avoid clashes
Kay Sievers [Wed, 4 Jul 2012 14:27:52 +0000 (16:27 +0200)]
rename internal identifiers of well-known loader names to avoid clashes

11 years agoadd windows boot manager if we find it
Kay Sievers [Wed, 4 Jul 2012 13:56:04 +0000 (15:56 +0200)]
add windows boot manager if we find it

Also suppress the entry of a well-known loader if we are that loader
ourselves.

11 years agosimplify "initrd" handling
Kay Sievers [Tue, 3 Jul 2012 22:35:51 +0000 (00:35 +0200)]
simplify "initrd" handling

For EFI kernels, the initrd is just an option string passed, which
specifies the location of the initrds to load.

Just add all configured initrd lines to the option line, so we
support multiple initrds and can edit them in the option line.

11 years agoMakefile: add libgcc
Kay Sievers [Tue, 3 Jul 2012 20:16:19 +0000 (22:16 +0200)]
Makefile: add libgcc