[U-Boot] [PATCH 00/24] binman: dtoc: Convert to Python 3

Simon Glass sjg at chromium.org
Mon Jun 24 17:17:08 UTC 2019


Hi,

On Fri, 17 May 2019 at 22:01, Simon Glass <sjg at chromium.org> wrote:
>
> This series updates both binman and dtoc to support Python 3 as well as
> Python 2. This mostly involves moving the code to use the 'bytes' type
> on Python 3 (with associated unicode conversions) but there are various
> other tweaks required as well.
>
>
> Simon Glass (24):
>   dtoc: Adjust code for Python 3
>   dtoc: Sort platdata output from dtoc
>   dtoc: Use GetBytes() to obtain repeating bytes
>   dtoc: Move BytesToValue() out of the Prop class
>   dtoc: Updates BytesToValue() for Python 3
>   dtoc: Use byte type instead of str in fdt
>   dtoc: Convert the Fdt.Prop class to Python 3
>   dtoc: Convert the Fdt.Node class to Python 3
>   dtoc: Use binary mode for reading files
>   dtoc: Test full 64-bit properties with FdtCellsToCpu()
>   dtoc: Add a unit test for BytesToValue()
>   dtoc: Update fdt_util for Python 3
>   dtoc: Update dtb_platdata to support Python 3
>   patman: Allow reading files in text mode
>   binman: Avoid changing a dict during iteration
>   binman: Convert to use bytes type
>   binman: Update entry_test to support Python 3
>   patman: Update fmap code for Python 3
>   binman: Update 'text' entry for Python 3
>   binman: Fix up a format string in AssertInList()
>   binman: Read map files as text
>   binman: Document parallel tests
>   binman: Update the README.entries file
>   patman: Update cover-coverage tests for Python 3
>
>  tools/binman/README                         |  14 ++
>  tools/binman/README.entries                 |  15 ++
>  tools/binman/control.py                     |   7 +-
>  tools/binman/elf_test.py                    |   5 +-
>  tools/binman/entry_test.py                  |   6 +-
>  tools/binman/etype/_testing.py              |   2 +-
>  tools/binman/etype/fmap.py                  |   3 +-
>  tools/binman/etype/text.py                  |   9 +-
>  tools/binman/etype/u_boot_dtb_with_ucode.py |   4 +-
>  tools/binman/etype/u_boot_ucode.py          |   4 +-
>  tools/binman/etype/vblock.py                |   2 +-
>  tools/binman/fmap_util.py                   |  12 +-
>  tools/binman/ftest.py                       | 136 +++++++++---------
>  tools/dtoc/dtb_platdata.py                  |  10 +-
>  tools/dtoc/dtoc.py                          |   8 +-
>  tools/dtoc/fdt.py                           | 146 +++++++++++---------
>  tools/dtoc/fdt_util.py                      |  15 +-
>  tools/dtoc/test_dtoc.py                     |  16 ++-
>  tools/dtoc/test_fdt.py                      |  51 ++++---
>  tools/patman/test_util.py                   |  15 +-
>  tools/patman/tools.py                       |  56 +++++++-
>  21 files changed, 335 insertions(+), 201 deletions(-)
>
> --
> 2.21.0.1020.gf2820cf01a-goog
>

Applied series to u-boot-dm/next

Due to a patchwork bug, some patches show up with missing spaces in
the UI, e.g. here http://patchwork.ozlabs.org/bundle/sjg/dm/

So my script which emails on each patch doesn't work, sorry.


- Simon


More information about the U-Boot mailing list