summarylogtreecommitdiffstats
path: root/mtkimage-gpt-expand.patch
diff options
context:
space:
mode:
authorEric Woudstra2022-07-22 16:46:44 +0200
committerEric Woudstra2022-07-22 16:46:44 +0200
commit986c4927b80b79245755bbc6268f9009bc6ac680 (patch)
tree82d90ba328b36a67749ad7dd7ddecbff08b3fc24 /mtkimage-gpt-expand.patch
downloadaur-986c4927b80b79245755bbc6268f9009bc6ac680.tar.gz
Mkimage tool modified for Bananapi R64
Diffstat (limited to 'mtkimage-gpt-expand.patch')
-rw-r--r--mtkimage-gpt-expand.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/mtkimage-gpt-expand.patch b/mtkimage-gpt-expand.patch
new file mode 100644
index 000000000000..62c9293c373a
--- /dev/null
+++ b/mtkimage-gpt-expand.patch
@@ -0,0 +1,19 @@
+diff -NarU 6 a/tools/mtk_image.h b/tools/mtk_image.h
+--- a/tools/mtk_image.h 2021-06-10 20:32:04.156559289 +0200
++++ b/tools/mtk_image.h 2021-06-10 20:32:36.964722097 +0200
+@@ -16,13 +16,13 @@
+ struct {
+ char name[12];
+ uint32_t version;
+ uint32_t size;
+ };
+
+- uint8_t pad[0x200];
++ uint8_t pad[34*512];
+ };
+
+ #define EMMC_BOOT_NAME "EMMC_BOOT"
+ #define SF_BOOT_NAME "SF_BOOT"
+ #define SDMMC_BOOT_NAME "SDMMC_BOOT"
+
+