Re: Please pull u-boot-dm/next

2024-09-26 Thread Tom Rini
On Thu, Sep 26, 2024 at 11:22:01PM +0200, Simon Glass wrote:

> Hi Tom,
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/22430
> https://dev.azure.com/simon0972/u-boot/_build/results?buildId=68&view=results
> 
> 
> The following changes since commit 4386ab9118e7b405829fbcb3bbbaf2f47ddf0b44:
> 
>   power: regulator: Consistently return -ENOSYS when ops is
> unimplemented (2024-09-25 08:54:03 -0600)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-next-26sep24
> 
> for you to fetch changes up to ac0876c890c2dcaa4e21ce36bfa2ea3e02139a01:
> 
>   binman: Make a start on an iMX8 test (2024-09-26 12:40:31 +0200)
> 

Applied to u-boot/next, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm/next

2024-09-26 Thread Simon Glass
Hi Tom,

https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/22430
https://dev.azure.com/simon0972/u-boot/_build/results?buildId=68&view=results


The following changes since commit 4386ab9118e7b405829fbcb3bbbaf2f47ddf0b44:

  power: regulator: Consistently return -ENOSYS when ops is
unimplemented (2024-09-25 08:54:03 -0600)

are available in the Git repository at:

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

for you to fetch changes up to ac0876c890c2dcaa4e21ce36bfa2ea3e02139a01:

  binman: Make a start on an iMX8 test (2024-09-26 12:40:31 +0200)


Simon Glass (17):
  buildman: Retry the build for current source
  buildman: Allow skipping the dtc build
  binman: Fix up test coverage for mkeficapsule
  binman: Correct the comment for fdtgrep
  binman: Tidy up comments for Entry.GetEntryArgsOrProps()
  binman: Tidy up comments and pylint warnings in fit
  binman: Avoid setting the image_pos attribute directly
  binman: Update fdt-list-dir to use the provided directory
  binman: fit: Avoid assuming that a FIT member is a section
  binman: fit: Set the image_pos attributes only once
  binman: fit: Refine handling of devicetrees for OF_UPSTREAM
  binman: Adjust naming for reading symbols
  binman: Add minor improvements to symbol-writing
  binman: Provide a way to set the symbol base address
  binman: Unwind the end-at-4gb special-case a little
  binman: Allow image_pos to be None when writing symbols
  binman: Make a start on an iMX8 test

 tools/binman/binman.rst   |  19 +++-
 tools/binman/btool/fdtgrep.py |   3 +-
 tools/binman/elf.py   |  14 --
 tools/binman/elf_test.py  |   4 +-
 tools/binman/entry.py |  25 +-
 tools/binman/etype/atf_fip.py |   2 +-
 tools/binman/etype/blob_phase.py  |   5 ++
 tools/binman/etype/cbfs.py|   2 +-
 tools/binman/etype/efi_capsule.py |   2 +
 tools/binman/etype/fit.py | 116
-
 tools/binman/etype/nxp_imx8mimage.py  |   3 +-
 tools/binman/etype/section.py |  31 ++--
 tools/binman/ftest.py | 152
+++
 tools/binman/image.py |  21 -
 tools/binman/image_test.py|   8 ++--
 tools/binman/test/336_symbols_base.dts|  23 +
 tools/binman/test/337_symbols_base_expand.dts |  24 ++
 tools/binman/test/338_symbols_comp.dts|  26 ++
 tools/binman/test/339_nxp_imx8.dts|  17 +++
 tools/buildman/builder.py |  27 ++-
 tools/buildman/builderthread.py   |  12 -
 tools/buildman/buildman.rst   |   3 ++
 tools/buildman/cmdline.py |   2 +
 tools/buildman/control.py |   3 +-
 tools/buildman/test.py|  31 
 25 files changed, 460 insertions(+), 115 deletions(-)
 create mode 100644 tools/binman/test/336_symbols_base.dts
 create mode 100644 tools/binman/test/337_symbols_base_expand.dts
 create mode 100644 tools/binman/test/338_symbols_comp.dts
 create mode 100644 tools/binman/test/339_nxp_imx8.dts


Regards,
Simon


Re: Please pull u-boot-dm/next

2024-07-03 Thread Simon Glass
Hi Tom,

On Tue, 2 Jul 2024 at 20:04, Tom Rini  wrote:
>
> On Tue, Jul 02, 2024 at 04:51:30PM +0100, Simon Glass wrote:
>
> > Hi Tom,
> >
> > This is for -next but we need to figure out the patch I just sent
> > first. I can redo the pull if that patch is acceptable, or you can
> > pick that up first.
>
> I thought you meant the i.MX9 patch, but with that applied before your
> series, CI now fails on those platforms. So yes, lets hold off on
> whatever is causing that for now and rebase to exclude it.

Yes, I see it still fails in CI although it now works locally. I ran
out of time to look at it but I'm hoping that the maintainer will take
a look at the patch.

I also find that buildman retries each build that creates warnings,
including the missing-binary ones. It is mostly a waste of time, so I
would like to figure out a way around that.

For now I will resend the PR without the 'retry' commit.

Regards,
Simon


Re: Please pull u-boot-dm/next

2024-07-02 Thread Tom Rini
On Tue, Jul 02, 2024 at 04:51:30PM +0100, Simon Glass wrote:

> Hi Tom,
> 
> This is for -next but we need to figure out the patch I just sent
> first. I can redo the pull if that patch is acceptable, or you can
> pick that up first.

I thought you meant the i.MX9 patch, but with that applied before your
series, CI now fails on those platforms. So yes, lets hold off on
whatever is causing that for now and rebase to exclude it.

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm/next

2024-07-02 Thread Simon Glass
Hi Tom,

This is for -next but we need to figure out the patch I just sent
first. I can redo the pull if that patch is acceptable, or you can
pick that up first.

https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/21414
Note failure fixed by:
https://patchwork.ozlabs.org/project/uboot/patch/20240702153739.2651815-1-...@chromium.org/

https://dev.azure.com/simon0972/u-boot/_build/results?buildId=64&view=results
(same failure)

The following changes since commit b4cbd1a257d4027038b4f997d73bdb0a066db045:

  Merge tag 'u-boot-amlogic-20240701' of
https://source.denx.de/u-boot/custodians/u-boot-amlogic into next
(2024-07-01 08:44:28 -0600)

are available in the Git repository at:

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

for you to fetch changes up to 001af73bdc4cd975f087bfef6ccff30d6f510c83:

  bootstd: cros: store partition type in an efi_guid_t (2024-07-02
07:32:30 +0100)


buildman CI improvements
binman fixes and assumed size
partial tools fixes for Python 3.12
patman enhancements


Brandon Maier (3):
  tools: binman: fix deprecated Python unittest methods
  tools: binman: fix deprecated Python ConfigParser methods
  tools: patman: fix deprecated Python ConfigParser methods

Heinrich Schuchardt (2):
  sandbox: use sane access rights for files
  acpi: set creator_revision in acpi_fill_header

Ilias Apalodimas (2):
  sandbox: cleanup linker scripts and sections
  configs: enable setvariable at runtime on sandbox

Jonathan Liu (1):
  sandbox: enable support for the unlz4 command

Quentin Schulz (4):
  dm: core: fix misleading debug message when matching compatible
  dm: core: fix signedness in debug messages
  dm: core: migrate debug() messages to use dm_warn
  dm: core: fix typo in SPL_DM_WARN prompt text

Rasmus Villemoes (1):
  global_data.h: drop write-only field dm_root_f

Sean Anderson (3):
  patman: Fix tests if add_maintainers is set to False
  patman: Add Commit-cc as an alias for Patch-cc
  patman: Add a tag for when a patch gets added to a series

Simon Glass (19):
  binman: efi: Correct entry docs
  binman: Regenerate nxp docs
  binman: ti: Regenerate entry docs
  binman: Update the entrydocs header
  binman: Support an assumed size for missing binaries
  binman: Make Intel ME default to position 0x1000
  x86: Set up some assumed sizes for binary blobs
  buildman: Make mrproper an argument to _reconfigure()
  buildman: Make mrproper an argument to _config_and_build()
  buildman: Make mrproper an argument to run_commit()
  buildman: Avoid rebuilding when --mrproper is used
  buildman: Add a flag to force mrproper on failure
  buildman: Retry the build for current source
  buildman: Add a way to limit the number of buildmans
  buildman: Add python3-coverage
  buildman: Add python3-pycryptodome
  buildman: Fix a few typos in toolchain code
  buildman: Always use the full path in CROSS_COMPILE
  u_boot_pylib: Use correct coverage tool within venv

Vincent Stehlé (1):
  bootstd: cros: store partition type in an efi_guid_t

 arch/sandbox/cpu/os.c
|   6 +-
 arch/sandbox/cpu/u-boot.lds
|  20 ++
 arch/sandbox/lib/Makefile
|   2 +-
 arch/sandbox/lib/sections.c
|  13 
 arch/x86/dts/u-boot.dtsi
|   5 ++
 arch/x86/lib/acpi_table.c
|   2 -
 boot/bootmeth_cros.c
|   4 +-
 cmd/unlz4.c
|   4 +-
 common/board_r.c
|   3 +-
 configs/sandbox64_defconfig
|   1 +
 configs/sandbox_defconfig
|   1 +
 drivers/core/Kconfig
|   2 +-
 drivers/core/device.c
|   2 +-
 drivers/core/fdtaddr.c
|   7 +-
 drivers/core/lists.c
|   7 +-
 drivers/core/of_access.c
|  51 +++---
 drivers/core/of_addr.c
|  41 ++--
 drivers/core/of_extra.c
|  33 +-
 drivers/core/ofnode.c
|  81 ---
 drivers/core/regmap.c
|  57 
 drivers/core/root.c
|  14 ++--
 drivers/core/uclass.c
|   4 +-
 include/asm-generic/global_data.h
|   4 --
 lib/acpi/acpi_table.c
|   2 +-
 lib/acpi/ssdt.c
|   1 -
 test/dm/acpi.c
|   3 +-
 test/dm/core.c
|   1 -
 tools/binman/binman.rst
|   7 ++
 tools/binman/entries.rst
| 115 
 tools/binman/entry.py
|   3 +-
 tools/binman/entry_test.py
|   6 +-
 tools/binman/etype/blob.py
|   7 +-
 tools/binman/etype/efi_capsule.py
|  40 +--
 tools/binman/etype/efi_empty_capsule.py
|  22 ---
 tools/binman/etype/intel_descriptor.py
|  

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&view=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&view=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&view=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&view=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&view=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&view=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 | 

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/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


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/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/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


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/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/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/next

2022-07-08 Thread Tom Rini
On Tue, Jun 28, 2022 at 07:41:16AM -0600, Simon Glass wrote:

