[U-Boot] [PATCH 19/31] binman: Support updating all device tree files

Simon Glass sjg at chromium.org
Tue Oct 2 11:20:05 UTC 2018


On 14 September 2018 at 03:57, Simon Glass <sjg at chromium.org> wrote:
> Binman currently supports updating the main device tree with things like
> the position of each entry. Extend this support to SPL and TPL as well,
> since they may need (a subset of) this information.
>
> Also adjust DTB output files to have a .out extension since this seems
> clearer than having a .dtb extension with 'out' in the name somwhere.
>
> Also add a few missing comments and update the DT setup code to use
> ReadFile and WriteFile().
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  tools/binman/README.entries                 |  12 +++
>  tools/binman/control.py                     |   6 +-
>  tools/binman/entry.py                       |  11 ++
>  tools/binman/etype/blob_dtb.py              |  33 ++++++
>  tools/binman/etype/section.py               |   3 +
>  tools/binman/etype/u_boot_dtb.py            |   9 +-
>  tools/binman/etype/u_boot_dtb_with_ucode.py |   8 +-
>  tools/binman/etype/u_boot_spl_dtb.py        |   6 +-
>  tools/binman/etype/u_boot_tpl_dtb.py        |   6 +-
>  tools/binman/ftest.py                       | 109 +++++++++++++++++++-
>  tools/binman/image.py                       |   5 +
>  tools/binman/state.py                       |  30 ++++++
>  tools/binman/test/82_fdt_update_all.dts     |  18 ++++
>  13 files changed, 235 insertions(+), 21 deletions(-)
>  create mode 100644 tools/binman/etype/blob_dtb.py
>  create mode 100644 tools/binman/test/82_fdt_update_all.dts

Applied to u-boot-dm, and now in mainline.


More information about the U-Boot mailing list