All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 00/17] scripts: Convert to Python 3
@ 2019-10-31 13:42 Simon Glass
  2019-10-31 13:42 ` [U-Boot] [PATCH v2 01/17] patman: Adjust 'command' to return strings instead of bytes Simon Glass
                   ` (31 more replies)
  0 siblings, 32 replies; 40+ messages in thread
From: Simon Glass @ 2019-10-31 13:42 UTC (permalink / raw)
  To: u-boot

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

In this version the problem with fdt_property_stub() in pylibfdt is fixed.

Changes in v2:
- Add new patch to explicitly use unicode for file I/O in patman
- Use integer division for multiprocessing.cpu_count()
- Use integer division in SetupBuild() and GetActionSummary()
- Use HTTPMessage.getheader() instead of HTTPMessage.get()
- Use integer division in toolchain.Download()
- Use explicit utf-8 encoding in Boards.ReadBoards()
- Add a few more patches to correct remaining problems

Simon Glass (17):
  patman: Adjust 'command' to return strings instead of bytes
  patman: Use unicode for file I/O
  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
  pylibfdt: Convert to Python 3
  pylibfdt: Sync up with upstream
  pylibfdt: Correct the type for fdt_property_stub()
  binman: Remember the pre-reset entry size
  binman: Convert a few tests to Python 3
  dtoc: Convert fdt.py to Python 3
  binman: Move to use Python 3
  RRC: gitlab: Use Python 3 in virtualenv

 .gitlab-ci.yml                        |  4 +-
 scripts/dtc/pylibfdt/Makefile         |  2 +-
 scripts/dtc/pylibfdt/libfdt.i_shipped | 51 ++++++++++----
 scripts/dtc/pylibfdt/setup.py         |  2 +-
 tools/binman/binman.py                |  2 +-
 tools/binman/cbfs_util_test.py        |  2 +-
 tools/binman/entry.py                 | 25 +++----
 tools/binman/entry_test.py            | 15 ----
 tools/binman/etype/intel_fit.py       |  2 +-
 tools/binman/ftest.py                 | 16 ++---
 tools/buildman/board.py               |  9 +--
 tools/buildman/bsettings.py           | 20 +++---
 tools/buildman/builder.py             | 47 +++++++------
 tools/buildman/builderthread.py       | 24 +++----
 tools/buildman/buildman.py            | 10 +--
 tools/buildman/control.py             | 44 ++++++------
 tools/buildman/func_test.py           | 16 ++---
 tools/buildman/test.py                | 22 +++---
 tools/buildman/toolchain.py           | 99 ++++++++++++++-------------
 tools/dtoc/dtoc.py                    |  2 +-
 tools/dtoc/fdt.py                     | 17 ++---
 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/func_test.py             |  8 +--
 tools/patman/patchstream.py           |  4 +-
 tools/patman/patman.py                |  2 +-
 tools/patman/series.py                |  2 +-
 tools/patman/settings.py              |  4 +-
 tools/patman/test.py                  |  4 +-
 tools/patman/tools.py                 | 29 +++++---
 tools/rkmux.py                        | 16 ++---
 34 files changed, 333 insertions(+), 311 deletions(-)
 mode change 100644 => 100755 tools/dtoc/test_dtoc.py

-- 
2.24.0.rc0.303.g954a862665-goog

^ permalink raw reply	[flat|nested] 40+ messages in thread

