Please pull u-boot-dm

Simon Glass
2022-01-27T03:36:04Z

Hi Tom,

https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/10771

The following changes since commit 6146cd62aedc4849fec66f10ab0aa57f1dc64b8e:

Merge branch '2022-01-24-assorted-updates' (2022-01-25 08:01:43 -0500)

are available in the Git repository at:

git://git.denx.de/u-boot-dm.git tags/dm-pull-26jan22

for you to fetch changes up to 2d2384bbaff0ab84c868b553c74048a5f6acc9e3:

tools: mkimage: Show where signatures/keys are written (2022-01-26
08:50:44 -0700)

----------------------------------------------------------------
acpi refactoring to allow non-x86 use
binman support for bintools (binary tools)
minor tools improvements in preparation for FDT signing
various minor fixes and improvements

----------------------------------------------------------------
Heiko Thiery (1):
binman: doc: fix typo for u-boot-tpl

Heinrich Schuchardt (2):
sandbox: sandbox_serial_pending depends on DM_VIDEO
sandbox: eth-raw: fix building with musl library

Patrice Chotard (1):
dm: Fix OF_BAD_ADDR definition

Rasmus Villemoes (1):
introduce CONFIG_DEVICE_TREE_INCLUDES

Sean Anderson (1):
usb: Use the first available device for ehci_gadget

Simon Glass (83):
x86: Allow any arch to generate ACPI tables
x86: Move the acpi table to generic global_data
arm: Allow supporting ACPI-table generation
x86: Tidy up use of CONFIG_ACPIGEN
sandbox: Allow building with GENERATE_ACPI_TABLE
efi: Correct call to write_acpi_tables()
efi: Correct address handling with ACPI tables
acpi: Use finer-grained control of ACPI-table generation
acpi: Allow include files within the board directory
acpi: Move acpi_fill_header() to the generic header
acpi: Add a table start
acpi: Add a linker list for ACPI tables
x86: acpi: Split out context creation from base tables
x86: Use the ACPI table writer
x86: Move base tables to a writer function
x86: Move FACS table to a writer function
x86: Move DSDT table to a writer function
x86: Move GNVS table to a writer function
x86: Move FADT table to a writer function
x86: Move FACP table into separate functions
x86: Move SSDT table to a writer function
x86: Move TPM2 table to a writer function
x86: Move MADT table to a writer function
x86: Move TCPA table to a writer function
x86: Move CSRT table to a writer function
x86: acpi: Update acpi_fill_csrt() to use acpi_ctx
x86: Move device-specific ACPI tables to a writer function
x86: Move acpi_get_rsdp_addr() ACPI tables to the writer
acpi: Collect tables in the acpi_item list
acpi: Tidy up the item list
acpi: Tidy up the table list
doc: Add usage information for the acpi command
acpi: Add some tables needed by ARM devices
acpi: Add myself as maintainer
Makefile: Fake external blobs by default with binman
binman: Tweak elf tests for a toolchain change
mkimage: Show the external-offset error
binman: Expand the external FIT test a little
patman: Allow running a tool and returning the full result
buildman: Move the download function to tools
patman: Tidy up the download function a little
patman: Add a function to find a tool on the path
binman: Drop the image name from the fake-blob message
binman: Allow faked blobs in blob-ext-list
binman: Correct path for fip_util
binman: Add installation instructions
binman: Add support for bintools
binman: Plumb in support for bintools
binman: Add tests for bintool
binman: Add a bintool implementation for cbfstool
binman: Add a bintool implementation for fiptool
binman: Add a bintool implementation for futility
binman: Add a bintool implementation for ifwitool
binman: Add a bintool implementation for mkimage
binman: Enable bintool tests including cmdline processing
binman: Convert to using the CBFS bintool
binman: Convert to using the FIP bintool
binman: Convert to using the futility bintool
binman: Convert to using the ifwitool bintool
binman: Convert to using the mkimage bintool
binman: Move compression into binman
binman: Tidy up pylint warnings in comp_util
binman: Add a bintool implementation for lz4
binman: Convert to using the lz4 bintool
binman: Add a bintool implementation for lzma_alone
binman: Convert to using the lzma_alone bintool
binman: Plumb in support for missing bintools
binman: Complete test coverage of comp_util
binman: Add a command to generate bintool docs
binman: Add documentation for bintools
binman: Document the __bss_size symbol error
rsa: Add debugging for failure cases
fit_check_sign: Update help to mention the key is in a dtb
tools: Move copyfile() into a common file
tools: Avoid leaving extra data at the end of copied files
tools: Improve comments in signing functions
tools: Drop unused name in image-host
tools: Avoid confusion between keys and signatures
tools: Tidy up argument order in fit_config_check_sig()
tools: Pass the key blob around
image: Return destination node for add_verify_data() method
tools: Pass public-key node through to caller
tools: mkimage: Show where signatures/keys are written

