Revision tags: v00.04.15, v00.04.14, v00.04.13, v00.04.12, v00.04.11, v00.04.10, v00.04.09, v00.04.08, v00.04.07, v00.04.06, v00.04.05, v00.04.04, v00.04.03, v00.04.02, v00.04.01, v00.04.00, v2021.04, v00.03.03, v2021.01, v2020.10, v2020.07, v00.02.13, v2020.04, v2020.01, v2019.10, v00.02.05, v00.02.04, v00.02.03, v00.02.02, v00.02.01, v2019.07, v00.02.00, v2019.04 |
|
#
f388e3be |
| 03-Dec-2018 |
Tom Rini <trini@konsulko.com> |
Merge tag 'signed-efi-next' of git://github.com/agraf/u-boot
Patch queue for efi - 2018-12-03
This release is fully packed with lots of glorious improvements in UEFI land again!
- Make PE images
Merge tag 'signed-efi-next' of git://github.com/agraf/u-boot
Patch queue for efi - 2018-12-03
This release is fully packed with lots of glorious improvements in UEFI land again!
- Make PE images more standards compliant - Improve sandbox support - Improve correctness - Fix RISC-V execution on virt model - Honor board defined top of ram (fixes a few boards) - Imply DM USB access when distro boot is available - Code cleanups
show more ...
|
#
d39646a3 |
| 25-Sep-2018 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: rename parent to header
Rename the component parent of some EFI objects to header. This avoids misunderstandings.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by:
efi_loader: rename parent to header
Rename the component parent of some EFI objects to header. This avoids misunderstandings.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
show more ...
|
#
fae0118e |
| 25-Sep-2018 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: eliminate handle member
A pointer to a struct efi_object is a handle. We do not need any handle member in this structure. Let's eliminate it.
Signed-off-by: Heinrich Schuchardt <xypron.
efi_loader: eliminate handle member
A pointer to a struct efi_object is a handle. We do not need any handle member in this structure. Let's eliminate it.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
show more ...
|
#
dee37fc9 |
| 06-Aug-2018 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
Remove <inttypes.h> includes and PRI* usages in printf() entirely
In int-ll64.h, we always use the following typedefs:
typedef unsigned int u32; typedef unsigned long uintptr_t;
Remove <inttypes.h> includes and PRI* usages in printf() entirely
In int-ll64.h, we always use the following typedefs:
typedef unsigned int u32; typedef unsigned long uintptr_t; typedef unsigned long long u64;
This does not need to match to the compiler's <inttypes.h>. Do not include it.
The use of PRI* makes the code super-ugly. You can simply use "l" for printing uintptr_t, "ll" for u64, and no modifier for u32.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
show more ...
|
Revision tags: v2018.07 |
|
#
f739fcd8 |
| 07-May-2018 |
Tom Rini <trini@konsulko.com> |
SPDX: Convert a few files that were missed before
As part of the main conversion a few files were missed. These files had additional whitespace after the '*' and before the SPDX tag and my previous
SPDX: Convert a few files that were missed before
As part of the main conversion a few files were missed. These files had additional whitespace after the '*' and before the SPDX tag and my previous regex was too strict. This time I did a grep for all SPDX tags and then filtered out anything that matched the correct styles.
Fixes: 83d290c56fab ("SPDX: Convert all of our single license tags to Linux Kernel style") Reported-by: Heinrich Schuchardt <xypron.debian@gmx.de> Signed-off-by: Tom Rini <trini@konsulko.com>
show more ...
|
Revision tags: v2018.03 |
|
#
f59ab6c6 |
| 10-Feb-2018 |
Tom Rini <trini@konsulko.com> |
Merge tag 'signed-efi-v2018.03' of git://github.com/agraf/u-boot
Patch queue for efi in 2018.03 - 2018-02-10
This time we have a few important bug fixes. Most noticable are:
- Fix OpenBSD loader
Merge tag 'signed-efi-v2018.03' of git://github.com/agraf/u-boot
Patch queue for efi in 2018.03 - 2018-02-10
This time we have a few important bug fixes. Most noticable are:
- Fix OpenBSD loader with CONFIG_BLK=n - Fix builds on various circumstances - Add missing stubs so callers don't call NULL - Bump UEFI revision to 2.7
show more ...
|
#
df9cf561 |
| 09-Feb-2018 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: correct efi_disk_register
efi_disk_register should return as status code (efi_status_t).
Disks with zero blocks should be reported as 'not ready' without throwing an error.
This patch
efi_loader: correct efi_disk_register
efi_disk_register should return as status code (efi_status_t).
Disks with zero blocks should be reported as 'not ready' without throwing an error.
This patch solves a problem running OpenBSD on system configured with CONFIG_BLK=n (e.g. i.MX6).
Reported-by: Jonathan Gray <jsg@jsg.id.au> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Tested-by: Jonathan Gray <jsg@jsg.id.au> Signed-off-by: Alexander Graf <agraf@suse.de>
show more ...
|
#
a516416d |
| 23-Jan-2018 |
Tom Rini <trini@konsulko.com> |
Merge tag 'signed-efi-next' of git://github.com/agraf/u-boot
Patch queue for efi - 2018-01-23
This time around we have a lot of EFI patches from Heinrich. Highlights are:
- Allow EFI application
Merge tag 'signed-efi-next' of git://github.com/agraf/u-boot
Patch queue for efi - 2018-01-23
This time around we have a lot of EFI patches from Heinrich. Highlights are:
- Allow EFI applications to register as drivers - Allow exposure of U-Boot block devices from an EFI payload - Compatibility improvements
show more ...
|
#
4f94865b |
| 19-Jan-2018 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: correct EFI_BLOCK_IO_PROTOCOL definitions
Add the revision constants. Depending on the revision additional fields are needed in the media descriptor. Use efi_uintn_t for number of bytes
efi_loader: correct EFI_BLOCK_IO_PROTOCOL definitions
Add the revision constants. Depending on the revision additional fields are needed in the media descriptor. Use efi_uintn_t for number of bytes to read or write.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
show more ...
|
#
64e4db0f |
| 19-Jan-2018 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: make efi_disk_create_partitions a global symbol
Up to now we have been using efi_disk_create_partitions() to create partitions for block devices that existed before starting an EFI appli
efi_loader: make efi_disk_create_partitions a global symbol
Up to now we have been using efi_disk_create_partitions() to create partitions for block devices that existed before starting an EFI application.
We need to call it for block devices created by EFI applications at run time. The EFI application will define the handle for the block device and install a device path protocol on it. We have to use this device path as stem for the partition device paths.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
show more ...
|
#
b3dd14b6 |
| 19-Jan-2018 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: make efi_block_io_guid a global symbol
The GUID of the EFI_BLOCK_IO_PROTOCOL is needed in different code parts. To avoid duplication make efi_block_io_guid a global symbol.
Signed-off-b
efi_loader: make efi_block_io_guid a global symbol
The GUID of the EFI_BLOCK_IO_PROTOCOL is needed in different code parts. To avoid duplication make efi_block_io_guid a global symbol.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
show more ...
|
#
9bfca9f9 |
| 19-Jan-2018 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: efi_disk_register: correctly determine if_type_name
The interface type name can be used to look up the interface type. Don't confound it with the driver name which may be different.
Sig
efi_loader: efi_disk_register: correctly determine if_type_name
The interface type name can be used to look up the interface type. Don't confound it with the driver name which may be different.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
show more ...
|
#
110d80a1 |
| 19-Jan-2018 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: correct find simple file system protocol
In contrast to the description the code did not split the device path into device part and file part.
The code should use the installed protocol
efi_loader: correct find simple file system protocol
In contrast to the description the code did not split the device path into device part and file part.
The code should use the installed protocol and not refer to the internal structure of the the disk object.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
show more ...
|
#
22de1de9 |
| 19-Jan-2018 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: address of the simple file system protocol
When installing the the simple file system protocol we have to path the address of the structure and not the address of a pointer to the struct
efi_loader: address of the simple file system protocol
When installing the the simple file system protocol we have to path the address of the structure and not the address of a pointer to the structure.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
show more ...
|
Revision tags: v2018.01 |
|
#
5f770836 |
| 11-Dec-2017 |
Emmanuel Vadot <manu@freebsd.org> |
efi_loader: Setup logical_partition media information
When adding a partition, set the logical_partition member in the media structure as mandated by the UEFI spec.
Signed-off-by: Emmanuel Vadot <m
efi_loader: Setup logical_partition media information
When adding a partition, set the logical_partition member in the media structure as mandated by the UEFI spec.
Signed-off-by: Emmanuel Vadot <manu@freebsd.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
show more ...
|
#
9188c431 |
| 05-Dec-2017 |
Tom Rini <trini@konsulko.com> |
Merge tag 'signed-efi-next' of git://github.com/agraf/u-boot
Patch queue for efi - 2017-12-05
Highlights for this release:
- Dynamic EFI object creation (lists instead of static arrays) - EFI
Merge tag 'signed-efi-next' of git://github.com/agraf/u-boot
Patch queue for efi - 2017-12-05
Highlights for this release:
- Dynamic EFI object creation (lists instead of static arrays) - EFI selftest improvements - Minor fixes
show more ...
|
#
c034b7fd |
| 01-Dec-2017 |
Alexander Graf <agraf@suse.de> |
efi_loader: Fix partition offsets
Commit 884bcf6f65 (efi_loader: use proper device-paths for partitions) tried to introduce the el torito scheme to all partition table types: Spawn individual disk o
efi_loader: Fix partition offsets
Commit 884bcf6f65 (efi_loader: use proper device-paths for partitions) tried to introduce the el torito scheme to all partition table types: Spawn individual disk objects for each partition on a disk.
Unfortunately, that code ended up creating partitions with offset=0 which meant that anyone accessing these objects gets data from the raw block device instead of the partition.
Furthermore, all the el torito logic to spawn devices for partitions was duplicated. So let's merge the two code paths and give partition disk objects good offsets to work from, so that payloads can actually make use of them.
Fixes: 884bcf6f65 (efi_loader: use proper device-paths for partitions) Reported-by: Yousaf Kaukab <yousaf.kaukab@suse.com> Signed-off-by: Alexander Graf <agraf@suse.de>
show more ...
|
#
44549d62 |
| 26-Nov-2017 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: helper function to add EFI object to list
To avoid duplicate coding provide a helper function that initializes an EFI object and adds it to the EFI object list.
efi_exit() is the only p
efi_loader: helper function to add EFI object to list
To avoid duplicate coding provide a helper function that initializes an EFI object and adds it to the EFI object list.
efi_exit() is the only place where we dereference a handle to obtain a protocol interface. Add a comment to the function.
Suggested-by: Alexander Graf <agraf@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
show more ...
|
#
69fb6b1a |
| 26-Nov-2017 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: manage protocols in a linked list
Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
|
#
4b9f7aaf |
| 26-Nov-2017 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: efi_disk: use efi_add_protocol
Use efi_add_protocol to install protocols.
Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-
efi_loader: efi_disk: use efi_add_protocol
Use efi_add_protocol to install protocols.
Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
show more ...
|
Revision tags: v2017.11 |
|
#
93945f2c |
| 26-Oct-2017 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: efi_disk: check return value of calloc
Calloc may return NULL. We should check the return value.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <a
efi_loader: efi_disk: check return value of calloc
Calloc may return NULL. We should check the return value.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
show more ...
|
#
f855a7bc |
| 13-Oct-2017 |
Tom Rini <trini@konsulko.com> |
Merge tag 'signed-efi-next' of git://github.com/agraf/u-boot
Patch queue for efi - 2017-10-13
This is the second batch of amazing improvements for efi_loader in 2017.11:
- New self tests to veri
Merge tag 'signed-efi-next' of git://github.com/agraf/u-boot
Patch queue for efi - 2017-10-13
This is the second batch of amazing improvements for efi_loader in 2017.11:
- New self tests to verify our own code - A few bug fixes - colored text support - event and SNP improvements, should get us close to iPXE working
show more ...
|
#
bcbc4a80 |
| 10-Oct-2017 |
Jonathan Gray <jsg@jsg.id.au> |
efi_loader: don't increment part twice per loop
Correct a mistake in the part number handling of commit 16a73b249d138fedeb188710533902ed7aac1ddc and only increment part once per loop.
Signed-off-by
efi_loader: don't increment part twice per loop
Correct a mistake in the part number handling of commit 16a73b249d138fedeb188710533902ed7aac1ddc and only increment part once per loop.
Signed-off-by: Jonathan Gray <jsg@jsg.id.au> Tested-by: Peter Robinson <pbrobinson@gmail.com> Signed-off-by: Alexander Graf <agraf@suse.de>
show more ...
|
#
16a73b24 |
| 09-Oct-2017 |
Jonathan Gray <jsg@jsg.id.au> |
efi_loader: search all possible disk partitions
When searching for partitions don't stop if a partition is not present for a given partition number as there may be valid partitions after.
Search fo
efi_loader: search all possible disk partitions
When searching for partitions don't stop if a partition is not present for a given partition number as there may be valid partitions after.
Search for up to MAX_SEARCH_PARTITIONS matching the other callers of part_get_info().
This allows OpenBSD to boot via the efi_loader on rpi_3 again after changes made after U-Boot 2017.09. With MBR partitioning OpenBSD will by default use the fourth partition for the 0xA6 (OpenBSD) partition.
Signed-off-by: Jonathan Gray <jsg@jsg.id.au> Signed-off-by: Alexander Graf <agraf@suse.de>
show more ...
|
#
77511b3b |
| 08-Oct-2017 |
Rob Clark <robdclark@gmail.com> |
efi_loader: Fix disk dp's for pre-DM/legacy devices
This fixes an issue with OpenBSD's bootloader, and I think should also fix a similar issue with grub2 on legacy devices. In the legacy case we we
efi_loader: Fix disk dp's for pre-DM/legacy devices
This fixes an issue with OpenBSD's bootloader, and I think should also fix a similar issue with grub2 on legacy devices. In the legacy case we were creating disk objects for the partitions, but not also the parent device.
Reported-by: Jonathan Gray <jsg@jsg.id.au> Signed-off-by: Rob Clark <robdclark@gmail.com> Signed-off-by: Alexander Graf <agraf@suse.de>
show more ...
|