Re: Please pull u-boot-dm/next

2024-01-08 Thread Tom Rini
On Sun, Jan 07, 2024 at 05:21:57PM -0700, Simon Glass wrote:

> Hi Tom,
> 
> This is for -next
> 
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/19216
> 
> https://dev.azure.com/simon0972/u-boot/_build/results?buildId=58=results
> 
> 
> The following changes since commit c2c598e87cfe56f5991730762c00733c5aa9a994:
> 
>   Merge branch 'staging' of
> https://source.denx.de/u-boot/custodians/u-boot-tegra into next
> (2024-01-06 09:57:56 -0500)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-next-7jan23
> 
> for you to fetch changes up to 8c4b37ce97c27ad4e7f83b028d4cd1396a51a36f:
> 
>   arm: enable support for QEMU firmware tables (2024-01-07 13:49:15 -0700)
> 

Applied to u-boot/next, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm/next

2024-01-07 Thread Simon Glass
Hi Tom,

This is for -next


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

https://dev.azure.com/simon0972/u-boot/_build/results?buildId=58=results


The following changes since commit c2c598e87cfe56f5991730762c00733c5aa9a994:

  Merge branch 'staging' of
https://source.denx.de/u-boot/custodians/u-boot-tegra into next
(2024-01-06 09:57:56 -0500)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-next-7jan23

for you to fetch changes up to 8c4b37ce97c27ad4e7f83b028d4cd1396a51a36f:

  arm: enable support for QEMU firmware tables (2024-01-07 13:49:15 -0700)


switch to SMBIOS3 tables
allow devicetree from bloblist
ACPI support for ARM and RISC-V


Heinrich Schuchardt (14):
  smbios: SMBIOS 3.0 (64-bit) Entry Point structure
  acpi: use 64-bit addresses in FADT table
  cmd: acpi: fix listing DSDT and FACS
  cmd: acpi: check HW reduced flag in acpi list
  acpi: support 64bit in acpi_find_table for DSDT and FACS
  acpi: Kconfig symbol CONFIG_QFW_ACPI
  acpi: carve out qfw_acpi.c
  arm: add ACPI fields to global data
  riscv: add ACPI fields to global data
  acpi: enable writing ACPI tables on QEMU
  riscv: add support for QEMU firmware tables
  riscv: allow usage of ACPI
  configs: qemu: add config fragment for ACPI
  arm: enable support for QEMU firmware tables

Simon Glass (12):
  smbios: Refactor 32-bit code into an else statement
  smbios: Move the rest of the SMBIOS2 code
  smbios: Use SMBIOS 3.0 to support an address above 4GB
  smbios: Correct gd_smbios_start()
  efi: Use the correct GUID for the SMBIOS table
  smbios: Require the caller to align the SMBIOS table
  smbios: Drop support for SMBIOS2 tables
  efi: smbios: Drop support for SMBIOS2 tables
  acpi: Rename test dm_test_setup_ctx_and_base_tables()
  acpi: Write pointers to tables instead of addresses
  efi: Correct smbios-table installation
  fdt: Allow the devicetree to come from a bloblist

 MAINTAINERS  |   1 +
 arch/Kconfig |   1 +
 arch/arm/include/asm/global_data.h   |   7 ++-
 arch/riscv/include/asm/global_data.h |   6 ++
 arch/sandbox/include/asm/io.h|  16 ++
 arch/x86/cpu/baytrail/acpi.c |   9 +--
 arch/x86/cpu/quark/acpi.c|   9 +--
 arch/x86/cpu/tangier/acpi.c  |   9 +--
 arch/x86/lib/acpi_table.c|  15 ++---
 board/emulation/configs/acpi.config  |   3 +
 board/emulation/qemu-arm/Kconfig |   1 +
 board/emulation/qemu-riscv/Kconfig   |   2 +
 cmd/acpi.c   |  24 +---
 doc/board/emulation/acpi.rst |  23 
 doc/board/emulation/index.rst|   1 +
 doc/develop/devicetree/control.rst   |   3 +
 drivers/misc/Kconfig |   7 +++
 drivers/misc/Makefile|   1 +
 drivers/misc/qfw.c   | 240
--
 drivers/misc/qfw_acpi.c  | 281

 include/acpi/acpi_table.h|   6 +-
 include/asm-generic/global_data.h|   2 +-
 include/efi_api.h|   4 ++
 include/fdtdec.h |   6 +-
 include/mapmem.h |  18 ++
 include/smbios.h |  41 --
 lib/acpi/Makefile|   2 +-
 lib/acpi/acpi.c  |  37 +---
 lib/acpi/acpi_table.c|   4 +-
 lib/acpi/acpi_writer.c   |   4 +-
 lib/acpi/base.c  |   4 +-
 lib/efi_loader/efi_smbios.c  |  28 ++
 lib/fdtdec.c |  44 +++
 lib/smbios.c |  55 ++
 test/dm/acpi.c   |  14 ++---
 35 files changed, 556 insertions(+), 372 deletions(-)
 create mode 100644 board/emulation/configs/acpi.config
 create mode 100644 doc/board/emulation/acpi.rst
 create mode 100644 drivers/misc/qfw_acpi.c

Regards,
Simon


Re: Please pull u-boot-dm next

2024-01-01 Thread Tom Rini
On Mon, Jan 01, 2024 at 10:31:57AM -0700, Simon Glass wrote:

> Hi Tom,
> 
> This is for -next
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/19131
> 
> https://dev.azure.com/simon0972/u-boot/_build/results?buildId=57=results
> 
> 
> The following changes since commit 2b28c3b871cd5d55b19f0a86cef970139f8ab952:
> 
>   Merge patch series "Modernize U-Boot shell" (2023-12-28 14:38:25 -0500)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-next-1124
> 
> for you to fetch changes up to e266d2731145681a55d862360f1b61690b0c6820:
> 
>   bloblist: Update documentation and header comment (2023-12-31 07:21:02 
> -0700)
> 

Applied to u-boot/next, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm next

2024-01-01 Thread Simon Glass
Hi Tom,

This is for -next

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

https://dev.azure.com/simon0972/u-boot/_build/results?buildId=57=results


The following changes since commit 2b28c3b871cd5d55b19f0a86cef970139f8ab952:

  Merge patch series "Modernize U-Boot shell" (2023-12-28 14:38:25 -0500)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-next-1124

for you to fetch changes up to e266d2731145681a55d862360f1b61690b0c6820:

  bloblist: Update documentation and header comment (2023-12-31 07:21:02 -0700)


support propagating supernode properties with bootph schema
align bloblist with v0.9 of Firmware Handoff spec


Heinrich Schuchardt (2):
  buildman: type cotaining
  binman: used-before-assignment in ftest.py

Simon Glass (22):
  x86: coral: Align bootph SPI-flash subnodes with parent
  fdtgrep: Tidy up a few type warnings and comments
  fdtgrep: Correct ordering of flags
  fdtgrep: Correct references to fdt_find_regions()
  fdtgrep: Tidy up comment for h_include()
  fdtgrep: Simplify code to inverting the match
  fdtgrep: Move property checking into a function
  sandbox: Correct SPL condition for building devicetree
  fdtgrep: Allow propagating properties up to supernodes
  Makefile: Use the fdtgrep -u flag
  bloblist: Update the tag numbering
  bloblist: Adjust API to align in powers of 2
  bloblist: Change the magic value
  bloblist: Set version to 1
  bloblist: Access record hdr_size and tag via a function
  bloblist: Drop spare value from bloblist record
  bloblist: Checksum the entire bloblist
  bloblist: Handle alignment with a void entry
  bloblist: Reduce blob-header size
  bloblist: Adjust the bloblist header
  bloblist: Add alignment to bloblist_new()
  bloblist: Update documentation and header comment

 arch/x86/dts/chromebook_coral.dts |   6 ++-
 arch/x86/lib/tables.c |   3 +-
 common/bloblist.c | 205
-
 doc/develop/bloblist.rst  |   4 +-
 include/bloblist.h| 166
+-
 scripts/Makefile.lib  |  13 ++-
 scripts/Makefile.spl  |   2 +-
 test/bloblist.c   | 105
+++---
 tools/binman/ftest.py |  20 +++---
 tools/buildman/boards.py  |   2 +-
 tools/fdtgrep.c   | 123
++

Regards,
Simon


Re: Please pull u-boot-dm/next

2023-12-13 Thread Tom Rini
On Wed, Dec 13, 2023 at 01:50:57PM -0700, Simon Glass wrote:

> Hi Tom,
> 
> This is for the -next branch
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/commit/39e7e039b02e1cf8b04ea668e2bfe2cd2ef0e14d
> 
> https://dev.azure.com/simon0972/u-boot/_build/results?buildId=56=results
> 
> 
> The following changes since commit 9565771076c2d4b0193f1741b3990695ac33c1f3:
> 
>   Merge patch series "bootm: Refactoring to reduce reliance on CMDLINE
> (part A)" (2023-12-13 11:51:53 -0500)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-next-13dec23
> 
> for you to fetch changes up to 39e7e039b02e1cf8b04ea668e2bfe2cd2ef0e14d:
> 
>   test: vboot: Using variable 'old_dtb' before assignment (2023-12-13
> 13:20:20 -0700)
> 

Applied to u-boot/next, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm/next

2023-12-13 Thread Simon Glass
Hi Tom,

This is for the -next branch

https://source.denx.de/u-boot/custodians/u-boot-dm/-/commit/39e7e039b02e1cf8b04ea668e2bfe2cd2ef0e14d

https://dev.azure.com/simon0972/u-boot/_build/results?buildId=56=results


The following changes since commit 9565771076c2d4b0193f1741b3990695ac33c1f3:

  Merge patch series "bootm: Refactoring to reduce reliance on CMDLINE
(part A)" (2023-12-13 11:51:53 -0500)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-next-13dec23

for you to fetch changes up to 39e7e039b02e1cf8b04ea668e2bfe2cd2ef0e14d:

  test: vboot: Using variable 'old_dtb' before assignment (2023-12-13
13:20:20 -0700)


minor improvements to test, acpi
updates for new PyPl release


Dario Binacchi (1):
  binman: doc: fix typo

Heinrich Schuchardt (11):
  acpi: move acpi_get_rsdp_addr() to acpi/acpi_table.h
  acpi: cannot have RSDT above 4 GiB
  acpi: simplify acpi_write_ssdt()
  acpi: consider XSDT in acpi_find_table()
  test: unit test for acpi_find_table()
  acpi: fix struct acpi_xsdt
  cmd: acpi: fix acpi list command
  cmd: check argc for acpi dump
  binman: elf: Using variable 'old_val' before assignment
  test: fit: Using variable 'old_dtb' before assignment
  test: vboot: Using variable 'old_dtb' before assignment

Ilias Apalodimas (1):
  bootstd: Fix a memory leak in the efi manager bootflow

Neha Malcom Francis (3):
  binman: etype: dm: Add entry type for TI DM
  arm: dts: k3-*-binman: Move to using ti-dm entry type
  doc: board: ti: k3: Mention TI_DM argument

Simon Glass (28):
  test: Add a new suite for commands
  test: Add helper to skip to partial console line
  test: Make UT_LIB_ASN1 depend on sandbox
  test: Run bootstd tests only on sandbox
  test: Handle use of stack pointer in bdinfo
  test: bdinfo: Add missing asserts
  test: fdt: Add a special case for real boards
  test: font: Add dependencies on fonts
  test: event: Only run test_event_probe() on sandbox
  test: lmb: Move tests into the lib suite
  test: print: Skip test on x86
  video: Add a function to clear the display
  sandbox: Add a dummy booti command
  bootstd: Add a menu option to bootflow scan
  boot: Drop size parameter from image_setup_libfdt()
  fdt: Check for a valid fdt in oftree_ensure()
  fdt: Improve the comment for fdt_shrink_to_minimum()
  fdt: ppc: Drop extra size for ramdisk
  boot: Move adding initrd earlier in image_setup_libfdt()
  fdt: Drop the confusing casts in lmb_free()
  fdt: Move ft_verify_fdt() before the final fixups
  doc: Update documentation URL
  u_boot_pylib: Correct readme formatting
  tools: Keep test_util and patman test files in the pip release
  u_boot_pylib: Correct files used for pip release
  tools/make_pip: Add mention of u_boot_pylib in tool list
  patman: Update the run script
  tools: Move python tools to version 0.0.6

 MAINTAINERS   |   2 +-
 Makefile  |   1 +
 README|   2 +-
 arch/arm/dts/k3-am625-sk-binman.dtsi  |   4 +-
 arch/arm/dts/k3-am625-verdin-wifi-dev-binman.dtsi |   4 +-
 arch/arm/dts/k3-am62a-sk-binman.dtsi  |   4 +-
 arch/arm/dts/k3-j7200-binman.dtsi |   4 +-
 arch/arm/dts/k3-j721e-binman.dtsi |   4 +-
 arch/arm/dts/k3-j721s2-binman.dtsi|   4 +-
 arch/mips/lib/bootm.c |   4 +-
 arch/sandbox/lib/bootm.c  |   7 +++
 arch/x86/include/asm/acpi_table.h |   9 
 boot/bootmeth_efi_mgr.c   |   2 +
 boot/fdt_support.c|   1 -
 boot/image-board.c|   2 +-
 boot/image-fdt.c  |  27 ++--
 cmd/Kconfig   |   2 +-
 cmd/acpi.c|  67
-
 cmd/bootefi.c |   2 +-
 cmd/bootflow.c|  27 ++--
 cmd/booti.c   |   2 +-
 cmd/cls.c |  25 ++-
 common/console.c  |  31 ++
 configs/tools-only_defconfig  |   1 +
 doc/board/ti/k3.rst   |   7 +++
 doc/build/documentation.rst   |   2 +-
 doc/usage/cmd/bootflow.rst|   5 +++
 drivers/core/ofnode.c |   5 +++
 drivers/misc/qfw.c|   1 +
 include/acpi/acpi_table.h |  11 

Re: Please pull u-boot-dm

2023-11-15 Thread Tom Rini
On Wed, Nov 15, 2023 at 06:19:26AM -0700, Simon Glass wrote:

> Hi Tom,
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/18586
> 
> https://dev.azure.com/simon0972/u-boot/_build/results?buildId=55=results
> 
> 
> The following changes since commit 92b27528d777ce85362af45e7d2974a6c856219b:
> 
>   Merge branch 'master' of
> https://source.denx.de/u-boot/custodians/u-boot-sunxi (2023-11-12
> 16:36:52 -0500)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-15nov23
> 
> for you to fetch changes up to 0d4d9f94c77f78cddc372c307465fc92413e:
> 
>   bootstage: Correct exhasuted typo (2023-11-14 20:04:01 -0700)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm

2023-11-15 Thread Simon Glass
Hi Tom,

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

https://dev.azure.com/simon0972/u-boot/_build/results?buildId=55=results


The following changes since commit 92b27528d777ce85362af45e7d2974a6c856219b:

  Merge branch 'master' of
https://source.denx.de/u-boot/custodians/u-boot-sunxi (2023-11-12
16:36:52 -0500)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-pull-15nov23

for you to fetch changes up to 0d4d9f94c77f78cddc372c307465fc92413e:

  bootstage: Correct exhasuted typo (2023-11-14 20:04:01 -0700)


patman correct import of u_boot_pylib
correct long-standing EFI framebuffer bug
minor test refactor


Heinrich Schuchardt (1):
  dm: Do not enable debug messages by default

Sean Anderson (1):
  sandbox: Close file after mmaping it

Simon Glass (10):
  efi: Correct handling of frame buffer
  bootstd: Refactor mmc prep to allow a different scan
  bootstd: Add a return code to bootflow menu
  expo: Correct background colour
  patman: Split out arg parsing into its own file
  patman: Move the main program into a function
  patman: Correct easy pylint warnings in __main__
  patman: Avoid using func_test at top level
  patman: Correct Python 3.6 behaviour
  bootstage: Correct exhasuted typo

 arch/sandbox/cpu/os.c  |  15 ++--
 boot/expo.c|   4 +-
 cmd/bootflow.c |  53 ---
 common/bootstage.c |   2 +-
 doc/usage/cmd/bootflow.rst |  67 ++
 drivers/core/Kconfig   |   1 -
 include/dm/util.h  |   4 +-
 include/video.h|   9 +-
 lib/efi_loader/efi_gop.c   |  12 +--
 test/boot/bootflow.c   |  64 +++--
 tools/patman/__main__.py   | 254

 tools/patman/cmdline.py| 147 ++
 12 files changed, 413 insertions(+), 219 deletions(-)
 create mode 100644 tools/patman/cmdline.py

Regards,
Simon


Re: Please pull u-boot-dm

2023-11-03 Thread Tom Rini
On Thu, Nov 02, 2023 at 10:54:31PM +, Simon Glass wrote:

> Hi Tom,
> 
> Just various bugfixes, apart from the TI one
> 
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/commit/3227baad05481e37d75aeae7c7c1467fd6903f7d
> 
> https://dev.azure.com/simon0972/u-boot/_build/results?buildId=54=results
> (not finished yet)
> 
> 
> The following changes since commit 07fe79c93c5caba181f37844ca95fbda4db3f613:
> 
>   Merge tag 'i2cfixes-for-v2024-01-rc2' of
> https://source.denx.de/u-boot/custodians/u-boot-i2c (2023-11-02
> 10:12:33 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-2nov23
> 
> for you to fetch changes up to 3227baad05481e37d75aeae7c7c1467fd6903f7d:
> 
>   u_boot_pylib: Ensure subprocess is closed down (2023-11-02 09:38:54 -0600)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm

2023-11-02 Thread Simon Glass
Hi Tom,

Just various bugfixes, apart from the TI one


https://source.denx.de/u-boot/custodians/u-boot-dm/-/commit/3227baad05481e37d75aeae7c7c1467fd6903f7d

https://dev.azure.com/simon0972/u-boot/_build/results?buildId=54=results
(not finished yet)


The following changes since commit 07fe79c93c5caba181f37844ca95fbda4db3f613:

  Merge tag 'i2cfixes-for-v2024-01-rc2' of
https://source.denx.de/u-boot/custodians/u-boot-i2c (2023-11-02
10:12:33 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-pull-2nov23

for you to fetch changes up to 3227baad05481e37d75aeae7c7c1467fd6903f7d:

  u_boot_pylib: Ensure subprocess is closed down (2023-11-02 09:38:54 -0600)


Heinrich Schuchardt (1):
  sandbox: eliminate unused functions from binaries

Maxim Cournoyer (1):
  patman: Add a 'keep_change_id' setting

Milan P. Stanić (1):
  cros_ec: spi: disable annoying key echo on console

Neha Malcom Francis (1):
  binman: openssl: x509: ti_secure_rom: Add support for bootcore_opts

Simon Glass (9):
  binman: Reset missing bintools after testing
  binman: Don't add compression attribute for uncompressed files
  binman: Ensure attributes always come last in the metadata
  binman: Replace FILENAME_ALIGN 16 with ATTRIBUTE_ALIGN 4
  binman: Rename TYPE_STAGE to TYPE_LEGACY_STAGE
  binman: Move stage header into a CBFS attribute
  buildman: Include symbols in the read-only data section
  buildman: Support upstream branch name containing /
  u_boot_pylib: Ensure subprocess is closed down

 arch/sandbox/config.mk  |   4 +-
 arch/sandbox/cpu/u-boot.lds |   2 +-
 cmd/cbfs.c  |   2 +-
 drivers/misc/cros_ec_spi.c  |   2 +-
 include/cbfs.h  |   2 +-
 tools/binman/btool/openssl.py   |   6 ++-
 tools/binman/cbfs_util.py   | 125
+---
 tools/binman/cbfs_util_test.py  |  23 
 tools/binman/control.py |   2 +
 tools/binman/entries.rst|   1 +
 tools/binman/etype/ti_secure_rom.py |  11 +++-
 tools/binman/etype/x509_cert.py |   3 +-
 tools/binman/ftest.py   |  10 ++--
 tools/binman/test/297_ti_secure_rom.dts |   1 +
 tools/buildman/builder.py   |   6 ++-
 tools/patman/__main__.py|   2 +
 tools/patman/control.py |  12 +++--
 tools/patman/gitutil.py |   5 +-
 tools/patman/patchstream.py |  17 --
 tools/patman/patman.rst |  11 ++--
 tools/patman/test_checkpatch.py |  16 ++
 tools/u_boot_pylib/command.py   |   4 +-
 22 files changed, 168 insertions(+), 99 deletions(-)

Regards,
Simon


Re: Please pull u-boot-dm

2023-10-15 Thread Tom Rini
On Fri, Oct 13, 2023 at 03:01:12PM -0700, Simon Glass wrote:

> Hi Tom,
> 
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/18115
> 
> https://dev.azure.com/simon0972/u-boot/_build/results?buildId=53=results
> 
> 
> The following changes since commit d5d24e2e0a3f54175e458d89acd626da939e1130:
> 
>   Merge tag 'efi-2024-01-rc1' of
> https://source.denx.de/u-boot/custodians/u-boot-efi (2023-10-13
> 11:08:10 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-13oct23
> 
> for you to fetch changes up to 74aae507bc4d5726308c191d3191d9cd624ba0d2:
> 
>   binman: capsule: Add support for generating EFI empty capsules
> (2023-10-13 14:01:42 -0600)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm

2023-10-13 Thread Simon Glass
Hi Tom,


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

https://dev.azure.com/simon0972/u-boot/_build/results?buildId=53=results


The following changes since commit d5d24e2e0a3f54175e458d89acd626da939e1130:

  Merge tag 'efi-2024-01-rc1' of
https://source.denx.de/u-boot/custodians/u-boot-efi (2023-10-13
11:08:10 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-pull-13oct23

for you to fetch changes up to 74aae507bc4d5726308c191d3191d9cd624ba0d2:

  binman: capsule: Add support for generating EFI empty capsules
(2023-10-13 14:01:42 -0600)


improvements with dev_read_addr_..._ptr()
scan all entries in multi-device boot_targets
EFI empty-capsule support


Heinrich Schuchardt (1):
  sandbox: fix spl_board_init

Lukas Funke (1):
  binman: bintool: Change make target arg type from string to list

Matthias Schiffer (5):
  core: fix doc comments of dev_read_addr*() and related functions
  core: return FDT_ADDR_T_NONE from devfdt_get_addr_[size_]name() on errors
  core: introduce dev_read_addr_name[_size]_ptr() functions
  pinctrl: single: fix compile warnings with PHYS_64BIT on 32bit
  treewide: use dev_read_addr_*_ptr() where appropriate

Simon Glass (1):
  bootstd: Scan all bootdevs in a boot_targets entry

Sughosh Ganu (6):
  tools: mkeficapsule: Add support to print capsule headers
  doc: capsule: Add documentation for the capsule dump feature
  binman: capsule: Remove superfluous [address, size]-cells properties
  binman: capsule: Use dumped capsule header contents for verification
  btool: mkeficapsule: Add support for EFI empty capsule generation
  binman: capsule: Add support for generating EFI empty capsules

 arch/arm/mach-k3/sysfw-loader.c |  16 +--
 arch/sandbox/cpu/spl.c  |   3 +
 boot/bootdev-uclass.c   |   3 +-
 boot/bootflow.c |  21 +++-
 doc/develop/uefi/uefi.rst   |  17 +++
 drivers/core/fdtaddr.c  |  25 -
 drivers/core/read.c |  21 
 drivers/dma/ti/k3-udma.c|   5 +-
 drivers/gpio/tegra186_gpio.c|   4 +-
 drivers/mailbox/k3-sec-proxy.c  |  18 +--
 drivers/phy/allwinner/phy-sun4i-usb.c   |  12 +-
 drivers/phy/phy-bcm-sr-pcie.c   |   4 +-
 drivers/pinctrl/pinctrl-single.c|  34 +++---
 drivers/ram/k3-am654-ddrss.c|  20 ++--
 drivers/ram/k3-ddrss/k3-ddrss.c |  23 ++--
 drivers/soc/ti/k3-navss-ringacc.c   |  12 +-
 include/dm/fdtaddr.h|  47 ++--
 include/dm/read.h   |  47 +++-
 test/boot/bootdev.c |  10 ++
 tools/binman/btool/bootgen.py   |   2 +-
 tools/binman/btool/fiptool.py   |   2 +-
 tools/binman/btool/futility.py  |   2 +-
 tools/binman/btool/mkeficapsule.py  |  26 +
 tools/binman/entries.rst|  44 
 tools/binman/etype/efi_capsule.py   |  24 +++-
 tools/binman/etype/efi_empty_capsule.py |  86 +++
 tools/binman/ftest.py   | 160