end of thread, other threads:[~2019-11-05 12:06 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-31 13:42 [U-Boot] [PATCH v2 00/17] scripts: Convert to Python 3 Simon Glass
2019-10-31 13:42 ` [U-Boot] [PATCH v2 01/17] patman: Adjust 'command' to return strings instead of bytes Simon Glass
2019-10-31 13:42 ` [U-Boot] [PATCH v2 02/17] patman: Use unicode for file I/O Simon Glass
2019-10-31 13:42 ` [U-Boot] [PATCH v2 03/17] patman: Move to use Python 3 Simon Glass
2019-10-31 13:42 ` [U-Boot] [PATCH v2 04/17] buildman: Convert to " Simon Glass
2019-10-31 13:42 ` [U-Boot] [PATCH v2 05/17] test_fdt: Move to use " Simon Glass
2019-10-31 13:42 ` [U-Boot] [PATCH v2 06/17] test_dtoc: " Simon Glass
2019-10-31 13:42 ` [U-Boot] [PATCH v2 07/17] microcode_tool: Convert to " Simon Glass
2019-10-31 13:42 ` [U-Boot] [PATCH v2 08/17] move_config: " Simon Glass
2019-10-31 13:42 ` [U-Boot] [PATCH v2 09/17] rkmux: " Simon Glass
2019-10-31 13:42 ` [U-Boot] [PATCH v2 10/17] pylibfdt: " Simon Glass
2019-10-31 13:43 ` [U-Boot] [PATCH v2 11/17] pylibfdt: Sync up with upstream Simon Glass
2019-10-31 13:43 ` [U-Boot] [PATCH v2 12/17] pylibfdt: Correct the type for fdt_property_stub() Simon Glass
2019-10-31 13:43 ` [U-Boot] [PATCH v2 13/17] binman: Remember the pre-reset entry size Simon Glass
2019-10-31 13:43 ` [U-Boot] [PATCH v2 14/17] binman: Convert a few tests to Python 3 Simon Glass
2019-10-31 13:43 ` [U-Boot] [PATCH v2 15/17] dtoc: Convert fdt.py " Simon Glass
2019-10-31 13:43 ` [U-Boot] [PATCH v2 16/17] binman: Move to use " Simon Glass
2019-10-31 13:55   ` Tom Rini
2019-10-31 15:19     ` Simon Glass
2019-10-31 15:50       ` Tom Rini
2019-10-31 16:12         ` Simon Glass
2019-11-04 15:25           ` Tom Rini
2019-11-05 12:06           ` sjg at google.com
2019-10-31 13:43 ` [U-Boot] [PATCH v2 17/17] RRC: gitlab: Use Python 3 in virtualenv Simon Glass
2019-10-31 13:48   ` Tom Rini
2019-11-05 12:06 ` [U-Boot] [PATCH v2 15/17] dtoc: Convert fdt.py to Python 3 sjg at google.com
2019-11-05 12:06 ` [U-Boot] [PATCH v2 14/17] binman: Convert a few tests " sjg at google.com
2019-11-05 12:06 ` [U-Boot] [PATCH v2 13/17] binman: Remember the pre-reset entry size sjg at google.com
2019-11-05 12:06 ` [U-Boot] [PATCH v2 12/17] pylibfdt: Correct the type for fdt_property_stub() sjg at google.com
2019-11-05 12:06 ` [U-Boot] [PATCH v2 11/17] pylibfdt: Sync up with upstream sjg at google.com
2019-11-05 12:06 ` [U-Boot] [PATCH v2 09/17] rkmux: Convert to Python 3 sjg at google.com
2019-11-05 12:06 ` [U-Boot] [PATCH v2 10/17] pylibfdt: " sjg at google.com
2019-11-05 12:06 ` [U-Boot] [PATCH v2 08/17] move_config: " sjg at google.com
2019-11-05 12:06 ` [U-Boot] [PATCH v2 06/17] test_dtoc: Move to use " sjg at google.com
2019-11-05 12:06 ` [U-Boot] [PATCH v2 07/17] microcode_tool: Convert to " sjg at google.com
2019-11-05 12:06 ` [U-Boot] [PATCH v2 05/17] test_fdt: Move to use " sjg at google.com
2019-11-05 12:06 ` [U-Boot] [PATCH v2 04/17] buildman: Convert to " sjg at google.com
2019-11-05 12:06 ` [U-Boot] [PATCH v2 03/17] patman: Move to use " sjg at google.com
2019-11-05 12:06 ` [U-Boot] [PATCH v2 02/17] patman: Use unicode for file I/O sjg at google.com
2019-11-05 12:06 ` [U-Boot] [PATCH v2 01/17] patman: Adjust 'command' to return strings instead of bytes sjg at google.com

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.