[openwrt/openwrt] tools/mkimage: update to version 2026.01

LEDE Commits lede-commits at lists.infradead.org
Mon Jan 26 16:30:41 PST 2026


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/1e678eb223c01bdc4bef70592298206cc22d2a70

commit 1e678eb223c01bdc4bef70592298206cc22d2a70
Author: Stefan Kalscheuer <stefan at stklcode.de>
AuthorDate: Sat Jan 24 09:47:56 2026 +0100

    tools/mkimage: update to version 2026.01
    
    Update package to the latest stable version.
    
    Patches manually refreshed:
    * 030-allow-to-use-different-magic.patch
    
    Signed-off-by: Stefan Kalscheuer <stefan at stklcode.de>
    Link: https://github.com/openwrt/openwrt/pull/21674
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 tools/mkimage/Makefile                                       | 4 ++--
 tools/mkimage/patches/030-allow-to-use-different-magic.patch | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/tools/mkimage/Makefile b/tools/mkimage/Makefile
index 807d754a80..fe990abe34 100644
--- a/tools/mkimage/Makefile
+++ b/tools/mkimage/Makefile
@@ -7,14 +7,14 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=mkimage
-PKG_VERSION:=2025.10
+PKG_VERSION:=2026.01
 
 PKG_SOURCE:=u-boot-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:= \
 	https://mirror.cyberbits.eu/u-boot \
 	https://ftp.denx.de/pub/u-boot \
 	ftp://ftp.denx.de/pub/u-boot
-PKG_HASH:=b4f032848e56cc8f213ad59f9132c084dbbb632bc29176d024e58220e0efdf4a
+PKG_HASH:=b60d5865cefdbc75da8da4156c56c458e00de75a49b80c1a2e58a96e30ad0d54
 
 HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/u-boot-$(PKG_VERSION)
 
diff --git a/tools/mkimage/patches/030-allow-to-use-different-magic.patch b/tools/mkimage/patches/030-allow-to-use-different-magic.patch
index cdf5b16e2d..82de760ab6 100644
--- a/tools/mkimage/patches/030-allow-to-use-different-magic.patch
+++ b/tools/mkimage/patches/030-allow-to-use-different-magic.patch
@@ -24,16 +24,16 @@ This patch makes it possible to set a custom image magic.
  		"          -a ==> set load address to 'addr' (hex)\n"
  		"          -e ==> set entry point to 'ep' (hex)\n"
  		"          -n ==> set image name to 'name'\n"
-@@ -160,7 +162,7 @@ static int add_content(int type, const c
+@@ -162,7 +164,7 @@ static int add_content(int type, const c
  }
  
  static const char optstring[] =
--	"a:A:b:B:c:C:d:D:e:Ef:Fg:G:i:k:K:ln:N:o:O:p:qrR:stT:vVx";
-+	"a:A:b:B:c:C:d:D:e:Ef:Fg:G:i:k:K:lM:n:N:o:O:p:qrR:stT:vVx";
+-	"a:A:b:B:c:C:d:D:e:Ef:Fg:G:i:k:K:ln:N:o:O:p:qrR:stT:vVxy:Y:";
++	"a:A:b:B:c:C:d:D:e:Ef:Fg:G:i:k:K:lM:n:N:o:O:p:qrR:stT:vVxy:Y:";
  
  static const struct option longopts[] = {
  	{ "load-address", required_argument, NULL, 'a' },
-@@ -304,6 +306,14 @@ static void process_args(int argc, char
+@@ -308,6 +310,14 @@ static void process_args(int argc, char
  		case 'l':
  			params.lflag = 1;
  			break;




More information about the lede-commits mailing list