MAINTAINERS | 6 +
Makefile | 2 +-
arch/Kconfig | 6 +-
arch/sandbox/cpu/eth-raw-os.c | 2 +
arch/sandbox/include/asm/acpi_table.h | 2 +
arch/sandbox/include/asm/global_data.h | 1 -
arch/sandbox/include/asm/tables.h | 0
arch/x86/Kconfig | 9 -
arch/x86/cpu/apollolake/acpi.c | 17 +-
arch/x86/cpu/baytrail/acpi.c | 27 +-
arch/x86/cpu/quark/acpi.c | 27 +-
arch/x86/cpu/tangier/acpi.c | 34 ++-
arch/x86/include/asm/acpi_table.h | 4 -
arch/x86/include/asm/global_data.h | 1 -
arch/x86/lib/Makefile | 2 +-
arch/x86/lib/acpi_table.c | 374 +++++++-------------------
boot/image-fit-sig.c | 151 ++++++++---
boot/image-fit.c | 12 +-
cmd/acpi.c | 13 +-
common/spl/spl_fit.c | 3 +-
configs/cherryhill_defconfig | 1 +
configs/chromebook_link64_defconfig | 1 +
configs/chromebook_link_defconfig | 1 +
configs/chromebook_samus_tpl_defconfig | 1 +
configs/coreboot64_defconfig | 1 +
configs/coreboot_defconfig | 1 +
configs/crownbay_defconfig | 1 +
configs/efi-x86_payload32_defconfig | 1 +
configs/efi-x86_payload64_defconfig | 1 +
configs/slimbootloader_defconfig | 1 +
configs/tools-only_defconfig | 1 +
doc/develop/devicetree/control.rst | 18 ++
doc/develop/package/bintools.rst | 1 +
doc/usage/acpi.rst | 235 +++++++++++++++++
doc/usage/index.rst | 1 +
drivers/core/acpi.c | 70 +++--
drivers/misc/qfw.c | 3 +-
drivers/serial/sandbox.c | 2 +-
drivers/usb/host/usb-uclass.c | 4 +-
dts/Kconfig | 9 +
include/acpi/acpi_table.h | 235 ++++++++++++++++-
include/asm-generic/global_data.h | 8 +
include/dm/acpi.h | 110 ++++++++
include/fdtdec.h | 5 +-
include/image.h | 51 +++-
include/u-boot/ecdsa.h | 5 +-
include/u-boot/rsa.h | 5 +-
lib/Kconfig | 18 ++
lib/Makefile | 2 +-
lib/acpi/Makefile | 23 +-
lib/acpi/acpi_table.c | 82 ------
lib/acpi/acpi_writer.c | 131 +++++++++
lib/acpi/base.c | 94 +++++++
lib/acpi/csrt.c | 49 ++++
lib/acpi/dsdt.c | 55 ++++
lib/acpi/facs.c | 35 +++
lib/acpi/ssdt.c | 49 ++++
lib/ecdsa/ecdsa-libcrypto.c | 4 +-
lib/efi_loader/efi_acpi.c | 5 +-
lib/rsa/rsa-sign.c | 5 +-
lib/rsa/rsa-verify.c | 13 +-
scripts/Makefile.lib | 6 +-
test/dm/acpi.c | 79 ++++--
test/dm/ofnode.c | 2 +-
test/dm/pci.c | 4 +-
test/dm/test-fdt.c | 2 +-
tools/binman/binman.rst | 129 ++++++++-
tools/binman/bintool.py | 466
+++++++++++++++++++++++++++++++++
tools/binman/bintool_test.py | 353 +++++++++++++++++++++++++
tools/binman/bintools.rst | 115 ++++++++
tools/binman/btool/_testing.py | 36 +++
tools/binman/btool/cbfstool.py | 219 ++++++++++++++++
tools/binman/btool/fiptool.py | 123 +++++++++
tools/binman/btool/futility.py | 178 +++++++++++++
tools/binman/btool/ifwitool.py | 166 ++++++++++++
tools/binman/btool/lz4.py | 140 ++++++++++
tools/binman/btool/lzma_alone.py | 126 +++++++++
tools/binman/btool/mkimage.py | 80 ++++++
tools/binman/cbfs_util.py | 33 +--
tools/binman/cbfs_util_test.py | 59 ++---
tools/binman/cmdline.py | 12 +
tools/binman/comp_util.py | 76 ++++++
tools/binman/control.py | 50 +++-
tools/binman/elf_test.py | 8 +-
tools/binman/entry.py | 47 +++-
tools/binman/etype/blob_ext_list.py | 1 +
tools/binman/etype/fit.py | 20 +-
tools/binman/etype/gbb.py | 37 +--
tools/binman/etype/intel_ifwi.py | 25 +-
tools/binman/etype/mkimage.py | 13 +-
tools/binman/etype/section.py | 19 +-
tools/binman/etype/vblock.py | 32 ++-
tools/binman/fip_util.py | 26 --
tools/binman/fip_util_test.py | 25 +-
tools/binman/ftest.py | 163 +++++++++++-
tools/binman/image.py | 14 +
tools/binman/main.py | 11 +-
tools/binman/test/162_fit_external.dts | 2 +-
tools/binman/test/218_blob_ext_list_fake.dts | 14 +
tools/buildman/toolchain.py | 46 +---
tools/fdt_host.h | 8 +
tools/fit_check_sign.c | 4 +-
tools/fit_common.c | 69 +++++
tools/fit_common.h | 23 ++
tools/fit_image.c | 64 +----
tools/image-host.c | 155 ++++++++---
tools/imagetool.h | 3 +
tools/mkimage.c | 4 +
tools/patman/tools.py | 238 +++++++++--------
109 files changed, 4567 insertions(+), 989 deletions(-)
create mode 100644 arch/sandbox/include/asm/tables.h
create mode 120000 doc/develop/package/bintools.rst
create mode 100644 doc/usage/acpi.rst
create mode 100644 lib/acpi/acpi_writer.c
create mode 100644 lib/acpi/base.c
create mode 100644 lib/acpi/csrt.c
create mode 100644 lib/acpi/dsdt.c
create mode 100644 lib/acpi/facs.c
create mode 100644 lib/acpi/ssdt.c
create mode 100644 tools/binman/bintool.py
create mode 100644 tools/binman/bintool_test.py
create mode 100644 tools/binman/bintools.rst
create mode 100644 tools/binman/btool/_testing.py
create mode 100644 tools/binman/btool/cbfstool.py
create mode 100644 tools/binman/btool/fiptool.py
create mode 100644 tools/binman/btool/futility.py
create mode 100644 tools/binman/btool/ifwitool.py
create mode 100644 tools/binman/btool/lz4.py
create mode 100644 tools/binman/btool/lzma_alone.py
create mode 100644 tools/binman/btool/mkimage.py
create mode 100644 tools/binman/comp_util.py
create mode 100644 tools/binman/test/218_blob_ext_list_fake.dts

Regards,
Simon