10 Commits

Author SHA1 Message Date
Robert Marko
ffaaae4320 uboot-tools: remove uneeded syncconfig
During envtools conversion to the generic uboot-tools package, a syncconfig
call was added to the configure step which was previously not there.

We received multiple spourious reports that now envtools were failing to
build [1], but it was not reproducible.

However, it seems that this could easily be reproduced on MacOS 15 and
somehow that syncconfig call is breaking build by Makefile.autoconf not
being executed and thus no "include/config.h" is generated.

So, since this call was not previously there and U-Boot will actually do
syncconfig on its own when needed lets drop it.

[1] 293d5f1366 (commitcomment-154347516)

Link: https://github.com/openwrt/openwrt/pull/18515
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-04-18 13:22:12 +02:00
Robert Marko
e6c6351976 uboot-tools: Honor the global verbose flag
Look for OPENWRT_VERBOSE and pass it down to the U-Boot so we actually
get verbose build info when needed for debugging.

Link: https://github.com/openwrt/openwrt/pull/18515
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-04-18 13:22:12 +02:00
Daniel Golle
390e00355e uboot-tools: add fit-check-sign package
Add fit-check-sign package which allows validating a uImage.FIT.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-03-30 16:47:37 +01:00
Daniel Golle
51b0abae52 uboot-tools: dumpimage: get rid of libopenssl dependency
Get rid of of dependency on libopenssl and refresh patches.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-03-30 16:47:37 +01:00
Robert Marko
293d5f1366 uboot-tools: dont build tools unconditionally
Some checks are pending
Build all core packages / Build all core packages for selected target (push) Waiting to run
Currently, both envtools and the rest of U-Boot tools are being built
regardless if the dumpimage package has been selected.

This will fail if only envtools are selected since the rest of tools
require OpenSSL while envtools do not require them.

So, only build tools if dumpimage is selected.

Fixes: 46e376c93514 ("uboot-tools: migrate uboot-envtools to uboot-tools")
Fixes: #18327
Tested-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://github.com/openwrt/openwrt/pull/18329
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-03-24 18:43:44 +01:00
Robert Marko
755108ef43 uboot-tools: remove uboot-tools definition
This is completely unused and not even registered, so drop it.

Link: https://github.com/openwrt/openwrt/pull/18329
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-03-24 18:43:44 +01:00
Felix Fietkau
f482f6d98e uboot-tools: disable python build to fix build error
Some checks failed
Build Kernel / Build all affected Kernels (push) Waiting to run
Build all core packages / Build all core packages for selected target (push) Waiting to run
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2025-03-24 12:05:16 +01:00
Scott Mercer
635be2a329 uboot-tools: create dumpimage package
Ddd dumpimage package to uboot-tools.
Add patches to fix compile for uboot versions >= 2024.01

Signed-off-by: Scott Mercer <TheRootEd24@gmail.com>
2025-03-22 13:19:14 +00:00
Scott Mercer
46e376c935 uboot-tools: migrate uboot-envtools to uboot-tools
Generalize and merge uboot-envtools package into uboot-tools package.
Remove existing uboot-envtools package.

Signed-off-by: Scott Mercer <TheRootEd24@gmail.com>
2025-03-22 13:18:09 +00:00
Scott Mercer
96cb1c8840 uboot-tools: add stub package skeleton
Add uboot-tools stub package skeleton which will replace uboot-envtools
and also provide target-builds for other U-Boot tools.

Signed-off-by: Scott Mercer <TheRootEd24@gmail.com>
2025-03-22 13:17:26 +00:00