---
 tools/binman/test/311_capsule.dts   |   3 -
 tools/binman/test/312_capsule_signed.dts|   3 -
 tools/binman/test/313_capsule_version.dts   |   3 -
 tools/binman/test/314_capsule_signed_ver.dts|   3 -
 tools/binman/test/315_capsule_oemflags.dts  |   3 -
 tools/binman/test/316_capsule_missing_key.dts   |   3 -
 tools/binman/test/317_capsule_missing_index.dts |   3 -
 tools/binman/test/318_capsule_missing_guid.dts  |   3 -
 tools/binman/test/319_capsule_accept.dts|  13 +++
 tools/binman/test/320_capsule_revert.dts|  11 ++
 tools/binman/test/321_capsule_accept_missing_guid.dts   |  11 ++
 tools/binman/test/322_empty_capsule_type_missing.dts|  12 ++
 tools/binman/test/323_capsule_accept_revert_missing.dts |  13 +++
 tools/eficapsule.h  |   2 +
 tools/mkeficapsule.c| 227
+-
 42 files changed, 837 insertions(+), 164 deletions(-)
 create mode 100644 tools/binman/etype/efi_empty_capsule.py
 create mode 100644 tools/binman/test/319_capsule_accept.dts
 create mode 100644 

Re: Please pull u-boot-dm

2023-10-05 Thread Tom Rini
On Wed, Oct 04, 2023 at 12:00:32PM -0600, Simon Glass wrote:

> Hi Tom,
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/18014
> (usual azure branch but I cannot get the link)
> 
> The following changes since commit 65b9b3462bec2966911658836983819ab4e4823e:
> 
>   Merge branch 'next_pinctrl_sync' of
> https://source.denx.de/u-boot/custodians/u-boot-sh (2023-10-02
> 15:19:02 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-4oct23
> 
> for you to fetch changes up to 4840b71bb009711564e20f9695b92950c3f73e42:
> 
>   qconfig: Update the documentation (2023-10-04 09:25:22 -0600)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm

2023-10-04 Thread Simon Glass
Hi Tom,

https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/18014
(usual azure branch but I cannot get the link)

The following changes since commit 65b9b3462bec2966911658836983819ab4e4823e:

  Merge branch 'next_pinctrl_sync' of
https://source.denx.de/u-boot/custodians/u-boot-sh (2023-10-02
15:19:02 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-pull-4oct23

for you to fetch changes up to 4840b71bb009711564e20f9695b92950c3f73e42:

  qconfig: Update the documentation (2023-10-04 09:25:22 -0600)


moveconfig: enhance output; rename to qconfig


Simon Glass (28):
  dm: core: Adjust dump-sorting to get stats only when needed
  moveconfig: Drop -H option
  moveconfig: Avoid deprecation warning for setDaemon
  moveconfig: Correct ordering of asteval import
  moveconfig: Drop unused cleanup options
  moveconfig: Drop CONFIG-moving code
  moveconfig: Drop check_defconfig() and update_dotconfig()
  moveconfig: Drop suspicious boards
  moveconfig: Correct some regular-expression strings
  moveconfig: Correct parameter-type warnings
  moveconfig: Use f strings where possible
  moveconfig: Correct unused variables
  moveconfig: Correct non-snake variables names
  moveconfig: Correct use of members not declared in __init__()
  moveconfig: Correct list-comprehension warnings
  moveconfig: Use an encoding with open()
  moveconfig: Fix misc pylint warnings
  moveconfig: Only show output when there is a reason
  moveconfig: Reduce the amount of output
  moveconfig: Avoid showing progress at the end
  moveconfig: Use u_boot_pylib for terminal colour
  moveconfig: Show failures in progress
  moveconfig: Show a summary at the end
  moveconfig: Drop the initial output
  moveconfig: Move summaries to the end
  moveconfig: Rename the tool to qconfig
  qconfig: Rename the database file
  qconfig: Update the documentation

 .gitignore  |   4 +-
 doc/develop/index.rst   |   2 +-
 doc/develop/{moveconfig.rst => qconfig.rst} | 160 -
 drivers/core/dump.c |   3 +-
 tools/{moveconfig.py => qconfig.py} | 894
++--
 5 files changed, 273 insertions(+), 790 deletions(-)
 rename doc/develop/{moveconfig.rst => qconfig.rst} (59%)
 rename tools/{moveconfig.py => qconfig.py} (65%)

Regards,
Simon


Re: Please pull u-boot-dm/next

2023-09-29 Thread Tom Rini
On Fri, Sep 29, 2023 at 02:53:45PM +0530, Manorit Chawdhry wrote:
> Hi Tom, Simon
> 
> On 17:14-20230924, Tom Rini wrote:
> > On Sat, Sep 23, 2023 at 01:52:55PM -0600, Simon Glass wrote:
> > 
> > > Hi Tom,
> > > 
> > > This is for the -next branch
> > > 
> > > https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/17836
> > > 
> > > 
> > > The following changes since commit 
> > > b05a184379631d13c4a49e423aa1324dc1ae6158:
> > > 
> > >   Merge tag 'x86-pull-20230922' of
> > > https://source.denx.de/u-boot/custodians/u-boot-x86 into next
> > > (2023-09-22 11:16:22 -0400)
> > > 
> > > are available in the Git repository at:
> > > 
> > >   git://git.denx.de/u-boot-dm.git tags/dm-next-23sep23
> > > 
> > > for you to fetch changes up to ae84514feee209091d331a8baaa344ed8d8e905b:
> > > 
> > >   kontron_sl28: Use u-boot-update.bin instead of u-boot.update
> > > (2023-09-23 12:31:25 -0600)
> > > 
> > 
> > Applied to u-boot/next, thanks!
> 
> The following merge breaks K3 boards somehow, All have the same failure
> signature, putting the logs here of J721e for your reference.

This is what Roger has figured out here:
https://lore.kernel.org/u-boot/20230820220316.3517102-1-jo...@kwiboo.se/T/#t

And please note that both j721e_evm and am65x_evm are working fine which
is why I merged the series.

-- 
Tom


signature.asc
Description: PGP signature


Re: Please pull u-boot-dm/next

2023-09-29 Thread Manorit Chawdhry
Hi Tom, Simon

On 17:14-20230924, Tom Rini wrote:
> On Sat, Sep 23, 2023 at 01:52:55PM -0600, Simon Glass wrote:
> 
> > Hi Tom,
> > 
> > This is for the -next branch
> > 
> > https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/17836
> > 
> > 
> > The following changes since commit b05a184379631d13c4a49e423aa1324dc1ae6158:
> > 
> >   Merge tag 'x86-pull-20230922' of
> > https://source.denx.de/u-boot/custodians/u-boot-x86 into next
> > (2023-09-22 11:16:22 -0400)
> > 
> > are available in the Git repository at:
> > 
> >   git://git.denx.de/u-boot-dm.git tags/dm-next-23sep23
> > 
> > for you to fetch changes up to ae84514feee209091d331a8baaa344ed8d8e905b:
> > 
> >   kontron_sl28: Use u-boot-update.bin instead of u-boot.update
> > (2023-09-23 12:31:25 -0600)
> > 
> 
> Applied to u-boot/next, thanks!

The following merge breaks K3 boards somehow, All have the same failure
signature, putting the logs here of J721e for your reference.

U-Boot SPL 2023.10-rc4-00487-g90c81f407dd4 (Sep 29 2023 - 12:27:00 +0530)
SYSFW ABI: 3.1 (firmware rev 0x0009 '9.0.6--v09.00.06 (Kool Koala)')
ESM init failed: -19
Trying to boot from UART
Cicate on GP device. Skipping certificate to prevent boot failure. This will 
fail if the image was also encrypted
Warning: Detected image signing certificate on GP device. Skipping certificate 
to prevent boot failure. This will fail if the image was also encrypted
Warning: Detected image signing certificate on GP device. Skipping certificate 
to prevent boot failure. This will fail if the image was also encrypted
Warning: Detected image signing certificate on GP device. Skipping certificate 
to prevent boot failure. This will fail if the image was also encrypted
Warning: Detected image signing certificate on GP device. Skipping certificate 
to prevent boot failure. This will fail if the image was also encrypted
Loaded 1008063 bytes
Loading Environment from nowhere... OK
init_env from device 7 not supported!
Starting ATF on ARM64 core...

NOTICE:  BL31: v2.9(release):v2.9.0-dirty
NOTICE:  BL31: Built : 14:12:59, May 22 2023
I/TC:
I/TC: OP-TEE version: 3.20.0 (gcc version 11.4.0 (GCC)) #1 Fri Jan 20 15:42:54 
UTC 2023 aarch64
I/TC: WARNING: This OP-TEE configuration might be insecure!
I/TC: WARNING: Please check 
https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
I/TC: Primary CPU initializing
I/TC: SYSFW ABI: 3.1 (firmware rev 0x0009 '9.0.6--v09.00.06 (Kool Koala)')
I/TC: HUK Initialized
I/TC: Activated SA2UL device
I/TC: Fixing SA2UL firewall owner for GP device
I/TC: Enabled firewalls for SA2UL TRNG device
I/TC: SA2UL TRNG initialized
I/TC: SA2UL Drivers initialized
I/TC: Primary CPU switching to normal world boot

U-Boot SPL 2023.10-rc4-00487-g90c81f407dd4 (Sep 29 2023 - 12:27:45 +0530)
SYSFW ABI: 3.1 (firmware rev 0x0009 '9.0.6--v09.00.06 (Kool Koala)')
Detected: J7X-BASE-CPB rev E3
Detected: J7X-VSC8514-ETH rev E2
Trying to boot from UART
Certificate on GP device. Skipping certificate to prevent boot failure. This 
will fail if the image was also encrypted
Warning: Detected image signing certificate on GP device. Skipping certificate 
to prevent boot failure. This will fail if the image was also encrypted
Loaded 1270887 bytes
[end]

Regards,
Manorit

> 
> -- 
> Tom




Re: Please pull u-boot-dm

2023-09-25 Thread Tom Rini
On Sat, Sep 23, 2023 at 12:16:40PM -0600, Simon Glass wrote:

