[U-Boot] [PATCH 00/10] scripts: Convert to Python 3

Simon Glass sjg at chromium.org
Thu Oct 24 01:22:06 UTC 2019


This converts some of the scripts that I've been involved in to use
Python 3.

There is still one problem in that fdt_property_stub() doesn't work
correctly in pylibfdt:

ftest.TestFunctional.testExtractAllEntries Traceback (most recent call last):
TypeError: in method 'fdt_property_stub', argument 3 of type 'char const *'


Simon Glass (10):
  patman: Adjust 'command' to return strings instead of bytes
  patman: Move to use Python 3
  buildman: Convert to Python 3
  test_fdt: Move to use Python 3
  test_dtoc: Move to use Python 3
  microcode_tool: Convert to Python 3
  move_config: Convert to Python 3
  rkmux: Convert to Python 3
  RFC: binman: Move to use Python 3
  pylibfdt: Convert to Python 3

 scripts/dtc/pylibfdt/Makefile         |  2 +-
 scripts/dtc/pylibfdt/libfdt.i_shipped |  2 +-
 scripts/dtc/pylibfdt/setup.py         |  2 +-
 tools/binman/binman.py                |  2 +-
 tools/binman/cbfs_util_test.py        |  2 +-
 tools/binman/entry.py                 | 16 +----
 tools/binman/entry_test.py            | 15 -----
 tools/binman/etype/intel_fit.py       |  2 +-
 tools/binman/ftest.py                 |  2 +-
 tools/buildman/board.py               |  7 +-
 tools/buildman/bsettings.py           | 20 +++---
 tools/buildman/builder.py             | 45 +++++++------
 tools/buildman/builderthread.py       | 24 ++++---
 tools/buildman/buildman.py            | 10 +--
 tools/buildman/control.py             | 40 ++++++------
 tools/buildman/func_test.py           | 16 ++---
 tools/buildman/test.py                | 22 +++----
 tools/buildman/toolchain.py           | 93 ++++++++++++++-------------
 tools/dtoc/dtoc.py                    |  2 +-
 tools/dtoc/test_dtoc.py               |  1 +
 tools/dtoc/test_fdt.py                |  2 +-
 tools/microcode-tool.py               | 28 ++++----
 tools/moveconfig.py                   | 82 +++++++++++------------
 tools/patman/command.py               | 31 ++++++---
 tools/patman/patman.py                |  2 +-
 tools/patman/tools.py                 | 29 ++++++---
 tools/rkmux.py                        | 16 ++---
 27 files changed, 259 insertions(+), 256 deletions(-)
 mode change 100644 => 100755 tools/dtoc/test_dtoc.py

-- 
2.24.0.rc0.303.g954a862665-goog



More information about the U-Boot mailing list