tools/mkimage: update to 2023.04
Update to latest version. Signed-off-by: Nick Hainke <vincent@systemli.org>
This commit is contained in:
parent
fea4ffdef2
commit
cd8c698f78
@ -7,14 +7,14 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=mkimage
|
PKG_NAME:=mkimage
|
||||||
PKG_VERSION:=2023.01
|
PKG_VERSION:=2023.04
|
||||||
|
|
||||||
PKG_SOURCE:=u-boot-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=u-boot-$(PKG_VERSION).tar.bz2
|
||||||
PKG_SOURCE_URL:= \
|
PKG_SOURCE_URL:= \
|
||||||
https://mirror.cyberbits.eu/u-boot \
|
https://mirror.cyberbits.eu/u-boot \
|
||||||
https://ftp.denx.de/pub/u-boot \
|
https://ftp.denx.de/pub/u-boot \
|
||||||
ftp://ftp.denx.de/pub/u-boot
|
ftp://ftp.denx.de/pub/u-boot
|
||||||
PKG_HASH:=69423bad380f89a0916636e89e6dcbd2e4512d584308d922d1039d1e4331950f
|
PKG_HASH:=e31cac91545ff41b71cec5d8c22afd695645cd6e2a442ccdacacd60534069341
|
||||||
|
|
||||||
HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/u-boot-$(PKG_VERSION)
|
HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/u-boot-$(PKG_VERSION)
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ This patch makes it possible to set a custom image magic.
|
|||||||
|
|
||||||
static const struct option longopts[] = {
|
static const struct option longopts[] = {
|
||||||
{ "load-address", required_argument, NULL, 'a' },
|
{ "load-address", required_argument, NULL, 'a' },
|
||||||
@@ -298,6 +300,14 @@ static void process_args(int argc, char
|
@@ -302,6 +304,14 @@ static void process_args(int argc, char
|
||||||
case 'l':
|
case 'l':
|
||||||
params.lflag = 1;
|
params.lflag = 1;
|
||||||
break;
|
break;
|
||||||
@ -50,7 +50,7 @@ This patch makes it possible to set a custom image magic.
|
|||||||
break;
|
break;
|
||||||
--- a/tools/default_image.c
|
--- a/tools/default_image.c
|
||||||
+++ b/tools/default_image.c
|
+++ b/tools/default_image.c
|
||||||
@@ -56,7 +56,7 @@ static int image_verify_header(unsigned
|
@@ -63,7 +63,7 @@ static int image_verify_header(unsigned
|
||||||
*/
|
*/
|
||||||
memcpy(hdr, ptr, sizeof(struct legacy_img_hdr));
|
memcpy(hdr, ptr, sizeof(struct legacy_img_hdr));
|
||||||
|
|
||||||
@ -59,7 +59,7 @@ This patch makes it possible to set a custom image magic.
|
|||||||
debug("%s: Bad Magic Number: \"%s\" is no valid image\n",
|
debug("%s: Bad Magic Number: \"%s\" is no valid image\n",
|
||||||
params->cmdname, params->imagefile);
|
params->cmdname, params->imagefile);
|
||||||
return -FDT_ERR_BADMAGIC;
|
return -FDT_ERR_BADMAGIC;
|
||||||
@@ -119,7 +119,7 @@ static void image_set_header(void *ptr,
|
@@ -142,7 +142,7 @@ static void image_set_header(void *ptr,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Build new header */
|
/* Build new header */
|
||||||
@ -70,7 +70,7 @@ This patch makes it possible to set a custom image magic.
|
|||||||
image_set_load(hdr, addr);
|
image_set_load(hdr, addr);
|
||||||
--- a/tools/imagetool.h
|
--- a/tools/imagetool.h
|
||||||
+++ b/tools/imagetool.h
|
+++ b/tools/imagetool.h
|
||||||
@@ -59,6 +59,7 @@ struct image_tool_params {
|
@@ -67,6 +67,7 @@ struct image_tool_params {
|
||||||
int arch;
|
int arch;
|
||||||
int type;
|
int type;
|
||||||
int comp;
|
int comp;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user