> Hi Tom,
> 
> This is for the -next branch.
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/commit/e87da5704ffa6fc782d93d137fa30a37a5df3566
> 
> 
> The following changes since commit ea82ed8c2eaee0a0f7dee31016aaee4ce88e9ea7:
> 
>   Merge branch '2022-06-27-add-armv8-sha1-sha256-support' into next
> (2022-06-27 13:39:19 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-28jun22
> 
> for you to fetch changes up to e87da5704ffa6fc782d93d137fa30a37a5df3566:
> 
>   armv8: u-boot-spl.lds: mark __image_copy_start as symbol (2022-06-28
> 03:09:52 +0100)
> 

Applied to u-boot/next, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Re: Please pull u-boot-dm/next

2022-07-05 Thread Simon Glass
Hi Tom,

On Tue, 28 Jun 2022 at 07:41, Simon Glass  wrote:
>
> Hi Tom,
>
> This is for the -next branch.
>
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/commit/e87da5704ffa6fc782d93d137fa30a37a5df3566
>
>
> The following changes since commit ea82ed8c2eaee0a0f7dee31016aaee4ce88e9ea7:
>
>   Merge branch '2022-06-27-add-armv8-sha1-sha256-support' into next
> (2022-06-27 13:39:19 -0400)
>
> are available in the Git repository at:
>
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-28jun22
>
> for you to fetch changes up to e87da5704ffa6fc782d93d137fa30a37a5df3566:
>
>   armv8: u-boot-spl.lds: mark __image_copy_start as symbol (2022-06-28
> 03:09:52 +0100)
>
> 
> nman external-symbol improvements
> Driver model memory-usage reporting
> patman test-reporting improvements
> Add bloblist design goals
>
> 
> Alper Nebi Yasak (12):
>   patman: test_util: Fix printing results for failed tests
>   patman: test_util: Handle nonexistent tests while loading tests
>   patman: test_util: Use unittest text runner to print test results
>   patman: test_util: Customize unittest test results for more info
>   patman: test_util: Print test stdout/stderr within test summaries
>   spl: binman: Fix use of undeclared u_boot_any symbols
>   spl: binman: Make TPL_BINMAN_SYMBOLS depend on TPL_FRAMEWORK
>   spl: binman: Declare extern symbols for VPL as well
>   spl: binman: Split binman symbols support from enabling binman
>   spl: binman: Add config options for binman symbols in VPL
>   spl: binman: Check at runtime if binman symbols were filled in
>   spl: binman: Disable u_boot_any symbols for i.MX8M boards
>
> Heinrich Schuchardt (6):
>   sandbox: add function os_printf()
>   sandbox: show error if the device-tree cannot be loaded
>   dm: fix formatting of uclass dump
>   sandbox: raise SANDBOX_RAM_SIZE_MB default to 256
>   test: fix some pylint errors in test_bind.py
>   sandbox: cast to pointer from integer of different size
>
> Peng Fan (1):
>   armv8: u-boot-spl.lds: mark __image_copy_start as symbol
>
> Sean Anderson (4):
>   sandbox: usb: Fix out-of-bounds read when fd=-1
>   dm: core: Provide fallbacks for ofnode_conf_read_...
>   dm: core: Use device_foreach_child where possible
>   patman: Fix defaults not propagating to subparsers
>
> Simon Glass (11):
>   bloblist: Describe the design goals
>   dtoc: Update fdt tests to use test_util
>   dm: core: Rename dm_dump_all()
>   dm: core: Sort dm subcommands
>   dm: core: Fix addresses in the dm static command
>   dm: core: Add documentation for the dm command
>   dm: core: Switch the testbus driver to use a new struct
>   dm: core: Support accessing core tags
>   dm: core: Add a way to collect memory usage
>   dm: core: Add a command to show driver model statistics
>   dm: spl: Allow SPL to show memory usage
>
>  arch/arm/cpu/armv8/u-boot-spl.lds   |   2 +-
>  arch/sandbox/Kconfig|   4 +-
>  arch/sandbox/cpu/cpu.c  |   8 +-
>  arch/sandbox/cpu/os.c   |  13 +
>  cmd/dm.c|  72 ++--
>  common/spl/Kconfig  |  23 +-
>  common/spl/Kconfig.tpl  |  27 +-
>  common/spl/Kconfig.vpl  |  25 ++
>  common/spl/spl.c|  25 +-
>  common/spl/spl_ram.c|   2 +-
>  doc/develop/bloblist.rst|   2 +
>  doc/usage/cmd/dm.rst| 487 
> 
>  doc/usage/index.rst |   1 +
>  drivers/core/Kconfig|  21 ++
>  drivers/core/device-remove.c|   4 +-
>  drivers/core/device.c   |  86 -
>  drivers/core/devres.c   |   2 +-
>  drivers/core/dump.c |  83 -
>  drivers/core/root.c |  53 +++
>  drivers/core/tag.c  |  29 ++
>  drivers/misc/qfw_sandbox.c  |   2 +-
>  drivers/misc/test_drv.c |   6 +-
>  drivers/usb/emul/sandbox_flash.c|   5 +-
>  include/binman_sym.h|  51 ++-
>  include/bloblist.h  |  62 +++-
>  include/dm/device.h |  25 ++
>  include/dm/ofnode.h |  66 ++--
>  include/dm/root.h   |  45 +++
>  include/dm/tag.h|  32 +-
>  include/dm/test.h   |   7 +
>  include/dm/util.h   |  11 +-
>  include/os.h|   7 +
>  include/spl.h   |   2 +
>  test/dm/core.c  | 

Please pull u-boot-dm/next

2022-06-28 Thread Simon Glass
Hi Tom,

This is for the -next branch.

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


The following changes since commit ea82ed8c2eaee0a0f7dee31016aaee4ce88e9ea7:

  Merge branch '2022-06-27-add-armv8-sha1-sha256-support' into next
(2022-06-27 13:39:19 -0400)

are available in the Git repository at:

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

for you to fetch changes up to e87da5704ffa6fc782d93d137fa30a37a5df3566:

  armv8: u-boot-spl.lds: mark __image_copy_start as symbol (2022-06-28
03:09:52 +0100)


nman external-symbol improvements
Driver model memory-usage reporting
patman test-reporting improvements
Add bloblist design goals


Alper Nebi Yasak (12):
  patman: test_util: Fix printing results for failed tests
  patman: test_util: Handle nonexistent tests while loading tests
  patman: test_util: Use unittest text runner to print test results
  patman: test_util: Customize unittest test results for more info
  patman: test_util: Print test stdout/stderr within test summaries
  spl: binman: Fix use of undeclared u_boot_any symbols
  spl: binman: Make TPL_BINMAN_SYMBOLS depend on TPL_FRAMEWORK
  spl: binman: Declare extern symbols for VPL as well
  spl: binman: Split binman symbols support from enabling binman
  spl: binman: Add config options for binman symbols in VPL
  spl: binman: Check at runtime if binman symbols were filled in
  spl: binman: Disable u_boot_any symbols for i.MX8M boards

Heinrich Schuchardt (6):
  sandbox: add function os_printf()
  sandbox: show error if the device-tree cannot be loaded
  dm: fix formatting of uclass dump
  sandbox: raise SANDBOX_RAM_SIZE_MB default to 256
  test: fix some pylint errors in test_bind.py
  sandbox: cast to pointer from integer of different size

Peng Fan (1):
  armv8: u-boot-spl.lds: mark __image_copy_start as symbol

Sean Anderson (4):
  sandbox: usb: Fix out-of-bounds read when fd=-1
  dm: core: Provide fallbacks for ofnode_conf_read_...
  dm: core: Use device_foreach_child where possible
  patman: Fix defaults not propagating to subparsers

Simon Glass (11):
  bloblist: Describe the design goals
  dtoc: Update fdt tests to use test_util
  dm: core: Rename dm_dump_all()
  dm: core: Sort dm subcommands
  dm: core: Fix addresses in the dm static command
  dm: core: Add documentation for the dm command
  dm: core: Switch the testbus driver to use a new struct
  dm: core: Support accessing core tags
  dm: core: Add a way to collect memory usage
  dm: core: Add a command to show driver model statistics
  dm: spl: Allow SPL to show memory usage

 arch/arm/cpu/armv8/u-boot-spl.lds   |   2 +-
 arch/sandbox/Kconfig|   4 +-
 arch/sandbox/cpu/cpu.c  |   8 +-
 arch/sandbox/cpu/os.c   |  13 +
 cmd/dm.c|  72 ++--
 common/spl/Kconfig  |  23 +-
 common/spl/Kconfig.tpl  |  27 +-
 common/spl/Kconfig.vpl  |  25 ++
 common/spl/spl.c|  25 +-
 common/spl/spl_ram.c|   2 +-
 doc/develop/bloblist.rst|   2 +
 doc/usage/cmd/dm.rst| 487 
 doc/usage/index.rst |   1 +
 drivers/core/Kconfig|  21 ++
 drivers/core/device-remove.c|   4 +-
 drivers/core/device.c   |  86 -
 drivers/core/devres.c   |   2 +-
 drivers/core/dump.c |  83 -
 drivers/core/root.c |  53 +++
 drivers/core/tag.c  |  29 ++
 drivers/misc/qfw_sandbox.c  |   2 +-
 drivers/misc/test_drv.c |   6 +-
 drivers/usb/emul/sandbox_flash.c|   5 +-
 include/binman_sym.h|  51 ++-
 include/bloblist.h  |  62 +++-
 include/dm/device.h |  25 ++
 include/dm/ofnode.h |  66 ++--
 include/dm/root.h   |  45 +++
 include/dm/tag.h|  32 +-
 include/dm/test.h   |   7 +
 include/dm/util.h   |  11 +-
 include/os.h|   7 +
 include/spl.h   |   2 +
 test/dm/core.c  |  91 ++
 test/py/tests/test_bind.py  | 345 ++--
 tools/binman/elf.py |  12 +-
 tools/binman/elf_test.py|  12 +-
 tools/binman/ftest.py   |  33 +-
 tools/binman/m

Re: Please pull u-boot-dm/next

2022-03-19 Thread Tom Rini
On Fri, Mar 18, 2022 at 09:46:04PM -0600, Simon Glass wrote:

> Hi Tom,
> 
> I have a passing run without the coreboot test. Are you seeing
> problems with that? I may need to move the downloads into the docker
> image.
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/11350
> 
> 
> The following changes since commit 297e6eb8dcf9d90aaf9b0d146cdd502403003d04:
> 
>   Merge tag 'xilinx-for-v2022.07-rc1' of
> https://source.denx.de/u-boot/custodians/u-boot-microblaze into next
> (2022-03-16 12:52:02 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-18mar22
> 
> for you to fetch changes up to 40c8bdd87e3baa44314720d0d51d90c41e633ca3:
> 
>   binman: Support splitting an ELF file into multiple nodes
> (2022-03-18 19:24:25 -0600)
> 

Applied to u-boot/next, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm/next

2022-03-18 Thread Simon Glass
Hi Tom,

I have a passing run without the coreboot test. Are you seeing
problems with that? I may need to move the downloads into the docker
image.

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


The following changes since commit 297e6eb8dcf9d90aaf9b0d146cdd502403003d04:

  Merge tag 'xilinx-for-v2022.07-rc1' of
https://source.denx.de/u-boot/custodians/u-boot-microblaze into next
(2022-03-16 12:52:02 -0400)

are available in the Git repository at:

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

for you to fetch changes up to 40c8bdd87e3baa44314720d0d51d90c41e633ca3:

  binman: Support splitting an ELF file into multiple nodes
(2022-03-18 19:24:25 -0600)


binman FIT improvements
various minor sandbox improvements


Jan Kiszka (1):
  binman: Include also subnodes in generator nodes

Philippe Reynes (1):
  tools: binman: main.py: add build-sandbox in sys.path

Simon Glass (28):
  binman: Complete elf test coverage
  sandbox: Show a message when writing out the ram buffer
  sandbox: Add the handoff header for spl
  sandbox: Open host file for read-only access if needed
  sandbox: Slow down the LCD sync rate
  sandbox: test: Tidy up spl_test_load() calls
  patman: Define Commit.path in the constructor
  dtoc: Make GetArgs() more flexible
  moveconfig: Remove remove_defconfig()
  moveconfig: Use re.fullmatch() to avoid extra check
  spl: Correct Kconfig help for TPL_BINMAN_SYMBOLS
  dtoc: Tidy up implementation of AddStringList()
  elf: Rename load_segments() and module failure
  binman: Tweak collect_contents_to_file() and docs
  binman: Rename ExpandToLimit to extend_to_limit
  binman: Rename ExpandEntries to gen_entries
  binman: Refactor fit to generate output at the end
  binman: Rename tools parameter to btools
  binman: Change how faked blobs are created
  binman: Make fake blobs zero-sized by default
  binman: Allow mkimage to use a non-zero fake-blob size
  binman: Read the fit entries only once
  binman: Update fit to move node reading into the ReadNode() method
  binman: Fix some pylint warnings in fit
  binman: Add a consistent way to report errors with fit
  binman: Update fit to use node instead of subnode
  binman: Keep a separate list of entries for fit
  binman: Support splitting an ELF file into multiple nodes

 arch/sandbox/cpu/spl.c   |   1 +
 arch/sandbox/cpu/state.c |   3 +-
 common/spl/Kconfig   |   6 +-
 drivers/block/sandbox.c  |  11 +-
 drivers/video/video-uclass.c |   2 +-
 test/image/spl_load.c|   6 +-
 tools/binman/binman.rst  |  32 +-
 tools/binman/control.py  |   2 +-
 tools/binman/elf.py  |  10 +-
 tools/binman/elf_test.py |  66 +++-
 tools/binman/entries.rst | 146 
 tools/binman/entry.py|  51 +--
 tools/binman/etype/_testing.py   |   2 +-
 tools/binman/etype/blob.py   |  10 +-
 tools/binman/etype/blob_ext_list.py  |   2 +-
 tools/binman/etype/blob_phase.py |   2 +-
 tools/binman/etype/files.py  |   2 +-
 tools/binman/etype/fit.py| 512
---
 tools/binman/etype/gbb.py|   4 +-
 tools/binman/etype/intel_ifwi.py |   4 +-
 tools/binman/etype/mkimage.py|  19 +-
 tools/binman/etype/section.py|  24 +-
 tools/binman/etype/vblock.py |   4 +-
 tools/binman/ftest.py| 209 +--
 tools/binman/main.py |   1 +
 .../binman/test/{088_expand_size.dts => 088_extend_size.dts} |   8 +-
 .../{089_expand_size_bad.dts => 089_extend_size_bad.dts} |   2 +-
 .../test/{121_entry_expand.dts => 121_entry_extend.dts}  |   0
 ...122_entry_expand_twice.dts => 122_entry_extend_twice.dts} |   0
 ...entry_expand_section.dts => 123_entry_extend_section.dts} |   0
 tools/binman/test/170_fit_fdt.dts|   3 +
 tools/binman/test/224_fit_bad_oper.dts   |   2 -
 tools/binman/test/225_expand_size_bad.dts|  10 +
 tools/binman/test/226_fit_split_elf.dts  |  67 
 tools/b

Re: Please pull u-boot-dm/next

2021-12-17 Thread Tom Rini
On Fri, Dec 17, 2021 at 12:43:24PM -0700, Simon Glass wrote:

> Hi Tom,
> 
> This is for the -next branch.
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/10299
> 
> The following changes since commit b9c9ce8a4064c8d88f714604db856cf1cd2b40b5:
> 
>   Merge tag 'u-boot-at91-2022.04-a' of
> https://source.denx.de/u-boot/custodians/u-boot-at91 into next (2021-12-17
> 07:25:34 -0500)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-17dec21
> 
> for you to fetch changes up to 121cfe5a84d463893bd01da16417ab138f98666a:
> 
>   fdtgrep: Handle an empty output tree (2021-12-17 09:44:59 -0700)
> 

Applied to u-boot/next, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm/next

2021-12-17 Thread Simon Glass
Hi Tom,

This is for the -next branch.

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

The following changes since commit b9c9ce8a4064c8d88f714604db856cf1cd2b40b5:

  Merge tag 'u-boot-at91-2022.04-a' of
https://source.denx.de/u-boot/custodians/u-boot-at91 into next (2021-12-17
07:25:34 -0500)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-pull-17dec21

for you to fetch changes up to 121cfe5a84d463893bd01da16417ab138f98666a:

  fdtgrep: Handle an empty output tree (2021-12-17 09:44:59 -0700)


binman support for ATF FIP
fdtgrep fixes for empty devicetree


Andy Shevchenko (2):
  binman: Do not pollute source tree when build with `make O=...`
  binman: Use less hard coded magic when inserting new PATH

Ivan Mikhaylov (1):
  iot2050: binman: add missing-msg for blobs

Simon Glass (5):
  binman: Add a utility module for ATF FIP
  binman: Add support for ATF FIP
  Convert CONFIG_PHYSMEM to Kconfig
  fdtgrep: Correct alignment of struct section
  fdtgrep: Handle an empty output tree

 README   |   8 -
 arch/Kconfig |   2 +
 arch/arm/dts/k3-am65-iot2050-boot-image.dtsi |   5 +
 boot/fdt_region.c|  43 ++-
 include/configs/edison.h |   3 -
 include/configs/sandbox.h|   2 -
 include/configs/x86-common.h |   2 -
 include/fdt_region.h |   1 +
 lib/Kconfig  |  10 +
 scripts/config_whitelist.txt |   1 -
 tools/binman/entries.rst | 154 +++
 tools/binman/etype/atf_fip.py| 273 +++
 tools/binman/fip_util.py | 653
++
 tools/binman/fip_util_test.py| 405

 tools/binman/ftest.py| 217 +++
 tools/binman/main.py |  27 +-
 tools/binman/missing-blob-help   |  11 +
 tools/binman/test/203_fip.dts|  21 ++
 tools/binman/test/204_fip_other.dts  |  22 ++
 tools/binman/test/205_fip_no_type.dts|  15 ++
 tools/binman/test/206_fip_uuid.dts   |  22 ++
 tools/binman/test/207_fip_ls.dts |  25 ++
 tools/binman/test/208_fip_replace.dts|  33 +++
 tools/binman/test/209_fip_missing.dts|  19 ++
 tools/binman/test/210_fip_size.dts   |  19 ++
 tools/binman/test/211_fip_bad_align.dts  |  18 ++
 tools/binman/test/212_fip_collection.dts |  24 ++
 tools/fdtgrep.c  |   3 +-
 28 files changed, 2008 insertions(+), 30 deletions(-)
 create mode 100644 tools/binman/etype/atf_fip.py
 create mode 100755 tools/binman/fip_util.py
 create mode 100755 tools/binman/fip_util_test.py
 create mode 100644 tools/binman/test/203_fip.dts
 create mode 100644 tools/binman/test/204_fip_other.dts
 create mode 100644 tools/binman/test/205_fip_no_type.dts
 create mode 100644 tools/binman/test/206_fip_uuid.dts
 create mode 100644 tools/binman/test/207_fip_ls.dts
 create mode 100644 tools/binman/test/208_fip_replace.dts
 create mode 100644 tools/binman/test/209_fip_missing.dts
 create mode 100644 tools/binman/test/210_fip_size.dts
 create mode 100644 tools/binman/test/211_fip_bad_align.dts
 create mode 100644 tools/binman/test/212_fip_collection.dts

Regards,
Simon


Re: Please pull u-boot-dm/next

2021-12-05 Thread Tom Rini
On Sun, Dec 05, 2021 at 12:53:43PM -0700, Simon Glass wrote:

> Hi Tom,
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/10137
> 
> 
> The following changes since commit f89615088fba1b1f33713ad26dbe3a3c82b692ec:
> 
>   Merge branch 'next' of
> https://source.denx.de/u-boot/custodians/u-boot-net into next
> (2021-12-02 07:16:04 -0500)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-5nov21
> 
> for you to fetch changes up to 0dbe5a1bde643b69375b11247f751d5acedb711c:
> 
>   timer: Add a migration message (2021-12-05 09:26:26 -0700)
> 

So I see we now get:
+(cortina_presidio-asic-emmc) = WARNING 
==
+(cortina_presidio-asic-emmc) This board does not use CONFIG_TIMER (Driver Model
+(cortina_presidio-asic-emmc) for Timer drivers). Please update the board to use
+(cortina_presidio-asic-emmc) CONFIG_TIMER before the v2022.10 release. Failure 
to
+(cortina_presidio-asic-emmc) update by the deadline may result in board 
removal.
+(cortina_presidio-asic-emmc) See doc/driver-model/migration.rst for more info.
+(cortina_presidio-asic-emmc) 


For a bunch of boards.  And that's not a full year from introduction of
warning to removal threat.  And I haven't seen any migration email to
all of the relevant maintainers yet either.  What's a good example of a
conversion to point maintainers at, as well?  Thanks.

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm/next

2021-12-05 Thread Simon Glass
Hi Tom,

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