> Hi Tom,
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/17830
> https://dev.azure.com/simon0972/u-boot/_build/results?buildId=48=results
> 
> 
> The following changes since commit 4cb31a9f3560b293670de95e76c1f3cf2f9e1ca8:
> 
>   Merge branch '2023-09-22-assorted-bugfixes' (2023-09-22 18:25:37 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-23sep23
> 
> for you to fetch changes up to e278ad9a2ea5e4a089773a8fd79a5ea0e8572316:
> 
>   trace: Fix alignment logic in flyrecord header (2023-09-23 09:00:37 -0600)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Re: Please pull u-boot-dm/next

2023-09-24 Thread Tom Rini
On Sat, Sep 23, 2023 at 01:52:55PM -0600, Simon Glass wrote:

> Hi Tom,
> 
> This is for the -next branch
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/17836
> 
> 
> The following changes since commit b05a184379631d13c4a49e423aa1324dc1ae6158:
> 
>   Merge tag 'x86-pull-20230922' of
> https://source.denx.de/u-boot/custodians/u-boot-x86 into next
> (2023-09-22 11:16:22 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-next-23sep23
> 
> for you to fetch changes up to ae84514feee209091d331a8baaa344ed8d8e905b:
> 
>   kontron_sl28: Use u-boot-update.bin instead of u-boot.update
> (2023-09-23 12:31:25 -0600)
> 

Applied to u-boot/next, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm/next

2023-09-23 Thread Simon Glass
Hi Tom,

This is for the -next branch

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


The following changes since commit b05a184379631d13c4a49e423aa1324dc1ae6158:

  Merge tag 'x86-pull-20230922' of
https://source.denx.de/u-boot/custodians/u-boot-x86 into next
(2023-09-22 11:16:22 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-next-23sep23

for you to fetch changes up to ae84514feee209091d331a8baaa344ed8d8e905b:

  kontron_sl28: Use u-boot-update.bin instead of u-boot.update
(2023-09-23 12:31:25 -0600)


buildman file-keeping and build-progress improvements
dm tree enhancement
adjust meaning of bootph-pre-ram/sram


AKASHI Takahiro (1):
  cmd: dm: allow for selecting uclass and device

Jonas Karlman (1):
  dm: core: Report bootph-pre-ram/sram node as pre-reloc after relocation

Simon Glass (4):
  buildman: Keep all common output files
  buildman: Show progress when regenerating the board.cfg file
  buildman: Start the clock when the build starts
  kontron_sl28: Use u-boot-update.bin instead of u-boot.update

 arch/arm/dts/fsl-ls1028a-kontron-sl28-u-boot.dtsi |   2 +-
 cmd/dm.c  |  48 ---
 doc/board/kontron/sl28.rst|   4 +-
 doc/usage/cmd/dm.rst  |  30 -
 drivers/core/dump.c   | 116
++-
 drivers/core/ofnode.c |   2 +-
 include/dm/ofnode.h   |   8 +--
 include/dm/util.h |  15 +++--
 tools/buildman/boards.py  |  15 -
 tools/buildman/builder.py |   3 +-
 tools/buildman/builderthread.py   |  12 ++--
 tools/buildman/control.py |   3 +-
 12 files changed, 197 insertions(+), 61 deletions(-)

Regards,
Simon


Please pull u-boot-dm

2023-09-23 Thread Simon Glass
Hi Tom,

https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/17830
https://dev.azure.com/simon0972/u-boot/_build/results?buildId=48=results


The following changes since commit 4cb31a9f3560b293670de95e76c1f3cf2f9e1ca8:

  Merge branch '2023-09-22-assorted-bugfixes' (2023-09-22 18:25:37 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-pull-23sep23

for you to fetch changes up to e278ad9a2ea5e4a089773a8fd79a5ea0e8572316:

  trace: Fix alignment logic in flyrecord header (2023-09-23 09:00:37 -0600)


trace: correct format of flyrecord
minor bug fixes


Fei Shao (1):
  patman: Respect include directive on Git config lookup

Maxim Cournoyer (1):
  tools: Fix patman launcher script.

Michal Simek (4):
  sandbox: test: Fix typo in test.dts
  trace: Use 64bit variable for start and len
  trace: Move trace_clocks description above record offset calculation
  trace: Fix alignment logic in flyrecord header

Rong Tao (1):
  binman: Fix SyntaxWarning: invalid escape sequence '\('

Simon Glass (1):
  buildman: Fix full help for Python 3.8

 arch/sandbox/dts/test.dts |  2 +-
 tools/binman/etype/section.py |  2 +-
 tools/buildman/main.py| 10 --
 tools/patman/gitutil.py   |  4 ++--
 tools/patman/pyproject.toml   |  2 +-
 tools/proftool.c  | 39 ++-
 6 files changed, 47 insertions(+), 12 deletions(-)

Regards,
Simon


Re: Please pull u-boot-dm

2023-08-23 Thread Tom Rini
On Tue, Aug 22, 2023 at 01:46:36PM -0600, Simon Glass wrote:

> Hi Tom.
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/17476
> 
> 
> The following changes since commit 976fb2ffa3875a7bed9866bf5cf939a81c423ef8:
> 
>   Prepare v2023.10-rc3 (2023-08-21 16:19:59 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-22aug23
> 
> for you to fetch changes up to 1c55d62fb9ccc107cb4fefa9bb04cb16395ca84c:
> 
>   riscv: cpu: make riscv_cpu_probe to EVT_DM_POST_INIT_R callback
> (2023-08-22 08:07:54 -0600)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm

2023-08-22 Thread Simon Glass
Hi Tom.

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


The following changes since commit 976fb2ffa3875a7bed9866bf5cf939a81c423ef8:

  Prepare v2023.10-rc3 (2023-08-21 16:19:59 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-pull-22aug23

for you to fetch changes up to 1c55d62fb9ccc107cb4fefa9bb04cb16395ca84c:

  riscv: cpu: make riscv_cpu_probe to EVT_DM_POST_INIT_R callback
(2023-08-22 08:07:54 -0600)


RISC-V fix for CPU init


Chanho Park (2):
  dm: event: add EVT_DM_POST_INIT_R event type
  riscv: cpu: make riscv_cpu_probe to EVT_DM_POST_INIT_R callback

 arch/riscv/cpu/cpu.c | 11 +++
 common/event.c   |  1 +
 drivers/core/root.c  |  6 --
 include/event.h  |  1 +
 4 files changed, 9 insertions(+), 10 deletions(-)

Regards,
Simon


Re: Please pull u-boot-dm

2023-08-21 Thread Tom Rini
On Mon, Aug 21, 2023 at 01:11:38PM -0600, Simon Glass wrote:

> Hi Tom,
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/17449
> https://dev.azure.com/simon0972/u-boot/_build/results?buildId=47=results
> 
> 
> The following changes since commit 17aad803551500e1a3d87339a6559e99b7fad479:
> 
>   Merge branch 'master' of
> https://source.denx.de/u-boot/custodians/u-boot-sh (2023-08-20
> 11:09:11 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-20aug23
> 
> for you to fetch changes up to 25a9be71ec1ca779aac8bcb1d8a363725ff0ac7f:
> 
>   test: cpu: Handle both 32bit and 64bit CPUs (2023-08-20 15:55:27 -0600)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm

2023-08-21 Thread Simon Glass
Hi Tom,

https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/17449
https://dev.azure.com/simon0972/u-boot/_build/results?buildId=47=results


The following changes since commit 17aad803551500e1a3d87339a6559e99b7fad479:

  Merge branch 'master' of
https://source.denx.de/u-boot/custodians/u-boot-sh (2023-08-20
11:09:11 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-pull-20aug23

for you to fetch changes up to 25a9be71ec1ca779aac8bcb1d8a363725ff0ac7f:

  test: cpu: Handle both 32bit and 64bit CPUs (2023-08-20 15:55:27 -0600)


sandbox64 fixes


Marek Vasut (11):
  configs: sandbox64: Enable SF bootdev
  configs: sandbox64: Increase console record size to 0x6000
  configs: sandbox64: Enable MC34708 driver
  configs: sandbox64: Enable BUTTON_ADC driver
  test: dm: pinmux: Handle %pa in pinctrl-single mux output
  configs: sandbox64: Enable PINCTRL_SINGLE driver
  configs: sandbox64: Enable video 16bpp and 24bpp support
  configs: sandbox64: Enable video 12x22 font support
  configs: sandbox64: Enable clock CCF driver
  configs: sandbox64: Enable PCI register multi-entry support
  test: cpu: Handle both 32bit and 64bit CPUs

 configs/sandbox64_defconfig | 12 ++-
 test/dm/cpu.c   |  2 +-
 test/dm/pinmux.c| 92
++
 3 files changed, 63 insertions(+), 43 deletions(-)

Regards,
Simon


Re: Please pull u-boot-dm/next

2023-08-15 Thread Tom Rini
On Mon, Aug 14, 2023 at 04:48:28PM -0600, Simon Glass wrote:

> Hi Tom,
> 
> This is for the -next branch
> 
> 
> The following changes since commit 321d7b4d875a77552a969dd6ea5bbed2644fcb0c:
> 
>   Merge branch '2023-08-09-misc-cleanups' into next (2023-08-09 13:15:51 
> -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-next-14aug23
> 
> for you to fetch changes up to daffb0be2c839f3abe431cd68c772fae0e7e49ca:
> 
>   bootstd: cros: Add ARM support (2023-08-11 07:33:40 -0600)
> 

Applied to u-boot/next, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm/next

2023-08-14 Thread Simon Glass
Hi Tom,

This is for the -next branch


The following changes since commit 321d7b4d875a77552a969dd6ea5bbed2644fcb0c:

  Merge branch '2023-08-09-misc-cleanups' into next (2023-08-09 13:15:51 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-next-14aug23

for you to fetch changes up to daffb0be2c839f3abe431cd68c772fae0e7e49ca:

  bootstd: cros: Add ARM support (2023-08-11 07:33:40 -0600)


Enhance bootmeth_cros


Simon Glass (16):
  bootstd: cros: Correct reporting of I/O errors
  bootstd: cros: Move partition reading into a function
  bootstd: cros: Bring in some ChromiumOS structures
  bootstd: cros: Support a kernel on either partition
  bootstd: cros: Decode some kernel preamble fields
  bootstd: cros: Simplify setup and cmdline expressions
  bootstd: Move common zimage functions to bootm.h
  bootstd: cros: Add docs for the kernel layout
  bootstd: cros: Add private info for ChromiumOS
  bootstd: Add private bootmeth data to the bootflow
  bootstd: cros: Add a function to read info from partition
  bootstd: cros: Add a function to read a kernel
  bootstd: cros: Split up reading info and kernel
  bootstd: Allow display of the x86 setup information
  bootstd: Add a command to read all files for a bootflow
  bootstd: cros: Add ARM support

 arch/x86/include/asm/zimage.h |  37 -
 arch/x86/lib/zimage.c |   8 +-
 boot/Kconfig  |   4 +-
 boot/bootflow.c   |  17 ++
 boot/bootm.c  |  37 +
 boot/bootmeth-uclass.c|  12 ++
 boot/bootmeth_cros.c  | 367 +++---
 boot/bootmeth_cros.h  | 197 +++
 cmd/bootflow.c|  47 +-
 doc/usage/cmd/bootflow.rst| 139 +++-
 include/bootflow.h|  15 +-
 include/bootm.h   |  47 ++
 include/bootmeth.h|  25 ++-
 13 files changed, 845 insertions(+), 107 deletions(-)
 create mode 100644 boot/bootmeth_cros.h

Regards,
Simon


Re: Please pull u-boot-dm

2023-08-06 Thread Tom Rini
On Sat, Aug 05, 2023 at 08:00:20PM -0600, Simon Glass wrote:

> Hi Tom,
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/17224
> https://dev.azure.com/simon0972/u-boot/_build/results?buildId=45=results
> 
> 
> The following changes since commit 9787da0d32c2d58bae790a16ded0fe0c150c3280:
> 
>   Merge branch '2023-08-04-toradex-platform-updates' (2023-08-04 16:04:11 
> -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-5aug23
> 
> for you to fetch changes up to 48d4c0a85d6f7fdb46dddcaa8a5f5b5c4290819f:
> 
>   buildman: Drop warning about orphaned defconfigs (2023-08-05 11:39:23 -0600)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm

2023-08-05 Thread Simon Glass
Hi Tom,

https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/17224
https://dev.azure.com/simon0972/u-boot/_build/results?buildId=45=results


The following changes since commit 9787da0d32c2d58bae790a16ded0fe0c150c3280:

  Merge branch '2023-08-04-toradex-platform-updates' (2023-08-04 16:04:11 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-pull-5aug23

for you to fetch changes up to 48d4c0a85d6f7fdb46dddcaa8a5f5b5c4290819f:

  buildman: Drop warning about orphaned defconfigs (2023-08-05 11:39:23 -0600)


binman support for Xilinx signing
buildman minor fixes


Jaehoon Chung (1):
  event: Fix a wrong type_name from dm_post_init to dm_post_init_f

Lukas Funke (3):
  binman: btool: Add Xilinx Bootgen btool
  binman: etype: Add xilinx-bootgen etype
  binman: ftest: Add test for xilinx-bootgen etype

Simon Glass (3):
  binman: Renumber 291 and 292 test files
  buildman: Exit after reading toolchain
  buildman: Drop warning about orphaned defconfigs

 common/event.c |   2 +-
 tools/binman/bintools.rst  |   2 +-
 tools/binman/btool/bootgen.py  | 137

 tools/binman/entries.rst   |  75 +
 tools/binman/etype/xilinx_bootgen.py   | 225
+++
 tools/binman/ftest.py  |  81 +-
 tools/binman/test/307_xilinx_bootgen_sign.dts  |  22 +++
 tools/binman/test/308_xilinx_bootgen_sign_enc.dts  |  24 +++
 .../{291_template_phandle.dts => 309_template_phandle.dts} |   0
 ...2_template_phandle_dup.dts => 310_template_phandle_dup.dts} |   0
 tools/buildman/boards.py   |   7 -
 tools/buildman/control.py  |   3 +
 tools/buildman/func_test.py|   9 +-
 13 files changed, 569 insertions(+), 18 deletions(-)
 create mode 100644 tools/binman/btool/bootgen.py
 create mode 100644 tools/binman/etype/xilinx_bootgen.py
 create mode 100644 tools/binman/test/307_xilinx_bootgen_sign.dts
 create mode 100644 tools/binman/test/308_xilinx_bootgen_sign_enc.dts
 rename tools/binman/test/{291_template_phandle.dts =>
309_template_phandle.dts} (100%)
 rename tools/binman/test/{292_template_phandle_dup.dts =>
310_template_phandle_dup.dts} (100%)

Regards,
Simon


Re: Please pull u-boot-dm

2023-08-03 Thread Tom Rini
On Wed, Aug 02, 2023 at 03:31:20PM -0600, Simon Glass wrote:

> Hi Tom,
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/17186
> 
> https://dev.azure.com/simon0972/u-boot/_build/results?buildId=44=results
> 
> 
> The following changes since commit 7755b2200777f72dca87dd169138e95f011bbcb9:
> 
>   Merge tag 'x86-pull-20230801' of
> https://source.denx.de/u-boot/custodians/u-boot-x86 (2023-08-01
> 11:57:55 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-2aug23
> 
> for you to fetch changes up to 288ae53cb73605500b7fc01e5919753c878466be:
> 
>   binman: Add a temporary hack for duplicate phandles (2023-08-02
> 12:05:57 -0600)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm

2023-08-02 Thread Simon Glass
Hi Tom,

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

https://dev.azure.com/simon0972/u-boot/_build/results?buildId=44=results


The following changes since commit 7755b2200777f72dca87dd169138e95f011bbcb9:

  Merge tag 'x86-pull-20230801' of
https://source.denx.de/u-boot/custodians/u-boot-x86 (2023-08-01
11:57:55 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-pull-2aug23

for you to fetch changes up to 288ae53cb73605500b7fc01e5919753c878466be:

  binman: Add a temporary hack for duplicate phandles (2023-08-02
12:05:57 -0600)


binman fixes for options, etc.
binman template fixes / tweaks


Heinrich Schuchardt (2):
  boot: fix bootdev_list()
  cmd/bootdev: print readable status code

Jonas Karlman (7):
  binman: Update tee-os missing blob help text
  binman: Update missing optional external blob warning text
  binman: Report missing external blobs using error level
  binman: Override CheckOptional in fit entry
  binman: Fix blank line usage for invalid images warning text
  binman: Show filename in missing blob help message
  Makefile: Show binman missing blob message

Lukas Funke (1):
  binman: elf: Check for ELF_TOOLS availability and remove extra semicolon

Simon Glass (7):
  binman: Produce a template-file after processing
  dtoc: Make properties dirty when purging them
  dtoc: Add some debugging when copying nodes
  fdt: Allow copying phandles into templates
  binman: Remove templates after use
  binman: Support templates containing phandles
  binman: Add a temporary hack for duplicate phandles

 Makefile   |  8 +++-
 boot/bootdev-uclass.c  |  2 +-
 cmd/bootdev.c  |  2 +-
 tools/binman/binman.rst| 26 +++-
 tools/binman/cmdline.py|  2 ++
 tools/binman/control.py| 71
+++---
 tools/binman/elf.py| 10 ++
 tools/binman/elf_test.py   | 16 +--
 tools/binman/etype/fit.py  |  7 +++
 tools/binman/ftest.py  | 54
+-
 tools/binman/missing-blob-help |  2 +-
 tools/binman/test/264_tee_os_opt_fit.dts   |  1 +
 tools/binman/test/291_template_phandle.dts | 51
+++
 tools/binman/test/292_template_phandle_dup.dts | 65

 tools/dtoc/fdt.py  | 40
+++--
 tools/dtoc/test/dtoc_test_copy.dts |  6 --
 tools/dtoc/test_fdt.py | 40
+
 17 files changed, 355 insertions(+), 48 deletions(-)
 create mode 100644 tools/binman/test/291_template_phandle.dts
 create mode 100644 tools/binman/test/292_template_phandle_dup.dts

Regards,
Simon


Re: Please pull u-boot-dm

2023-07-24 Thread Tom Rini
On Mon, Jul 24, 2023 at 12:31:55PM -0600, Simon Glass wrote:

> Hi Tom,
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/17032
> 
> 
> The following changes since commit be71a05a417deb5fcea8e39e557f890626ab2352:
> 
>   Merge branch '2023-07-22-TI-binman-and-K3-improvements' (2023-07-23
> 21:46:05 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-24jul23
> 
> for you to fetch changes up to 407a1413e3202585ca842896365718873b170ee2:
> 
>   buildman: Enable test coverage (2023-07-24 09:34:11 -0600)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm

2023-07-24 Thread Simon Glass
Hi Tom,

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


The following changes since commit be71a05a417deb5fcea8e39e557f890626ab2352:

  Merge branch '2023-07-22-TI-binman-and-K3-improvements' (2023-07-23
21:46:05 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-pull-24jul23

for you to fetch changes up to 407a1413e3202585ca842896365718873b170ee2:

  buildman: Enable test coverage (2023-07-24 09:34:11 -0600)


buildman refactoring and --maintainer-check
binman TI support
binman cipher support


Christian Taedcke (3):
  binman: Add support for externally encrypted blobs
  binman: Allow cipher node as special section
  binman: Add tests for etype encrypted

Lukas Funke (7):
  binman: Don't decompress data while signing
  binman: blob_dtb: Add fake_size argument to ObtainContents()
  binman: doc: Add documentation for fdt_add_pubkey bintool
  binman: btool: Add fdt_add_pubkey as btool
  binman: etype: Add u-boot-spl-pubkey-dtb etype
  binman: doc: Add documentation for Xilinx Bootgen bintool
  binman: ftest: Add test for u_boot_spl_pubkey_dtb

Simon Glass (87):
  binman: Tidy up tests for pre-load entry type
  binman: Renumber 277_rockchip and 278_mkimage test files
  binman: Renumber 277...289 TI test files
  binman: Add missing ssl documentation
  buildman: Fix verboose typo and add comment
  buildman: Allow --debug to enable debugging
  buildman: Exit with the return code consistently
  buildman: Rename the ARM boards
  buildman: Drop dead code to handle :CONFIG_ construct
  buildman: Avoid globals in leaf functions
  buildman: Add a test for Boards.scan_defconfigs()
  buildman: Add a test for Boards.output_is_new()
  buildman: Add a partial test for ensure_board_list()
  buildman: Tidy up common code in parse_file()
  buildman: Warn about dangling maintainer entries
  buildman: Refactor target handling in Boards.scan()
  buildman: Detect boards with multiple CONFIG_TARGETs defined
  buildman: Detect boards with no CONFIG_TARGET defined
  buildman: Correct operation of MAINTAINERS N:
  buildman: Just display a single line for missing maintainers
  buildman: Sort the maintainer warnings
  buildman: Correct logic for missing maintainers
  buildman: Add an option to check maintainers
  buildman: Provide an argument to the -R option
  buildman: Tidy up pylint warnings in main
  buildman: Convert camel case in control.py
  buildman: Fix most pylint warnings in control
  buildman: Move full-help processing to main
  buildman: Move series calculations into a separate function
  buildman: Move fetch-arch code into a separate function
  buildman: Add a test for the -A option
  buildman: Drop use of builder in show_actions()
  buildman: Move dry-run handling higher in do_buildman()
  buildman: Add tests for excluding things
  buildman: Move board-selection code into a function
  bulidman: Move more code to determine_series()
  buildman: Move Boards-object code into a function
  bulidman: Move toolchain handling to a function
  bulldman: Set up output_dir earlier
  buildman: Move output-file setup into one place
  buildman: Pass option values to get_action_summary()
  buildman: Pass option values to show_actions()
  buildman: Build option-adjusting into a function
  buildman: Move counting of commits into a function
  buildman: Move setting up the output dir into a function
  buildman: Move commit numbering into determine_series()
  buildman: Avoid too many returns in do_buildman()
  buildman: Move remaining builder properties to constructor
  buildman: Tweak commits and show_bloat
  buildman: Moving running of the builder into a function
  buildman: Drop some unnecessary variables
  buildman: Adjust show_toolchain_prefix() to not return
  buildman: Move checking for make into run_builder()
  buildman: Move getting the adjust_cfg into run_builder()
  buildman: Use get_alow_missing() directly to avoid var
  buildman: Create a function to get number of built commits
  buildman: Convert camel case in cmdline.py
  buildman: Correct most pylint warnings in cmdline
  buildman: Add a test for --boards
  buildman: Convert to argparse
  buildman: Convert camel case in bsettings.py
  buildman: Convert camel case in builder.py
  buildman: Split parser creation in two
  buildman: Convert camel case in builderthread.py
  buildman: Correct most pylint warnings in builderthread
  buildman: Export _get_output_dir() to avoid warnings
  buildman: Correct invalid use of out_dir variable
  buildman: Drop unnecessary assignment of config_out

Re: Please pull u-boot-dm

2023-07-21 Thread Tom Rini
On Thu, Jul 20, 2023 at 02:13:38PM -0600, Simon Glass wrote:

> Hi Tom,
> 
> I am bringing in the binman changes now. There are going to be some
> minor tweaks to templating as well as various patches from others, but
> most are based on these patches.
> 
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/16964
> 
> 
> The following changes since commit 0274eb61e1f2a8e053fb028b6c668c67c0b75b9c:
> 
>   Merge tag 'efi-2023-10-rc1-2' of
> https://source.denx.de/u-boot/custodians/u-boot-efi (2023-07-20
> 10:19:04 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-20jul23
> 
> for you to fetch changes up to 24142ead21ed5e4d2d6f39dd410d91d815ea1ae2:
> 
>   binman: Reduce state.SetInt and bintool cmd to debug level
> (2023-07-20 14:10:58 -0600)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm

2023-07-20 Thread Simon Glass
Hi Tom,

I am bringing in the binman changes now. There are going to be some
minor tweaks to templating as well as various patches from others, but
most are based on these patches.


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


The following changes since commit 0274eb61e1f2a8e053fb028b6c668c67c0b75b9c:

  Merge tag 'efi-2023-10-rc1-2' of
https://source.denx.de/u-boot/custodians/u-boot-efi (2023-07-20
10:19:04 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-pull-20jul23

for you to fetch changes up to 24142ead21ed5e4d2d6f39dd410d91d815ea1ae2:

  binman: Reduce state.SetInt and bintool cmd to debug level
(2023-07-20 14:10:58 -0600)


binman mkimage and template enhancements
misc fixes


Eugen Hristev (1):
  dm: core: of_access: fix return value in of_property_match_string

Heinrich Schuchardt (1):
  cmd: fix loads, saves on sandbox

John Clark (1):
  bootstd: USB devtype detection for script boot

John Keeping (1):
  core: read: fix dev_read_addr_size()

Marek Vasut (1):
  binman: Convert mkimage to Entry_section

Maxim Cournoyer (2):
  tools: Fix README file in pyproject.toml of u_boot_pylib.
  tools: Fix package discovery in pyproject.toml of u_boot_pylib.

Sergei Antonov (1):
  sandbox: fix a compilation error

Simon Glass (18):
  binman: Init align_default in entry_Section
  binman: Use GetEntries() to obtain section contents
  binman: Read _multiple_data_files in the correct place
  binman: Allow disabling symbol writing
  stm32mp15: Avoid writing symbols in SPL
  binman: Update elf to return number of written symbols
  binman: Add more detail on how ObtainContents() works
  binman: Provide a way to specify the fdt-list directly
  binman: Drop __bss_size variable in bss_data.c
  binman: Correct handling of zero bss size
  dtoc: Support copying the contents of a node into another
  dtoc: Allow inserting a list of nodes into another
  binman: Support simple templates
  binman: Support templating with multiple images
  binman: Add a test for templating in a FIT
  binman: Support templates at any level
  binman: Support writing symbols inside a mkimage image
  binman: Reduce state.SetInt and bintool cmd to debug level

 arch/arm/dts/stm32mp15-u-boot.dtsi |   1 +
 arch/sandbox/include/asm/sdl.h |  23 +++
 arch/sandbox/include/asm/test.h|  25 ---
 boot/bootmeth_script.c |   5 +-
 cmd/load.c |  16 +++--
 drivers/core/of_access.c   |   5 +-
 drivers/core/read.c|   5 +-
 drivers/reset/reset-rockchip.c |   2 +-
 include/dm/read.h  |  12 +---
 test/dm/video.c|   1 +
 tools/binman/binman.rst|  94 +++
 tools/binman/bintool.py|   2 +-
 tools/binman/control.py|  32 -
 tools/binman/elf.py|  13 +++-
 tools/binman/elf_test.py   |  13 +++-
 tools/binman/entries.rst   |   6 ++
 tools/binman/entry.py  |  11 ++--
 tools/binman/etype/blob_phase.py   |   5 ++
 tools/binman/etype/fit.py  |   9 +++
 tools/binman/etype/mkimage.py  | 136
+++
 tools/binman/etype/section.py  |  54 
 tools/binman/etype/u_boot_spl_bss_pad.py   |   2 +-
 tools/binman/etype/u_boot_tpl_bss_pad.py   |   2 +-
 tools/binman/etype/u_boot_vpl_bss_pad.py   |   2 +-
 tools/binman/ftest.py  | 218
--
 tools/binman/state.py  |   4 +-
 tools/binman/test/282_symbols_disable.dts  |  25 +++
 tools/binman/test/283_mkimage_special.dts  |  24 +++
 tools/binman/test/284_fit_fdt_list.dts |  58 +
 tools/binman/test/285_spl_expand.dts   |  13 
 tools/binman/test/286_template.dts |  42 
 tools/binman/test/287_template_multi.dts   |  27 
 tools/binman/test/288_template_fit.dts |  37 +++
 tools/binman/test/289_template_section.dts |  52 +++
 tools/binman/test/290_mkimage_sym.dts  |  27 
 tools/binman/test/Makefile |   5 +-
 tools/binman/test/bss_data.c   |   3 +-
 tools/binman/test/bss_data_zero.c  |  16 +
 tools/binman/test/bss_data_zero.lds|  15 +
 tools/binman/test/embed_data.lds   |   1 +
 tools/dtoc/fdt.py  | 141
+++-
 tools/dtoc/test/dtoc_test_copy.dts |  88 +
 

Re: Please pull u-boot-dm

2023-07-15 Thread Simon Glass
Hi Tom,

On Wed, 12 Jul 2023 at 14:31, Tom Rini  wrote:
>
> On Wed, Jul 12, 2023 at 02:17:45PM -0600, Simon Glass wrote:
> > Hi Tom,
> >
> > On Wed, 12 Jul 2023 at 14:14, Tom Rini  wrote:
> > >
> > > On Wed, Jul 12, 2023 at 02:09:19PM -0600, Simon Glass wrote:
> > > > Hi Tom,
> > > >
> > > > On Wed, 12 Jul 2023 at 13:36, Tom Rini  wrote:
> > > > >
> > > > > On Wed, Jul 12, 2023 at 03:29:39PM -0400, Tom Rini wrote:
> > > > > > On Wed, Jul 12, 2023 at 09:51:13AM -0600, Simon Glass wrote:
> > > > > >
> > > > > > > Hi Tom.
> > > > > > >
> > > > > > > https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/16872
> > > > > > >
> > > > > > >
> > > > > > > The following changes since commit 
> > > > > > > 8e21064cb3452950b09301baec06d86e37342471:
> > > > > > >
> > > > > > >   Merge tag 'efi-2023-07-rc7' of
> > > > > > > https://source.denx.de/u-boot/custodians/u-boot-efi (2023-07-11
> > > > > > > 13:27:32 -0400)
> > > > > > >
> > > > > > > are available in the Git repository at:
> > > > > > >
> > > > > > >   git://git.denx.de/u-boot-dm.git tags/dm-pull-12jul23a
> > > > > > >
> > > > > > > for you to fetch changes up to 
> > > > > > > 45aa7ac492d90ddc2977ea6c9d161e7cc487:
> > > > > > >
> > > > > > >   tools: Fix package discovery in pyproject.toml of u_boot_pylib.
> > > > > > > (2023-07-12 09:48:19 -0600)
> > > > > >
> > > > > > NAK,
> > > > > > commit 5a801ad450303f028213c5da12017db5d3668cbc
> > > > > > Author: Simon Glass 
> > > > > > Date:   Thu Jun 22 12:44:24 2023 +0100
> > > > > >
> > > > > > buildman: Provide an argument to the -R option
> > > > > >
> > > > > > Allow writing the file to a selected location, since otherwise 
> > > > > > this is
> > > > > > controlled by the buildman configuration, so cannot be 
> > > > > > determined by the
> > > > > > caller.
> > > > > >
> > > > > > Fixes: https://source.denx.de/u-boot/u-boot/-/issues/17
> > > > > > Signed-off-by: Simon Glass 
> > > > > >
> > > > > > Breaks buildman -R as it now requires a location to be specified 
> > > > > > instead
> > > > > > of creating one where it's normally needed / used by default.
> > > > > >
> > > > > > And I believe this matters in that I use "buildman -R" for "Did 
> > > > > > someone
> > > > > > add a new defconfig and not update a MAINATINERS file?".
> > > >
> > > > From the docs:
> > > >
> > > > This file is no-longer needed by buildman but it is still generated in 
> > > > the
> > > > working directory. This helps avoid a delay on every build, since 
> > > > scanning all
> > > > the Kconfig files takes a few seconds. Use the `-R ` flag to 
> > > > force
> > > > regeneration of the file - in that case buildman exits after writing 
> > > > the file
> > > > with exit code 2 if there was an error in the maintainer files. To use 
> > > > the
> > > > default filename, use a hyphen, i.e. `-R -`.
> > >
> > > The old name needs to be the default if none is specified, to not break
> > > existing setups.
> >
> > Well if none is specified you get an error. I realised after adding -R
> > that it writes the file to a place that cannot be determined without
> > parsing the ~/.buildman file!
>
> I noticed it now produces an error when it broke the part of my build
> scripts to check for new unmaintained defconfig files.  And I don't
> really like adding incompatible changes to this script as it then breaks
> when I need to go and back track on issues.  So please figure out what
> needs to happen for -R to take an optional name, so that existing
> scripts aren't broken.

As per irc I'll create a new option for this, so we don't have to use
-R anymore.

Regards,
Simon


Re: Please pull u-boot-dm

2023-07-12 Thread Tom Rini
On Wed, Jul 12, 2023 at 02:17:45PM -0600, Simon Glass wrote:
> Hi Tom,
> 
> On Wed, 12 Jul 2023 at 14:14, Tom Rini  wrote:
> >
> > On Wed, Jul 12, 2023 at 02:09:19PM -0600, Simon Glass wrote:
> > > Hi Tom,
> > >
> > > On Wed, 12 Jul 2023 at 13:36, Tom Rini  wrote:
> > > >
> > > > On Wed, Jul 12, 2023 at 03:29:39PM -0400, Tom Rini wrote:
> > > > > On Wed, Jul 12, 2023 at 09:51:13AM -0600, Simon Glass wrote:
> > > > >
> > > > > > Hi Tom.
> > > > > >
> > > > > > https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/16872
> > > > > >
> > > > > >
> > > > > > The following changes since commit 
> > > > > > 8e21064cb3452950b09301baec06d86e37342471:
> > > > > >
> > > > > >   Merge tag 'efi-2023-07-rc7' of
> > > > > > https://source.denx.de/u-boot/custodians/u-boot-efi (2023-07-11
> > > > > > 13:27:32 -0400)
> > > > > >
> > > > > > are available in the Git repository at:
> > > > > >
> > > > > >   git://git.denx.de/u-boot-dm.git tags/dm-pull-12jul23a
> > > > > >
> > > > > > for you to fetch changes up to 
> > > > > > 45aa7ac492d90ddc2977ea6c9d161e7cc487:
> > > > > >
> > > > > >   tools: Fix package discovery in pyproject.toml of u_boot_pylib.
> > > > > > (2023-07-12 09:48:19 -0600)
> > > > >
> > > > > NAK,
> > > > > commit 5a801ad450303f028213c5da12017db5d3668cbc
> > > > > Author: Simon Glass 
> > > > > Date:   Thu Jun 22 12:44:24 2023 +0100
> > > > >
> > > > > buildman: Provide an argument to the -R option
> > > > >
> > > > > Allow writing the file to a selected location, since otherwise 
> > > > > this is
> > > > > controlled by the buildman configuration, so cannot be determined 
> > > > > by the
> > > > > caller.
> > > > >
> > > > > Fixes: https://source.denx.de/u-boot/u-boot/-/issues/17
> > > > > Signed-off-by: Simon Glass 
> > > > >
> > > > > Breaks buildman -R as it now requires a location to be specified 
> > > > > instead
> > > > > of creating one where it's normally needed / used by default.
> > > > >
> > > > > And I believe this matters in that I use "buildman -R" for "Did 
> > > > > someone
> > > > > add a new defconfig and not update a MAINATINERS file?".
> > >
> > > From the docs:
> > >
> > > This file is no-longer needed by buildman but it is still generated in the
> > > working directory. This helps avoid a delay on every build, since 
> > > scanning all
> > > the Kconfig files takes a few seconds. Use the `-R ` flag to 
> > > force
> > > regeneration of the file - in that case buildman exits after writing the 
> > > file
> > > with exit code 2 if there was an error in the maintainer files. To use the
> > > default filename, use a hyphen, i.e. `-R -`.
> >
> > The old name needs to be the default if none is specified, to not break
> > existing setups.
> 
> Well if none is specified you get an error. I realised after adding -R
> that it writes the file to a place that cannot be determined without
> parsing the ~/.buildman file!

I noticed it now produces an error when it broke the part of my build
scripts to check for new unmaintained defconfig files.  And I don't
really like adding incompatible changes to this script as it then breaks
when I need to go and back track on issues.  So please figure out what
needs to happen for -R to take an optional name, so that existing
scripts aren't broken.

-- 
Tom


signature.asc
Description: PGP signature


Re: Please pull u-boot-dm

2023-07-12 Thread Simon Glass
Hi Tom,

On Wed, 12 Jul 2023 at 14:14, Tom Rini  wrote:
>
> On Wed, Jul 12, 2023 at 02:09:19PM -0600, Simon Glass wrote:
> > Hi Tom,
> >
> > On Wed, 12 Jul 2023 at 13:36, Tom Rini  wrote:
> > >
> > > On Wed, Jul 12, 2023 at 03:29:39PM -0400, Tom Rini wrote:
> > > > On Wed, Jul 12, 2023 at 09:51:13AM -0600, Simon Glass wrote:
> > > >
> > > > > Hi Tom.
> > > > >
> > > > > https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/16872
> > > > >
> > > > >
> > > > > The following changes since commit 
> > > > > 8e21064cb3452950b09301baec06d86e37342471:
> > > > >
> > > > >   Merge tag 'efi-2023-07-rc7' of
> > > > > https://source.denx.de/u-boot/custodians/u-boot-efi (2023-07-11
> > > > > 13:27:32 -0400)
> > > > >
> > > > > are available in the Git repository at:
> > > > >
> > > > >   git://git.denx.de/u-boot-dm.git tags/dm-pull-12jul23a
> > > > >
> > > > > for you to fetch changes up to 
> > > > > 45aa7ac492d90ddc2977ea6c9d161e7cc487:
> > > > >
> > > > >   tools: Fix package discovery in pyproject.toml of u_boot_pylib.
> > > > > (2023-07-12 09:48:19 -0600)
> > > >
> > > > NAK,
> > > > commit 5a801ad450303f028213c5da12017db5d3668cbc
> > > > Author: Simon Glass 
> > > > Date:   Thu Jun 22 12:44:24 2023 +0100
> > > >
> > > > buildman: Provide an argument to the -R option
> > > >
> > > > Allow writing the file to a selected location, since otherwise this 
> > > > is
> > > > controlled by the buildman configuration, so cannot be determined 
> > > > by the
> > > > caller.
> > > >
> > > > Fixes: https://source.denx.de/u-boot/u-boot/-/issues/17
> > > > Signed-off-by: Simon Glass 
> > > >
> > > > Breaks buildman -R as it now requires a location to be specified instead
> > > > of creating one where it's normally needed / used by default.
> > > >
> > > > And I believe this matters in that I use "buildman -R" for "Did someone
> > > > add a new defconfig and not update a MAINATINERS file?".
> >
> > From the docs:
> >
> > This file is no-longer needed by buildman but it is still generated in the
> > working directory. This helps avoid a delay on every build, since scanning 
> > all
> > the Kconfig files takes a few seconds. Use the `-R ` flag to force
> > regeneration of the file - in that case buildman exits after writing the 
> > file
> > with exit code 2 if there was an error in the maintainer files. To use the
> > default filename, use a hyphen, i.e. `-R -`.
>
> The old name needs to be the default if none is specified, to not break
> existing setups.

Well if none is specified you get an error. I realised after adding -R
that it writes the file to a place that cannot be determined without
parsing the ~/.buildman file!

>
> > > And even harder NAK, this
> > > commit 075c6a5eb53f8fb8d375373293c92396f3b4a448
> > > Author: Simon Glass 
> > > Date:   Wed Jul 5 13:18:38 2023 +0100
> > >
> > > buildman: Move board-selection code into a function
> > >
> > > Create a new determine_boards() function to hold the code which 
> > > selects
> > > which boards to build.
> > >
> > > Signed-off-by: Simon Glass 
> > >
> > > Breaks "buildman foo -x bar" and so all of the Azure jobs that exclude
> > > things don't exclude things at all anymore.  For example:
> > > ./tools/buildman/buildman --dry-run -v freescale -x 
> > > powerpc,m68k,aarch64,ls101,ls102,ls104,ls108,ls20,lx21
> > > gives 229 boards and not 28.
> >
> > I'll take a look. One of the reasons this series adds test-coverage
> > measurement is to see where there are gaps in testing.
>
> OK.
>
> --
> Tom

Regards,
Simon


Re: Please pull u-boot-dm

2023-07-12 Thread Tom Rini
On Wed, Jul 12, 2023 at 02:09:19PM -0600, Simon Glass wrote:
> Hi Tom,
> 
> On Wed, 12 Jul 2023 at 13:36, Tom Rini  wrote:
> >
> > On Wed, Jul 12, 2023 at 03:29:39PM -0400, Tom Rini wrote:
> > > On Wed, Jul 12, 2023 at 09:51:13AM -0600, Simon Glass wrote:
> > >
> > > > Hi Tom.
> > > >
> > > > https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/16872
> > > >
> > > >
> > > > The following changes since commit 
> > > > 8e21064cb3452950b09301baec06d86e37342471:
> > > >
> > > >   Merge tag 'efi-2023-07-rc7' of
> > > > https://source.denx.de/u-boot/custodians/u-boot-efi (2023-07-11
> > > > 13:27:32 -0400)
> > > >
> > > > are available in the Git repository at:
> > > >
> > > >   git://git.denx.de/u-boot-dm.git tags/dm-pull-12jul23a
> > > >
> > > > for you to fetch changes up to 45aa7ac492d90ddc2977ea6c9d161e7cc487:
> > > >
> > > >   tools: Fix package discovery in pyproject.toml of u_boot_pylib.
> > > > (2023-07-12 09:48:19 -0600)
> > >
> > > NAK,
> > > commit 5a801ad450303f028213c5da12017db5d3668cbc
> > > Author: Simon Glass 
> > > Date:   Thu Jun 22 12:44:24 2023 +0100
> > >
> > > buildman: Provide an argument to the -R option
> > >
> > > Allow writing the file to a selected location, since otherwise this is
> > > controlled by the buildman configuration, so cannot be determined by 
> > > the
> > > caller.
> > >
> > > Fixes: https://source.denx.de/u-boot/u-boot/-/issues/17
> > > Signed-off-by: Simon Glass 
> > >
> > > Breaks buildman -R as it now requires a location to be specified instead
> > > of creating one where it's normally needed / used by default.
> > >
> > > And I believe this matters in that I use "buildman -R" for "Did someone
> > > add a new defconfig and not update a MAINATINERS file?".
> 
> From the docs:
> 
> This file is no-longer needed by buildman but it is still generated in the
> working directory. This helps avoid a delay on every build, since scanning all
> the Kconfig files takes a few seconds. Use the `-R ` flag to force
> regeneration of the file - in that case buildman exits after writing the file
> with exit code 2 if there was an error in the maintainer files. To use the
> default filename, use a hyphen, i.e. `-R -`.

The old name needs to be the default if none is specified, to not break
existing setups.

> > And even harder NAK, this
> > commit 075c6a5eb53f8fb8d375373293c92396f3b4a448
> > Author: Simon Glass 
> > Date:   Wed Jul 5 13:18:38 2023 +0100
> >
> > buildman: Move board-selection code into a function
> >
> > Create a new determine_boards() function to hold the code which selects
> > which boards to build.
> >
> > Signed-off-by: Simon Glass 
> >
> > Breaks "buildman foo -x bar" and so all of the Azure jobs that exclude
> > things don't exclude things at all anymore.  For example:
> > ./tools/buildman/buildman --dry-run -v freescale -x 
> > powerpc,m68k,aarch64,ls101,ls102,ls104,ls108,ls20,lx21
> > gives 229 boards and not 28.
> 
> I'll take a look. One of the reasons this series adds test-coverage
> measurement is to see where there are gaps in testing.

OK.

-- 
Tom


signature.asc
Description: PGP signature


Re: Please pull u-boot-dm

2023-07-12 Thread Simon Glass
Hi Tom,

On Wed, 12 Jul 2023 at 13:36, Tom Rini  wrote:
>
> On Wed, Jul 12, 2023 at 03:29:39PM -0400, Tom Rini wrote:
> > On Wed, Jul 12, 2023 at 09:51:13AM -0600, Simon Glass wrote:
> >
> > > Hi Tom.
> > >
> > > https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/16872
> > >
> > >
> > > The following changes since commit 
> > > 8e21064cb3452950b09301baec06d86e37342471:
> > >
> > >   Merge tag 'efi-2023-07-rc7' of
> > > https://source.denx.de/u-boot/custodians/u-boot-efi (2023-07-11
> > > 13:27:32 -0400)
> > >
> > > are available in the Git repository at:
> > >
> > >   git://git.denx.de/u-boot-dm.git tags/dm-pull-12jul23a
> > >
> > > for you to fetch changes up to 45aa7ac492d90ddc2977ea6c9d161e7cc487:
> > >
> > >   tools: Fix package discovery in pyproject.toml of u_boot_pylib.
> > > (2023-07-12 09:48:19 -0600)
> >
> > NAK,
> > commit 5a801ad450303f028213c5da12017db5d3668cbc
> > Author: Simon Glass 
> > Date:   Thu Jun 22 12:44:24 2023 +0100
> >
> > buildman: Provide an argument to the -R option
> >
> > Allow writing the file to a selected location, since otherwise this is
> > controlled by the buildman configuration, so cannot be determined by the
> > caller.
> >
> > Fixes: https://source.denx.de/u-boot/u-boot/-/issues/17
> > Signed-off-by: Simon Glass 
> >
> > Breaks buildman -R as it now requires a location to be specified instead
> > of creating one where it's normally needed / used by default.
> >
> > And I believe this matters in that I use "buildman -R" for "Did someone
> > add a new defconfig and not update a MAINATINERS file?".

>From the docs:

This file is no-longer needed by buildman but it is still generated in the
working directory. This helps avoid a delay on every build, since scanning all
the Kconfig files takes a few seconds. Use the `-R ` flag to force
regeneration of the file - in that case buildman exits after writing the file
with exit code 2 if there was an error in the maintainer files. To use the
default filename, use a hyphen, i.e. `-R -`.


>
> And even harder NAK, this
> commit 075c6a5eb53f8fb8d375373293c92396f3b4a448
> Author: Simon Glass 
> Date:   Wed Jul 5 13:18:38 2023 +0100
>
> buildman: Move board-selection code into a function
>
> Create a new determine_boards() function to hold the code which selects
> which boards to build.
>
> Signed-off-by: Simon Glass 
>
> Breaks "buildman foo -x bar" and so all of the Azure jobs that exclude
> things don't exclude things at all anymore.  For example:
> ./tools/buildman/buildman --dry-run -v freescale -x 
> powerpc,m68k,aarch64,ls101,ls102,ls104,ls108,ls20,lx21
> gives 229 boards and not 28.

I'll take a look. One of the reasons this series adds test-coverage
measurement is to see where there are gaps in testing.

Regards,
Simon


Re: Please pull u-boot-dm

2023-07-12 Thread Tom Rini
On Wed, Jul 12, 2023 at 03:29:39PM -0400, Tom Rini wrote:
> On Wed, Jul 12, 2023 at 09:51:13AM -0600, Simon Glass wrote:
> 
> > Hi Tom.
> > 
> > https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/16872
> > 
> > 
> > The following changes since commit 8e21064cb3452950b09301baec06d86e37342471:
> > 
> >   Merge tag 'efi-2023-07-rc7' of
> > https://source.denx.de/u-boot/custodians/u-boot-efi (2023-07-11
> > 13:27:32 -0400)
> > 
> > are available in the Git repository at:
> > 
> >   git://git.denx.de/u-boot-dm.git tags/dm-pull-12jul23a
> > 
> > for you to fetch changes up to 45aa7ac492d90ddc2977ea6c9d161e7cc487:
> > 
> >   tools: Fix package discovery in pyproject.toml of u_boot_pylib.
> > (2023-07-12 09:48:19 -0600)
> 
> NAK,
> commit 5a801ad450303f028213c5da12017db5d3668cbc
> Author: Simon Glass 
> Date:   Thu Jun 22 12:44:24 2023 +0100
> 
> buildman: Provide an argument to the -R option
> 
> Allow writing the file to a selected location, since otherwise this is
> controlled by the buildman configuration, so cannot be determined by the
> caller.
> 
> Fixes: https://source.denx.de/u-boot/u-boot/-/issues/17
> Signed-off-by: Simon Glass 
> 
> Breaks buildman -R as it now requires a location to be specified instead
> of creating one where it's normally needed / used by default.
> 
> And I believe this matters in that I use "buildman -R" for "Did someone
> add a new defconfig and not update a MAINATINERS file?".

And even harder NAK, this
commit 075c6a5eb53f8fb8d375373293c92396f3b4a448
Author: Simon Glass 
Date:   Wed Jul 5 13:18:38 2023 +0100

buildman: Move board-selection code into a function

Create a new determine_boards() function to hold the code which selects
which boards to build.

Signed-off-by: Simon Glass 

Breaks "buildman foo -x bar" and so all of the Azure jobs that exclude
things don't exclude things at all anymore.  For example:
./tools/buildman/buildman --dry-run -v freescale -x 
powerpc,m68k,aarch64,ls101,ls102,ls104,ls108,ls20,lx21
gives 229 boards and not 28.

-- 
Tom


signature.asc
Description: PGP signature


Re: Please pull u-boot-dm

2023-07-12 Thread Tom Rini
On Wed, Jul 12, 2023 at 09:51:13AM -0600, Simon Glass wrote:

> Hi Tom.
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/16872
> 
> 
> The following changes since commit 8e21064cb3452950b09301baec06d86e37342471:
> 
>   Merge tag 'efi-2023-07-rc7' of
> https://source.denx.de/u-boot/custodians/u-boot-efi (2023-07-11
> 13:27:32 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-12jul23a
> 
> for you to fetch changes up to 45aa7ac492d90ddc2977ea6c9d161e7cc487:
> 
>   tools: Fix package discovery in pyproject.toml of u_boot_pylib.
> (2023-07-12 09:48:19 -0600)

NAK,
commit 5a801ad450303f028213c5da12017db5d3668cbc
Author: Simon Glass 
Date:   Thu Jun 22 12:44:24 2023 +0100

buildman: Provide an argument to the -R option

Allow writing the file to a selected location, since otherwise this is
controlled by the buildman configuration, so cannot be determined by the
caller.

Fixes: https://source.denx.de/u-boot/u-boot/-/issues/17
Signed-off-by: Simon Glass 

Breaks buildman -R as it now requires a location to be specified instead
of creating one where it's normally needed / used by default.

And I believe this matters in that I use "buildman -R" for "Did someone
add a new defconfig and not update a MAINATINERS file?".

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm

2023-07-12 Thread Simon Glass
Hi Tom.

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


The following changes since commit 8e21064cb3452950b09301baec06d86e37342471:

  Merge tag 'efi-2023-07-rc7' of
https://source.denx.de/u-boot/custodians/u-boot-efi (2023-07-11
13:27:32 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-pull-12jul23a

for you to fetch changes up to 45aa7ac492d90ddc2977ea6c9d161e7cc487:

  tools: Fix package discovery in pyproject.toml of u_boot_pylib.
(2023-07-12 09:48:19 -0600)


misc fixes
buildman refactoring (no functional change)


Eugen Hristev (1):
  dm: core: of_access: fix return value in of_property_match_string

Heinrich Schuchardt (1):
  cmd: fix loads, saves on sandbox

John Clark (1):
  bootstd: USB devtype detection for script boot

John Keeping (1):
  core: read: fix dev_read_addr_size()

Maxim Cournoyer (2):
  tools: Fix README file in pyproject.toml of u_boot_pylib.
  tools: Fix package discovery in pyproject.toml of u_boot_pylib.

Sergei Antonov (1):
  sandbox: fix a compilation error

Simon Glass (62):
  buildman: Fix verboose typo and add comment
  buildman: Provide an argument to the -R option
  buildman: Tidy up pylint warnings in main
  buildman: Convert camel case in control.py
  buildman: Fix most pylint warnings in control
  buildman: Move full-help processing to main
  buildman: Move series calculations into a separate function
  buildman: Move fetch-arch code into a separate function
  buildman: Add a test for the -A option
  buildman: Drop use of builder in show_actions()
  buildman: Move dry-run handling higher in do_buildman()
  buildman: Move board-selection code into a function
  buildman: Move more code to determine_series()
  buildman: Move Boards-object code into a function
  buildman: Move toolchain handling to a function
  buildman: Set up output_dir earlier
  buildman: Move output-file setup into one place
  buildman: Pass option values to get_action_summary()
  buildman: Pass option values to show_actions()
  buildman: Build option-adjusting into a function
  buildman: Move counting of commits into a function
  buildman: Move setting up the output dir into a function
  buildman: Move commit numbering into determine_series()
  buildman: Avoid too many returns in do_buildman()
  buildman: Move remaining builder properties to constructor
  buildman: Tweak commits and show_bloat
  buildman: Moving running of the builder into a function
  buildman: Drop some unnecessary variables
  buildman: Adjust show_toolchain_prefix() to not return
  buildman: Move checking for make into run_builder()
  buildman: Move getting the adjust_cfg into run_builder()
  buildman: Use get_alow_missing() directly to avoid var
  buildman: Create a function to get number of built commits
  buildman: Convert camel case in cmdline.py
  buildman: Correct most pylint warnings in cmdline
  buildman: Add a test for --boards
  buildman: Convert to argparse
  buildman: Convert camel case in bsettings.py
  buildman: Convert camel case in builder.py
  buildman: Split parser creation in two
  buildman: Convert camel case in builderthread.py
  buildman: Correct most pylint warnings in builderthread
  buildman: Export _get_output_dir() to avoid warnings
  buildman: Correct invalid use of out_dir variable
  buildman: Drop unnecessary assignment of config_out
  buildman: Start a function to set up the make arguments
  buildman: Move setting of toolchain arguments to _build_args()
  buildman: Move more things into _build_args()
  buildman: Convert config_out to string IO
  buildman: Move reconfigure code into its own function
  buildman: Move bulid code into its own function
  buildman: Move reading of the done file into a function
  buildman: Move code to remove old outputs
  buildman: Move code to decide output dirs
  buildman: Move checkout code to a separate function
  buildman: Create a function to handle config and build
  buildman: Avoid passing result into _read_done_file()
  buildman: Tidy up reporting of a toolchain error
  buildman: Tidy up some comments in builderthread
  buildman: Move copy_files() out ot BuilderThread class
  buildman: Add a way to print the architecture for a board
  buildman: Enable test coverage

 .azure-pipelines.yml  |   2 +-
 .gitlab-ci.yml|   2 +-
 arch/sandbox/include/asm/sdl.h|  23 +++
 arch/sandbox/include/asm/test.h   |  25 ---
 boot/bootmeth_script.c|   5 +-
 cmd/load.c|  16 +-
 drivers/core/of_access.c  |   5 +-
 drivers/core/read.c 

Re: Please pull u-boot-dm

2023-04-29 Thread Tom Rini
On Fri, Apr 28, 2023 at 01:25:16PM -0600, Simon Glass wrote:

> Hi Tom,
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/16143
> 
> 
> The following changes since commit c9c2c95d4cd27fe0cd41fe13a863899d268f973c:
> 
>   Merge branch '2023-04-27-introduce-nvm-xip-block-storage-emulation'
> (2023-04-27 19:22:38 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-28apr23
> 
> for you to fetch changes up to f43fc16812487289e98389f0f643d20c444f9c9c:
> 
>   fdt: Indicate that people should use the ofnode API (2023-04-28
> 11:52:38 -0600)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm

2023-04-28 Thread Simon Glass
Hi Tom,

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


The following changes since commit c9c2c95d4cd27fe0cd41fe13a863899d268f973c:

  Merge branch '2023-04-27-introduce-nvm-xip-block-storage-emulation'
(2023-04-27 19:22:38 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-pull-28apr23

for you to fetch changes up to f43fc16812487289e98389f0f643d20c444f9c9c:

  fdt: Indicate that people should use the ofnode API (2023-04-28
11:52:38 -0600)


sandbox and fdt bug fixes / tweaks
various other minor fixes


Andrew Davis (1):
  binman: Use unsigned long over typedef ulong

Bin Meng (2):
  boot: vbe_simple: Fix vbe_simple_read_bootflow() dependency
  dm: core: Make aliases_lookup static

Heinrich Schuchardt (9):
  sandbox: fix fall through in sandbox_flash_bulk()
  sandbox: fix sandbox_hub_submit_control_msg()
  sandbox: spi: sandbox_sf_process_cmd() missing fallthrough
  sandbox: mark sandbox_exit() as no return.
  common: static fdt_simplefb_enable_existing_node()
  MAINTAINERS: assign include/os.h
  sandbox: fix return type of os_filesize()
  sandbox: correct posix_types.h define
  patman: fix class TestFunctional

Hugo Villeneuve (1):
  fdt_support: fix comments syntax error

Jan Kiszka (1):
  tools: Fall back to importlib_resources on Python 3.6

Johan Jonker (1):
  core: fdtaddr: use map_sysmem() as cast for the return

Jorge Ramirez-Ortiz (1):
  drivers: tee: sandbox: Fix SCP03 control emulator

Marek Vasut (1):
  test: fdt: Fix copyright message

Pavel Skripkin (1):
  sandbox: disable tracing before unmapping RAM

Rasmus Villemoes (2):
  uclass: add uclass_find_device_by_phandle_id() helper
  dm: core: introduce uclass_get_device_by_of_path()

Simon Glass (2):
  binman: Use expanduser instead of HOME
  fdt: Indicate that people should use the ofnode API

Tom Rini (1):
  bootflow: Rework do_bootflow_menu() slightly

 MAINTAINERS |  1 +
 arch/sandbox/cpu/cpu.c  |  2 +-
 arch/sandbox/cpu/os.c   |  8 ++--
 arch/sandbox/cpu/state.c|  5 +
 arch/sandbox/include/asm/posix_types.h  |  7 ---
 arch/sandbox/include/asm/u-boot-sandbox.h   |  2 +-
 boot/vbe_simple.c   | 12 +++-
 cmd/bootflow.c  | 24 
 common/fdt_simplefb.c   |  8 +++-
 common/fdt_support.c|  4 ++--
 drivers/block/host_dev.c|  3 ++-
 drivers/core/fdtaddr.c  |  6 +-
 drivers/core/of_access.c|  2 +-
 drivers/core/uclass.c   | 50
+-
 drivers/mtd/spi/sandbox.c   |  1 +
 drivers/sysreset/sysreset_sandbox.c |  1 -
 drivers/tee/sandbox.c   | 15 +++
 drivers/usb/emul/sandbox_flash.c|  1 +
 drivers/usb/emul/sandbox_hub.c  | 30 +-
 include/binman_sym.h|  8 
 include/dm/uclass.h | 17 +
 include/fdt_simplefb.h  |  1 -
 include/os.h|  2 +-
 lib/fdtdec.c|  3 +++
 test/cmd/fdt.c  |  2 +-
 test/dm/test-fdt.c  |  5 -
 tools/binman/cmdline.py |  2 +-
 tools/binman/control.py |  6 +-
 tools/binman/test/blob_syms.c   |  2 --
 tools/binman/test/u_boot_binman_syms.c  |  2 --
 tools/binman/test/u_boot_binman_syms_size.c |  2 --
 tools/buildman/control.py   |  6 +-
 tools/patman/__main__.py|  6 +-
 tools/patman/func_test.py   |  4 ++--
 34 files changed, 149 insertions(+), 101 deletions(-)


Re: Please pull u-boot-dm/next

2023-04-03 Thread Tom Rini
On Mon, Apr 03, 2023 at 09:35:59AM +1200, Simon Glass wrote:

> Hi Tom,
> 
> This is for the -next branch.
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/15866
> 
> 
> The following changes since commit 942ac73afc37fb98695af4489ea1549c21615a5e:
> 
>   Merge tag 'u-boot-imx-next-20230331' of
> https://gitlab.denx.de/u-boot/custodians/u-boot-imx into next
> (2023-03-31 12:50:34 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-next-3apr23
> 
> for you to fetch changes up to 00be5197e8423b8b71744ad0e3f2753d4be0132b:
> 
>   test: Run the VPL tests with 'make check' (2023-04-03 06:53:53 +1200)
> 

Applied to u-boot/next, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm/next

2023-04-02 Thread Simon Glass
Hi Tom,

This is for the -next branch.

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


The following changes since commit 942ac73afc37fb98695af4489ea1549c21615a5e:

  Merge tag 'u-boot-imx-next-20230331' of
https://gitlab.denx.de/u-boot/custodians/u-boot-imx into next
(2023-03-31 12:50:34 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-next-3apr23

for you to fetch changes up to 00be5197e8423b8b71744ad0e3f2753d4be0132b:

  test: Run the VPL tests with 'make check' (2023-04-03 06:53:53 +1200)


Enable VPL tests
Minor changes with fdt command, vboot test, pinctrl


Corentin Guillevic (1):
  doc: sandbox: replace sgdisk input with options

Marek Vasut (1):
  cmd: fdt: Use env_set_hex() for "get addr" and "get size"

Peter Hoyes (1):
  fdt: Make fdt addr -q quieter

Quanyang Wang (1):
  pinctrl: fix pinctrl_gpio_get_pinctrl_and_offset for gpio-ranges array

Roman Kopytin (1):
  test_vboot.py: include test of fdt_add_pubkey tool

Simon Glass (4):
  sandbox: Update the VBE firmware location
  vbe: Use the correct image filename in the test
  CI: Ensure that vpl test is run
  test: Run the VPL tests with 'make check'

 .azure-pipelines.yml |   2 +-
 .gitlab-ci.yml   |   2 +-
 arch/sandbox/dts/test.dts|   2 +-
 cmd/fdt.c|  32 
 doc/arch/sandbox/sandbox.rst |   2 +-
 drivers/pinctrl/pinctrl-uclass.c |  47 +++
 test/cmd/fdt.c   |   1 -
 test/py/tests/test_vbe_vpl.py|   6 ++-
 test/py/tests/test_vboot.py  | 186
+++--
 test/run |   5 +++
 10 files changed, 200 insertions(+), 85 deletions(-)

Regards,
Simon


Re: Please pull u-boot-dm

2023-03-31 Thread Tom Rini
On Fri, Mar 31, 2023 at 10:29:39AM +1300, Simon Glass wrote:

> Hi Tom,
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/15825
> 
> 
> The following changes since commit 565681e596381b5b6db59cf06931e698f2d829e5:
> 
>   imx6sx-udoo-neo-basic: Introduce the u-boot.dtsi (2023-03-28 10:58:16 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-31mar23
> 
> for you to fetch changes up to a47164dfc1ef899ef9ddc6d8f2a17f0e9e90ef34:
> 
>   sysreset: gpio: fix gpio_reboot_request return value (2023-03-31
> 08:32:52 +1300)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm

2023-03-30 Thread Simon Glass
Hi Tom,

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


The following changes since commit 565681e596381b5b6db59cf06931e698f2d829e5:

  imx6sx-udoo-neo-basic: Introduce the u-boot.dtsi (2023-03-28 10:58:16 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-pull-31mar23

for you to fetch changes up to a47164dfc1ef899ef9ddc6d8f2a17f0e9e90ef34:

  sysreset: gpio: fix gpio_reboot_request return value (2023-03-31
08:32:52 +1300)


Fixes for buildman and sysreset


Jonathan Liu (1):
  sysreset: gpio: fix gpio_reboot_request return value

Simon Glass (1):
  buildman: Correct overwriting of settings file

 drivers/sysreset/sysreset_gpio.c | 7 ++-
 tools/buildman/toolchain.py  | 2 +-
 2 files changed, 7 insertions(+), 2 deletions(-)

Regards,
Simon


Re: Please pull u-boot-dm/next

2023-03-16 Thread Tom Rini
On Sun, Mar 12, 2023 at 09:10:19PM -0600, Simon Glass wrote:

> Hi Tom,
> 
> This is for the -next branch
> 
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/15568
> 
> The following changes since commit bcf343146ff365a88481b9a80920ed146c6dee5b:
> 
>   Merge tag 'dm-next-9mar23' of
> https://source.denx.de/u-boot/custodians/u-boot-dm into next
> (2023-03-09 11:22:50 -0500)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-next-12mar23
> 
> for you to fetch changes up to 7bb28330f7b4d20bcf844ec306dcfbb41296cfa8:
> 
>   buildman: Fix CROSS_COMPILE output for sandbox (2023-03-12 11:37:34 -0600)
> 

Applied to u-boot/next, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Re: Please pull u-boot-dm/next

2023-03-16 Thread Tom Rini
On Thu, Mar 16, 2023 at 10:56:17AM -0400, Tom Rini wrote:
> On Thu, Mar 16, 2023 at 07:58:33AM -0600, Simon Glass wrote:
> > Hi Tom,
> > 
> > On Wed, 15 Mar 2023 at 08:49, Tom Rini  wrote:
> > >
> > > On Tue, Mar 14, 2023 at 04:07:57PM -0600, Simon Glass wrote:
> > > > Hi Tom,
> > > >
> > > > On Mon, 13 Mar 2023 at 13:36, Tom Rini  wrote:
> > > > >
> > > > > On Sun, Mar 12, 2023 at 09:10:19PM -0600, Simon Glass wrote:
> > > > >
> > > > > > Hi Tom,
> > > > > >
> > > > > > This is for the -next branch
> > > > > >
> > > > > >
> > > > > > https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/15568
> > > > > >
> > > > > > The following changes since commit 
> > > > > > bcf343146ff365a88481b9a80920ed146c6dee5b:
> > > > > >
> > > > > >   Merge tag 'dm-next-9mar23' of
> > > > > > https://source.denx.de/u-boot/custodians/u-boot-dm into next
> > > > > > (2023-03-09 11:22:50 -0500)
> > > > > >
> > > > > > are available in the Git repository at:
> > > > > >
> > > > > >   git://git.denx.de/u-boot-dm.git tags/dm-next-12mar23
> > > > > >
> > > > > > for you to fetch changes up to 
> > > > > > 7bb28330f7b4d20bcf844ec306dcfbb41296cfa8:
> > > > > >
> > > > > >   buildman: Fix CROSS_COMPILE output for sandbox (2023-03-12 
> > > > > > 11:37:34 -0600)
> > > > > >
> > > > >
> > > > > There's something, or somethings, broken here now.  Take a look at:
> > > > > https://source.denx.de/u-boot/u-boot/-/jobs/593223#L904
> > > > > where now there's a bunch of warnings but we don't fail the build (nor
> > > >
> > > > That seems to have been going for a while. See:
> > > >
> > > > https://source.denx.de/u-boot/u-boot/-/jobs/593528
> > >
> > > I don't see it there, no. The problem, to be clear, is warnings in C NOT
> > > leading to CI failing.
> > 
> > OK that's fine, but what does it have to do with this pull request?
> 
> I don't know when this regression happened, only that I saw it, and the
> warnings at the same time. So I'm seeing now (after sorting out some
> failing lab equipment) if the "C warnings cause CI to fail" changes are
> in master, or next, or neither.

Alright, so, there was something very odd with what got triggered
before, as I cannot make CI pass when it should fail with a simple
#warning. I'll review this PR fully now.

-- 
Tom


signature.asc
Description: PGP signature


Re: Please pull u-boot-dm/next

2023-03-16 Thread Tom Rini
On Thu, Mar 16, 2023 at 07:58:33AM -0600, Simon Glass wrote:
> Hi Tom,
> 
> On Wed, 15 Mar 2023 at 08:49, Tom Rini  wrote:
> >
> > On Tue, Mar 14, 2023 at 04:07:57PM -0600, Simon Glass wrote:
> > > Hi Tom,
> > >
> > > On Mon, 13 Mar 2023 at 13:36, Tom Rini  wrote:
> > > >
> > > > On Sun, Mar 12, 2023 at 09:10:19PM -0600, Simon Glass wrote:
> > > >
> > > > > Hi Tom,
> > > > >
> > > > > This is for the -next branch
> > > > >
> > > > >
> > > > > https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/15568
> > > > >
> > > > > The following changes since commit 
> > > > > bcf343146ff365a88481b9a80920ed146c6dee5b:
> > > > >
> > > > >   Merge tag 'dm-next-9mar23' of
> > > > > https://source.denx.de/u-boot/custodians/u-boot-dm into next
> > > > > (2023-03-09 11:22:50 -0500)
> > > > >
> > > > > are available in the Git repository at:
> > > > >
> > > > >   git://git.denx.de/u-boot-dm.git tags/dm-next-12mar23
> > > > >
> > > > > for you to fetch changes up to 
> > > > > 7bb28330f7b4d20bcf844ec306dcfbb41296cfa8:
> > > > >
> > > > >   buildman: Fix CROSS_COMPILE output for sandbox (2023-03-12 11:37:34 
> > > > > -0600)
> > > > >
> > > >
> > > > There's something, or somethings, broken here now.  Take a look at:
> > > > https://source.denx.de/u-boot/u-boot/-/jobs/593223#L904
> > > > where now there's a bunch of warnings but we don't fail the build (nor
> > >
> > > That seems to have been going for a while. See:
> > >
> > > https://source.denx.de/u-boot/u-boot/-/jobs/593528
> >
> > I don't see it there, no. The problem, to be clear, is warnings in C NOT
> > leading to CI failing.
> 
> OK that's fine, but what does it have to do with this pull request?

I don't know when this regression happened, only that I saw it, and the
warnings at the same time. So I'm seeing now (after sorting out some
failing lab equipment) if the "C warnings cause CI to fail" changes are
in master, or next, or neither.

-- 
Tom


signature.asc
Description: PGP signature


Re: Please pull u-boot-dm/next

2023-03-16 Thread Simon Glass
Hi Tom,

On Wed, 15 Mar 2023 at 08:49, Tom Rini  wrote:
>
> On Tue, Mar 14, 2023 at 04:07:57PM -0600, Simon Glass wrote:
> > Hi Tom,
> >
> > On Mon, 13 Mar 2023 at 13:36, Tom Rini  wrote:
> > >
> > > On Sun, Mar 12, 2023 at 09:10:19PM -0600, Simon Glass wrote:
> > >
> > > > Hi Tom,
> > > >
> > > > This is for the -next branch
> > > >
> > > >
> > > > https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/15568
> > > >
> > > > The following changes since commit 
> > > > bcf343146ff365a88481b9a80920ed146c6dee5b:
> > > >
> > > >   Merge tag 'dm-next-9mar23' of
> > > > https://source.denx.de/u-boot/custodians/u-boot-dm into next
> > > > (2023-03-09 11:22:50 -0500)
> > > >
> > > > are available in the Git repository at:
> > > >
> > > >   git://git.denx.de/u-boot-dm.git tags/dm-next-12mar23
> > > >
> > > > for you to fetch changes up to 7bb28330f7b4d20bcf844ec306dcfbb41296cfa8:
> > > >
> > > >   buildman: Fix CROSS_COMPILE output for sandbox (2023-03-12 11:37:34 
> > > > -0600)
> > > >
> > >
> > > There's something, or somethings, broken here now.  Take a look at:
> > > https://source.denx.de/u-boot/u-boot/-/jobs/593223#L904
> > > where now there's a bunch of warnings but we don't fail the build (nor
> >
> > That seems to have been going for a while. See:
> >
> > https://source.denx.de/u-boot/u-boot/-/jobs/593528
>
> I don't see it there, no. The problem, to be clear, is warnings in C NOT
> leading to CI failing.

OK that's fine, but what does it have to do with this pull request?

I can take a look at the problem, but it does not seem related.

Regards,
Simon


Re: Please pull u-boot-dm/next

2023-03-15 Thread Tom Rini
On Tue, Mar 14, 2023 at 04:07:57PM -0600, Simon Glass wrote:
> Hi Tom,
> 
> On Mon, 13 Mar 2023 at 13:36, Tom Rini  wrote:
> >
> > On Sun, Mar 12, 2023 at 09:10:19PM -0600, Simon Glass wrote:
> >
> > > Hi Tom,
> > >
> > > This is for the -next branch
> > >
> > >
> > > https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/15568
> > >
> > > The following changes since commit 
> > > bcf343146ff365a88481b9a80920ed146c6dee5b:
> > >
> > >   Merge tag 'dm-next-9mar23' of
> > > https://source.denx.de/u-boot/custodians/u-boot-dm into next
> > > (2023-03-09 11:22:50 -0500)
> > >
> > > are available in the Git repository at:
> > >
> > >   git://git.denx.de/u-boot-dm.git tags/dm-next-12mar23
> > >
> > > for you to fetch changes up to 7bb28330f7b4d20bcf844ec306dcfbb41296cfa8:
> > >
> > >   buildman: Fix CROSS_COMPILE output for sandbox (2023-03-12 11:37:34 
> > > -0600)
> > >
> >
> > There's something, or somethings, broken here now.  Take a look at:
> > https://source.denx.de/u-boot/u-boot/-/jobs/593223#L904
> > where now there's a bunch of warnings but we don't fail the build (nor
> 
> That seems to have been going for a while. See:
> 
> https://source.denx.de/u-boot/u-boot/-/jobs/593528

I don't see it there, no. The problem, to be clear, is warnings in C NOT
leading to CI failing.

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm into -next

2023-03-14 Thread Simon Glass
Hi Tom,

This is for the -next branch

I have redone this to fix the fdt warnings with the new compiler.

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

The following changes since commit 20aaff677d8bc3cc2d529d859aa1ea65f5a4db7d:

  Merge branch '2023-03-14-revert-two-TI-patches' into next
(2023-03-14 10:53:50 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-next-12mar23a

for you to fetch changes up to c3cea95fd21937ce82be3dbd1062dde8fb0e6114:

  buildman: Fix CROSS_COMPILE output for sandbox (2023-03-14 16:08:52 -0600)


More tests and fixes for fdt command
binman signing feature
fix buildman -A bug introduced recently


Ivan Mikhaylov (3):
  binman: add documentation for binman sign option
  binman: add sign option for binman
  binman: add tests for sign option

Marek Vasut (10):
  test: Wrap assert macros in ({ ... }) and fix missing semicolons
  test: cmd: fdt: Drop new unneeded curly brackets
  console: Use only 0x00 as line separator for console recording
  cmd: fdt: Drop the 0x prefix
  test: cmd: fdt: Test fdt print and list
  test: cmd: fdt: Test fdt header
  test: cmd: fdt: Test fdt memory
  test: cmd: fdt: Test fdt rsvmem
  test: cmd: fdt: Test fdt chosen
  test: cmd: fdt: Test fdt apply

Roman Kopytin (1):
  tools: add fdt_add_pubkey

Simon Glass (2):
  Revert "buildman: Correct CROSS_COMPILE output for sandbox"
  buildman: Fix CROSS_COMPILE output for sandbox

 cmd/fdt.c  |   2 +-
 common/console.c   |   2 +-
 common/main.c  |   1 +
 include/test/ut.h  | 152 -
 test/cmd/fdt.c | 562
+++-
 test/cmd/pwm.c |   4 +-
 test/dm/acpigen.c  |   2 +-
 test/dm/misc.c |   4 +-
 test/dm/phy.c  |   8 +-
 test/dm/scmi.c |   4 +-
 test/lib/kconfig.c |  10 +-
 test/lib/kconfig_spl.c |   6 +-
 test/unicode_ut.c  |   6 +-
 tools/.gitignore   |   1 +
 tools/Makefile |   3 +
 tools/binman/binman.rst|  47 
 tools/binman/cmdline.py|  13 ++
 tools/binman/control.py|  30 ++-
 tools/binman/entry.py  |   3 +
 tools/binman/etype/fit.py  |  16 ++
 tools/binman/ftest.py  |  93 
 tools/binman/test/280_fit_sign.dts |  63 ++
 tools/binman/test/281_sign_non_fit.dts |  65 ++
 tools/buildman/toolchain.py|   4 +-
 tools/fdt_add_pubkey.c | 138 
 25 files changed, 1155 insertions(+), 84 deletions(-)
 create mode 100644 tools/binman/test/280_fit_sign.dts
 create mode 100644 tools/binman/test/281_sign_non_fit.dts
 create mode 100644 tools/fdt_add_pubkey.c

Regards,
Simon


Re: Please pull u-boot-dm/next

2023-03-14 Thread Simon Glass
Hi Tom,

On Mon, 13 Mar 2023 at 13:36, Tom Rini  wrote:
>
> On Sun, Mar 12, 2023 at 09:10:19PM -0600, Simon Glass wrote:
>
> > Hi Tom,
> >
> > This is for the -next branch
> >
> >
> > https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/15568
> >
> > The following changes since commit bcf343146ff365a88481b9a80920ed146c6dee5b:
> >
> >   Merge tag 'dm-next-9mar23' of
> > https://source.denx.de/u-boot/custodians/u-boot-dm into next
> > (2023-03-09 11:22:50 -0500)
> >
> > are available in the Git repository at:
> >
> >   git://git.denx.de/u-boot-dm.git tags/dm-next-12mar23
> >
> > for you to fetch changes up to 7bb28330f7b4d20bcf844ec306dcfbb41296cfa8:
> >
> >   buildman: Fix CROSS_COMPILE output for sandbox (2023-03-12 11:37:34 -0600)
> >
>
> There's something, or somethings, broken here now.  Take a look at:
> https://source.denx.de/u-boot/u-boot/-/jobs/593223#L904
> where now there's a bunch of warnings but we don't fail the build (nor

That seems to have been going for a while. See:

https://source.denx.de/u-boot/u-boot/-/jobs/593528

I don't think it has anything to do with this pull request.

> in https://source.denx.de/u-boot/u-boot/-/jobs/593261 which is building
> the whole arch, not just a test.py special build). That shouldn't
> happen, nor should there be these warnings to start with.

This is a warning I reported to Marek and he sent a patch. I will redo
the pull with that incorporated.

Regards,
Simon


Re: Please pull u-boot-dm/next

2023-03-13 Thread Tom Rini
On Sun, Mar 12, 2023 at 09:10:19PM -0600, Simon Glass wrote:

> Hi Tom,
> 
> This is for the -next branch
> 
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/15568
> 
> The following changes since commit bcf343146ff365a88481b9a80920ed146c6dee5b:
> 
>   Merge tag 'dm-next-9mar23' of
> https://source.denx.de/u-boot/custodians/u-boot-dm into next
> (2023-03-09 11:22:50 -0500)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-next-12mar23
> 
> for you to fetch changes up to 7bb28330f7b4d20bcf844ec306dcfbb41296cfa8:
> 
>   buildman: Fix CROSS_COMPILE output for sandbox (2023-03-12 11:37:34 -0600)
> 

There's something, or somethings, broken here now.  Take a look at:
https://source.denx.de/u-boot/u-boot/-/jobs/593223#L904
where now there's a bunch of warnings but we don't fail the build (nor
in https://source.denx.de/u-boot/u-boot/-/jobs/593261 which is building
the whole arch, not just a test.py special build). That shouldn't
happen, nor should there be these warnings to start with.

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm/next

2023-03-12 Thread Simon Glass
Hi Tom,

This is for the -next branch


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

The following changes since commit bcf343146ff365a88481b9a80920ed146c6dee5b:

  Merge tag 'dm-next-9mar23' of
https://source.denx.de/u-boot/custodians/u-boot-dm into next
(2023-03-09 11:22:50 -0500)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-next-12mar23

for you to fetch changes up to 7bb28330f7b4d20bcf844ec306dcfbb41296cfa8:

  buildman: Fix CROSS_COMPILE output for sandbox (2023-03-12 11:37:34 -0600)


More tests and fixes for fdt command
binman signing feature
fix buildman -A bug introduced recently


Ivan Mikhaylov (3):
  binman: add documentation for binman sign option
  binman: add sign option for binman
  binman: add tests for sign option

Marek Vasut (10):
  test: Wrap assert macros in ({ ... }) and fix missing semicolons
  test: cmd: fdt: Drop new unneeded curly brackets
  console: Use only 0x00 as line separator for console recording
  cmd: fdt: Drop the 0x prefix
  test: cmd: fdt: Test fdt print and list
  test: cmd: fdt: Test fdt header
  test: cmd: fdt: Test fdt memory
  test: cmd: fdt: Test fdt rsvmem
  test: cmd: fdt: Test fdt chosen
  test: cmd: fdt: Test fdt apply

Roman Kopytin (1):
  tools: add fdt_add_pubkey

Simon Glass (2):
  Revert "buildman: Correct CROSS_COMPILE output for sandbox"
  buildman: Fix CROSS_COMPILE output for sandbox

 cmd/fdt.c  |   2 +-
 common/console.c   |   2 +-
 common/main.c  |   1 +
 include/test/ut.h  | 152 -
 test/cmd/fdt.c | 562
-
 test/cmd/pwm.c |   4 +-
 test/dm/acpigen.c  |   2 +-
 test/dm/misc.c |   4 +-
 test/dm/phy.c  |   8 +-
 test/dm/scmi.c |   4 +-
 test/lib/kconfig.c |  10 +-
 test/lib/kconfig_spl.c |   6 +-
 test/unicode_ut.c  |   6 +-
 tools/.gitignore   |   1 +
 tools/Makefile |   3 +
 tools/binman/binman.rst|  47 +
 tools/binman/cmdline.py|  13 ++
 tools/binman/control.py|  30 ++-
 tools/binman/entry.py  |   3 +
 tools/binman/etype/fit.py  |  16 ++
 tools/binman/ftest.py  |  93 
 tools/binman/test/280_fit_sign.dts |  63 ++
 tools/binman/test/281_sign_non_fit.dts |  65 ++
 tools/buildman/toolchain.py|   4 +-
 tools/fdt_add_pubkey.c | 138 
 25 files changed, 1155 insertions(+), 84 deletions(-)
 create mode 100644 tools/binman/test/280_fit_sign.dts
 create mode 100644 tools/binman/test/281_sign_non_fit.dts
 create mode 100644 tools/fdt_add_pubkey.c

Regards,
Simon


Re: Please pull u-boot-dm

2023-03-10 Thread Tom Rini
On Fri, Mar 10, 2023 at 12:54:57PM -0800, Simon Glass wrote:

> Hi Tom,
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/15515
> 
> Marek pointed out that these are bug fixes and tests so should
> probably go into -master.
> 
> The following changes since commit b08ffdffdce95e267e782366f4a77bf6b5537b28:
> 
>   Merge https://source.denx.de/u-boot/custodians/u-boot-marvell
> (2023-03-06 14:56:05 -0500)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-10mar23
> 
> for you to fetch changes up to aa89aebb17531a3e8b6729c812a68d5e37008730:
> 
>   test: cmd: fdt: Test fdt bootcpu (2023-03-09 08:50:48 -0800)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm

2023-03-10 Thread Simon Glass
Hi Tom,

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

Marek pointed out that these are bug fixes and tests so should
probably go into -master.

The following changes since commit b08ffdffdce95e267e782366f4a77bf6b5537b28:

  Merge https://source.denx.de/u-boot/custodians/u-boot-marvell
(2023-03-06 14:56:05 -0500)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-pull-10mar23

for you to fetch changes up to aa89aebb17531a3e8b6729c812a68d5e37008730:

  test: cmd: fdt: Test fdt bootcpu (2023-03-09 08:50:48 -0800)


fixes and tests for the fdt command


Marek Vasut (25):
  cmd: fdt: Import is_printable_string() from DTC to fix u32 misprint
  cmd: fdt: Fix handling of empty properties for fdt get addr and
fdt get size
  cmd: fdt: Fix fdt rm behavior on non-existent property and error
message space
  cmd: fdt: Fix fdt rsvmem behavior on non-existent index and
error message space
  cmd: fdt: Check argc before accessing argv in fdt bootcpu
  cmd: fdt: Check argc before accessing argv in fdt memory
  cmd: fdt: Align checksign parameter names in help text
  cmd: fdt: Handle 64bit pointers in fdt get addr
  cmd: fdt: Map address returned from fdt get addr to sysmem
  cmd: fdt: Add support for integer arrays in fdt get value with index
  test: Add ut_assert_nextline_empty() empty line helper
  test: cmd: fdt: Rename fdt_test_resize() to fdt_test_addr_resize()
  test: cmd: fdt: Rename fdt_test_get() to fdt_test_get_value()
  test: cmd: fdt: Generate fuller DT internally and switch fdt get
value to it
  test: cmd: fdt: Test alias resolution in 'fdt get value'
  test: cmd: fdt: Test both string and integer arrays in 'fdt get value'
  test: cmd: fdt: Test fdt move
  test: cmd: fdt: Test fdt resize
  test: cmd: fdt: Test fdt get name
  test: cmd: fdt: Test fdt get addr
  test: cmd: fdt: Test fdt get size
  test: cmd: fdt: Test fdt set
  test: cmd: fdt: Test fdt mknode
  test: cmd: fdt: Test fdt rm
  test: cmd: fdt: Test fdt bootcpu

 cmd/fdt.c |  98 +++-
 include/test/ut.h |   4 +
 test/cmd/fdt.c| 815
+++---
 3 files changed, 852 insertions(+), 65 deletions(-)

Regards,
Simon


Re: Please pull u-boot-dm into -next

2023-03-09 Thread Tom Rini
On Wed, Mar 08, 2023 at 02:26:34PM -0800, Simon Glass wrote:

> Hi Tom,
> 
> This is for the -next branch
> 
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/15499
> 
> 
> The following changes since commit 70ed05ce6c051e55e126e67e72ab20409134c953:
> 
>   Merge tag 'next-20230307' of
> https://source.denx.de/u-boot/custodians/u-boot-video into next
> (2023-03-07 12:54:01 -0500)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-next-9mar23
> 
> for you to fetch changes up to 953d4177afa0bee0ba0db4b81036d3197595b997:
> 
>   binman: Support generation of x509 certificates (2023-03-08 13:15:15 -0800)
> 

Applied to u-boot/next, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm into -next

2023-03-08 Thread Simon Glass
Hi Tom,

This is for the -next branch


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


The following changes since commit 70ed05ce6c051e55e126e67e72ab20409134c953:

  Merge tag 'next-20230307' of
https://source.denx.de/u-boot/custodians/u-boot-video into next
(2023-03-07 12:54:01 -0500)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-next-9mar23

for you to fetch changes up to 953d4177afa0bee0ba0db4b81036d3197595b997:

  binman: Support generation of x509 certificates (2023-03-08 13:15:15 -0800)


binman x509, separate tools dir and other improvements
patman parallel patch generation
fdt fixes and tests
PyPi support for U-Boot tools
buildman reproducible builds


Jonas Karlman (3):
  binman: Remove redundant SetAllowFakeBlob from blob-ext entry
  binman: Fix spelling of nodes in code comments
  binman: Use correct argument name in docstrings

Marek Vasut (26):
  cmd: fdt: Import is_printable_string() from DTC to fix u32 misprint
  cmd: fdt: Fix handling of empty properties for fdt get addr and
fdt get size
  cmd: fdt: Fix fdt rm behavior on non-existent property and error
message space
  cmd: fdt: Fix fdt rsvmem behavior on non-existent index and
error message space
  cmd: fdt: Check argc before accessing argv in fdt bootcpu
  cmd: fdt: Check argc before accessing argv in fdt memory
  cmd: fdt: Align checksign parameter names in help text
  cmd: fdt: Handle 64bit pointers in fdt get addr
  cmd: fdt: Map address returned from fdt get addr to sysmem
  cmd: fdt: Add support for integer arrays in fdt get value with index
  test: Add ut_assert_nextline_empty() empty line helper
  test: cmd: fdt: Rename fdt_test_resize() to fdt_test_addr_resize()
  test: cmd: fdt: Rename fdt_test_get() to fdt_test_get_value()
  test: cmd: fdt: Generate fuller DT internally and switch fdt get
value to it
  test: cmd: fdt: Test alias resolution in 'fdt get value'
  test: cmd: fdt: Test both string and integer arrays in 'fdt get value'
  test: cmd: fdt: Test fdt move
  test: cmd: fdt: Test fdt resize
  test: cmd: fdt: Test fdt get name
  test: cmd: fdt: Test fdt get addr
  test: cmd: fdt: Test fdt get size
  test: cmd: fdt: Test fdt set
  test: cmd: fdt: Test fdt mknode
  test: cmd: fdt: Test fdt rm
  test: cmd: fdt: Test fdt bootcpu
  test: cmd: fdt: Add list of remaining missing tests

Simon Glass (46):
  binman: Avoid requiring a home directory on startup
  binman: Support marking FMAP areas as preserved
  buildman: Add a note about the out-env file
  buildman: Write out the build command used
  buildman: Support disabling LTO
  buildman: Add a flag for reproducible builds
  binman: Correct an 'aot' typo
  binman: Update bintools documentation
  binman: Move the tools directory into the Bintool class
  binman: Use a private directory for bintools
  binman: Make the tooldir configurable
  bootflow: Rename bootflow_flags_t
  bootstd: Replicate the dtb-filename quirks of distroboot
  binman: Avoid unwanted output in testFitFirmwareLoadables()
  Revert "patman: test_util: Print test stdout/stderr within test summaries"
  Remove concurrencytest
  patman: Move library functions into a library directory
  script: Add a script to build a PyPi package
  patman: Add support for building a u_boot_tools PyPi package
  patman: Avoid importing test_checkpatch before it is needed
  patman: Add support for building a patman PyPi package
  buildman: Move the main code into a function
  buildman: Hide the test options unless test code is available
  buildman: Fix use of a type as a variable
  buildman: Use importlib to find the help
  buildman: Add support for building a buildman PyPi package
  dtoc: Hide the test options unless test code is available
  dtoc: Move the main code into a function
  dtoc: Use pathlib to find the test directory
  dtoc: Add support for building a dtoc PyPi package
  binman: Move the main code into a function
  binman: Hide the 'test' command unless test code is available
  binman: Use importlib to find the help
  binman: Add support for building a binmanu PyPi package
  test: Add concurrencytest to the requirements
  doc: Add notes on how to install patman and binman
  CI: Add a check for building tools for PyPi
  patman: Drop an incorrect comment about git am
  patman: Refactor MakeCcFile() into two functions
  patman: Run get_maintainer.pl in parallel
  patman: Check patches in parallel
  buildman: Correct CROSS_COMPILE output for sandbox
  binman: Allow preserving the output dir when replacing
  binman: Handle missing bintools correctly in fit
 

Re: Please pull u-boot-dm

2023-03-02 Thread Tom Rini
On Wed, Mar 01, 2023 at 01:10:57PM -0700, Simon Glass wrote:

> Hi Tom,
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/15430
> 
> The following changes since commit b0eda49bc9b00503366f2ec431be0178caf9e9b5:
> 
>   Merge tag 'u-boot-at91-fixes-2023.04-a' of
> https://source.denx.de/u-boot/custodians/u-boot-at91 (2023-03-01
> 09:39:18 -0500)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-29feb23
> 
> for you to fetch changes up to abe2a16aa52ea21acb435e9f1d9c85f5ac4e7794:
> 
>   tools: binman: minor formatting fix in docs (2023-03-01 11:22:40 -0700)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm

2023-03-01 Thread Simon Glass
Hi Tom,

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

The following changes since commit b0eda49bc9b00503366f2ec431be0178caf9e9b5:

  Merge tag 'u-boot-at91-fixes-2023.04-a' of
https://source.denx.de/u-boot/custodians/u-boot-at91 (2023-03-01
09:39:18 -0500)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-pull-29feb23

for you to fetch changes up to abe2a16aa52ea21acb435e9f1d9c85f5ac4e7794:

  tools: binman: minor formatting fix in docs (2023-03-01 11:22:40 -0700)


minor sandbox fixes
a37xx fix
Add camel-case tool, since the conversion will take a while


Heinrich Schuchardt (3):
  sandbox: allow building sandbox_spl with CONFIG_DEBUG
  MAINTAINERS: assign sandbox drivers to SANDBOX
  sandbox: fix building with CONFIG_SPL_TIMER=y

Michal Suchanek (1):
  sandbox: Correctly define BITS_PER_LONG

Ralph Siemsen (1):
  tools: binman: minor formatting fix in docs

Robert Marko (1):
  arm64: a37xx: pinctrl: probe after binding

Simon Glass (1):
  RFC: tools: Add a camel-case conversion script

 MAINTAINERS |   1 +
 arch/sandbox/include/asm/types.h|   6 +--
 configs/sandbox_spl_defconfig   |   4 ++
 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c |  14 +++
 drivers/timer/sandbox_timer.c   |   2 +
 scripts/style.py| 180
+++
 tools/binman/binman.rst |   4 +-
 7 files changed, 204 insertions(+), 7 deletions(-)
 create mode 100755 scripts/style.py

Regards,
Simon


Re: Please pull u-boot-dm into -next

2023-02-14 Thread Tom Rini
On Tue, Feb 14, 2023 at 11:11:46AM -0700, Simon Glass wrote:

> Hi Tom,
> 
> This is for the -next branch
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/15198
> 
> 
> The following changes since commit faac9dee8e0629326dc122f4624fc4897e3f38b0:
> 
>   Prepare v2023.04-rc2 (2023-02-13 18:39:15 -0500)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-next-valentine
> 
> for you to fetch changes up to 9a8a27a76ad7ab51f19c7f019d7cdac8a3f9f3c9:
> 
>   dm: test: Add a test for the various migration combinations
> (2023-02-14 09:43:27 -0700)
> 

Applied to u-boot/next, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm into -next

2023-02-14 Thread Simon Glass
Hi Tom,

This is for the -next branch

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


The following changes since commit faac9dee8e0629326dc122f4624fc4897e3f38b0:

  Prepare v2023.04-rc2 (2023-02-13 18:39:15 -0500)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-next-valentine

for you to fetch changes up to 9a8a27a76ad7ab51f19c7f019d7cdac8a3f9f3c9:

  dm: test: Add a test for the various migration combinations
(2023-02-14 09:43:27 -0700)


Move U-Boot over to the new schema for driver model tags


Simon Glass (11):
  schemas: Add schema for U-Boot driver model 'phase tags'
  dm: Add support for handling old u-boot,dm- tags
  dm: dts: Convert driver model tags to use new schema
  dm: treewide: Complete migration to new driver model schema
  dm: doc: Update device tree binding docs for new schema
  dm: doc: Update documentation for new driver model schema
  dm: doc: Move to new driver model schema
  checkpatch: Add a warning for pre-schema driver model tags
  CI: Add a check for pre-schema driver model tags
  test: Add a way to set the environment for a pytest
  dm: test: Add a test for the various migration combinations

 .azure-pipelines.yml
 |  12 ++
 .gitlab-ci.yml
 |   9 +
 arch/arc/dts/abilis_tb100.dts  |   2 +-
 arch/arc/dts/axc001.dtsi   |   2 +-
 arch/arc/dts/axc003.dtsi   |   2 +-
 arch/arc/dts/axs10x_mb.dtsi
 |   6 +--
 arch/arc/dts/emsdp.dts |   2 +-
 arch/arc/dts/hsdk-common.dtsi  |   2 +-
 arch/arc/dts/iot_devkit.dts|   2 +-
 arch/arc/dts/nsim.dts  |   2 +-
 arch/arc/dts/skeleton.dtsi |   2 +-
 arch/arm/dts/am335x-brppt1-mmc-u-boot.dtsi
 |  48 +++
 arch/arm/dts/am335x-brsmarc1.dts
 |  28 +++---
 arch/arm/dts/am335x-brxre1.dts
 |  22 +--
 arch/arm/dts/am335x-evm-u-boot.dtsi
 |  22 +--
 arch/arm/dts/am335x-evmsk-u-boot.dtsi  |   4 +-
 arch/arm/dts/am335x-guardian-u-boot.dtsi
 |  28 +++---
 arch/arm/dts/am335x-pdu001-u-boot.dtsi
 |  30 +++
 arch/arm/dts/am335x-pxm50-u-boot.dtsi  |   4 +-
 arch/arm/dts/am335x-regor-rdk-u-boot.dtsi
 |   8 ++--
 arch/arm/dts/am335x-rut-u-boot.dtsi|   4 +-
 arch/arm/dts/am335x-sancloud-bbe-lite-u-boot.dtsi
 |  18 -
 arch/arm/dts/am335x-shc-u-boot.dtsi
 |  20 +-
 arch/arm/dts/am335x-wega-rdk-u-boot.dtsi
 |  14 +++
 arch/arm/dts/am33xx-u-boot.dtsi|   2 +-
 arch/arm/dts/am3517-evm-u-boot.dtsi
 |  18 -
 arch/arm/dts/am4372-generic-u-boot.dtsi|   4 +-
 arch/arm/dts/am4372-u-boot.dtsi
 |  20 +-
 arch/arm/dts/am437x-gp-evm-u-boot.dtsi
 |  24 ++--
 arch/arm/dts/am437x-idk-evm-u-boot.dtsi
 |   8 ++--
 arch/arm/dts/am437x-sk-evm-u-boot.dtsi
 |   8 ++--
 arch/arm/dts/armada-3720-eDPU-u-boot.dtsi
 |   6 +--
 arch/arm/dts/armada-3720-uDPU-u-boot.dtsi
 |   6 +--
 arch/arm/dts/armada-385-atl-x530-u-boot.dtsi   |   2 +-
 arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi
 |  12 +++---
 arch/arm/dts/armada-388-clearfog-u-boot.dtsi
 |  18 -
 arch/arm/dts/armada-388-helios4-u-boot.dtsi
 |  20 +-
 arch/arm/dts/armada-38x-controlcenterdc-u-boot.dtsi
 |  12 +++---
 arch/arm/dts/armada-ap80x-quad.dtsi
 |   8 ++--
 arch/arm/dts/armada-xp-theadorable-u-boot.dtsi |   2 +-
 arch/arm/dts/ast2500-evb.dts
 |   8 ++--
 arch/arm/dts/ast2500-u-boot.dtsi
 |   8 ++--
 arch/arm/dts/ast2600-evb.dts
 |   6 +--
 arch/arm/dts/ast2600-u-boot.dtsi
 |  10 ++---
 arch/arm/dts/at91-sam9x60_curiosity-u-boot.dtsi
 |  34 -
 arch/arm/dts/at91-sama5d27_giantboard.dts
 |  16 
 arch/arm/dts/at91-sama5d27_som1_ek.dts
 |  24 ++--
 arch/arm/dts/at91-sama5d27_wlsom1_ek-u-boot.dtsi
 |  20 +-
 arch/arm/dts/at91-sama5d2_icp-u-boot.dtsi
 |  18 -
 arch/arm/dts/at91-sama5d2_ptc_ek.dts
 |  18 -
 arch/arm/dts/at91-sama5d2_xplained.dts
 |  38 +-
 arch/arm/dts/at91-sama5d3_xplained.dts
 |  14 +++
 arch/arm/dts/at91-sama5d4_xplained.dts
 |  20 +-
 arch/arm/dts/at91-sama5d4ek.dts
 |  20 +-
 arch/arm/dts/at91-sama7g5ek-u-boot.dtsi
 |  24 ++--
 arch/arm/dts/at91sam9260-smartweb.dts  |   4 +-
 arch/arm/dts/at91sam9260.dtsi
 |  26 ++---
 arch/arm/dts/at91sam9260ek.dts 

Re: Please pull u-boot-dm

2023-02-13 Thread Tom Rini
On Sun, Feb 12, 2023 at 05:37:09PM -0700, Simon Glass wrote:

> Hi Tom,
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/15164
> 
> 
> The following changes since commit a5e490f14e904fd240ccec5d364509b36a3150f9:
> 
>   socfpga: fix the serial console on DE1-SoC (2023-02-12 15:47:19 -0500)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-12feb23
> 
> for you to fetch changes up to 4ee85df9ce0b6385a28f538af31680eed4ee153e:
> 
>   cmd: fdt: allow standalone "fdt move" (2023-02-12 17:33:51 -0700)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm

2023-02-12 Thread Simon Glass
Hi Tom,

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


The following changes since commit a5e490f14e904fd240ccec5d364509b36a3150f9:

  socfpga: fix the serial console on DE1-SoC (2023-02-12 15:47:19 -0500)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-pull-12feb23

for you to fetch changes up to 4ee85df9ce0b6385a28f538af31680eed4ee153e:

  cmd: fdt: allow standalone "fdt move" (2023-02-12 17:33:51 -0700)


minor changes to fdt command and binman


Andre Przywara (2):
  cmd: fdt: move: Use map_sysmem to convert pointers
  cmd: fdt: allow standalone "fdt move"

Simon Glass (1):
  binman: Show the image name for the top-level section

 cmd/fdt.c | 34 --
 tools/binman/ftest.py | 68
++--
 tools/binman/image.py |  2 +-
 3 files changed, 51 insertions(+), 53 deletions(-)

Regards,
Simon


Re: Please pull u-boot-dm

2023-01-27 Thread Tom Rini
On Thu, Jan 26, 2023 at 07:20:51PM -0700, Simon Glass wrote:

> Hi Tom,
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/14897
> 
> 
> The following changes since commit 27e0fb3b0823519aea2d42cd8bde20234dd87cef:
> 
>   Merge https://source.denx.de/u-boot/custodians/u-boot-marvell
> (2023-01-26 10:24:13 -0500)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-26jan23
> 
> for you to fetch changes up to 060a65e899859dcbf42049a18be20ce7118e7c0e:
> 
>   binman: Fix a test-coverage regression (2023-01-26 10:47:45 -0700)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm

2023-01-26 Thread Simon Glass
Hi Tom,

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


The following changes since commit 27e0fb3b0823519aea2d42cd8bde20234dd87cef:

  Merge https://source.denx.de/u-boot/custodians/u-boot-marvell
(2023-01-26 10:24:13 -0500)

are available in the Git repository at:

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

for you to fetch changes up to 060a65e899859dcbf42049a18be20ce7118e7c0e:

  binman: Fix a test-coverage regression (2023-01-26 10:47:45 -0700)


FIT improvements with split-elf, especially for Rockchip
Binman positioning by ELF symbol


Jonas Karlman (6):
  binman: Add support for align argument to mkimage tool
  rockchip: Align FIT image data to SD/MMC block length
  binman: Add special subnodes to the nodes generated by split-elf
  rockchip: Add sha256 hash to FIT images
  binman: Add support for selecting firmware to use with split-elf
  rockchip: Use atf as firmware and move u-boot to loadables in FIT

Samuel Holland (2):
  binman: Add 'min-size' entry property
  dm: core: Use full printf() format when possible

Simon Glass (1):
  binman: Fix a test-coverage regression

 arch/arm/dts/rockchip-u-boot.dtsi| 23 -
 drivers/core/dump.c  |  2 +-
 tools/binman/binman.rst  |  8 +
 tools/binman/btool/mkimage.py|  5 ++-
 tools/binman/elf_test.py | 13 +++-
 tools/binman/entries.rst | 35 +---
 tools/binman/entry.py|  4 +++
 tools/binman/entry_test.py   | 19 +++
 tools/binman/etype/fit.py| 93
++--
 tools/binman/ftest.py| 93
+---
 tools/binman/test/009_pack_extra.dts |  7 
 tools/binman/test/226_fit_split_elf.dts  |  6 
 tools/binman/test/275_fit_align.dts  | 59
+
 tools/binman/test/276_fit_firmware_loadables.dts | 96
++
 tools/binman/test/embed_data.c   |  1 +
 15 files changed, 441 insertions(+), 23 deletions(-)
 create mode 100644 tools/binman/test/275_fit_align.dts
 create mode 100644 tools/binman/test/276_fit_firmware_loadables.dts

Regards,
Simon


Re: Please pull u-boot-dm

2023-01-19 Thread Tom Rini
On Wed, Jan 18, 2023 at 07:18:12PM -0700, Simon Glass wrote:

> Hi Tom,
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/14776
> 
> 
> The following changes since commit 5b958dea5c678dbdb2aeb6ac3c0c8cc8dfea065c:
> 
>   Merge branch '2022-01-16-bootstd-updates' (2023-01-17 08:55:40 -0500)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-18jan23
> 
> for you to fetch changes up to 4c5907889553696160fabaa7e9f0c96ed1fa6597:
> 
>   patman: symlink top level .checkpatch.conf (2023-01-18 14:55:41 -0700)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm

2023-01-18 Thread Simon Glass
Hi Tom,

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


The following changes since commit 5b958dea5c678dbdb2aeb6ac3c0c8cc8dfea065c:

  Merge branch '2022-01-16-bootstd-updates' (2023-01-17 08:55:40 -0500)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-pull-18jan23

for you to fetch changes up to 4c5907889553696160fabaa7e9f0c96ed1fa6597:

  patman: symlink top level .checkpatch.conf (2023-01-18 14:55:41 -0700)


convert rockchip to use binman
patman fix for checkpatch
binman optional entries, improved support for ELF symbols
trace improvements
minor fdt refactoring


Maxim Cournoyer (2):
  Revert "patman: invoke the checkpatch.pl script with '--u-boot'
and '--strict'"
  patman: symlink top level .checkpatch.conf

Simon Glass (36):
  trace: Use notrace for short
  arm: Support trace on armv8
  tpm: Add a proper Kconfig option for crc8 in SPL
  fdt: Avoid exporting fdtdec_prepare_fdt()
  fdt: Drop ifdefs in fdtdec_prepare_fdt()
  fdt: Pass the device tree to fdtdec_prepare_fdt()
  fdt: Check for overlapping data and FDT
  trace: Move trace pointer to data section
  mkimage: Add a few more messages for FIT failures
  trace: Adjust flags in proftool
  trace: Update trace-format generator for newer version
  trace: Don't require TIMER_EARLY
  rockchip: Enable bootstage on rockpro64
  Revert "fdtdec: drop needlessly convoluted CONFIG_PHANDLE_CHECK_SEQ"
  dm: pinctrl: Revert "pinctrl: probe pinctrl drivers during post-bind"
  binman: Allow writing section contents to a file
  binman: Tidy up comment in fit _gen_node
  binman: Update entry docs
  binman: Use a reference for binman symbols docs
  binman: Support optional entries
  binman: Add a way to check for a valid ELF file
  binman: Support new op-tee binary format
  binman: Support optional external blobs
  rockchip: evb-rk3288: Drop raw-image support
  rockchip: Use multiple-images for rk3399
  rockchip: Support building the all output files in binman
  rockchip: Convert all boards to use binman
  rockchip: Drop the FIT generator script
  binman: Add a test for an inner section with a size
  binman: Clarify use of False when obtaining data
  binman: Add a null entry
  binman: Add a function to check for special section nodes
  binman: Support overlapping entries
  binman: Provide general support for updating ELF symbols
  dtoc: Add a way to read a phandle with params
  binman: Support positioning an entry by and ELF symbol

 .gitignore|   1 +
 Makefile  |  11 +--
 arch/arm/cpu/armv7/s5p-common/timer.c |   2 +-
 arch/arm/cpu/armv8/generic_timer.c|   6 +-
 arch/arm/dts/px30-ringneck-haikou-u-boot.dtsi |   2 +-
 arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi   |   4 +-
 arch/arm/dts/rk3399-u-boot.dtsi   |   3 +-
 arch/arm/dts/rockchip-u-boot.dtsi |  78 ++--
 arch/arm/mach-exynos/include/mach/cpu.h   |   6 +-
 arch/arm/mach-rockchip/make_fit_atf.py| 267
--
 arch/arm/mach-rockchip/tpl.c  |  16 +++-
 arch/x86/include/asm/global_data.h|   2 +-
 arch/x86/include/asm/msr.h|   2 +-
 arch/x86/include/asm/u-boot-x86.h |   2 +-
 boot/Kconfig  |   3 +-
 common/spl/spl_fit.c  |   1 +
 configs/am65x_evm_a53_defconfig   |   1 +
 configs/evb-ast2600_defconfig |   1 +
 configs/evb-rk3288_defconfig  |   1 +
 configs/rockpro64-rk3399_defconfig|   8 ++
 configs/sama7g5ek_mmc1_defconfig  |   1 +
 configs/sama7g5ek_mmc_defconfig   |   1 +
 doc/develop/trace.rst |   2 +-
 drivers/pinctrl/pinctrl-uclass.c  |   7 --
 include/fdtdec.h  |   9 --
 lib/Kconfig   |  27 +-
 lib/Makefile  |   3 +-
 lib/efi_loader/efi_freestanding.c |   4 +-
 lib/fdtdec.c  |  92 ---
 lib/trace.c   |  29 +++---
 tools/binman/binman.rst   |  78 +++-
 tools/binman/control.py   |  12 +++
 tools/binman/elf.py   |  46 +-
 tools/binman/elf_test.py  |  10 ++
 tools/binman/entries.rst  | 237
+---
 tools/binman/entry.py |  80 ++--
 tools/binman/etype/_testing.py|   3 +
 

Re: Please pull u-boot-dm/next

2023-01-06 Thread Tom Rini
On Thu, Jan 05, 2023 at 09:40:20PM -0600, Simon Glass wrote:

> Hi Tom,
> 
> This is for the -next branch
> 
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/14617
> 
> 
> The following changes since commit a95410696d21d38b629c61a09c100197c5fc533a:
> 
>   Merge branch '2023-01-02-platform-updates' into next (2023-01-02 18:07:41
> -0500)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-next-5jan23
> 
> for you to fetch changes up to 8c042fb7f9f475367804b26a892fd522ad8fcfcc:
> 
>   patman: add '--get-maintainer-script' argument (2023-01-05 19:21:57 -0700)
> 

Applied to u-boot/next, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm/next

2023-01-05 Thread Simon Glass
Hi Tom,

This is for the -next branch


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


The following changes since commit a95410696d21d38b629c61a09c100197c5fc533a:

  Merge branch '2023-01-02-platform-updates' into next (2023-01-02 18:07:41
-0500)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-next-5jan23

for you to fetch changes up to 8c042fb7f9f475367804b26a892fd522ad8fcfcc:

  patman: add '--get-maintainer-script' argument (2023-01-05 19:21:57 -0700)


patman enhancements and fixes


Maxim Cournoyer (18):
  patman: remove extraneous imports
  patman: fix installation of README.rst data file
  patman: locate README.rst via importlib
  patman: cosmetic: Fix PEP 8 warnings for the gitutil module.
  patman: locate test data files via __file__ and pathlib
  patman: invoke the checkpatch.pl script with '--u-boot' and '--strict'
  patman: rename main script to __main__.py
  patman: add pytest configuration file
  patman: hide the 'test' command unless test data is available
  patman: document how to run test suite via pytest
  patman: document default 'send' command
  patman: fix pep8 warnings in settings module
  patman: replace deprecated SafeConfigParser with ConfigParser
  patman: import gitutil module where it is needed
  patman: set the default config_fname argument value to None
  patman: fail early in Setup when provided config file does not exist
  patman: additionally honor a local .patman config file
  patman: add '--get-maintainer-script' argument

Sean Anderson (1):
  patman: Switch to setuptools

Yuepeng Xing (1):
  test:dm:fix typo

 test/dm/blk.c |   2 +-
 test/dm/button.c  |   4 +-
 test/dm/gpio.c|   4 +-
 test/dm/host.c|   2 +-
 test/dm/remoteproc.c  |   2 +-
 test/dm/scmi.c|   2 +-
 test/dm/spmi.c|   2 +-
 test/dm/test-fdt.c|   2 +-
 tools/patman/__init__.py  |   2 +-
 tools/patman/{main.py => __main__.py} |  33 ++---
 tools/patman/checkpatch.py|   2 +-
 tools/patman/control.py   |  12 +++---
 tools/patman/func_test.py |  55 +--
 tools/patman/get_maintainer.py|  57 +---
 tools/patman/gitutil.py   | 107
+
 tools/patman/patman   |   2 +-
 tools/patman/patman.rst   |  38 +--
 tools/patman/pytest.ini   |   2 +
 tools/patman/series.py|   9 +++--
 tools/patman/settings.py  | 101
--
 tools/patman/setup.py |   4 +-
 tools/patman/test_settings.py |  67
+
 22 files changed, 368 insertions(+), 143 deletions(-)
 rename tools/patman/{main.py => __main__.py} (88%)
 create mode 100644 tools/patman/pytest.ini
 create mode 100644 tools/patman/test_settings.py

Regards,
Simon


Re: Please pull u-boot-dm

2022-11-23 Thread Tom Rini
On Tue, Nov 22, 2022 at 07:13:03PM -0700, Simon Glass wrote:

> Hi Tom,
> 
> The following changes since commit 521277ec15eb794229403ec24b8c00a4ff02b0b6:
> 
>   Merge tag 'xilinx-for-v2023.01-rc3' of
> https://source.denx.de/u-boot/custodians/u-boot-microblaze (2022-11-22
> 12:33:48 -0500)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-22nov22
> 
> for you to fetch changes up to b4574c0e750bee39cc2448952f127040a37a8e0b:
> 
>   test: Disable part of the setexpr test for now (2022-11-22 15:14:25 -0700)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm

2022-11-22 Thread Simon Glass
Hi Tom,

The following changes since commit 521277ec15eb794229403ec24b8c00a4ff02b0b6:

  Merge tag 'xilinx-for-v2023.01-rc3' of
https://source.denx.de/u-boot/custodians/u-boot-microblaze (2022-11-22
12:33:48 -0500)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-pull-22nov22

for you to fetch changes up to b4574c0e750bee39cc2448952f127040a37a8e0b:

  test: Disable part of the setexpr test for now (2022-11-22 15:14:25 -0700)


buildman /binman improvements for handling missing blobs
fix for long-standing image.h warning
minor fixes


Heinrich Schuchardt (1):
  sandbox: check lseek return value in handle_ufi_command

Marek Vasut (2):
  cmd: fdt: Fix iteration over elements above index 1 in fdt get
  test: cmd: fdt: Add fdt get value test case

Quentin Schulz (2):
  binman: bintool: remove btool_ prefix from btool names
  Revert "binman: btool: gzip: fix packer name so that binary can be found"

Simon Glass (15):
  image: Correct strncpy() warning with image_set_name()
  Makefile: Correct the binman rule
  doc: Correct the path to the Makefile documentation
  binman: Use an exit code when blobs are missing
  buildman: Convert documentation to rST
  buildman: Drop mention of MAKEALL
  buildman: Update the arc toolchain
  buildman: Update the default settings file
  buildman: Drop mention of old architectures
  buildman: Detect binman reporting missing blobs
  binman: Add a separate section about environment variables
  buildman: Ensure config_fname is inited
  buildman: Reinstate removal of temp output dir in tests
  binman: Add documentation for the command line args
  test: Disable part of the setexpr test for now

Sughosh Ganu (1):
  sandbox: Move the capsule GUID declarations to board file

Tom Rini (2):
  global: Do not default to faking missing binaries for buildman
  buildman: Add --allow-missing flag to allow missing blobs

 .azure-pipelines.yml |2 +-
 .gitlab-ci.yml   |6 +-
 Makefile |   15 +-
 board/sandbox/sandbox.c  |   13 +
 cmd/fdt.c|9 +-
 doc/build/buildman.rst   |1 +
 doc/build/index.rst  |1 +
 drivers/usb/emul/sandbox_flash.c |   10 +-
 include/configs/sandbox.h|   13 -
 include/image.h  |8 +-
 scripts/Kbuild.include   |2 +-
 test/cmd/fdt.c   |   53 ++
 test/cmd/setexpr.c   |6 +-
 tools/binman/binman.rst  |  352 +-
 tools/binman/bintool.py  |3 +-
 tools/binman/btool/btool_gzip.py |4 +-
 tools/binman/cmdline.py  |5 +-
 tools/binman/control.py  |9 +-
 tools/binman/ftest.py|   19 +-
 tools/buildman/README| 1349
---
 tools/buildman/README.rst|1 +
 tools/buildman/bsettings.py  |   17 +-
 tools/buildman/builder.py|5 +-
 tools/buildman/builderthread.py  |8 +-
 tools/buildman/buildman.rst  | 1328
++
 tools/buildman/cmdline.py|6 +
 tools/buildman/control.py|   28 +-
 tools/buildman/func_test.py  |  112 -
 28 files changed, 1981 insertions(+), 1404 deletions(-)
 create mode 12 doc/build/buildman.rst
 delete mode 100644 tools/buildman/README
 create mode 12 tools/buildman/README.rst
 create mode 100644 tools/buildman/buildman.rst

Regards,
Simon


Re: Please pull u-boot-dm

2022-11-08 Thread Tom Rini
On Tue, Nov 08, 2022 at 07:44:29AM -0700, Simon Glass wrote:

> Hi Tom,
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/14049
> 
> 
> The following changes since commit 88bd8ee106591eb900561715c44ad04441afc0e3:
> 
>   Prepare v2023.01-rc1 (2022-11-07 15:27:03 -0500)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-7nov22
> 
> for you to fetch changes up to 168a0e45fcf49194fca55795f84a844f16b480f6:
> 
>   dm: blk: Add probe in blk_first_device/blk_next_device (2022-11-07
> 16:24:30 -0700)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm

2022-11-08 Thread Simon Glass
Hi Tom,

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


The following changes since commit 88bd8ee106591eb900561715c44ad04441afc0e3:

  Prepare v2023.01-rc1 (2022-11-07 15:27:03 -0500)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-pull-7nov22

for you to fetch changes up to 168a0e45fcf49194fca55795f84a844f16b480f6:

  dm: blk: Add probe in blk_first_device/blk_next_device (2022-11-07
16:24:30 -0700)


sandbox UCLASS_HOST


Michal Suchanek (1):
  dm: blk: Add probe in blk_first_device/blk_next_device

Simon Glass (17):
  dm: sandbox: Drop non-BLK code from host implementation
  sandbox: Add missing comments for os_alarm()
  test: Split out mk_fs function into a helper
  test: Correct pylint warnings in fs_helper
  dm: test: Drop the special function for running DM tests
  dm: test: Clear the block cache after running a test
  test: Drop an unused parameter to ut_run_test_live_flat()
  test: Tidy up help for ut command
  test: doc: Add documentation for ut command
  test: Allow showing basic information about tests
  test: Add a way to detect a test that breaks another
  dm: blk: Tidy up obtaining a block device from its parent
  dm: sandbox: Create a new HOST uclass
  dm: sandbox: Create a block driver
  dm: sandbox: Switch over to using the new host uclass
  dm: Add documentation for host command and implementation
  dm: Add tests for the sandbox host driver

 arch/sandbox/cpu/spl.c |   2 +-
 arch/sandbox/dts/sandbox.dts   |   4 -
 cmd/host.c | 210 --
 disk/part.c|   4 +-
 doc/arch/index.rst |   2 +-
 doc/arch/sandbox/block_impl.rst|  39 +
 doc/arch/sandbox/index.rst |  12 ++
 doc/arch/{ => sandbox}/sandbox.rst |   9 +-
 doc/develop/tests_sandbox.rst  |  69 +
 doc/usage/cmd/host.rst | 116 +++
 doc/usage/cmd/ut.rst   | 117 +++
 doc/usage/index.rst|   2 +
 drivers/block/Makefile |   2 +-
 drivers/block/blk-uclass.c |  74 +-
 drivers/block/blkcache.c   |  23 ++-
 drivers/block/host-uclass.c| 176 ++
 drivers/block/host_dev.c   | 142 ++
 drivers/block/sandbox.c| 236
+++---
 include/blk.h  |  37 -
 include/dm/uclass-id.h |   1 +
 include/os.h   |   4 +
 include/sandbox_host.h | 125 
 include/sandboxblockdev.h  |  31 
 include/test/ut.h  |   7 +-
 lib/efi_loader/efi_device_path.c   |   5 +-
 lib/efi_loader/efi_disk.c  |   2 +-
 test/cmd_ut.c  |  82 +++
 test/dm/Makefile   |   1 +
 test/dm/blk.c  |  49 ---
 test/dm/host.c | 195 
 test/dm/test-dm.c  |  49 +--
 test/py/tests/fs_helper.py |  68 +
 test/py/tests/test_eficonfig/test_eficonfig.py |   3 +
 test/py/tests/test_fs/conftest.py  |  58 +---
 test/py/tests/test_ut.py   |   6 +
 test/test-main.c   |  47 +-
 36 files changed, 1458 insertions(+), 551 deletions(-)
 create mode 100644 doc/arch/sandbox/block_impl.rst
 create mode 100644 doc/arch/sandbox/index.rst
 rename doc/arch/{ => sandbox}/sandbox.rst (98%)
 create mode 100644 doc/usage/cmd/host.rst
 create mode 100644 doc/usage/cmd/ut.rst
 create mode 100644 drivers/block/host-uclass.c
 create mode 100644 drivers/block/host_dev.c
 create mode 100644 include/sandbox_host.h
 delete mode 100644 include/sandboxblockdev.h
 create mode 100644 test/dm/host.c
 create mode 100644 test/py/tests/fs_helper.py

Regards,
SImon


Re: Please pull u-boot-dm

2022-10-30 Thread Tom Rini
On Sat, Oct 29, 2022 at 04:43:13PM -0600, Simon Glass wrote:

> Hi Tom,
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/commit/f21954750aa8ed445ab83998bb099e366136c428
> 
> 
> The following changes since commit fb63362c63c7aeacb1dfde330ee8f692da7972f9:
> 
>   lib: fix buggy strcmp and strncmp (2022-10-27 09:10:08 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-29oct22
> 
> for you to fetch changes up to f21954750aa8ed445ab83998bb099e366136c428:
> 
>   dm: core: Do not stop uclass iteration on error (2022-10-29 07:36:33
> -0600)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm

2022-10-29 Thread Simon Glass
Hi Tom,

https://source.denx.de/u-boot/custodians/u-boot-dm/-/commit/f21954750aa8ed445ab83998bb099e366136c428


The following changes since commit fb63362c63c7aeacb1dfde330ee8f692da7972f9:

  lib: fix buggy strcmp and strncmp (2022-10-27 09:10:08 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-pull-29oct22

for you to fetch changes up to f21954750aa8ed445ab83998bb099e366136c428:

  dm: core: Do not stop uclass iteration on error (2022-10-29 07:36:33
-0600)


Fix pylibfdt warnings and use setuptools to build
Various minor changes to core dm and sandbox


Heinrich Schuchardt (3):
  x86: fix longjmp() implementation
  x86: provide typedef jmp_buf
  sandbox: typo Fictionnal

Michal Suchanek (10):
  dm: doc: Fix serial howto u-boot,dm-pre-reloc typo
  dm: pci: Fix doc typo first -> next
  libfdt: Fix invalid version warning
  libfdt: Fix build with python 3.10
  tests: Build correct sandbox configuration on 32bit
  dm: core: Switch uclass_*_device_err to use uclass_*_device_check
  dm: core: Document return value of device bind functions
  dm: core: Add note about device_probe idempotence
  dm: treewide: Do not use the return value of simple uclass iterator
  dm: core: Do not stop uclass iteration on error

Neha Malcom Francis (1):
  binman: Add support for symlinking images

Patrick Delaunay (1):
  fdt_support: cosmetic: remove fdt_fixup_nor_flash_size prototype

Rasmus Villemoes (1):
  gpio-uclass: fix gpio lookup by label

Simon Glass (4):
  dm: core: Fix lists_bind_fdt() using non-existent of_match
  event: Drop the path when checking event-list filenames
  test: Drop unwanted option in event_dump.py
  fdt: Move to setuptools

Sughosh Ganu (1):
  thermal: sandbox: Enable thermal uclass for sandbox64 variant

William Zhang (1):
  dm: tpl: Add fdt address translation support in TPL

 arch/sandbox/Kconfig  |  18 +
 arch/x86/cpu/i386/setjmp.S|   5 ++
 arch/x86/include/asm/setjmp.h |   6 +-
 board/sandbox/sandbox.c   |   2 +-
 cmd/virtio.c  |   9 +--
 configs/sandbox64_defconfig   |   2 +
 doc/develop/driver-model/serial-howto.rst |   4 +-
 drivers/core/Kconfig  |  14 
 drivers/core/lists.c  |   4 +-
 drivers/core/uclass.c |  30 +
 drivers/dma/dma-uclass.c  |   7 +-
 drivers/gpio/gpio-uclass.c|  18 ++---
 drivers/pci/pci-uclass.c  |  22 ++-
 drivers/sysinfo/sysinfo-uclass.c  |  10 ++-
 drivers/w1/w1-uclass.c|   9 +--
 include/dm/device-internal.h  |   4 +-
 include/dm/lists.h|   2 +
 include/dm/uclass.h   |  25 +++
 include/fdt_support.h |   2 -
 include/pci.h |   2 +-
 scripts/Kconfig.include   |   4 ++
 scripts/dtc/README| 106
++
 scripts/dtc/pylibfdt/Makefile |   5 +-
 scripts/dtc/pylibfdt/libfdt.i_shipped |   4 ++
 scripts/dtc/pylibfdt/setup.py |  57 +---
 scripts/event_dump.py |   2 -
 test/dm/core.c|  10 ++-
 test/dm/test-fdt.c|  27 ++--
 test/py/tests/test_event_dump.py  |   6 +-
 tools/binman/binman.rst   |   3 +
 tools/binman/ftest.py |   9 +++
 tools/binman/image.py |   6 ++
 tools/binman/test/259_symlink.dts |  16 +
 33 files changed, 328 insertions(+), 122 deletions(-)
 create mode 100644 scripts/dtc/README
 create mode 100644 tools/binman/test/259_symlink.dts

Regards,
Simon


Re: Please pull u-boot-dm

2022-10-18 Thread Tom Rini
On Tue, Oct 18, 2022 at 05:34:28AM -0600, Simon Glass wrote:

> Hi Tom,
> 
> The following changes since commit 17196e446b6ea11220c3e08cebff839f999e0185:
> 
>   CI: Update to jammy-20221003-17Oct2022 tag (2022-10-17 11:10:32 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-18oct22
> 
> for you to fetch changes up to ae0bf2214b81b56a5670819958234947443680be:
> 
>   vbe: Add a test for VBE device tree fixups (2022-10-17 21:17:13 -0600)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm

2022-10-18 Thread Simon Glass
Hi Tom,

The following changes since commit 17196e446b6ea11220c3e08cebff839f999e0185:

  CI: Update to jammy-20221003-17Oct2022 tag (2022-10-17 11:10:32 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-pull-18oct22

for you to fetch changes up to ae0bf2214b81b56a5670819958234947443680be:

  vbe: Add a test for VBE device tree fixups (2022-10-17 21:17:13 -0600)


Update uclass iterators to work better when devices fail to probe
Support VBE OS requests / fixups
Minor error-handling tweaks to bootm command


Michal Suchanek (16):
  dm: core: Fix uclass_probe_all to really probe all devices
  dm: treewide: Do not opencode uclass_probe_all()
  dm: pci: Fix device PCI iteration
  bootstd: Fix listing boot devices
  usb: ether: Fix error handling in usb_ether_init
  stdio: Fix class iteration in stdio_add_devices()
  video: ipuv3: Fix error handling when getting the display
  w1: Fix bus counting in w1_get_bus
  cmd: List all uclass devices regardless of probe error
  dm: treewide: Use uclass_first_device_err when accessing one device
  dm: treewide: Use uclass_next_device_err when accessing second device
  dm: blk: Do not use uclass_next_device_err
  net: eth-uclass: Do not set device on error
  mpc83xx: gazerbeam: Update sysinfo_get error handling
  dm: core: Switch uclass_foreach_dev_probe to use simple iterator
  dm: core: Switch uclass_*_device_err to use uclass_*_device_check

Simon Glass (15):
  dm: regmap: Disable range checks in SPL
  bootm: Change incorrect 'unsupported' error
  bootm: Avoid returning error codes from command
  bootm: Drop #ifdef from do_bootm()
  boot: Correct handling of addresses in boot_relocate_fdt()
  fs: Quieten down the filesystems more
  fdt: Show a message when the working FDT changes
  bootstd: Move VBE setup into a shared function
  sandbox: Support FDT fixups
  boot: Pass the correct FDT to the EVT_FT_FIXUP event
  boot: Tidy up logging and naming in vbe_simple
  test: Move common FIT code into a separate fit_util file
  vbe: Add fixups for a basic set of OS requests
  dm: core: Update docs about oftree_from_fdt()
  vbe: Add a test for VBE device tree fixups

 arch/arm/mach-k3/j721s2_init.c|   2 +-
 arch/arm/mach-omap2/am33xx/board.c|   4 +-
 arch/sandbox/lib/bootm.c  |  17 
 arch/x86/cpu/broadwell/cpu.c  |   4 +-
 arch/x86/cpu/intel_common/cpu.c   |   4 +-
 arch/x86/lib/pinctrl_ich6.c   |   4 +-
 board/atmel/common/mac_eeprom.c   |   2 +-
 board/gdsys/mpc8308/gazerbeam.c   |  12 ++-
 board/intel/cougarcanyon2/cougarcanyon2.c |   4 +-
 boot/Makefile |   2 +-
 boot/bootdev-uclass.c |   4 +-
 boot/bootm.c  |   2 +-
 boot/image-fdt.c  |  37 +
 boot/vbe_fixup.c  | 233

 boot/vbe_simple.c |  16 ++--
 cmd/adc.c |  20 ++---
 cmd/bootm.c   |  25 +++---
 cmd/demo.c|  15 ++--
 cmd/fdt.c |   1 +
 cmd/gpio.c|  15 +++-
 cmd/pmic.c|  15 ++--
 cmd/regulator.c   |  13 +--
 common/stdio.c|  32 +++-
 configs/sandbox_flattree_defconfig|   2 +-
 disk/part_efi.c   |  15 ++--
 doc/develop/driver-model/livetree.rst |   2 +-
 doc/develop/vbe.rst   |   3 +-
 doc/usage/cmd/fdt.rst |   1 +
 drivers/block/blk-uclass.c|  16 ++--
 drivers/core/regmap.c |  23 +-
 drivers/core/uclass.c |  40 +
 drivers/cpu/cpu-uclass.c  |  20 +
 drivers/mmc/omap_hsmmc.c  |   2 +-
 drivers/pci/pci-uclass.c  |   4 +-
 drivers/serial/serial-uclass.c|   2 +-
 drivers/serial/serial_bcm283x_mu.c|   2 +-
 drivers/serial/serial_bcm283x_pl011.c |   2 +-
 drivers/sysreset/sysreset_ast.c   |   2 +-
 drivers/usb/gadget/ether.c|  11 ++-
 drivers/video/exynos/exynos_fb.c  |  14 +---
 drivers/video/imx/mxc_ipuv3_fb.c  |   9 +-
 drivers/video/mali_dp.c   |   2 +-
 drivers/video/stm32/stm32_dsi.c   |   2 +-
 drivers/video/tegra124/dp.c   |   4 +-
 drivers/virtio/virtio-uclass.c|  15 +---
 drivers/w1/w1-uclass.c|  20 +++--
 drivers/xen/pvblock.c |   5 +-
 fs/btrfs/disk-io.c   

Re: Please pull u-boot-dm/next

2022-09-25 Thread Tom Rini
On Sun, Sep 25, 2022 at 03:15:51PM -0600, Simon Glass wrote:

> Hi Tom,
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/13590
> 
> (this is for -next)
> 
> The following changes since commit 81da5042e514bfd27516d3530dde4d62a6708ca4:
> 
>   Merge branch '2022-09-24-add-console-flush' into next (2022-09-24
> 13:58:49 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-next-25sep22
> 
> for you to fetch changes up to 22c80d5603ac4c58debc8c776b8f138e76cf5f7c:
> 
>   sandbox: Add a test for SCSI (2022-09-25 13:59:56 -0600)
> 

Applied to u-boot/next, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm/next

2022-09-25 Thread Simon Glass
Hi Tom,

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

(this is for -next)

The following changes since commit 81da5042e514bfd27516d3530dde4d62a6708ca4:

  Merge branch '2022-09-24-add-console-flush' into next (2022-09-24
13:58:49 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-next-25sep22

for you to fetch changes up to 22c80d5603ac4c58debc8c776b8f138e76cf5f7c:

  sandbox: Add a test for SCSI (2022-09-25 13:59:56 -0600)


sandbox SCSI conversion to driver model
final patch for blk improvements


Heinrich Schuchardt (1):
  sandbox: unblock signal before calling execv()

Simon Glass (16):
  blk: Rename if_type to uclass_id
  scsi: Tidy up comments for struct scsi_cmd
  sandbox: usb: Rename transfer_len in protocol struct
  scsi: Move cmd_phase enum to the header
  scsi: Move core emulation state into a new struct
  sandbox: Move buffer to scsi_emul_info
  scsi: Move vendor/product info into the shared struct
  sandbox: scsi: Move block size into shared struct
  sandbox: scsi: Move file size into shared struct
  sandbox: scsi: Move reply setup out of helper
  sandbox: scsi: Remove setup calls from handle_read()
  sandbox: scsi: Move structs to header file
  sandbox: Enable SCSI for all builds
  sandbox: scsi: Move request-handling code to scsi_emul
  sandbox: Convert to use driver model for SCSI
  sandbox: Add a test for SCSI

 arch/Kconfig   |   1 -
 arch/sandbox/cpu/os.c  |  16 +
 arch/sandbox/dts/sandbox.dtsi  |   4 ++
 arch/sandbox/dts/test.dts  |   5 ++
 board/st/common/stm32mp_dfu.c  |   2 +-
 cmd/bcb.c  |   4 +-
 cmd/blk_common.c   |  18 +++---
 cmd/lsblk.c|   2 +-
 cmd/mmc.c  |   4 +-
 common/spl/spl_sata.c  |   2 +-
 common/spl/spl_usb.c   |   2 +-
 common/usb_storage.c   |   6 +-
 configs/sandbox64_defconfig|   3 +-
 configs/sandbox_defconfig  |   5 +-
 configs/sandbox_flattree_defconfig |   3 +-
 configs/sandbox_noinst_defconfig   |   3 +-
 configs/sandbox_spl_defconfig  |   3 +-
 configs/sandbox_vpl_defconfig  |   3 +-
 configs/tools-only_defconfig   |   1 -
 disk/disk-uclass.c |   8 +--
 disk/part.c|  14 ++---
 doc/usage/partitions.rst   |   2 +-
 drivers/ata/sata.c |   2 +-
 drivers/block/blk-uclass.c | 145
++---
 drivers/block/blk_legacy.c |  58 +-
 drivers/block/ide.c|   8 +--
 drivers/block/sandbox.c|   8 +--
 drivers/mmc/mmc-uclass.c   |   2 +-
 drivers/mmc/mmc_legacy.c   |   8 +--
 drivers/net/fsl_enetc.c|  12 ++--
 drivers/net/fsl_enetc.h|   2 +-
 drivers/scsi/Makefile  |   1 +
 drivers/scsi/sandbox_scsi.c| 132
-
 drivers/scsi/scsi.c|   6 +-
 drivers/scsi/scsi_emul.c   |  74 +++
 drivers/usb/emul/sandbox_flash.c   | 207
+---
 drivers/virtio/virtio_blk.c|   2 +-
 drivers/xen/pvblock.c  |   2 +-
 fs/fat/fat.c   |   2 +-
 include/blk.h  | 122 +++---
 include/efi_loader.h   |   4 +-
 include/scsi.h | 126
+--
 include/scsi_emul.h|  70 ++
 lib/efi_loader/efi_disk.c  |  12 ++--
 lib/efi_loader/efi_var_file.c  |   4 +-
 test/dm/Makefile   |   1 +
 test/dm/scsi.c |  39 
 test/py/tests/test_ut.py   |   9 +++
 48 files changed, 765 insertions(+), 404 deletions(-)
 create mode 100644 drivers/scsi/scsi_emul.c
 create mode 100644 include/scsi_emul.h
 create mode 100644 test/dm/scsi.c

Regards,
Simon


Re: Please pull u-boot-dm

2022-09-21 Thread Tom Rini
On Wed, Sep 21, 2022 at 11:50:50AM +0200, Simon Glass wrote:

> Hi Tom,
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/13541
> 
> 
> The following changes since commit 12ed6d4911ced1df099a365e0a994b54211b60f3:
> 
>   Merge https://gitlab.denx.de/u-boot/custodians/u-boot-usb (2022-09-19
> 16:49:18 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-21sep22
> 
> for you to fetch changes up to d64af08f19132c85422b442657920f4024b5caf7:
> 
>   binman: Get futility by building it (2022-09-21 10:37:47 +0200)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm

2022-09-21 Thread Simon Glass
Hi Tom,

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


The following changes since commit 12ed6d4911ced1df099a365e0a994b54211b60f3:

  Merge https://gitlab.denx.de/u-boot/custodians/u-boot-usb (2022-09-19
16:49:18 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-pull-21sep22

for you to fetch changes up to d64af08f19132c85422b442657920f4024b5caf7:

  binman: Get futility by building it (2022-09-21 10:37:47 +0200)


Fix futility bintool to run on newer distros
Apply a lost patch


Marek Vasut (1):
  cmd: fdt: Add support for reading stringlist property values

Simon Glass (1):
  binman: Get futility by building it

 cmd/fdt.c  | 34 --
 tools/binman/bintool.py| 10 +++---
 tools/binman/btool/futility.py | 17 +
 3 files changed, 48 insertions(+), 13 deletions(-)

Regards,
Simon


Re: Please pull u-boot-dm

2022-09-12 Thread Tom Rini
On Mon, Sep 12, 2022 at 07:39:45AM -0600, Simon Glass wrote:

> Hi Tom,
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/13416
> 
> 
> The following changes since commit a5fc388ed966974256bc03b3d4db7ae1be0ed119:
> 
>   Merge tag 'efi-2022-10-rc5' of
> https://source.denx.de/u-boot/custodians/u-boot-efi (2022-09-09
> 15:07:05 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-12sep22
> 
> for you to fetch changes up to 6ad2452bc61d925eaa40f52377baaddf92c43464:
> 
>   binman: Add VPL support (2022-09-12 06:41:14 -0600)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm

2022-09-12 Thread Simon Glass
Hi Tom,

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


The following changes since commit a5fc388ed966974256bc03b3d4db7ae1be0ed119:

  Merge tag 'efi-2022-10-rc5' of
https://source.denx.de/u-boot/custodians/u-boot-efi (2022-09-09
15:07:05 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-pull-12sep22

for you to fetch changes up to 6ad2452bc61d925eaa40f52377baaddf92c43464:

  binman: Add VPL support (2022-09-12 06:41:14 -0600)


Binman VPL support (patch was lost)
Add board_rng_seed() as a temporary solution


Rasmus Villemoes (1):
  fdt_support: add optional board_rng_seed() hook

Simon Glass (1):
  binman: Add VPL support

 common/Kconfig |  14 ++
 common/fdt_support.c   |  13 +
 include/fdt_support.h  |  13 +
 tools/binman/etype/u_boot_vpl.py   |  42 
 tools/binman/etype/u_boot_vpl_bss_pad.py   |  44 +
 tools/binman/etype/u_boot_vpl_dtb.py   |  28 +++
 tools/binman/etype/u_boot_vpl_expanded.py  |  45 +
 tools/binman/etype/u_boot_vpl_nodtb.py |  42 
 tools/binman/ftest.py  | 109
++
 tools/binman/state.py  |   3 +-
 tools/binman/test/082_fdt_update_all.dts   |   2 +
 tools/binman/test/255_u_boot_vpl.dts   |  11 +
 tools/binman/test/256_u_boot_vpl_nodtb.dts |  13 +
 tools/binman/test/257_fdt_incl_vpl.dts |  13 +
 tools/binman/test/258_vpl_bss_pad.dts  |  19 
 15 files changed, 389 insertions(+), 22 deletions(-)
 create mode 100644 tools/binman/etype/u_boot_vpl.py
 create mode 100644 tools/binman/etype/u_boot_vpl_bss_pad.py
 create mode 100644 tools/binman/etype/u_boot_vpl_dtb.py
 create mode 100644 tools/binman/etype/u_boot_vpl_expanded.py
 create mode 100644 tools/binman/etype/u_boot_vpl_nodtb.py
 create mode 100644 tools/binman/test/255_u_boot_vpl.dts
 create mode 100644 tools/binman/test/256_u_boot_vpl_nodtb.dts
 create mode 100644 tools/binman/test/257_fdt_incl_vpl.dts
 create mode 100644 tools/binman/test/258_vpl_bss_pad.dts

Regards,
Simon


Re: Please pull u-boot-dm

2022-09-07 Thread Tom Rini
On Wed, Sep 07, 2022 at 06:32:02AM -0600, Simon Glass wrote:

> Hi Tom,
> 
> The following changes since commit 4e10c1227aa879af809b3073bf917289f23e17d7:
> 
>   Merge branch '2022-08-31-assorted-fixes' (2022-08-31 19:32:31 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-7sep22
> 
> for you to fetch changes up to 7ac6842316ad1d412a49f88d8668923b40b09b5f:
> 
>   binman: bintool: bzip2: fix version function on non-Debian-based systems
> (2022-09-01 11:36:36 -0600)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm

2022-09-07 Thread Simon Glass
Hi Tom,

The following changes since commit 4e10c1227aa879af809b3073bf917289f23e17d7:

  Merge branch '2022-08-31-assorted-fixes' (2022-08-31 19:32:31 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-pull-7sep22

for you to fetch changes up to 7ac6842316ad1d412a49f88d8668923b40b09b5f:

  binman: bintool: bzip2: fix version function on non-Debian-based systems
(2022-09-01 11:36:36 -0600)


binman fixes for bintool support


Quentin Schulz (8):
  binman: btool: gzip: fix packer name so that binary can be found
  binman: bintool: move version check implementation into bintool class
  binman: btool: lz4: use Bintool.version
  binman: btool: mkimage: use Bintool.version
  binman: bintool: parametrize args to pass to binary for returning
version
  binman: btool: fiptool: use Bintool.version
  binman: btool: futility: use Bintool.version
  binman: bintool: bzip2: fix version function on non-Debian-based
systems

 tools/binman/bintool.py  | 46
+---
 tools/binman/btool/btool_gzip.py |  2 +-
 tools/binman/btool/bzip2.py  |  2 +-
 tools/binman/btool/fiptool.py| 11 +-
 tools/binman/btool/futility.py   | 13 +---
 tools/binman/btool/lz4.py| 14 +---
 tools/binman/btool/mkimage.py| 18 ++--
 7 files changed, 27 insertions(+), 79 deletions(-)

Regards,
Simon


Re: Please pull u-boot-dm

2022-08-27 Thread Tom Rini
On Fri, Aug 26, 2022 at 08:01:44PM -0600, Simon Glass wrote:

> Hi Tom,
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/13234
> 
> 
> The following changes since commit aea087a665c447dfb89bf2113cad74ad53fa17a0:
> 
>   Merge https://source.denx.de/u-boot/custodians/u-boot-marvell
> (2022-08-23 15:44:54 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-26aug22
> 
> for you to fetch changes up to c2ee5ee7b3393770dbe809ca36814083feffaf83:
> 
>   Rename disto_[pxe_]getfile to distro_[pxe_]getfile (2022-08-26 16:33:48 
> -0600)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm

2022-08-26 Thread Simon Glass
Hi Tom,

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


The following changes since commit aea087a665c447dfb89bf2113cad74ad53fa17a0:

  Merge https://source.denx.de/u-boot/custodians/u-boot-marvell
(2022-08-23 15:44:54 -0400)

are available in the Git repository at:

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

for you to fetch changes up to c2ee5ee7b3393770dbe809ca36814083feffaf83:

  Rename disto_[pxe_]getfile to distro_[pxe_]getfile (2022-08-26 16:33:48 -0600)


binman/patman documentation improvements
other minor fixes


Dario Binacchi (1):
  Rename disto_[pxe_]getfile to distro_[pxe_]getfile

Heinrich Schuchardt (2):
  boot: fix vbe_find_first_device()
  boot: simplify bootmeth_vbe_simple_ft_fixup()

Sergei Antonov (1):
  dm: core: fix a typo in help text

Simon Glass (6):
  doc: Build documentation in parallel
  patman: Fix version table
  patman: Tidy up unnecessary blank lines and numbers
  binman: Mention split-elf in the main docs
  binman: Document how to handle dependent images
  vbe: Enable command only with BOOTSTD_FULL

Stefan Herbrechtsmeier (1):
  binman: Sort tests and rework test-file numbers

 boot/bootmeth_distro.c  |   6 +-
 boot/bootmeth_pxe.c |   6 +-
 boot/vbe.c  |   2 +-
 boot/vbe_simple.c   |   7 +-
 cmd/Kconfig |   2 +-
 cmd/dm.c|   2 +-
 doc/Makefile|   1 +
 doc/develop/bootstd.rst |   2 +-
 tools/binman/binman.rst |  54 +
 tools/binman/ftest.py   | 113 +-
 tools/binman/test/{225_dev.key => 230_dev.key}  |   0
 .../test/{225_pre_load.dts => 230_pre_load.dts} |   2 +-
 ..._pre_load_pkcs.dts => 231_pre_load_pkcs.dts} |   2 +-
 ...27_pre_load_pss.dts => 232_pre_load_pss.dts} |   2 +-
 ...ing.dts => 233_pre_load_invalid_padding.dts} |   2 +-
 ...lid_sha.dts => 234_pre_load_invalid_sha.dts} |   2 +-
 ...d_algo.dts => 235_pre_load_invalid_algo.dts} |   2 +-
 ...lid_key.dts => 236_pre_load_invalid_key.dts} |   2 +-
 ...30_unique_names.dts => 237_unique_names.dts} |   0
 ...mes_multi.dts => 238_unique_names_multi.dts} |   0
 ...bintool.dts => 239_replace_with_bintool.dts} |   0
 ..._replace.dts => 240_fit_extract_replace.dts} |   0
 ...imple.dts => 241_replace_section_simple.dts} |   0
 ...35_mkimage_name.dts => 242_mkimage_name.dts} |   0
 ..._mkimage_image.dts => 243_mkimage_image.dts} |   0
 ...ent.dts => 244_mkimage_image_no_content.dts} |   0
 ..._image_bad.dts => 245_mkimage_image_bad.dts} |   0
 ...ction_other.dts => 246_collection_other.dts} |   0
 ...40_mkimage_coll.dts => 247_mkimage_coll.dts} |   0
 ...dts => 248_compress_dtb_prepend_invalid.dts} |   0
 dts => 249_compress_dtb_prepend_length.dts} |   0
 ...invalid.dts => 250_compress_dtb_invalid.dts} |   0
 ...s_dtb_zstd.dts => 251_compress_dtb_zstd.dts} |   0
 tools/patman/patman.rst |  47 +++-
 34 files changed, 148 insertions(+), 108 deletions(-)
 rename tools/binman/test/{225_dev.key => 230_dev.key} (100%)
 rename tools/binman/test/{225_pre_load.dts => 230_pre_load.dts} (86%)
 rename tools/binman/test/{226_pre_load_pkcs.dts => 231_pre_load_pkcs.dts} (87%)
 rename tools/binman/test/{227_pre_load_pss.dts => 232_pre_load_pss.dts} (87%)
 rename tools/binman/test/{228_pre_load_invalid_padding.dts =>
233_pre_load_invalid_padding.dts} (86%)
 rename tools/binman/test/{229_pre_load_invalid_sha.dts =>
234_pre_load_invalid_sha.dts} (86%)
 rename tools/binman/test/{230_pre_load_invalid_algo.dts =>
235_pre_load_invalid_algo.dts} (86%)
 rename tools/binman/test/{231_pre_load_invalid_key.dts =>
236_pre_load_invalid_key.dts} (86%)
 rename tools/binman/test/{230_unique_names.dts => 237_unique_names.dts} (100%)
 rename tools/binman/test/{231_unique_names_multi.dts =>
238_unique_names_multi.dts} (100%)
 rename tools/binman/test/{232_replace_with_bintool.dts =>
239_replace_with_bintool.dts} (100%)
 rename tools/binman/test/{233_fit_extract_replace.dts =>
240_fit_extract_replace.dts} (100%)
 rename tools/binman/test/{234_replace_section_simple.dts =>
241_replace_section_simple.dts} (100%)
 rename tools/binman/test/{235_mkimage_name.dts => 242_mkimage_name.dts} (100%)
 rename tools/binman/test/{236_mkimage_image.dts =>
243_mkimage_image.dts} (100%)
 rename tools/binman/test/{237_mkimage_image_no_content.dts =>
244_mkimage_image_no_content.dts} (100%)
 rename tools/binman/test/{238_mkimage_image_bad.dts =>
245_mkimage_image_bad.dts} (100%)
 rename tools/binman/test/{239_collection_other.dts =>
246_collection_other.dts} (100%)
 rename tools/binman/test/{240_mkimage_coll.dts => 

Re: Please pull u-boot-dm

2022-08-22 Thread Tom Rini
On Sat, Aug 20, 2022 at 07:02:43PM -0600, Simon Glass wrote:

> Hi Tom,
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/13186
> 
> 
> The following changes since commit 3212be5e24c5861c4209785fd5f654f43fe9d409:
> 
>   Merge branch '2022-08-20-assorted-updates' (2022-08-20 19:00:10 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-20aug22
> 
> for you to fetch changes up to cd15b640b0b8d5a7ba5f1c0587e4f9c767e2d8fb:
> 
>   binman: Add zstd bintool (2022-08-20 18:07:33 -0600)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Re: Please pull u-boot-dm

2022-08-22 Thread Simon Glass
Hi Stefan,

On Mon, 22 Aug 2022 at 00:23, Stefan Herbrechtsmeier
 wrote:
>
> Hi Simon,
>
> Am 21.08.2022 um 03:02 schrieb Simon Glass:
>
> [snip]
>
> >   create mode 100644 tools/binman/test/235_compress_dtb_prepend_invalid.dts
> >   create mode 100644 tools/binman/test/235_mkimage_name.dts
> >   create mode 100644 tools/binman/test/236_compress_dtb_prepend_length.dts
> >   create mode 100644 tools/binman/test/236_mkimage_image.dts
> >   create mode 100644 tools/binman/test/237_compress_dtb_invalid.dts
> >   create mode 100644 tools/binman/test/237_mkimage_image_no_content.dts
> >   create mode 100644 tools/binman/test/238_compress_dtb_zstd.dts
> >   create mode 100644 tools/binman/test/238_mkimage_image_bad.dts
> >   create mode 100644 tools/binman/test/239_collection_other.dts
> >   create mode 100644 tools/binman/test/240_mkimage_coll.dts
>
> Should we update the file names to avoid duplicate numbers?

Ah yes I forgot to do that. Would you mind sending a patch? It isn't urgent.

Regards,
Simon


Re: Please pull u-boot-dm

2022-08-22 Thread Stefan Herbrechtsmeier

Hi Simon,

Am 21.08.2022 um 03:02 schrieb Simon Glass:

[snip]


  create mode 100644 tools/binman/test/235_compress_dtb_prepend_invalid.dts
  create mode 100644 tools/binman/test/235_mkimage_name.dts
  create mode 100644 tools/binman/test/236_compress_dtb_prepend_length.dts
  create mode 100644 tools/binman/test/236_mkimage_image.dts
  create mode 100644 tools/binman/test/237_compress_dtb_invalid.dts
  create mode 100644 tools/binman/test/237_mkimage_image_no_content.dts
  create mode 100644 tools/binman/test/238_compress_dtb_zstd.dts
  create mode 100644 tools/binman/test/238_mkimage_image_bad.dts
  create mode 100644 tools/binman/test/239_collection_other.dts
  create mode 100644 tools/binman/test/240_mkimage_coll.dts


Should we update the file names to avoid duplicate numbers?

Regards
  Stefan


Please pull u-boot-dm

2022-08-20 Thread Simon Glass
Hi Tom,

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


The following changes since commit 3212be5e24c5861c4209785fd5f654f43fe9d409:

  Merge branch '2022-08-20-assorted-updates' (2022-08-20 19:00:10 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-pull-20aug22

for you to fetch changes up to cd15b640b0b8d5a7ba5f1c0587e4f9c767e2d8fb:

  binman: Add zstd bintool (2022-08-20 18:07:33 -0600)


binman fixes for various things
binman clean-up of compression and addition of utilities


Michal Simek (1):
  bootstage: Show func name for bootstage_mark/error

Simon Glass (12):
  binman: Put fake files in a subdirectory
  log: Drop log_nop() functions
  patman: Put the coverage command-line last
  patman: Don't buffer test output with a single test
  binman: Fix up the entry-docs for Entry_pre_load
  binman: Add a way to check for missing properties
  binman: Adjust mkimage etype node reading
  binman: Avoid use of expected failure
  binman: Improve mkimage documentation
  binman: Allow the image name to be the data file
  binman: Allow passing entries using -n
  binman: Allow collection to use entries from other sections

Stefan Herbrechtsmeier (21):
  binman: Skip elf tests if python elftools is not available
  binman: Avoid duplicates in bintool lists
  binman: Forward AddBintools calls to sub entries in cbfs_util
  binman: Forward AddBintools calls to base class
  binman: Collect bintools before usage
  binman: Check only section data in multi section test
  binman: Add DecompressData function to entry class
  binman: Add length header attribute to dtb entry
  binman: Disable compressed data header
  binman: Remove obsolete compressed data header handling
  binman: Move compression bintools creation into test setup
  binman: Select compression bintools in cbfs_util class
  binman: Move compression bintool management into entry class
  binman: Support missing compression tools
  binman: Add compression tests
  binman: Add BintoolPacker class to bintool
  binman: Add bzip2 bintool
  binman: Add gzip bintool
  binman: Add lzop bintool
  binman: Add xz bintool
  binman: Add zstd bintool

 common/bootstage.c   |  10 +-
 include/bootstage.h  |  21 +-
 include/log.h|  18 --
 tools/binman/binman.rst  |   2 -
 tools/binman/bintool.py  | 115 -
 tools/binman/btool/btool_gzip.py |  31 +++
 tools/binman/btool/bzip2.py  |  30 +++
 tools/binman/btool/lzop.py   |  30 +++
 tools/binman/btool/xz.py |  31 +++
 tools/binman/btool/zstd.py   |  30 +++
 tools/binman/cbfs_util.py|  20 +-
 tools/binman/cbfs_util_test.py   |   4 +-
 tools/binman/comp_util.py|  76 --
 tools/binman/control.py  |  15 +-
 tools/binman/elf_test.py |  14 ++
 tools/binman/entries.rst |  70 +-
 tools/binman/entry.py| 122 +-
 tools/binman/entry_test.py   |   9 +
 tools/binman/etype/blob_dtb.py   |  31 +++
 tools/binman/etype/cbfs.py   |   5 +
 tools/binman/etype/collection.py |   3 +
 tools/binman/etype/fill.py   |   3 +-
 tools/binman/etype/gbb.py|   1 +
 tools/binman/etype/intel_ifwi.py |   1 +
 tools/binman/etype/mkimage.py| 120 --
 tools/binman/etype/pre_load.py   |   3 +-
 tools/binman/etype/section.py|  12 +-
 tools/binman/etype/vblock.py |   1 +
 tools/binman/ftest.py| 260
++---
 .../binman/test/235_compress_dtb_prepend_invalid.dts |  17 ++
 tools/binman/test/235_mkimage_name.dts   |  18 ++
 .../binman/test/236_compress_dtb_prepend_length.dts  |  19 ++
 tools/binman/test/236_mkimage_image.dts  |  21 ++
 tools/binman/test/237_compress_dtb_invalid.dts   |  16 ++
 tools/binman/test/237_mkimage_image_no_content.dts   |  22 ++
 tools/binman/test/238_compress_dtb_zstd.dts  |  16 ++
 tools/binman/test/238_mkimage_image_bad.dts  |  22 ++
 tools/binman/test/239_collection_other.dts   |  29 +++
 tools/binman/test/240_mkimage_coll.dts   |  27 +++
 tools/patman/test_util.py

Re: Please pull u-boot-dm

2022-08-11 Thread Tom Rini
On Wed, Aug 10, 2022 at 09:18:11PM -0600, Simon Glass wrote:

> Hi Tom,
> 
> I've dropped the setuptools patch and will look at it later.
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/13113
> 
> 
> The following changes since commit 3dd4e916324efc825a7ee8e412f5cf1ded839021:
> 
>   Merge https://source.denx.de/u-boot/custodians/u-boot-marvell
> (2022-08-09 08:16:14 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-9aug22-take2
> 
> for you to fetch changes up to be43a35bff17550fa707795a06eaed6114eb1742:
> 
>   boot: allow bootmeth-distro without CONFIG_NET (2022-08-10 13:42:56 -0600)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm

2022-08-10 Thread Simon Glass
Hi Tom,

I've dropped the setuptools patch and will look at it later.

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


The following changes since commit 3dd4e916324efc825a7ee8e412f5cf1ded839021:

  Merge https://source.denx.de/u-boot/custodians/u-boot-marvell
(2022-08-09 08:16:14 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-pull-9aug22-take2

for you to fetch changes up to be43a35bff17550fa707795a06eaed6114eb1742:

  boot: allow bootmeth-distro without CONFIG_NET (2022-08-10 13:42:56 -0600)


dtoc fixes with pylint, tests


John Keeping (1):
  boot: allow bootmeth-distro without CONFIG_NET

Simon Glass (6):
  dtoc: Tidy up fdt_tests RunTestCoverage() args
  dtoc: Tidy up fdt_tests RunTests()
  dtoc: Fix fdt test coverage
  dtoc: Move main program into its own function
  test_fdt: Convert to use argparse
  dtoc: Correct remaining pylint problems in test_fdt

 boot/Kconfig   |   8 +-
 boot/Makefile  |   3 +-
 boot/pxe_utils.c   |   3 +-
 cmd/Kconfig|   4 +-
 include/command.h  |   2 +-
 scripts/pylint.base|   2 +-
 tools/dtoc/test_fdt.py | 326
+
 7 files changed, 197 insertions(+), 151 deletions(-)

Regards,
Simon


Re: Please pull u-boot-dm

2022-08-10 Thread Tom Rini
On Tue, Aug 09, 2022 at 04:51:19PM -0600, Simon Glass wrote:

> Hi Tom,
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/13097
> 
> 
> The following changes since commit 3dd4e916324efc825a7ee8e412f5cf1ded839021:
> 
>   Merge https://source.denx.de/u-boot/custodians/u-boot-marvell
> (2022-08-09 08:16:14 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-9aug22
> 
> for you to fetch changes up to 6dbca84cc9420a327ccb67719afac976237a9490:
> 
>   boot: allow bootmeth-distro without CONFIG_NET (2022-08-09 11:55:41 -0600)
> 

OK, I know I had said yesterday that we could take the fdt series to
start updating to setuptools as-is, but now I'm looking harder (and saw
in my local HW testing this time) and see:
https://source.denx.de/u-boot/u-boot/-/jobs/481502#L1738
on basically every board, when building on something older that doesn't
complain about our previous setup.py stuff. So we need to get this
solved all the way.

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm

2022-08-09 Thread Simon Glass
Hi Tom,

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


The following changes since commit 3dd4e916324efc825a7ee8e412f5cf1ded839021:

  Merge https://source.denx.de/u-boot/custodians/u-boot-marvell
(2022-08-09 08:16:14 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-pull-9aug22

for you to fetch changes up to 6dbca84cc9420a327ccb67719afac976237a9490:

  boot: allow bootmeth-distro without CONFIG_NET (2022-08-09 11:55:41 -0600)


dtoc fixes with pylint, tests
move to setuptools for fdt module


John Keeping (1):
  boot: allow bootmeth-distro without CONFIG_NET

Simon Glass (7):
  dtoc: Tidy up fdt_tests RunTestCoverage() args
  dtoc: Tidy up fdt_tests RunTests()
  dtoc: Fix fdt test coverage
  dtoc: Move main program into its own function
  test_fdt: Convert to use argparse
  dtoc: Correct remaining pylint problems in test_fdt
  fdt: Move to setuptools

 boot/Kconfig  |   8 +-
 boot/Makefile |   3 +-
 boot/pxe_utils.c  |   3 +-
 cmd/Kconfig   |   4 +-
 include/command.h |   2 +-
 scripts/dtc/README| 106 +
 scripts/dtc/pylibfdt/Makefile |   5 +-
 scripts/dtc/pylibfdt/setup.py |  60 --
 scripts/pylint.base   |   2 +-
 tools/dtoc/test_fdt.py| 326
+--
 10 files changed, 358 insertions(+), 161 deletions(-)
 create mode 100644 scripts/dtc/README

Regards,
Simon


Re: Please pull u-boot-dm

2022-07-27 Thread Tom Rini
On Tue, Jul 26, 2022 at 10:37:03PM -0600, Simon Glass wrote:

> Hi Tom,
> 
> Build here:
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/12903
> 
> 
> The following changes since commit 6e15cda270a060cf87c6c643a1cc3da65ffb242d:
> 
>   Prepare v2022.10-rc1 (2022-07-25 20:31:12 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-26jul22
> 
> for you to fetch changes up to dce4322c0e1940e11ef9ff086890b8c474707317:
> 
>   patman: By default don't pass "--no-tree" to checkpatch for linux
> (2022-07-26 02:30:56 -0600)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


  1   2   3   4   5   6   7   >