Skip to content

Commit

Permalink
Merge tag 'efi-2024-01-rc2-2' of https://source.denx.de/u-boot/custod…
Browse files Browse the repository at this point in the history
…ians/u-boot-efi

Pull request efi-2024-01-rc2-2

Documentation:

* Bump urllib3 version
* Replace references to dm_dump_all() with dm_dump_tree()
* Update description of build dependencies for Alpine Linux
* Fix typo in gpt example
* Fix ordering of shell commands

UEFI:

* Move misplace EFI_ENTRY macro
  • Loading branch information
trini committed Oct 27, 2023
2 parents 454ee55 + 946b311 commit 913d830
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 11 deletions.
10 changes: 8 additions & 2 deletions doc/build/gcc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,14 @@ For building U-Boot on Alpine Linux at least the following packages are needed:

.. code-block:: bash
apk add alpine-sdk bc bison dtc flex linux-headers ncurses-dev \
openssl-dev perl python3 py3-setuptools python3-dev sdl2-dev
apk add alpine-sdk bc bison dtc flex gnutls-dev linux-headers ncurses-dev \
openssl-dev py3-elftools py3-setuptools python3-dev swig util-linux-dev
Depending on the build target further packages may be needed:

* sandbox with lcd: sdl2-dev
* riscv64 S-mode targests: opensbi
* some arm64 targets: arm-trusted-firmware

Prerequisites
-------------
Expand Down
2 changes: 1 addition & 1 deletion doc/develop/driver-model/debugging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ to see errors. Common ones are:
of_to_plat() method in the driver.

If there is no error, you should check if the device is actually bound. Call
dm_dump_all() just before you locate the device to make sure it exists.
dm_dump_tree() just before you locate the device to make sure it exists.

If it does not exist, check your device tree compatible strings match up with
what the driver expects (in the struct udevice_id array).
Expand Down
2 changes: 1 addition & 1 deletion doc/sphinx/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ sphinxcontrib-htmlhelp==2.0.0
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5
urllib3==2.0.6
urllib3==2.0.7
5 changes: 3 additions & 2 deletions doc/usage/cmd/gpt.rst
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ read', 'gpt swap' and 'gpt rename', you must specify CONFIG_CMD_GPT_RENAME=y.

Examples
~~~~~~~~

Create 6 partitions on a disk::

=> setenv gpt_parts 'uuid_disk=bec9fc2a-86c1-483d-8a0e-0109732277d7;
Expand Down Expand Up @@ -192,10 +193,9 @@ Get the information about the partition named 'rootfs'::
Get the list of partition names on the disk::

=> gpt enumerate
=> echo gpt_partition_list
=> echo ${gpt_partition_list}
boot rootfs system-data [ext] user modules ramdisk


Get the GUID for a disk::

=> gpt guid mmc 0
Expand All @@ -209,6 +209,7 @@ Set the bootable flag for the 'boot' partition and clear it for all others::
=> gpt set-bootable mmc 0 boot

Swap the order of the 'boot' and 'rootfs' partition table entries::

=> gpt setenv mmc 0 rootfs
=> echo ${gpt_partition_entry}
2
Expand Down
8 changes: 4 additions & 4 deletions doc/usage/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ Shell commands
cmd/bootm
cmd/bootmenu
cmd/bootmeth
cmd/button
cmd/bootz
cmd/button
cmd/cat
cmd/cbsysinfo
cmd/cedit
Expand All @@ -56,8 +56,8 @@ Shell commands
cmd/env
cmd/event
cmd/exception
cmd/extension
cmd/exit
cmd/extension
cmd/false
cmd/fatinfo
cmd/fatload
Expand Down Expand Up @@ -93,15 +93,15 @@ Shell commands
cmd/rng
cmd/saves
cmd/sbi
cmd/sf
cmd/scp03
cmd/seama
cmd/setexpr
cmd/sf
cmd/size
cmd/sleep
cmd/sm
cmd/sound
cmd/source
cmd/sm
cmd/temperature
cmd/tftpput
cmd/trace
Expand Down
3 changes: 2 additions & 1 deletion lib/efi_loader/efi_tcg2.c
Original file line number Diff line number Diff line change
Expand Up @@ -1211,12 +1211,13 @@ efi_tcg2_get_active_pcr_banks(struct efi_tcg2_protocol *this,
{
efi_status_t ret;

EFI_ENTRY("%p, %p", this, active_pcr_banks);

if (!this || !active_pcr_banks) {
ret = EFI_INVALID_PARAMETER;
goto out;
}

EFI_ENTRY("%p, %p", this, active_pcr_banks);
ret = __get_active_pcr_banks(active_pcr_banks);

out:
Expand Down

0 comments on commit 913d830

Please sign in to comment.