The following changes since commit f89615088fba1b1f33713ad26dbe3a3c82b692ec:

  Merge branch 'next' of
https://source.denx.de/u-boot/custodians/u-boot-net into next
(2021-12-02 07:16:04 -0500)

are available in the Git repository at:

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

for you to fetch changes up to 0dbe5a1bde643b69375b11247f751d5acedb711c:

  timer: Add a migration message (2021-12-05 09:26:26 -0700)


binman refactoring to imrpove section handling
bloblist - allow it to be allocated
sandbox config-header cleanup


Alexander Preißner (1):
  drivers: core: lists: fix for loop index type

Heinrich Schuchardt (1):
  sandbox: replace putchar(ch) by fputc(ch, stdout)

Simon Glass (33):
  dtoc: Bring in the libfdt module automatically
  dtoc: Add support for reading 64-bit ints
  dtoc: Add support for reading fixed-length bytes properties
  binman: Tidy up style in cmdline
  binman: Add a way to obtain the version
  binman: Correct init of entry in Entry class
  binman: Correct comments for ReadChildData()
  binman: Drop the underscore in _ReadEntries()
  binman: Drop the filename property in entry_Section
  binman: Allow overriding BuildSectionData()
  binman: Allow control of which entries to read
  binman: Update the section documentation
  binman: Move cbfs.ObtainContents() down a bit
  binman: Use normal entries in cbfs
  binman: cbfs: Refactor the init process
  binman: cfbs: Refactor ObtainContents() for consistency
  binman: Rename testCbfsNoCOntents()
  bloblist: Support allocating the bloblist
  binman: Allow providing tools and blob directories
  binman: Allow listing an image created by a newer version
  binman: Allow extracting a file in an alternative format
  dtoc: Add support for reading string-list properties
  binman: Support lists of external blobs
  binman: Rename _ReadSubnodes() to ReadEntries()
  trace: sandbox: Use only the Kconfig options
  sandbox: Drop CONFIG_HOST_MAX_DEVICES
  Convert CONFIG_SYS_FDT_LOAD_ADDR to Kconfig
  Convert CONFIG_KEYBOARD to Kconfig
  keyboard: Add a migration message
  sandbox: Drop CONFIG_SYS_TIMER_RATE
  ide: Drop unused CONFIG options
  ide: Drop ATA_PORT_ADDR
  timer: Add a migration message

 Makefile|   7 ++
 README  |  11 ---
 arch/Kconfig|   1 +
 arch/arm/mach-exynos/Kconfig|   1 +
 arch/arm/mach-kirkwood/include/mach/config.h|   2 -
 arch/powerpc/include/asm/config.h   |   3 -
 arch/sandbox/Kconfig|  10 +++
 arch/sandbox/cpu/os.c   |   2 +-
 cmd/Kconfig |   2 +
 cmd/host.c  |   2 +-
 common/Kconfig  |  15 +++-
 common/bloblist.c   |  16 +++-
 common/board_f.c|   8 +-
 configs/chromebit_mickey_defconfig  |   1 +
 configs/chromebook_jerry_defconfig  |   1 +
 configs/chromebook_minnie_defconfig |   1 +
 configs/chromebook_speedy_defconfig |   1 +
 configs/novena_defconfig|   1 +
 configs/smdk5250_defconfig  |   1 +
 configs/smdk5420_defconfig  |   1 +
 configs/tools-only_defconfig|   7 +-
 doc/develop/bloblist.rst|  16 
 doc/develop/driver-model/migration.rst  |  16 
 doc/develop/trace.rst   |   9 +-
 drivers/block/ide.c |  14 +--
 drivers/block/sandbox.c |   6 +-
 drivers/core/lists.c|   2 +-
 drivers/input/Kconfig   |   9 ++
 include/configs/edminiv2.h  |   2 -
 include/configs/exynos5-dt-common.h |   3 -
 include/configs/novena.h|   1 -
 include/configs/r2dplus.h   |   1 -
 include/configs/sandbox.h   |  20 -
 include/configs/smdk5250.h  |   1 -
 include/configs/smdk5420.h  |   2 -
 include/configs/veyron.h|   2 -
 include/sandboxblockdev.h   |   3 +
 scripts/config_whitelist.txt|   5 --
 tools/binman/binman.rst |  65 +-
 tools/binman/cmdline.py |  76 
 tools/binman/control.py |  28 +-
 tools/binman/entries.rst   

Re: Please pull u-boot-dm/next

2021-11-29 Thread Tom Rini
On Sun, Nov 28, 2021 at 06:29:12PM -0700, Simon Glass wrote:

> Hi Tom,
> 
> This is for the next branch.
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/10005
> 
> 
> he following changes since commit 1943f2a2a7c58b76812fcad2d3012036af7464ce:
> 
>   Merge branch '2021-11-23-scmi-and-tee-updates' into next (2021-11-23
> 16:24:24 -0500)
> 
> are available in the Git repository at:
> 
>   g...@source.denx.de:u-boot/custodians/u-boot-dm.git tags/dm-pull-28nov21
> 
> for you to fetch changes up to 452e8c9086a9f95739582da5ccc2130e4bf1ae8b:
> 
>   test/py: Raise a ValueError if a command fails (2021-11-28 16:51:51 -0700)
> 

Applied to u-boot/next, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm/next

2021-11-28 Thread Simon Glass
Hi Tom,

This is for the next branch.

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


he following changes since commit 1943f2a2a7c58b76812fcad2d3012036af7464ce:

  Merge branch '2021-11-23-scmi-and-tee-updates' into next (2021-11-23
16:24:24 -0500)

are available in the Git repository at:

  g...@source.denx.de:u-boot/custodians/u-boot-dm.git tags/dm-pull-28nov21

for you to fetch changes up to 452e8c9086a9f95739582da5ccc2130e4bf1ae8b:

  test/py: Raise a ValueError if a command fails (2021-11-28 16:51:51 -0700)


SPI flash documentation and tidy-ups
Various driver model enhancements
Fix up some missing unit tests with pytest


Jan Kiszka (1):
  binman: Fix extract command for using non-absolute image paths

Simon Glass (21):
  env: Avoid using GNU features in awk
  command: Use a constant pointer for the help
  sf: Use const for the stage name
  sf: Tidy up code to avoid #ifdef
  sf: doc: Add documentation for the 'sf' command
  test/py: Allow passing input to a program
  sandbox: Support unmapping a file
  sandbox: mmc: Support a backing file
  mmc: Allow for children other than the block device
  mbr: Correct verification check
  disk: part_dos: Fix a NULL pointer error
  common: Allow a smaller console-recording pre-reloc
  dm: core: Add tests for stringlist functions
  dm: core: Fix handling of uclass pre_unbind method
  dm: core: Fix up string-function documentation
  dm: core: Add a way to obtain a string list
  dm: core: Allow finding children / uclasses by partial name
  dm: core: Add a way to count the devices in a uclass
  sandbox: Enable HEXDUMP for sandbox_flattree
  test/py: Relax the naming rules for unit tests
  test/py: Raise a ValueError if a command fails

 arch/sandbox/cpu/os.c|  10 ++
 arch/sandbox/dts/test.dts|   1 +
 cmd/mbr.c|   8 +-
 cmd/sf.c |  32 ++--
 common/Kconfig   |  10 ++
 common/console.c |   4 +-
 configs/sandbox_flattree_defconfig   |   1 +
 disk/part_dos.c  |  10 +-
 doc/device-tree-bindings/mmc/sandbox,mmc.txt |  18 ++
 doc/usage/index.rst  |   1 +
 doc/usage/sf.rst | 245 +++
 drivers/core/device-remove.c |   9 +-
 drivers/core/device.c|  13 +-
 drivers/core/of_access.c |   3 +-
 drivers/core/ofnode.c|  26 +++
 drivers/core/read.c  |   6 +
 drivers/core/uclass.c|  29 +++-
 drivers/mmc/mmc-uclass.c |   4 +-
 drivers/mmc/sandbox_mmc.c|  60 ++-
 include/command.h|   2 +-
 include/dm/device.h  |  12 ++
 include/dm/ofnode.h  |  24 ++-
 include/dm/read.h|  28 +++
 include/dm/uclass-internal.h |  14 +-
 include/dm/uclass.h  |  17 ++
 include/os.h |   9 +
 scripts/env2string.awk   |  29 +++-
 test/dm/ofnode.c |  96 +++
 test/py/conftest.py  |   2 +-
 test/py/multiplexed_log.py   |  10 +-
 test/py/u_boot_utils.py  |   5 +-
 tools/binman/control.py  |   1 +
 32 files changed, 670 insertions(+), 69 deletions(-)
 create mode 100644 doc/device-tree-bindings/mmc/sandbox,mmc.txt
 create mode 100644 doc/usage/sf.rst


Regards,
Simon


Re: Please pull u-boot-dm/next

2021-09-27 Thread Tom Rini
On Mon, Sep 27, 2021 at 08:58:17AM -0600, Simon Glass wrote:

