Skip to content

sunxi: produce working binaries by default

Petr Štetiar u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Kconfig: add config options for automatic buildsKconfig+12 -00 replies
2/3tools: add Dust based .its file templatinginclude/u-boot-its.mk tools/ashes/ashes.py+2760 -00 replies
3/3sunxi: replace .its file generator with Dust templateKconfig Makefile board/sunxi/mksunxi_fit_atf.sh +2 more+76 -880 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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 <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Michal Simek <[email protected]>

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