projects
/
openwrt
/
staging
/
jow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tools/mkimage: update to 2024.01
[openwrt/staging/jow.git]
/
tools
/
mkimage
/
patches
/
030-allow-to-use-different-magic.patch
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 3689fcb531538df147e1b182e6cd4f11eabe0880..f2f57965f604fe77e52d440172d56529b9b1706d 100644
(file)
--- a/
tools/mkimage/patches/030-allow-to-use-different-magic.patch
+++ b/
tools/mkimage/patches/030-allow-to-use-different-magic.patch
@@
-50,7
+50,7
@@
This patch makes it possible to set a custom image magic.
break;
--- a/tools/default_image.c
+++ b/tools/default_image.c
break;
--- a/tools/default_image.c
+++ b/tools/default_image.c
-@@ -6
8,7 +68
,7 @@ static int image_verify_header(unsigned
+@@ -6
7,7 +67
,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",
params->cmdname, params->imagefile);
return -FDT_ERR_BADMAGIC;
debug("%s: Bad Magic Number: \"%s\" is no valid image\n",
params->cmdname, params->imagefile);
return -FDT_ERR_BADMAGIC;
-@@ -14
7,7 +147
,7 @@ static void image_set_header(void *ptr,
+@@ -14
6,7 +146
,7 @@ static void image_set_header(void *ptr,
}
/* Build new header */
}
/* Build new header */