> Hi Tom,
> 
> This is for the -next branch.
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/9260
> 
> 
> 
> The following changes since commit bb38d77ca779cc8bdad3d4ceb6cecc687f4987c2:
> 
>   vexpress_ca9x4: Add missing SYS_LOAD_ADDR (2021-09-24 22:12:35 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-next-27sep21
> 
> for you to fetch changes up to 933bf2644591281ed96f9d5771cbb35fe95bcb00:
> 
>   fdt_support.h: Remove duplicated declarations (2021-09-25 09:46:15 -0600)
> 

Applied to u-boot/next, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm/next

2021-09-27 Thread Simon Glass
Hi Tom,

This is for the -next branch.

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



The following changes since commit bb38d77ca779cc8bdad3d4ceb6cecc687f4987c2:

  vexpress_ca9x4: Add missing SYS_LOAD_ADDR (2021-09-24 22:12:35 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-pull-next-27sep21

for you to fetch changes up to 933bf2644591281ed96f9d5771cbb35fe95bcb00:

  fdt_support.h: Remove duplicated declarations (2021-09-25 09:46:15 -0600)


Various of-platdata improvements, including CONFIG_OF_REAL


Bin Meng (1):
  fdt_support.h: Remove duplicated declarations

Heinrich Schuchardt (1):
  sandbox: correct cpu nodes

Pali Rohár (1):
  dm: pci: Fix handling of errors when scanning device

Simon Glass (12):
  treewide: fdt: Move fdt_get_config_... to ofnode_conf_read...
  fdt: Create a new OF_REAL Kconfig
  treewide: Simply conditions with the new OF_REAL
  treewide: Use OF_REAL instead of !OF_PLATDATA
  mmc: nds32: ftsdc010: Convert to livetree
  treewide: Try to avoid the preprocessor with OF_REAL
  fdt: Update Makefile rules with the new OF_REAL Kconfig
  dm: Add comments to dt-structs contents
  clk: Rename clk_get_by_driver_info()
  dm: doc: Add a note about of-platdata header files
  irq: Tidy up of-platdata irq support
  dm: gpio: Add of-platdata support

 Makefile  |  7 ++
 arch/arm/mach-rockchip/rk3188/rk3188.c|  4 ++--
 arch/arm/mach-rockchip/rk3399/syscon_rk3399.c |  2 +-
 arch/arm/mach-rockchip/rk3568/syscon_rk3568.c |  2 +-
 arch/sandbox/dts/sandbox.dtsi | 21 +++-
 arch/sandbox/dts/test.dts | 17 ++---
 arch/sandbox/include/asm/irq.h| 20 
 arch/x86/cpu/apollolake/hostbridge.c  |  4 ++--
 arch/x86/cpu/apollolake/lpc.c |  2 +-
 arch/x86/cpu/apollolake/pch.c |  2 +-
 arch/x86/cpu/apollolake/pmc.c |  4 ++--
 arch/x86/cpu/apollolake/uart.c|  2 +-
 arch/x86/cpu/coreboot/coreboot.c  |  5 ++--
 arch/x86/cpu/intel_common/itss.c  |  2 +-
 arch/x86/cpu/intel_common/p2sb.c  | 24 +--
 arch/x86/lib/lpc-uclass.c |  2 +-
 arch/x86/lib/tpl.c|  2 +-
 board/dhelectronics/dh_stm32mp1/board.c   |  5 ++--
 board/firefly/firefly-rk3288/firefly-rk3288.c |  4 ++--
 board/google/chromebook_coral/coral.c |  2 +-
 board/sandbox/sandbox.c   |  5 +++-
 board/st/stm32mp1/stm32mp1.c  |  5 ++--
 common/autoboot.c |  8 +++
 common/board_r.c  |  4 ++--
 common/cli.c  |  7 +++---
 common/spl/spl.c  |  2 +-
 common/spl/spl_spi.c  | 12 --
 configs/sandbox_noinst_defconfig  |  2 ++
 configs/sandbox_spl_defconfig |  2 ++
 disk/part_efi.c   |  8 +++
 doc/develop/driver-model/of-plat.rst  | 56
+++
 doc/device-tree-bindings/config.txt   |  4 ++--
 drivers/clk/clk-uclass.c  | 15 ++--
 drivers/clk/clk_fixed_factor.c| 18 +++---
 drivers/clk/clk_fixed_rate.c  |  7 +++---
 drivers/clk/rockchip/clk_px30.c   |  4 ++--
 drivers/clk/rockchip/clk_rk3188.c |  8 +++
 drivers/clk/rockchip/clk_rk3288.c | 10 
 drivers/clk/rockchip/clk_rk3308.c |  4 ++--
 drivers/clk/rockchip/clk_rk3368.c | 10 
 drivers/clk/rockchip/clk_rk3399.c | 20 +---
 drivers/core/device.c |  4 ++--
 drivers/core/fdtaddr.c|  2 +-
 drivers/core/lists.c  |  2 +-
 drivers/core/ofnode.c | 33 +
 drivers/core/root.c   |  4 ++--
 drivers/core/simple-bus.c |  2 +-
 drivers/core/syscon-uclass.c  |  2 +-
 drivers/core/uclass.c |  2 +-
 drivers/core/util.c   |  2 +-
 drivers/cpu/cpu_sandbox.c |  2 +-
 drivers/firmware/firmware-uclass.c|  2 +-
 drivers/gpio/Makefile |  4 ++--
 drivers/gpio/gpio-uclass.c| 28 +++---
 drivers/gpio/intel_gpio.c |  2 +-
 drivers/gpio/mxs_gpio.c   |  4 ++--
 drivers/gpio/omap_gpio.c  |  4 ++--
 drivers/gpio/sandbox.c| 14 +++
 dri

Re: Please pull u-boot-dm/next

2021-03-29 Thread Tom Rini
On Mon, Mar 29, 2021 at 05:59:59AM +1300, Simon Glass wrote:

> Hi Tom,
> 
> This is for the -next branch.
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/6944
> 
> I hope this one will be easier as it has changes that are more run-of-the 
> mill.
> 
> The following changes since commit 9c7335e4e68355a96bd5a411b2a5f85866823c58:
> 
>   Merge tag 'dm-pull-26mar21-take2' of git://git.denx.de/u-boot-dm
> into next (2021-03-26 12:15:26 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-28mar21
> 
> for you to fetch changes up to e5021221db3faf7e90a295d6eb045fbf5c6a908b:
> 
>   sandbox: define __dyn_sym_start, dyn_sym_end (2021-03-27 16:26:48 +1300)
> 

Applied to u-boot/next, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm/next

2021-03-28 Thread Simon Glass
Hi Tom,

This is for the -next branch.

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

I hope this one will be easier as it has changes that are more run-of-the mill.

The following changes since commit 9c7335e4e68355a96bd5a411b2a5f85866823c58:

  Merge tag 'dm-pull-26mar21-take2' of git://git.denx.de/u-boot-dm
into next (2021-03-26 12:15:26 -0400)

are available in the Git repository at:

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

for you to fetch changes up to e5021221db3faf7e90a295d6eb045fbf5c6a908b:

  sandbox: define __dyn_sym_start, dyn_sym_end (2021-03-27 16:26:48 +1300)


binman support for expanding entries, connections
misc fixes and improvements to sandbox, etc.
x86 CBFS improvements
x86 coreboot improvements


Heinrich Schuchardt (2):
  mtd: spi_flash_free()
  sandbox: define __dyn_sym_start, dyn_sym_end

Simon Glass (66):
  x86: coral: Free the ACPI GPIOs after using them
  x86: coral: Add information about building / running
  x86: p2sb: Drop LOG_DEBUG
  x86: Probe device if needed in intel_gpio_xlate()
  x86: coral: Put the eMMC first
  x86: coral: Update the SD card-detect GPIO
  tegra: i2c: Drop LOG_DEBUG
  mmc: pci_mmc: Set up the card detect
  cbfs: Add support for attributes
  cbfs: Rename new_node to node
  smbios: Allow writing to the coreboot version string
  cbfs: Allow access to CBFS without a header
  cbfs: Allow file traversal with any CBFS
  cbfs: Factor out filling a cache node into a new function
  cbfs: Simplify file iteration
  cbfs: Support reading compression information
  cbfs: Drop unnecessary cast in file_cbfs_fill_cache()
  x86: Make coreboot sysinfo available to any x86 board
  x86: Move coreboot timestamp info into coreboot_tables.h
  x86: coreboot: Sync up timestamp codes
  x86: Move coreboot sysinfo parsing into generic x86 code
  x86: coreboot: Update parsing of the latest sysinfo
  x86: Allow installing an e820 when booting from coreboot
  x86: Add a command to display coreboot sysinfo
  cmd: Add missing check for CONFIG_SYS_LONGHELP
  video: Fix video on coreboot with the copy buffer
  x86: video: Allow coreboot video to be used on any x86 board
  x86: fsp: Don't enable FSP graphics if booted from coreboot
  dm: core: Add CBFS support to flashmap
  x86: coral: Avoid build error with !CONFIG_ACPIGEN
  x86: coral: Allow init of debug UART in U-Boot proper
  x86: coral: Fall back to coreboot video when FSP missing
  x86: fsp: Don't notify if booted from coreboot
  x86: coreboot: Don't setup MTRR when booting from coreboot
  sandbox: Only call timer_timebase_fallback() if present
  sandbox: Only delete the executable if requested
  sandbox: cros_ec: Only write EC state when the EC is probed
  sandbox: Disintangle declarations in do_host_bind()
  sandbox: Update do_host_bind() argument counting
  sandbox: Provide a way to bind fixed/removeable devices
  sandbox: image: Allow sandbox to load any image
  test: Silenece the echo and print tests
  binman: Show a message when changing subnodes
  spl: Split out bootstage ID into a function
  bootstage: Warning if space is exhausted
  sf: Support querying write-protect
  cpu: Rename SPL_CPU_SUPPORT to SPL_CPU
  malloc: Export malloc_simple_info()
  doc: Convert Chromium OS docs to rst
  command: Fix operation of !CONFIG_CMDLINE
  bloblist: Make BLOBLIST_TABLES depend on BLOBLIST
  bootm: Skip command-line substitution if !CONFIG_CMDLINE
  sandbox: Correct uninit conflict
  sysinfo: Allow showing model info from sysinfo
  x86: coral: Show memory config and SKU ID on startup
  binman: Use a unique number for the symbols test file
  binman: Allow disabling expanding an entry
  binman: Add support for a collection of entries
  binman: Support obtaining section contents immediately
  binman: Support default alignment for sections
  dtoc: Improve internal error for Refresh()
  dtoc: Tidy up property-offset handling
  dtoc: Tweak ordering of fdt-offsets refreshing
  dtoc: Add a subnode test for multiple nodes
  dtoc: Support adding subnodes alongside existing ones
  dtoc: Add new check that offsets are correct

T Karthik Reddy (1):
  spi: spi-uclass: Add support to manually relocate spi memory ops

Vincent Stehlé (1):
  sandbox: dtsi: add rng

 arch/riscv/cpu/ax25/Kconfig|   2 +-
 arch/riscv/cpu/fu540/Kconfig   |   2 +-
 arch/riscv/cpu/generic/Kconfig |   2 +-
 arch/sandbox/cpu/cpu.c |   6 +-
 arch/sandbox/cpu/os.c 

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

2021-03-26 Thread Tom Rini
On Fri, Mar 26, 2021 at 07:05:43PM +1300, Simon Glass wrote:

> Hi Tom,
> 
> Well here we are again...let's see how this one fares.
> 
> This is for the -next branch.
> 
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/6933
> 
> 
> The following changes since commit 874dcedee92a828b03c8d3146dccfaa8b709618b:
> 
>   Merge branch '2021-03-20-mediatek-updates' into next (2021-03-20
> 19:27:22 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-26mar21-take2
> 
> for you to fetch changes up to fcae6682a7929abf88d9f0b756f9d5f9725e4d14:
> 
>   binman: Update various pieces of the documentation (2021-03-26 17:03:10 
> +1300)
> 

Applied to u-boot/next, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm/next into -next

2021-03-25 Thread Simon Glass
Hi Tom,

Well here we are again...let's see how this one fares.

This is for the -next branch.


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


The following changes since commit 874dcedee92a828b03c8d3146dccfaa8b709618b:

  Merge branch '2021-03-20-mediatek-updates' into next (2021-03-20
19:27:22 -0400)

are available in the Git repository at:

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

for you to fetch changes up to fcae6682a7929abf88d9f0b756f9d5f9725e4d14:

  binman: Update various pieces of the documentation (2021-03-26 17:03:10 +1300)


dtoc support for of-platdata-inst
driver model support for of-platdata-inst
support of-platdata-inst on x86 / coral
binman support for exapanded entries
binman convert docs to reST
ti-sysc fix for duplicate uclass driver
patman minor improvements
pylibfdt build only if needed
correct obscure CI error with OF_PLATDATA_INST


Bin Meng (3):
  mmc: pci: Fix Kconfig dependency
  test: cmd: setexpr: Fix a typo
  test: print_ut: Fix potential build error

Dario Binacchi (1):
  bus: ti-sysc: change in a normal driver

Heinrich Schuchardt (4):
  sandbox: allow cross-compiling sandbox
  sandbox: enable cros-ec-keyb in test.dtb
  dm: error handling dev_get_dma_range()
  sandbox: add FAT to the list of usable env drivers

Nicolas Boichat (1):
  patman: Use less for help file, if available

Samuel Dionne-Riel (1):
  tools: fdtgrep: Use unsigned chars for arrays

Simon Glass (110):
  azure: Use --board flag with sandbox_spl
  patman: Update documentation to match new usage
  patman: Quieten down the alias checking
  dtoc: Scan drivers for available information
  dtoc: Save scan information across test runs
  dtoc: Ignore unwanted files when scanning for drivers
  dtoc: Collect priv/plat struct info from drivers
  dtoc: Support scanning of uclasses
  dtoc: Support scanning of structs in header files
  dtoc: Move test files into a test/ directory
  dtoc: Rename sandbox_i2c_test and sandbox_pmic_test
  dtoc: Add some extra properties to nodes
  dtoc: Make use of node properties
  dtoc: Process nodes to set up required properties
  dtoc: Track nodes which are actually used
  dtoc: Support tracking the phase of U-Boot
  Makefile: Pass the U-Boot phase to dtoc
  dtoc: Support headers needed for drivers
  dtoc: Process driver aliases along with drivers
  dtoc: Warn of duplicate drivers
  dtoc: Read aliases for uclasses
  dtoc: Detect drivers only at the start of start of line
  dtoc: Assign a sequence number to each node
  dtoc: Set up the uclasses that are used
  dtoc: Support processing the root node
  dtoc: Add an option for device instantiation
  dm: of-platadata: Add option for device instantiation
  dtoc: Add support for decl file
  dtoc: Don't generate platform data with instantiation
  sandbox: Make sandbox,emul more conventional
  sandbox: i2c: Rename driver names to work with of-platdata
  dtoc: Tidy up the list of supported phandle properties
  dtoc: Generate a summary in the dt-plat.c file
  dtoc: Generate uclass devices
  dtoc: Generate device instances
  dtoc: Drop use of DECL() macros
  sandbox: Drop debug message in os_spl_to_uboot()
  linker_lists: Allow use in data structures
  dm: core: Add macros to access the new linker lists
  dm: core: Allow dropping run-time binding of devices
  dm: core: Adjust uclass setup with of-platdata
  dm: core: Set up driver model for OF_PLATDATA_INST
  dm: core: Skip adding uclasses with OF_PLATDATA_INST
  dm: Add the new dtoc-generated files to the build
  libfdt: Tidy up pylibfdt build rule
  Makefile: Avoid running dtoc every time
  Makefile: Depend only on required of-platdata files
  dtoc: Only generate the required files
  Makefile: Use a variable for generated of-platdata headers
  Makefile: Remove old of-platdata files before regenerating
  dm: core: Include dt-decl.h automatically
  dm: test: Avoid destroying uclasses with of-platdata-inst
  clk: sandbox: Move priv/plat data to a header file
  clk: fixed-rate: Export driver parts for OF_PLATDATA_INST
  clk: sandbox: Create a special fixed-rate driver
  dm: core: Drop device_get_by_driver_info()
  dm: core: Drop uclass_find_device_by_phandle() with of-platdata
  sandbox: i2c: Move platdata structs to header files
  dm: Rename device_get_by_driver_info_idx()
  sandbox_spl: Increase SPL malloc() size
  sandbox: i2c: Support i2c emulation with of-platdata
  Revert "sandbox: Disable I2C emulators in SPL"
  sandbox: Create a new sandbox_noinst build
  test: Run sandbox_spl tests on sandbox_noinst
  azure/gitlab: Add tests for 

Please pull u-boot-dm/next (take 3)

2021-03-22 Thread Simon Glass
Hi Tom,

This is for the -next branch.

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


The following changes since commit 874dcedee92a828b03c8d3146dccfaa8b709618b:

  Merge branch '2021-03-20-mediatek-updates' into next (2021-03-20
19:27:22 -0400)

are available in the Git repository at:

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

for you to fetch changes up to fcc6fbba8ae003954b5e23461a9f5814d86a23b7:

  binman: Update various pieces of the documentation (2021-03-22 19:23:30 +1300)


dtoc support for of-platdata-inst
driver model support for of-platdata-inst
support of-platdata-inst on x86 / coral
binman support for exapanded entries
binman convert docs to reST
ti-sysc fix for duplicate uclass driver
patman minor improvements


Bin Meng (3):
  mmc: pci: Fix Kconfig dependency
  test: cmd: setexpr: Fix a typo
  test: print_ut: Fix potential build error

Dario Binacchi (1):
  bus: ti-sysc: change in a normal driver

Heinrich Schuchardt (4):
  sandbox: allow cross-compiling sandbox
  sandbox: enable cros-ec-keyb in test.dtb
  dm: error handling dev_get_dma_range()
  sandbox: add FAT to the list of usable env drivers

Nicolas Boichat (1):
  patman: Use less for help file, if available

Samuel Dionne-Riel (1):
  tools: fdtgrep: Use unsigned chars for arrays

Simon Glass (104):
  azure: Use --board flag with sandbox_spl
  patman: Update documentation to match new usage
  patman: Quieten down the alias checking
  dtoc: Scan drivers for available information
  dtoc: Save scan information across test runs
  dtoc: Ignore unwanted files when scanning for drivers
  dtoc: Collect priv/plat struct info from drivers
  dtoc: Support scanning of uclasses
  dtoc: Support scanning of structs in header files
  dtoc: Move test files into a test/ directory
  dtoc: Rename sandbox_i2c_test and sandbox_pmic_test
  dtoc: Add some extra properties to nodes
  dtoc: Make use of node properties
  dtoc: Process nodes to set up required properties
  dtoc: Track nodes which are actually used
  dtoc: Support tracking the phase of U-Boot
  Makefile: Pass the U-Boot phase to dtoc
  dtoc: Support headers needed for drivers
  dtoc: Process driver aliases along with drivers
  dtoc: Warn of duplicate drivers
  dtoc: Read aliases for uclasses
  dtoc: Detect drivers only at the start of start of line
  dtoc: Assign a sequence number to each node
  dtoc: Set up the uclasses that are used
  dtoc: Support processing the root node
  dtoc: Add an option for device instantiation
  dm: of-platadata: Add option for device instantiation
  dtoc: Add support for decl file
  dtoc: Don't generate platform data with instantiation
  sandbox: Make sandbox,emul more conventional
  sandbox: i2c: Rename driver names to work with of-platdata
  dtoc: Tidy up the list of supported phandle properties
  dtoc: Generate a summary in the dt-plat.c file
  dtoc: Generate uclass devices
  dtoc: Generate device instances
  dtoc: Drop use of DECL() macros
  sandbox: Drop debug message in os_spl_to_uboot()
  linker_lists: Allow use in data structures
  dm: core: Add macros to access the new linker lists
  dm: core: Allow dropping run-time binding of devices
  dm: core: Adjust uclass setup with of-platdata
  dm: core: Set up driver model for OF_PLATDATA_INST
  dm: core: Skip adding uclasses with OF_PLATDATA_INST
  dm: Add the new dtoc-generated files to the build
  dm: core: Include dt-decl.h automatically
  dm: test: Avoid destroying uclasses with of-platdata-inst
  clk: sandbox: Move priv/plat data to a header file
  clk: fixed-rate: Export driver parts for OF_PLATDATA_INST
  clk: sandbox: Create a special fixed-rate driver
  dm: core: Drop device_get_by_driver_info()
  dm: core: Drop uclass_find_device_by_phandle() with of-platdata
  sandbox: i2c: Move platdata structs to header files
  dm: Rename device_get_by_driver_info_idx()
  sandbox_spl: Increase SPL malloc() size
  sandbox: i2c: Support i2c emulation with of-platdata
  Revert "sandbox: Disable I2C emulators in SPL"
  sandbox: Create a new sandbox_noinst build
  test: Run sandbox_spl tests on sandbox_noinst
  azure/gitlab: Add tests for sandbox_noinst
  dm: core: Add an option to support SPL in read-only memory
  dm: core: Create a struct for device runtime info
  dm: core: Move flags to device-runtime info
  dm: core: Allow storing priv/plat data separately
  sandbox: Define a region for device priv/plat data
  dm: core: Use separate priv/plat data region
  dm: core: Add warnings to private / platform setters
  dm: doc: Tidy up of-platdata docs
  

Re: Please pull u-boot-dm/next take 2

2021-03-21 Thread Tom Rini
On Sun, Mar 21, 2021 at 03:36:41PM +1300, Simon Glass wrote:

> Hi Tom,
> 
> This is for the -next branch
> 
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/6849
> 
> 
> The following changes since commit f879f2621b42529cf5f88912a07d2866cfc8fd45:
> 
>   Merge branch 'next' of git://source.denx.de/u-boot-sh into next
> (2021-03-19 08:20:34 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-21mar21-take2
> 
> for you to fetch changes up to 72f2592b113815039000e9b295a2ea6f2e9d4f2f:
> 
>   binman: Update various pieces of the documentation (2021-03-21 14:30:48 
> +1300)
> 

NAK, a few problems:
https://dev.azure.com/u-boot/u-boot/_build/results?buildId=2007&view=logs&j=f73ea7a0-90af-58b6-2b50-3c4e0acf30bb&t=9b3bb8b5-bfd3-5873-17a4-61c874b0d974
fails because previously "-w board_name" worked but now requires "-w
--board board_name" to work (which is why GitLab passed, it does -w
--board sandbox_spl").
https://source.denx.de/u-boot/u-boot/-/jobs/241881
and I don't know why that failed as it builds locally.  Maybe some odd
race?

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm/next take 2

2021-03-20 Thread Simon Glass
Hi Tom,

This is for the -next branch

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


The following changes since commit f879f2621b42529cf5f88912a07d2866cfc8fd45:

  Merge branch 'next' of git://source.denx.de/u-boot-sh into next
(2021-03-19 08:20:34 -0400)

are available in the Git repository at:

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

for you to fetch changes up to 72f2592b113815039000e9b295a2ea6f2e9d4f2f:

  binman: Update various pieces of the documentation (2021-03-21 14:30:48 +1300)


dtoc support for of-platdata-inst
driver model support for of-platdata-inst
support of-platdata-inst on x86 / coral
binman support for exapanded entries
binman convert docs to reST
ti-sysc fix for duplicate uclass driver
patman minor improvements


Bin Meng (3):
  mmc: pci: Fix Kconfig dependency
  test: cmd: setexpr: Fix a typo
  test: print_ut: Fix potential build error

Dario Binacchi (1):
  bus: ti-sysc: change in a normal driver

Heinrich Schuchardt (4):
  sandbox: allow cross-compiling sandbox
  sandbox: enable cros-ec-keyb in test.dtb
  dm: error handling dev_get_dma_range()
  sandbox: add FAT to the list of usable env drivers

Nicolas Boichat (1):
  patman: Use less for help file, if available

Samuel Dionne-Riel (1):
  tools: fdtgrep: Use unsigned chars for arrays

Simon Glass (103):
  patman: Update documentation to match new usage
  patman: Quieten down the alias checking
  dtoc: Scan drivers for available information
  dtoc: Save scan information across test runs
  dtoc: Ignore unwanted files when scanning for drivers
  dtoc: Collect priv/plat struct info from drivers
  dtoc: Support scanning of uclasses
  dtoc: Support scanning of structs in header files
  dtoc: Move test files into a test/ directory
  dtoc: Rename sandbox_i2c_test and sandbox_pmic_test
  dtoc: Add some extra properties to nodes
  dtoc: Make use of node properties
  dtoc: Process nodes to set up required properties
  dtoc: Track nodes which are actually used
  dtoc: Support tracking the phase of U-Boot
  Makefile: Pass the U-Boot phase to dtoc
  dtoc: Support headers needed for drivers
  dtoc: Process driver aliases along with drivers
  dtoc: Warn of duplicate drivers
  dtoc: Read aliases for uclasses
  dtoc: Detect drivers only at the start of start of line
  dtoc: Assign a sequence number to each node
  dtoc: Set up the uclasses that are used
  dtoc: Support processing the root node
  dtoc: Add an option for device instantiation
  dm: of-platadata: Add option for device instantiation
  dtoc: Add support for decl file
  dtoc: Don't generate platform data with instantiation
  sandbox: Make sandbox,emul more conventional
  sandbox: i2c: Rename driver names to work with of-platdata
  dtoc: Tidy up the list of supported phandle properties
  dtoc: Generate a summary in the dt-plat.c file
  dtoc: Generate uclass devices
  dtoc: Generate device instances
  dtoc: Drop use of DECL() macros
  sandbox: Drop debug message in os_spl_to_uboot()
  linker_lists: Allow use in data structures
  dm: core: Add macros to access the new linker lists
  dm: core: Allow dropping run-time binding of devices
  dm: core: Adjust uclass setup with of-platdata
  dm: core: Set up driver model for OF_PLATDATA_INST
  dm: core: Skip adding uclasses with OF_PLATDATA_INST
  dm: Add the new dtoc-generated files to the build
  dm: core: Include dt-decl.h automatically
  dm: test: Avoid destroying uclasses with of-platdata-inst
  clk: sandbox: Move priv/plat data to a header file
  clk: fixed-rate: Export driver parts for OF_PLATDATA_INST
  clk: sandbox: Create a special fixed-rate driver
  dm: core: Drop device_get_by_driver_info()
  dm: core: Drop uclass_find_device_by_phandle() with of-platdata
  sandbox: i2c: Move platdata structs to header files
  dm: Rename device_get_by_driver_info_idx()
  sandbox_spl: Increase SPL malloc() size
  sandbox: i2c: Support i2c emulation with of-platdata
  Revert "sandbox: Disable I2C emulators in SPL"
  sandbox: Create a new sandbox_noinst build
  test: Run sandbox_spl tests on sandbox_noinst
  azure/gitlab: Add tests for sandbox_noinst
  dm: core: Add an option to support SPL in read-only memory
  dm: core: Create a struct for device runtime info
  dm: core: Move flags to device-runtime info
  dm: core: Allow storing priv/plat data separately
  sandbox: Define a region for device priv/plat data
  dm: core: Use separate priv/plat data region
  dm: core: Add warnings to private / platform setters
  dm: doc: Tidy up of-platdata docs
  dm: doc: Add documentation for of-pla

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

2021-03-20 Thread Tom Rini
On Sun, Mar 21, 2021 at 02:18:40PM +1300, Simon Glass wrote:
> Hi Bin,
> 
> On Sun, 21 Mar 2021 at 14:16, Bin Meng  wrote:
> >
> > Hi Simon,
> >
> > On Sun, Mar 21, 2021 at 8:21 AM Simon Glass  wrote:
> > >
> > > Hi Marek,
> > >
> > > On Sun, 21 Mar 2021 at 12:21, Marek Behún  wrote:
> > > >
> > > > Simon,
> > > >
> > > > you forgot to drop my regmap patch.
> > >
> > > Ah yes, I dropped it from dm/master, but left it in -next. I am hoping
> > > that git will figure it out as that is what it is supposed to be good
> > > at :-)
> >
> > The thing is that that patch you applied has some issues, and Marek
> > has sent an updated correct patch.
> 
> Oh dear...
> 
> Tom shall I redo the pull request?

Yes, thanks.

-- 
Tom


signature.asc
Description: PGP signature


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

2021-03-20 Thread Simon Glass
Hi Bin,

On Sun, 21 Mar 2021 at 14:16, Bin Meng  wrote:
>
> Hi Simon,
>
> On Sun, Mar 21, 2021 at 8:21 AM Simon Glass  wrote:
> >
> > Hi Marek,
> >
> > On Sun, 21 Mar 2021 at 12:21, Marek Behún  wrote:
> > >
> > > Simon,
> > >
> > > you forgot to drop my regmap patch.
> >
> > Ah yes, I dropped it from dm/master, but left it in -next. I am hoping
> > that git will figure it out as that is what it is supposed to be good
> > at :-)
>
> The thing is that that patch you applied has some issues, and Marek
> has sent an updated correct patch.

Oh dear...

Tom shall I redo the pull request?

Regards,
Simon


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

2021-03-20 Thread Bin Meng
Hi Simon,

On Sun, Mar 21, 2021 at 8:21 AM Simon Glass  wrote:
>
> Hi Marek,
>
> On Sun, 21 Mar 2021 at 12:21, Marek Behún  wrote:
> >
> > Simon,
> >
> > you forgot to drop my regmap patch.
>
> Ah yes, I dropped it from dm/master, but left it in -next. I am hoping
> that git will figure it out as that is what it is supposed to be good
> at :-)

The thing is that that patch you applied has some issues, and Marek
has sent an updated correct patch.

Regards,
Bin


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

2021-03-20 Thread Simon Glass
Hi Marek,

On Sun, 21 Mar 2021 at 12:21, Marek Behún  wrote:
>
> Simon,
>
> you forgot to drop my regmap patch.

Ah yes, I dropped it from dm/master, but left it in -next. I am hoping
that git will figure it out as that is what it is supposed to be good
at :-)

Regards,
Simon
>
>


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

2021-03-20 Thread Marek Behún
Simon,

you forgot to drop my regmap patch.

Marek


Please pull u-boot-dm/next into -next

2021-03-20 Thread Simon Glass
Hi Tom,

This is for the -next branch, mostly the of-platdata-inst implementation.

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


The following changes since commit f879f2621b42529cf5f88912a07d2866cfc8fd45:

  Merge branch 'next' of git://source.denx.de/u-boot-sh into next
(2021-03-19 08:20:34 -0400)

are available in the Git repository at:

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

for you to fetch changes up to 4fd57aeeb4359268f0d70a04ad7769985789ab8c:

  binman: Update various pieces of the documentation (2021-03-20 12:55:54
+1300)


dtoc support for of-platdata-inst
driver model support for of-platdata-inst
support of-platdata-inst on x86 / coral
binman support for exapanded entries
binman convert docs to reST
ti-sysc fix for duplicate uclass driver
patman minor improvements


Bin Meng (3):
  mmc: pci: Fix Kconfig dependency
  test: cmd: setexpr: Fix a typo
  test: print_ut: Fix potential build error

Dario Binacchi (1):
  bus: ti-sysc: change in a normal driver

Heinrich Schuchardt (4):
  sandbox: allow cross-compiling sandbox
  sandbox: enable cros-ec-keyb in test.dtb
  dm: error handling dev_get_dma_range()
  sandbox: add FAT to the list of usable env drivers

Marek Behún (1):
  regmap: fix a serious pointer casting bug

Nicolas Boichat (1):
  patman: Use less for help file, if available

Samuel Dionne-Riel (1):
  tools: fdtgrep: Use unsigned chars for arrays

Simon Glass (103):
  patman: Update documentation to match new usage
  patman: Quieten down the alias checking
  dtoc: Scan drivers for available information
  dtoc: Save scan information across test runs
  dtoc: Ignore unwanted files when scanning for drivers
  dtoc: Collect priv/plat struct info from drivers
  dtoc: Support scanning of uclasses
  dtoc: Support scanning of structs in header files
  dtoc: Move test files into a test/ directory
  dtoc: Rename sandbox_i2c_test and sandbox_pmic_test
  dtoc: Add some extra properties to nodes
  dtoc: Make use of node properties
  dtoc: Process nodes to set up required properties
  dtoc: Track nodes which are actually used
  dtoc: Support tracking the phase of U-Boot
  Makefile: Pass the U-Boot phase to dtoc
  dtoc: Support headers needed for drivers
  dtoc: Process driver aliases along with drivers
  dtoc: Warn of duplicate drivers
  dtoc: Read aliases for uclasses
  dtoc: Detect drivers only at the start of start of line
  dtoc: Assign a sequence number to each node
  dtoc: Set up the uclasses that are used
  dtoc: Support processing the root node
  dtoc: Add an option for device instantiation
  dm: of-platadata: Add option for device instantiation
  dtoc: Add support for decl file
  dtoc: Don't generate platform data with instantiation
  sandbox: Make sandbox,emul more conventional
  sandbox: i2c: Rename driver names to work with of-platdata
  dtoc: Tidy up the list of supported phandle properties
  dtoc: Generate a summary in the dt-plat.c file
  dtoc: Generate uclass devices
  dtoc: Generate device instances
  dtoc: Drop use of DECL() macros
  sandbox: Drop debug message in os_spl_to_uboot()
  linker_lists: Allow use in data structures
  dm: core: Add macros to access the new linker lists
  dm: core: Allow dropping run-time binding of devices
  dm: core: Adjust uclass setup with of-platdata
  dm: core: Set up driver model for OF_PLATDATA_INST
  dm: core: Skip adding uclasses with OF_PLATDATA_INST
  dm: Add the new dtoc-generated files to the build
  dm: core: Include dt-decl.h automatically
  dm: test: Avoid destroying uclasses with of-platdata-inst
  clk: sandbox: Move priv/plat data to a header file
  clk: fixed-rate: Export driver parts for OF_PLATDATA_INST
  clk: sandbox: Create a special fixed-rate driver
  dm: core: Drop device_get_by_driver_info()
  dm: core: Drop uclass_find_device_by_phandle() with of-platdata
  sandbox: i2c: Move platdata structs to header files
  dm: Rename device_get_by_driver_info_idx()
  sandbox_spl: Increase SPL malloc() size
  sandbox: i2c: Support i2c emulation with of-platdata
  Revert "sandbox: Disable I2C emulators in SPL"
  sandbox: Create a new sandbox_noinst build
  test: Run sandbox_spl tests on sandbox_noinst
  azure/gitlab: Add tests for sandbox_noinst
  dm: core: Add an option to support SPL in read-only memory
  dm: core: Create a struct for device runtime info
  dm: core: Move flags to device-runtime info
  dm: core: Allow storing priv/plat data separately
  sandbox: Define a region for device priv/plat data
  dm: core: Use separate priv/plat data region
  dm: core: Add warnings to priva

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

2021-01-06 Thread Tom Rini
On Tue, Jan 05, 2021 at 07:53:35PM -0700, Simon Glass wrote:

> Hi Tom,
> 
> This is for u-boot/next
> 
> Build here:
> 
> https://gitlab.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/5761
> 
> 
> The following changes since commit c86b18074c9d40bfa63cda1068b6dfb810d4377d:
> 
>   Merge tag 'efi-next' of
> https://gitlab.denx.de/u-boot/custodians/u-boot-efi into next
> (2020-12-31 22:28:09 -0500)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-5jan21
> 
> for you to fetch changes up to 970349a96dac3ad46c33851b1a773bfe3f1d4b33:
> 
>   dtoc: Tidy up src_scan tests (2021-01-05 12:26:35 -0700)
> 

Applied to u-boot/next, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm/next into -next

2021-01-05 Thread Simon Glass
Hi Tom,

This is for u-boot/next

Build here:

https://gitlab.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/5761


The following changes since commit c86b18074c9d40bfa63cda1068b6dfb810d4377d:

  Merge tag 'efi-next' of
https://gitlab.denx.de/u-boot/custodians/u-boot-efi into next
(2020-12-31 22:28:09 -0500)

are available in the Git repository at:

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

for you to fetch changes up to 970349a96dac3ad46c33851b1a773bfe3f1d4b33:

  dtoc: Tidy up src_scan tests (2021-01-05 12:26:35 -0700)


Driver model: make some udevice fields private
Driver model: Rename U_BOOT_DEVICE et al.
dtoc: Tidy up and add more tests
ns16550 code clean-up
x86 and sandbox minor fixes for of-platdata
dtoc prepration for adding build-time instantiation


Patrick Delaunay (1):
  sandbox: remove ram buffer file when U-Boot is loaded by SPL

Simon Glass (84):
  Makefile: Build a separate .dtb for TPL
  Makefile: Build SPL dtbs in the spl/ directory
  Makefile: Tidy up SPL dtb production
  Makefile: Use common args for dtoc
  serial: Update NS16550_t and struct NS16550
  serial: Rename ns16550 functions to lower case
  sandbox: Drop unnecessary test node
  spl: Drop bd_info in the data section
  dm: core: Support dm_dump_all() in SPL
  dm: core: Use 'uclass_driver' for the uclass linker_list
  dm: core: Only include simple-bus devicetree id when needed
  x86: apl: Drop support for !OF_PLATDATA_PARENT
  dm: core: Add function to access uclass priv
  dm: core: Add functions to set priv/plat
  dm: Use access methods for dev/uclass private data
  dm: core: Use access methods for dev/uclass private data
  dm: core: Rename the priv/plat members
  pinctrl: Drop post_bind() method when not needed
  sysreset: Use a shorter error with SPL
  arc: m68k: nds32: nios2: sh: xtensa: Add empty spl.h header
  timer: Use a shorter error in TPL
  test: Use a simple variable to record removed device
  test: Move some test drivers into their own file
  dtoc: Fix a few pylint warnings in dtb_platdata
  dtoc: Make _output_list a top-level function
  dtoc: Output the device in a separate function
  dtoc: Output the struct values in a separate function
  dtoc: Convert _drivers to a dict
  x86: apl: Use const for driver operations
  x86: Move call64 into its own section
  x86: coral: Move fsp-m settings to a subnode
  x86: apl: Update hostbridge to remove unwanted TPL code
  x86: apl: Reduce size for TPL
  x86: pinctrl: Drop unlikely error messages from TPL
  x86: tpl: Remove unwanted devicetree string
  x86: Fix header guard in asm/pmu.h
  sandbox: serial: Move priv into a header file
  sandbox: i2c: Move priv into a header file
  sandbox: Add a compatible string for spltest
  sandbox: Update dts files to reduce SPL size
  x86: apl: Move priv/plat structs to headers
  x86: Move priv/plat structs for intel_common to headers
  x86: spl: Move priv/plat structs to headers
  spi: Tidy up get/set of device node
  spi: Tweak a few strange SPI NOR features for of-platdata
  x86: apl: Use struct spi_nor instead of struct spi_flash
  dm: core: Move priv/plat structs for simple_bus to headers
  x86: sysreset: Move priv/plat structs to headers
  x86: apl: Adjust how the UART gets its platform data
  x86: coral: Remove unwanted nodes from SPL/TPL
  x86: Drop rtc from SPL
  dm: core: Split out alloc code into a new function
  dm: core: Rename sqq to seq_
  dm: core: Access device flags through functions
  dm: core: Rename device flags to indicate it is private
  dm: core: Rename dev_has_of_node() to dev_has_ofnode()
  dm: core: Use dev_has_ofnode() instead of dev_of_valid()
  dm: core: Access device ofnode through functions
  dm: core: Rename device node to indicate it is private
  dm: core: Split out scanning code to dm_scan()
  dm: core: Allow the uclass list to move
  dm: core: Add logging when lists_bind_fdt() fails
  dtoc: Tidy up pylint warnings in test
  dtoc: Use None to mean stdout
  dtoc: Test the stdout output
  dtoc: Allow providing a directory to write files to
  dtoc: Allow outputing to multiple files
  dtoc: Add an 'all' command
  Makefile: Invoke dtoc only once
  dm: Rename U_BOOT_DEVICE() to U_BOOT_DRVINFO()
  dm: Rename DM_GET_DEVICE() to DM_DRVINFO_GET()
  dm: Rename DM_GET_DRIVER() to DM_DRIVER_GET()
  dm: Rename U_BOOT_DRIVER_ALIAS to DM_DRIVER_ALIAS
  concurrencytest: Fix Python3 warning
  dtoc: Run tests using test_util
  dtoc: Add a header comment to each generated file
  dtoc: Rename dt-platdata.c to dt-plat.c
  dtoc: Add the method for each command to OutputFile
  

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

2020-12-24 Thread Tom Rini
On Wed, Dec 23, 2020 at 12:04:08PM -0700, Simon Glass wrote:

> Hi Tom,
> 
> This is for the -next branch,
> 
> Build here:
> 
> https://gitlab.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/5664
> 
> 
> The following changes since commit 8351a29d2df18c92d8e365cfa848218c3859f3d2:
> 
>   Merge tag 'dm-pull-14dec20' of git://git.denx.de/u-boot-dm into next
> (2020-12-14 18:57:57 -0500)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-next-23dec20
> 
> for you to fetch changes up to ec1add1e51affd4aacc308dc37439ea13dc1b70e:
> 
>   dm: core: Inline a few ofnode functions in SPL (2020-12-22 20:39:26 -0700)
> 

Applied to u-boot/next, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm/next into -next

2020-12-23 Thread Simon Glass
Hi Tom,

This is for the -next branch,

Build here:

https://gitlab.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/5664


The following changes since commit 8351a29d2df18c92d8e365cfa848218c3859f3d2:

  Merge tag 'dm-pull-14dec20' of git://git.denx.de/u-boot-dm into next
(2020-12-14 18:57:57 -0500)

are available in the Git repository at:

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

for you to fetch changes up to ec1add1e51affd4aacc308dc37439ea13dc1b70e:

  dm: core: Inline a few ofnode functions in SPL (2020-12-22 20:39:26 -0700)


dm: New sequence number implementation
SPI handling of bus with different-speed devices
patman supression of sign-offs


Aswath Govindraju (1):
  fdt: Use phandle to distinguish DT nodes with same name

Heinrich Schuchardt (2):
  sandbox: implement runtime system reset
  sandbox: implement invalidate_icache_all()

Hongwei Zhang (1):
  Common:fdt: Check for error return value

Niel Fourie (1):
  dm: spi: Fix spi_free_slave() freed memory write

Ovidiu Panait (6):
  sandbox: spi: Drop unused sandbox_spi_parse_spec function
  sandbox: test: Add a second SPI slave on sandbox_spi bus
  spi: sandbox_spi: Implement speed/mode setup
  test: spi: Add sandbox_spi_get_{speed, mode} interface
  spi: spi-uclass: Fix spi_claim_bus() speed/mode setup logic
  test: dm: spi: Add testcase for spi_claim_bus()

Patrick Delaunay (1):
  configs: sandbox: activate DEBUG_UART

Philipp Tomsich (2):
  patman: Add --no-signoff to suppress adding signoffs
  patman: Add project-default for 'gcc'

Simon Glass (30):
  linker_lists: Fix alignment issue
  dm: Avoid accessing seq directly
  dm: core: Update uclass_find_next_free_req_seq() args
  dm: core: Add a new sequence number for devices
  dm: test: Check all devices have a sequence numbers
  dm: core: Switch binding to use new sequence numbers
  dm: Fix return value in dev_read_alias_seq()
  dm: test: Drop assumptions of no sequence numbers
  octeon: Don't attempt to set the sequence number
  i2c: Update for new sequence numbers
  net: Update to use new sequence numbers
  dm: core: Allow manual sequence numbering
  pci: Update to use new sequence numbers
  spi: Update for new sequence numbers
  usb: ehci-mx6: Drop assignment of sequence number
  usb: Update for new sequence numbers
  x86: Drop unnecessary mp_init logic
  x86: Simplify acpi_device_infer_name()
  gpio: Update for new sequence numbers
  pinctrl: Update for new sequence numbers
  dm: Switch over to use new sequence number for dev_seq()
  dm: test: Add a test for DM_UC_FLAG_NO_AUTO_SEQ
  dm: Drop uclass_resolve_seq()
  dm: Drop the unused arg in uclass_find_device_by_seq()
  dm: core: Update uclass_find_next_free_req_seq() for new scheme
  cmd: Drop use of old sequence numbers in commands
  dm: core: Drop seq and req_seq
  dm: Update documentation for new sequence numbers
  buildman: Remove output binaries before building
  dm: core: Inline a few ofnode functions in SPL

 arch/Kconfig |  11 +++
 arch/arm/include/asm/mach-imx/mxc_i2c.h  |   2 +-
 arch/arm/mach-k3/am6_init.c  |   2 +-
 arch/arm/mach-k3/j721e_init.c|   2 +-
 arch/arm/mach-k3/sysfw-loader.c  |   2 +-
 arch/sandbox/cpu/Makefile|   2 +-
 arch/sandbox/cpu/cache.c |  23 ++
 arch/sandbox/cpu/start.c |  10 +++
 arch/sandbox/dts/test.dts|  25 +-
 arch/sandbox/include/asm/spi.h   |  10 ---
 arch/sandbox/include/asm/test.h  |  16 
 arch/x86/cpu/apollolake/cpu.c|   2 +-
 arch/x86/cpu/broadwell/cpu_full.c|   2 +-
 arch/x86/cpu/ivybridge/model_206ax.c |   2 +-
 arch/x86/cpu/mp_init.c   |  23 ++
 arch/x86/include/asm/mp.h|   2 +-
 board/sandbox/sandbox.c  |   4 -
 board/xilinx/versal/board.c  |  12 +--
 board/xilinx/zynqmp/zynqmp.c |  12 +--
 cmd/axi.c|   6 +-
 cmd/cpu.c|   2 +-
 cmd/i2c.c|   6 +-
 cmd/misc.c   |   2 +-
 cmd/osd.c|   6 +-
 cmd/pci.c|   7 +-
 cmd/pmic.c   |   4 +-
 cmd/remoteproc.c |   2 +-
 cmd/w1.c |   4 +-
 common/image-fdt.c   |   3 +
 configs/sandbox64_defconfig  |   1 +
 configs/sandbox_flattree_defconfig   |   1 +
 configs/sandbox_spl_defconfig|   1 +
 doc/api/linker_lists.rst |  59 +++
 doc/driver-model/design.rst

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

2020-12-17 Thread Tom Rini
On Wed, Dec 16, 2020 at 07:10:58PM -0700, Simon Glass wrote:
> Hi Tom,
> 
> On Tue, 15 Dec 2020 at 09:28, Simon Glass  wrote:
> >
> > Hi Tom,
> >
> > On Tue, 15 Dec 2020 at 07:06, Tom Rini  wrote:
> > >
> > > On Mon, Dec 14, 2020 at 08:50:53AM -0700, Simon Glass wrote:
> > >
> > > > Hi Tom,
> > > >
> > > > https://gitlab.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/5567
> > > >
> > > >
> > > > Note this is for the 'next' tree.
> > > >
> > > > It includes the rename series which would be good to get in early.
> > > >
> > > > Regards,
> > > > Simon
> > > >
> > > > The following changes since commit 
> > > > ddaa94978583d07ec515e7226e397221d8cc44c8:
> > > >
> > > >   Merge tag 'efi-next' of
> > > > https://gitlab.denx.de/u-boot/custodians/u-boot-efi into next
> > > > (2020-12-10 13:54:33 -0500)
> > > >
> > > > are available in the Git repository at:
> > > >
> > > >   git://git.denx.de/u-boot-dm.git tags/dm-pull-14dec20
> > > >
> > > > for you to fetch changes up to b7bbd553de0d9752f919dfc616f560f6f2504c14:
> > > >
> > > >   checkpatch: Add warnings for unexpected struct names (2020-12-13
> > > > 16:51:09 -0700)
> > > >
> > >
> > > In general, this is very good and we see small reductions almost
> > > everywhere.  In a few cases however we see:
> > > 22: dm: core: Combine the flattree and livetree binding code
> > >aarch64: (for 1/1 boards) all -212.0 spl/u-boot-spl:all +40.0 
> > > spl/u-boot-spl:text +40.0 text -212.0
> > > px30-core-ctouch2-px30: all -212 spl/u-boot-spl:all +40 
> > > spl/u-boot-spl:text +40 text -212
> > >u-boot: add: 1/-1, grow: 1/-3 bytes: 124/-336 (-212)
> > >  function   old new   
> > > delta
> > >  ofnode_is_enabled-  92   
> > >   +92
> > >  dm_scan_fdt_node   196 228   
> > >   +32
> > >  dm_scan_fdt 52  32   
> > >   -20
> > >  dm_scan_fdt_dev104  20   
> > >   -84
> > >  dm_extended_scan_fdt   236 132   
> > >  -104
> > >  static.dm_scan_fdt_live128   -   
> > >  -128
> > >spl-u-boot-spl: add: 3/0, grow: 0/-4 bytes: 116/-76 (40)
> > >  function   old new   
> > > delta
> > >  ofnode_next_subnode  -  40   
> > >   +40
> > >  ofnode_first_subnode -  40   
> > >   +40
> > >  ofnode_is_enabled-  36   
> > >   +36
> > >  dm_scan_fdt 20  16   
> > >-4
> > >  dm_scan_fdt_dev 36  20   
> > >   -16
> > >  dm_scan_fdt_node   168 148   
> > >   -20
> > >  dm_extended_scan_fdt   168 132   
> > >   -36
> > >
> > > Is there anything we can do about that?  That said:
> 
> The problem here is that we are now using ofnode versions of those
> three functions. The only thing I can do is inline them. It does make
> things a little more complicated, but I think it is worth it. I'll
> send a patch.

OK, thanks!

-- 
Tom


signature.asc
Description: PGP signature


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

2020-12-16 Thread Simon Glass
Hi Tom,

On Tue, 15 Dec 2020 at 09:28, Simon Glass  wrote:
>
> Hi Tom,
>
> On Tue, 15 Dec 2020 at 07:06, Tom Rini  wrote:
> >
> > On Mon, Dec 14, 2020 at 08:50:53AM -0700, Simon Glass wrote:
> >
> > > Hi Tom,
> > >
> > > https://gitlab.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/5567
> > >
> > >
> > > Note this is for the 'next' tree.
> > >
> > > It includes the rename series which would be good to get in early.
> > >
> > > Regards,
> > > Simon
> > >
> > > The following changes since commit 
> > > ddaa94978583d07ec515e7226e397221d8cc44c8:
> > >
> > >   Merge tag 'efi-next' of
> > > https://gitlab.denx.de/u-boot/custodians/u-boot-efi into next
> > > (2020-12-10 13:54:33 -0500)
> > >
> > > are available in the Git repository at:
> > >
> > >   git://git.denx.de/u-boot-dm.git tags/dm-pull-14dec20
> > >
> > > for you to fetch changes up to b7bbd553de0d9752f919dfc616f560f6f2504c14:
> > >
> > >   checkpatch: Add warnings for unexpected struct names (2020-12-13
> > > 16:51:09 -0700)
> > >
> >
> > In general, this is very good and we see small reductions almost
> > everywhere.  In a few cases however we see:
> > 22: dm: core: Combine the flattree and livetree binding code
> >aarch64: (for 1/1 boards) all -212.0 spl/u-boot-spl:all +40.0 
> > spl/u-boot-spl:text +40.0 text -212.0
> > px30-core-ctouch2-px30: all -212 spl/u-boot-spl:all +40 
> > spl/u-boot-spl:text +40 text -212
> >u-boot: add: 1/-1, grow: 1/-3 bytes: 124/-336 (-212)
> >  function   old new   
> > delta
> >  ofnode_is_enabled-  92 
> > +92
> >  dm_scan_fdt_node   196 228 
> > +32
> >  dm_scan_fdt 52  32 
> > -20
> >  dm_scan_fdt_dev104  20 
> > -84
> >  dm_extended_scan_fdt   236 132
> > -104
> >  static.dm_scan_fdt_live128   -
> > -128
> >spl-u-boot-spl: add: 3/0, grow: 0/-4 bytes: 116/-76 (40)
> >  function   old new   
> > delta
> >  ofnode_next_subnode  -  40 
> > +40
> >  ofnode_first_subnode -  40 
> > +40
> >  ofnode_is_enabled-  36 
> > +36
> >  dm_scan_fdt 20  16 
> >  -4
> >  dm_scan_fdt_dev 36  20 
> > -16
> >  dm_scan_fdt_node   168 148 
> > -20
> >  dm_extended_scan_fdt   168 132 
> > -36
> >
> > Is there anything we can do about that?  That said:

The problem here is that we are now using ofnode versions of those
three functions. The only thing I can do is inline them. It does make
things a little more complicated, but I think it is worth it. I'll
send a patch.


> >
> > Applied to u-boot/next, thanks!
>
> I'll take a look. I may have missed a condition.
>
> BTW I am hoping to get a series out around EOM with the next evolution
> of of-platdata. It reduces the SPL code size by a decent amount.

Regards,
Simon


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

2020-12-15 Thread Simon Glass
Hi Tom,

On Tue, 15 Dec 2020 at 07:06, Tom Rini  wrote:
>
> On Mon, Dec 14, 2020 at 08:50:53AM -0700, Simon Glass wrote:
>
> > Hi Tom,
> >
> > https://gitlab.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/5567
> >
> >
> > Note this is for the 'next' tree.
> >
> > It includes the rename series which would be good to get in early.
> >
> > Regards,
> > Simon
> >
> > The following changes since commit ddaa94978583d07ec515e7226e397221d8cc44c8:
> >
> >   Merge tag 'efi-next' of
> > https://gitlab.denx.de/u-boot/custodians/u-boot-efi into next
> > (2020-12-10 13:54:33 -0500)
> >
> > are available in the Git repository at:
> >
> >   git://git.denx.de/u-boot-dm.git tags/dm-pull-14dec20
> >
> > for you to fetch changes up to b7bbd553de0d9752f919dfc616f560f6f2504c14:
> >
> >   checkpatch: Add warnings for unexpected struct names (2020-12-13
> > 16:51:09 -0700)
> >
>
> In general, this is very good and we see small reductions almost
> everywhere.  In a few cases however we see:
> 22: dm: core: Combine the flattree and livetree binding code
>aarch64: (for 1/1 boards) all -212.0 spl/u-boot-spl:all +40.0 
> spl/u-boot-spl:text +40.0 text -212.0
> px30-core-ctouch2-px30: all -212 spl/u-boot-spl:all +40 
> spl/u-boot-spl:text +40 text -212
>u-boot: add: 1/-1, grow: 1/-3 bytes: 124/-336 (-212)
>  function   old new   
> delta
>  ofnode_is_enabled-  92 
> +92
>  dm_scan_fdt_node   196 228 
> +32
>  dm_scan_fdt 52  32 
> -20
>  dm_scan_fdt_dev104  20 
> -84
>  dm_extended_scan_fdt   236 132
> -104
>  static.dm_scan_fdt_live128   -
> -128
>spl-u-boot-spl: add: 3/0, grow: 0/-4 bytes: 116/-76 (40)
>  function   old new   
> delta
>  ofnode_next_subnode  -  40 
> +40
>  ofnode_first_subnode -  40 
> +40
>  ofnode_is_enabled-  36 
> +36
>  dm_scan_fdt 20  16  
> -4
>  dm_scan_fdt_dev 36  20 
> -16
>  dm_scan_fdt_node   168 148 
> -20
>  dm_extended_scan_fdt   168 132 
> -36
>
> Is there anything we can do about that?  That said:
>
> Applied to u-boot/next, thanks!

I'll take a look. I may have missed a condition.

BTW I am hoping to get a series out around EOM with the next evolution
of of-platdata. It reduces the SPL code size by a decent amount.

Regards,
Simon


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

2020-12-15 Thread Tom Rini
On Mon, Dec 14, 2020 at 08:50:53AM -0700, Simon Glass wrote:

> Hi Tom,
> 
> https://gitlab.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/5567
> 
> 
> Note this is for the 'next' tree.
> 
> It includes the rename series which would be good to get in early.
> 
> Regards,
> Simon
> 
> The following changes since commit ddaa94978583d07ec515e7226e397221d8cc44c8:
> 
>   Merge tag 'efi-next' of
> https://gitlab.denx.de/u-boot/custodians/u-boot-efi into next
> (2020-12-10 13:54:33 -0500)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-14dec20
> 
> for you to fetch changes up to b7bbd553de0d9752f919dfc616f560f6f2504c14:
> 
>   checkpatch: Add warnings for unexpected struct names (2020-12-13
> 16:51:09 -0700)
> 

In general, this is very good and we see small reductions almost
everywhere.  In a few cases however we see:
22: dm: core: Combine the flattree and livetree binding code
   aarch64: (for 1/1 boards) all -212.0 spl/u-boot-spl:all +40.0 
spl/u-boot-spl:text +40.0 text -212.0
px30-core-ctouch2-px30: all -212 spl/u-boot-spl:all +40 
spl/u-boot-spl:text +40 text -212
   u-boot: add: 1/-1, grow: 1/-3 bytes: 124/-336 (-212)
 function   old new   delta
 ofnode_is_enabled-  92 +92
 dm_scan_fdt_node   196 228 +32
 dm_scan_fdt 52  32 -20
 dm_scan_fdt_dev104  20 -84
 dm_extended_scan_fdt   236 132-104
 static.dm_scan_fdt_live128   --128
   spl-u-boot-spl: add: 3/0, grow: 0/-4 bytes: 116/-76 (40)
 function   old new   delta
 ofnode_next_subnode  -  40 +40
 ofnode_first_subnode -  40 +40
 ofnode_is_enabled-  36 +36
 dm_scan_fdt 20  16  -4
 dm_scan_fdt_dev 36  20 -16
 dm_scan_fdt_node   168 148 -20
 dm_extended_scan_fdt   168 132 -36

Is there anything we can do about that?  That said:

Applied to u-boot/next, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm/next into -next

2020-12-14 Thread Simon Glass
Hi Tom,

https://gitlab.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/5567


Note this is for the 'next' tree.

It includes the rename series which would be good to get in early.

Regards,
Simon

The following changes since commit ddaa94978583d07ec515e7226e397221d8cc44c8:

  Merge tag 'efi-next' of
https://gitlab.denx.de/u-boot/custodians/u-boot-efi into next
(2020-12-10 13:54:33 -0500)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-pull-14dec20

for you to fetch changes up to b7bbd553de0d9752f919dfc616f560f6f2504c14:

  checkpatch: Add warnings for unexpected struct names (2020-12-13
16:51:09 -0700)


Driver model tidy-up for livetree
Driver model big rename for consistency
Python 3 clean-ups for patman
Update sandbox serial driver to use membuff


Heinrich Schuchardt (4):
  sandbox: add handler for exceptions
  cmd: sandbox: implement exception command
  efi_selftest: implement exception test for sandbox
  test: unit test for exception command

Simon Glass (28):
  fdt: Use an Enum for the data type
  patman: Drop unicode helper functions
  patman: Drop tools.ToByte()
  patman: Drop tools.ToChar() and ToChars()
  dtoc: Tidy up Python style in dtb_platdata
  serial: sandbox: Drop unnecessary #ifdefs
  sandbox: serial: Convert to livetree
  sandbox: serial: Update to use membuff
  dm: core: Rename device_bind() to device_bind_offset()
  dm: core: Rename device_bind_ofnode() to device_bind()
  dm: core: Add a livetree function to check node status
  dm: Remove uses of device_bind_offset()
  dm: Drop uses of dev_set_of_offset()
  dm: core: Drop dev_set_of_offset()
  dm: core: Drop device_bind_offset()
  dm: core: Add an ofnode function to get the devicetree root
  dm: core: Combine the flattree and livetree binding code
  dm: core: Drop unused parameter from dm_scan_fdt()
  dm: core: Drop unused parameter from dm_extended_scan_fdt()
  dtoc: Tidy up more Python style in dtb_platdata
  dm: treewide: Rename auto_alloc_size members to be shorter
  dm: treewide: Rename 'platdata' variables to just 'plat'
  dm: Rename 'platdata_size' to 'plat_size'
  dm: treewide: Rename dev_get_platdata() to dev_get_plat()
  dm: treewide: Rename ofdata_to_platdata() to of_to_plat()
  dm: treewide: Update 'auto' declarations to be on one line
  dm: treewide: Rename ..._platdata variables to just ..._plat
  checkpatch: Add warnings for unexpected struct names

 arch/Kconfig  |   1 +
 arch/arm/include/asm/arch-hi6220/gpio.h   |   2 +-
 arch/arm/include/asm/arch-imx8/power-domain.h |   2 +-
 arch/arm/include/asm/arch-imx8m/power-domain.h|   2 +-
 arch/arm/include/asm/arch-vf610/gpio.h|   2 +-
 arch/arm/include/asm/omap_gpio.h  |   2 +-
 arch/arm/include/asm/omap_i2c.h   |   2 +-
 arch/arm/include/asm/omap_musb.h  |   2 +-
 arch/arm/mach-at91/arm926ejs/at91sam9260_devices.c|   2 +-
 arch/arm/mach-at91/arm926ejs/at91sam9m10g45_devices.c |   2 +-
 arch/arm/mach-at91/include/mach/atmel_serial.h|   2 +-
 arch/arm/mach-at91/include/mach/gpio.h|   2 +-
 arch/arm/mach-bcm283x/include/mach/gpio.h |   4 +-
 arch/arm/mach-imx/mx6/soc.c   |   2 +-
 arch/arm/mach-imx/mx7/soc.c   |   2 +-
 arch/arm/mach-ipq40xx/clock-ipq4019.c |   2 +-
 arch/arm/mach-ipq40xx/pinctrl-snapdragon.c|   2 +-
 arch/arm/mach-lpc32xx/devices.c   |   4 +-
 arch/arm/mach-nexell/include/mach/display.h   |   4 +-
 arch/arm/mach-omap2/am33xx/board.c|  12 +--
 arch/arm/mach-omap2/omap3/board.c |   2 +-
 arch/arm/mach-rockchip/px30/syscon_px30.c |   8 +-
 arch/arm/mach-rockchip/rk3188/syscon_rk3188.c |   8 +-
 arch/arm/mach-rockchip/rk3288/syscon_rk3288.c |  10 +--
 arch/arm/mach-rockchip/rk3368/syscon_rk3368.c |  10 +--
 arch/arm/mach-rockchip/rk3399/syscon_rk3399.c |  12 +--
 arch/arm/mach-rockchip/spl-boot-order.c   |   4 +-
 arch/arm/mach-snapdragon/clock-snapdragon.c   |   2 +-
 arch/arm/mach-snapdragon/pinctrl-snapdragon.c |   2 +-
 arch/arm/mach-stm32mp/bsec.c  |  36 
 arch/arm/mach-stm32mp/pwr_regulator.c |  18 ++--
 arch/arm/mach-tegra/board.c   |   2 +-
 arch/riscv/include/asm/arch-fu540/gpio.h  |   2 +-
 arch/riscv/include/asm/arch-generic/gpio.h|   2 +-
 arch/sandbox/Kconfig  |   9 ++
 arch/sandbox/cpu/os.c |  40 +
 arch/

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

2020-09-23 Thread Tom Rini
On Tue, Sep 22, 2020 at 02:58:48PM -0600, Simon Glass wrote:

> Hi Tom,
> 
> This is for upstream/next
> 
> Build here:
> 
> https://gitlab.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/4750
> 
> 
> The following changes since commit 2512b3b88ba6b193c3cada7e29e386613e8f9a6b:
> 
>   Merge branch '2020-09-14-generic-phy-error-trace' into next (2020-09-21
> 16:44:16 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-22sep20
> 
> for you to fetch changes up to e5b35f706d13c8c0fffcf7b2af9c6df4f4190c5d:
> 
>   log: mute messages generated by log drivers (2020-09-22 12:54:13 -0600)
> 

Applied to u-boot/next, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm/next into 'next'

2020-09-22 Thread Simon Glass
Hi Tom,

This is for upstream/next

Build here:

https://gitlab.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/4750


The following changes since commit 2512b3b88ba6b193c3cada7e29e386613e8f9a6b:

  Merge branch '2020-09-14-generic-phy-error-trace' into next (2020-09-21
16:44:16 -0400)

are available in the Git repository at:

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

for you to fetch changes up to e5b35f706d13c8c0fffcf7b2af9c6df4f4190c5d:

  log: mute messages generated by log drivers (2020-09-22 12:54:13 -0600)


binman enhancements for FIT
sunxi64 conversion to use binman
New 'no-map' property for reserved memory


Alper Nebi Yasak (8):
  binman: Ignore hash*, signature* nodes in sections
  binman: Respect pad-before property of section subentries
  binman: Build FIT image subentries with the section etype
  buildman: Use git worktrees instead of git clones when possible
  binman: Support cross-compiling test files to x86
  binman: Use target-specific tools when cross-compiling
  binman: Allow resolving host-specific tools from env vars
  binman: Document how CROSS_COMPILE, CC, HOSTCC etc. are used in README

Etienne Carriere (2):
  fdtdec: optionally add property no-map to created reserved memory node
  optee: add property no-map to secure reserved memory

Heinrich Schuchardt (2):
  dm: syscon: typo alerady
  log: mute messages generated by log drivers

Patrice Chotard (1):
  test: fdtdec: Add test for new no-map fdtdec_add_reserved_memory()
parameter

Patrick Delaunay (1):
  dm: add cells_count parameter in live DT APIs
of_parse_phandle_with_args

Simon Glass (14):
  binman: Use pkg_resources to find resources
  tools: Drop unnecessary use of __file__
  binman: Allow entry args to be required
  binman: Fix up a few missing comments
  libfdt: Detected out-of-space with fdt_finish()
  binman: Move 'external' support into base class
  binman: Add support for ATF BL31
  binman: Support generating FITs with multiple dtbs
  Makefile: Support missing external blobs always
  sunxi: Convert 64-bit boards to use binman
  sunxi: Drop the FIT-generator script
  binman: Allow selecting default FIT configuration
  binman: Support help messages for missing blobs
  binman: sunxi: Add help message for missing sunxi ATF BL31

Walter Lozano (1):
  core: improve of_match_ptr with OF_PLATDATA

 Kconfig |   3 +-
 Makefile|  23 +---
 arch/arm/dts/sunxi-u-boot.dtsi  |  62 -
 arch/riscv/lib/fdt_fixup.c  |   2 +-
 board/sunxi/mksunxi_fit_atf.sh  |  87 
 common/log.c|  13 +-
 common/log_syslog.c |   8 --
 drivers/core/of_access.c|   7 +-
 drivers/core/ofnode.c   |   3 +-
 drivers/core/syscon-uclass.c|  10 +-
 include/dm/device.h |   2 +-
 include/dm/of_access.h  |   4 +-
 include/fdtdec.h|   5 +-
 lib/fdtdec.c|  10 +-
 lib/optee/optee.c   |   2 +-
 scripts/dtc/pylibfdt/libfdt.i_shipped   |   3 +-
 test/dm/fdtdec.c|   9 +-
 tools/binman/README |  30 +
 tools/binman/README.entries |  73 ++-
 tools/binman/control.py |  80 +++-
 tools/binman/elf.py |   6 +-
 tools/binman/elf_test.py|   4 +-
 tools/binman/entry.py   |  25 +++-
 tools/binman/etype/atf_bl31.py  |  24 
 tools/binman/etype/blob.py  |   8 +-
 tools/binman/etype/blob_ext.py  |  11 --
 tools/binman/etype/blob_named_by_arg.py |  10 +-
 tools/binman/etype/cros_ec_rw.py|   3 +-
 tools/binman/etype/fit.py   | 176
+
 tools/binman/etype/section.py   |  18 +--
 tools/binman/ftest.py   | 247
+--
 tools/binman/missing-blob-help  |  15 +++
 tools/binman/test/165_section_ignore_hash_signature.dts |  40 ++
 tools/binman/test/166_pad_in_sections.dts   |  26 
 tools/binman/test/167_fit_image_subentry_alignment.dts  |  57 ++

Re: Please pull u-boot-dm/next

2020-06-22 Thread Bin Meng
Hi Tom,

On Mon, Jun 22, 2020 at 10:02 PM Tom Rini  wrote:
>
> On Mon, Jun 22, 2020 at 10:01:09PM +0800, Bin Meng wrote:
> > Hi Tom,
> >
> > On Mon, Jun 22, 2020 at 9:58 PM Tom Rini  wrote:
> > >
> > > On Mon, Jun 22, 2020 at 09:43:57PM +0800, Bin Meng wrote:
> > > > Hi Tom,
> > > >
> > > > On Mon, Jun 15, 2020 at 12:00 AM Tom Rini  wrote:
> > > > >
> > > > > On Fri, Jun 12, 2020 at 09:17:28PM -0600, Simon Glass wrote:
> > > > >
> > > > > > Hi Tom,
> > > > > >
> > > > > > This is for -next
> > > > > >
> > > > > > But I based it on master to avoid pulling in other people's 
> > > > > > commits. I hope
> > > > > > that works OK.
> > > > > >
> > > > > >
> > > > > > The following changes since commit 
> > > > > > be79009f3b9bbdbce283e67a865121e576d790ea:
> > > > > >
> > > > > >   Merge tag 'u-boot-imx-20200609' of
> > > > > > https://gitlab.denx.de/u-boot/custodians/u-boot-imx (2020-06-09 
> > > > > > 09:17:24
> > > > > > -0400)
> > > > > >
> > > > > > are available in the Git repository at:
> > > > > >
> > > > > >   git://git.denx.de/u-boot-dm.git tags/dm-pull-12jun20
> > > > > >
> > > > > > for you to fetch changes up to 
> > > > > > cea8f2c995b9d87af6ef42f967402e1c8a3506db:
> > > > > >
> > > > > >   doc: driver-model: fix typo in design.rst (2020-06-11 20:52:11 
> > > > > > -0600)
> > > > > >
> > > > >
> > > > > Applied to u-boot/master, thanks!
> > > >
> > > > I did not find my 2 patches are in u-boot/master. Anything wrong?
> > > >
> > > > Bin Meng (2):
> > > >   fdtdec: Fix the types of addr and size in 
> > > > fdtdec_add_reserved_memory()
> > > >   fdtdec: Honor #address-cells and #size-cells in
> > > > fdtdec_add_reserved_memory()
> > >
> > > Yes, sorry, I hit the wrong keys.  This is in -next and not master as
> > > Simon noted this is a PR for -next.
> >
> > Okay, good to know. I was thinking these 2 are bug fixes, and should
> > be against this release, not next :)
>
> Are they regression fixes too?  Or just bug fixes?

