]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
tools/mkimage: update to v2026.04
authorShiji Yang <yangshiji66@outlook.com>
Fri, 10 Apr 2026 11:02:03 +0000 (19:02 +0800)
committerNick Hainke <vincent@systemli.org>
Sun, 12 Apr 2026 08:28:25 +0000 (10:28 +0200)
Update to the latest version and add missing 030 patch header.

Changelog:
22aa122eee0 mkimage: Add support for bundling TEE in mkimage -f auto

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/22844
Signed-off-by: Nick Hainke <vincent@systemli.org>
tools/mkimage/Makefile
tools/mkimage/patches/030-allow-to-use-different-magic.patch

index fe990abe347b2ec2c53089d37fca82f85bc60d38..9a6826b847feaf23f05b1df475cc7cc94e6d94e0 100644 (file)
@@ -7,14 +7,14 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=mkimage
-PKG_VERSION:=2026.01
+PKG_VERSION:=2026.04
 
 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:=b60d5865cefdbc75da8da4156c56c458e00de75a49b80c1a2e58a96e30ad0d54
+PKG_HASH:=ac7c04b8b7004923b00a4e5d6699c5df4d21233bac9fda690d8cfbc209fff2fd
 
 HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/u-boot-$(PKG_VERSION)
 
index 82de760ab6a875b29d3601826e09cb5be0c01663..335c22e0e151b6f7757e2880cb1ca05137d84d44 100644 (file)
@@ -1,3 +1,8 @@
+From f3d2056b81b7a92d28402c22736534d84fe23cfe Mon Sep 17 00:00:00 2001
+From: Gabor Juhos <juhosg@openwrt.org>
+Date: Mon, 5 Dec 2011 14:52:22 +0000
+Subject: [PATCH] tools/mkimage: allow to use different magic in uImages
+
 This patch makes it possible to set a custom image magic.
 
 --- a/tools/mkimage.c
@@ -24,16 +29,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"
-@@ -162,7 +164,7 @@ static int add_content(int type, const c
+@@ -164,7 +166,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: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:";
+-      "a:A:b:B:c:C:d:D:e:Ef:Fg:G:i:k:K:ln:N:o:O:p:qrR:stT:vVxy:Y:z:Z:";
++      "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:z:Z:";
  
  static const struct option longopts[] = {
        { "load-address", required_argument, NULL, 'a' },
-@@ -308,6 +310,14 @@ static void process_args(int argc, char
+@@ -312,6 +314,14 @@ static void process_args(int argc, char
                case 'l':
                        params.lflag = 1;
                        break;