[PATCH 0/3] sunxi: produce working binaries by default

Petr Štetiar ynezz at true.cz
Mon Mar 23 15:03:44 CET 2020


Hi,

currently its not possible to distinguish between normal builds and
builds performed by the build bots/CI, thus leading to a workarounds
like for example in commit 4c78028737c3 ("mksunxi_fit_atf.sh: Allow for
this to complete when bl31.bin is missing"), where producing unusable
binaries is preferred in favor of a green automatic builds.

So lets try to fix this properly, add BUILDBOT config options which
could be set on the build bots/CI and the codebase can use this new
config option to workaround the issues in more clear manner.

While at it, replace .its generator script with more generic Dust
template based approach, which should allow for more code sharing
between boards and thus reduce code duplication.

Cheers,

Petr

Ref: https://lists.denx.de/pipermail/u-boot/2020-March/403105.html
Ref: https://lists.denx.de/pipermail/u-boot/2020-March/403650.html
Ref: https://lists.denx.de/pipermail/u-boot/2019-December/393556.html
Cc: Harald Seiler <hws at denx.de>
Cc: Tom Rini <trini at konsulko.com>
Cc: Michal Simek <michal.simek at xilinx.com>

Petr Štetiar (3):
  Kconfig: add config options for automatic builds
  tools: add Dust based .its file templating
  sunxi: replace .its file generator with Dust template

 Kconfig                        |   17 +-
 Makefile                       |    8 +
 board/sunxi/mksunxi_fit_atf.sh |   87 -
 board/sunxi/u-boot-its.mk      |   19 +
 board/sunxi/u-boot.its.dust    |   45 +
 include/u-boot-its.mk          |   37 +
 tools/ashes/ashes.py           | 2723 ++++++++++++++++++++++++++++++++
 7 files changed, 2848 insertions(+), 88 deletions(-)
 delete mode 100755 board/sunxi/mksunxi_fit_atf.sh
 create mode 100644 board/sunxi/u-boot-its.mk
 create mode 100644 board/sunxi/u-boot.its.dust
 create mode 100644 include/u-boot-its.mk
 create mode 100755 tools/ashes/ashes.py



More information about the U-Boot mailing list