They are bug fixes I think.

Regards,
Bin


Re: Please pull u-boot-dm/next

2020-06-22 Thread Tom Rini
On Mon, Jun 22, 2020 at 10:01:09PM +0800, Bin Meng wrote:
> Hi Tom,
> 
> On Mon, Jun 22, 2020 at 9:58 PM Tom Rini  wrote:
> >
> > On Mon, Jun 22, 2020 at 09:43:57PM +0800, Bin Meng wrote:
> > > Hi Tom,
> > >
> > > On Mon, Jun 15, 2020 at 12:00 AM Tom Rini  wrote:
> > > >
> > > > On Fri, Jun 12, 2020 at 09:17:28PM -0600, Simon Glass wrote:
> > > >
> > > > > Hi Tom,
> > > > >
> > > > > This is for -next
> > > > >
> > > > > But I based it on master to avoid pulling in other people's commits. 
> > > > > I hope
> > > > > that works OK.
> > > > >
> > > > >
> > > > > The following changes since commit 
> > > > > be79009f3b9bbdbce283e67a865121e576d790ea:
> > > > >
> > > > >   Merge tag 'u-boot-imx-20200609' of
> > > > > https://gitlab.denx.de/u-boot/custodians/u-boot-imx (2020-06-09 
> > > > > 09:17:24
> > > > > -0400)
> > > > >
> > > > > are available in the Git repository at:
> > > > >
> > > > >   git://git.denx.de/u-boot-dm.git tags/dm-pull-12jun20
> > > > >
> > > > > for you to fetch changes up to 
> > > > > cea8f2c995b9d87af6ef42f967402e1c8a3506db:
> > > > >
> > > > >   doc: driver-model: fix typo in design.rst (2020-06-11 20:52:11 
> > > > > -0600)
> > > > >
> > > >
> > > > Applied to u-boot/master, thanks!
> > >
> > > I did not find my 2 patches are in u-boot/master. Anything wrong?
> > >
> > > Bin Meng (2):
> > >   fdtdec: Fix the types of addr and size in 
> > > fdtdec_add_reserved_memory()
> > >   fdtdec: Honor #address-cells and #size-cells in
> > > fdtdec_add_reserved_memory()
> >
> > Yes, sorry, I hit the wrong keys.  This is in -next and not master as
> > Simon noted this is a PR for -next.
> 
> Okay, good to know. I was thinking these 2 are bug fixes, and should
> be against this release, not next :)

Are they regression fixes too?  Or just bug fixes?

-- 
Tom


signature.asc
Description: PGP signature


Re: Please pull u-boot-dm/next

2020-06-22 Thread Bin Meng
Hi Tom,

On Mon, Jun 22, 2020 at 9:58 PM Tom Rini  wrote:
>
> On Mon, Jun 22, 2020 at 09:43:57PM +0800, Bin Meng wrote:
> > Hi Tom,
> >
> > On Mon, Jun 15, 2020 at 12:00 AM Tom Rini  wrote:
> > >
> > > On Fri, Jun 12, 2020 at 09:17:28PM -0600, Simon Glass wrote:
> > >
> > > > Hi Tom,
> > > >
> > > > This is for -next
> > > >
> > > > But I based it on master to avoid pulling in other people's commits. I 
> > > > hope
> > > > that works OK.
> > > >
> > > >
> > > > The following changes since commit 
> > > > be79009f3b9bbdbce283e67a865121e576d790ea:
> > > >
> > > >   Merge tag 'u-boot-imx-20200609' of
> > > > https://gitlab.denx.de/u-boot/custodians/u-boot-imx (2020-06-09 09:17:24
> > > > -0400)
> > > >
> > > > are available in the Git repository at:
> > > >
> > > >   git://git.denx.de/u-boot-dm.git tags/dm-pull-12jun20
> > > >
> > > > for you to fetch changes up to cea8f2c995b9d87af6ef42f967402e1c8a3506db:
> > > >
> > > >   doc: driver-model: fix typo in design.rst (2020-06-11 20:52:11 -0600)
> > > >
> > >
> > > Applied to u-boot/master, thanks!
> >
> > I did not find my 2 patches are in u-boot/master. Anything wrong?
> >
> > Bin Meng (2):
> >   fdtdec: Fix the types of addr and size in fdtdec_add_reserved_memory()
> >   fdtdec: Honor #address-cells and #size-cells in
> > fdtdec_add_reserved_memory()
>
> Yes, sorry, I hit the wrong keys.  This is in -next and not master as
> Simon noted this is a PR for -next.

Okay, good to know. I was thinking these 2 are bug fixes, and should
be against this release, not next :)

Regards,
Bin


Re: Please pull u-boot-dm/next

2020-06-22 Thread Tom Rini
On Mon, Jun 22, 2020 at 09:43:57PM +0800, Bin Meng wrote:
> Hi Tom,
> 
> On Mon, Jun 15, 2020 at 12:00 AM Tom Rini  wrote:
> >
> > On Fri, Jun 12, 2020 at 09:17:28PM -0600, Simon Glass wrote:
> >
> > > Hi Tom,
> > >
> > > This is for -next
> > >
> > > But I based it on master to avoid pulling in other people's commits. I 
> > > hope
> > > that works OK.
> > >
> > >
> > > The following changes since commit 
> > > be79009f3b9bbdbce283e67a865121e576d790ea:
> > >
> > >   Merge tag 'u-boot-imx-20200609' of
> > > https://gitlab.denx.de/u-boot/custodians/u-boot-imx (2020-06-09 09:17:24
> > > -0400)
> > >
> > > are available in the Git repository at:
> > >
> > >   git://git.denx.de/u-boot-dm.git tags/dm-pull-12jun20
> > >
> > > for you to fetch changes up to cea8f2c995b9d87af6ef42f967402e1c8a3506db:
> > >
> > >   doc: driver-model: fix typo in design.rst (2020-06-11 20:52:11 -0600)
> > >
> >
> > Applied to u-boot/master, thanks!
> 
> I did not find my 2 patches are in u-boot/master. Anything wrong?
> 
> Bin Meng (2):
>   fdtdec: Fix the types of addr and size in fdtdec_add_reserved_memory()
>   fdtdec: Honor #address-cells and #size-cells in
> fdtdec_add_reserved_memory()

Yes, sorry, I hit the wrong keys.  This is in -next and not master as
Simon noted this is a PR for -next.

-- 
Tom


signature.asc
Description: PGP signature


Re: Please pull u-boot-dm/next

2020-06-22 Thread Bin Meng
Hi Tom,

On Mon, Jun 15, 2020 at 12:00 AM Tom Rini  wrote:
>
> On Fri, Jun 12, 2020 at 09:17:28PM -0600, Simon Glass wrote:
>
> > Hi Tom,
> >
> > This is for -next
> >
> > But I based it on master to avoid pulling in other people's commits. I hope
> > that works OK.
> >
> >
> > The following changes since commit be79009f3b9bbdbce283e67a865121e576d790ea:
> >
> >   Merge tag 'u-boot-imx-20200609' of
> > https://gitlab.denx.de/u-boot/custodians/u-boot-imx (2020-06-09 09:17:24
> > -0400)
> >
> > are available in the Git repository at:
> >
> >   git://git.denx.de/u-boot-dm.git tags/dm-pull-12jun20
> >
> > for you to fetch changes up to cea8f2c995b9d87af6ef42f967402e1c8a3506db:
> >
> >   doc: driver-model: fix typo in design.rst (2020-06-11 20:52:11 -0600)
> >
>
> Applied to u-boot/master, thanks!

I did not find my 2 patches are in u-boot/master. Anything wrong?

Bin Meng (2):
  fdtdec: Fix the types of addr and size in fdtdec_add_reserved_memory()
  fdtdec: Honor #address-cells and #size-cells in
fdtdec_add_reserved_memory()

Regards,
Bin


Re: Please pull u-boot-dm/next

2020-06-14 Thread Tom Rini
On Fri, Jun 12, 2020 at 09:17:28PM -0600, Simon Glass wrote:

> Hi Tom,
> 
> This is for -next
> 
> But I based it on master to avoid pulling in other people's commits. I hope
> that works OK.
> 
> 
> The following changes since commit be79009f3b9bbdbce283e67a865121e576d790ea:
> 
>   Merge tag 'u-boot-imx-20200609' of
> https://gitlab.denx.de/u-boot/custodians/u-boot-imx (2020-06-09 09:17:24
> -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-dm.git tags/dm-pull-12jun20
> 
> for you to fetch changes up to cea8f2c995b9d87af6ef42f967402e1c8a3506db:
> 
>   doc: driver-model: fix typo in design.rst (2020-06-11 20:52:11 -0600)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm/next

2020-06-12 Thread Simon Glass
Hi Tom,

This is for -next

But I based it on master to avoid pulling in other people's commits. I hope
that works OK.


The following changes since commit be79009f3b9bbdbce283e67a865121e576d790ea:

  Merge tag 'u-boot-imx-20200609' of
https://gitlab.denx.de/u-boot/custodians/u-boot-imx (2020-06-09 09:17:24
-0400)

are available in the Git repository at:

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

for you to fetch changes up to cea8f2c995b9d87af6ef42f967402e1c8a3506db:

  doc: driver-model: fix typo in design.rst (2020-06-11 20:52:11 -0600)


patman improvements to allow it to work with Zephyr
change to how sequence numbers are assigned to devices
minor fixes and improvements


Bin Meng (2):
  fdtdec: Fix the types of addr and size in fdtdec_add_reserved_memory()
  fdtdec: Honor #address-cells and #size-cells in
fdtdec_add_reserved_memory()

Dario Binacchi (1):
  doc: driver-model: fix typo in design.rst

Heinrich Schuchardt (4):
  doc: driver-model: there is no UCLASS_SATA
  doc: move README.log to HTML documentation
  log: clean up Kconfig
  log: check argument of 'log level' command

Marcus Comstedt (1):
  libfdt: Remove superfluous NUL character from overlay symbols

Michael Walle (3):
  usb: provide a device tree node to USB devices
  dm: core: fix dev_read_alias_highest_id() without libfdt
  dm: uclass: don't assign aliased seq numbers

Ovidiu Panait (1):
  buildman: Remove _of_#_ from results directory paths

Patrick Delaunay (1):
  doc: log: correct option name CONFIG_LOG_MAX_LEVEL

Pratyush Yadav (1):
  regmap: Check for out-of-range offsets before mapping them

Simon Glass (6):
  patman: Fix 'warning' typo
  patman: Support emacs mode with checkpatch
  patman: Don't try to process checkpatch lines twice
  patman: Handle checkpatch output with notes and code
  patman: Support warnings in the patch subject
  patman: Complain if a checkpatch line is not understood

 MAINTAINERS  |   1 +
 arch/sandbox/dts/test.dts|  13 ++-
 cmd/log.c|  14 ++-
 common/Kconfig   | 159 ---
 doc/README.log   |   5 +-
 doc/develop/index.rst|   1 +
 doc/develop/logging.rst  | 290

 doc/driver-model/design.rst  |   4 +-
 drivers/core/regmap.c|   8 +-
 drivers/core/uclass.c|  21 ++--
 drivers/usb/host/usb-uclass.c|  41 +++-
 include/configs/sandbox.h|   6 +-
 include/dm/read.h|   2 +
 lib/fdtdec.c |   6 +-
 scripts/dtc/libfdt/fdt_overlay.c |   5 +-
 test/dm/eth.c|  14 +--
 test/dm/test-fdt.c   |  22 -
 test/dm/usb.c|  22 +
 tools/buildman/builder.py|  10 +-
 tools/buildman/test.py   |   8 +-
 tools/patman/checkpatch.py   |  43 +++--
 21 files changed, 559 insertions(+), 136 deletions(-)
 create mode 100644 doc/develop/logging.rst

Regards,
Simon


Re: Please pull u-boot-dm/next to next branch

2019-12-12 Thread Tom Rini
On Wed, Dec 11, 2019 at 12:16:35PM -0700, Simon Glass wrote:

> Hi Tom,
> 
> This is my first attempt at sending a -next pull request.
> 
> https://gitlab.denx.de/u-boot/custodians/u-boot-dm/pipelines/1608
> 
> 
> 
> The following changes since commit 520f9559020894950d4e962aba52220c8a1d6bfe:
> 
>   Merge branch 'master' of
> https://gitlab.denx.de/u-boot/custodians/u-boot-riscv (2019-12-09
> 21:53:23 -0500)
> 
> are available in the Git repository at:
> 
>   https://gitlab.denx.de/u-boot/custodians/u-boot-dm.git tags/dm-next-13dec19
> 
> for you to fetch changes up to b4f98b3b16ec513f7fa6b97ec49792a5e99ec165:
> 
>   cros_ec: use uint instead of uint8_t for cmd param (2019-12-10 21:11:31 
> -0700)
> 

Applied to u-boot/next, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Please pull u-boot-dm/next to next branch

2019-12-11 Thread Simon Glass
Hi Tom,

This is my first attempt at sending a -next pull request.

https://gitlab.denx.de/u-boot/custodians/u-boot-dm/pipelines/1608



The following changes since commit 520f9559020894950d4e962aba52220c8a1d6bfe:

  Merge branch 'master' of
https://gitlab.denx.de/u-boot/custodians/u-boot-riscv (2019-12-09
21:53:23 -0500)

are available in the Git repository at:

  https://gitlab.denx.de/u-boot/custodians/u-boot-dm.git tags/dm-next-13dec19

for you to fetch changes up to b4f98b3b16ec513f7fa6b97ec49792a5e99ec165:

  cros_ec: use uint instead of uint8_t for cmd param (2019-12-10 21:11:31 -0700)


buildman improvements including toolchain environment feature
sandbox unicode support in serial


Cristian Ciocaltea (1):
  buildman: Improve [make-flags] section parser to allow quoted strings

Heinrich Schuchardt (2):
  sandbox: add missing compatible property in device tree
  serial: sandbox: support Unicode

Michael Auchter (1):
  cros_ec: use uint instead of uint8_t for cmd param

Simon Glass (5):
  test.py: Make search for autoconf.mk more permissive
  genboardcfg: Support a quiet mode
  buildman: Ask genboardscfg to be quiet
  buildman: Figure out boards before commits
  buildman: Add options to get the arch and toolchain info

Tom Rini (1):
  buildman: Ignore blank lines during size checks

 arch/sandbox/dts/sandbox.dts   |  1 +
 arch/sandbox/dts/sandbox64.dts |  1 +
 drivers/misc/cros_ec.c |  2 +-
 drivers/serial/sandbox.c   |  2 +-
 test/py/conftest.py| 39 ++---
 tools/buildman/README  |  3 +++
 tools/buildman/builder.py  |  3 ++-
 tools/buildman/cmdline.py  |  4 
 tools/buildman/control.py  | 96
+++---
 tools/buildman/test.py | 18 
 tools/buildman/toolchain.py| 29 -
 tools/genboardscfg.py  | 10 ++---
 12 files changed, 158 insertions(+), 50 deletions(-)

Regards,
SImon