From: Adrian Schmutzler Date: Sun, 30 Aug 2020 19:26:57 +0000 (+0200) Subject: ath79: increase kernel partition for ar9344 TP-Link CPE/WBS X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=9ac5a269b57cefd81324ac4ab3cbf9a6e80abc45;p=project%2Ffirmware-utils.git ath79: increase kernel partition for ar9344 TP-Link CPE/WBS The kernel has become too big again for the ar9344-based TP-Link CPE/WBS devices which still have no firmware-partition splitter. Current buildbots produce a kernel size of about 2469 kiB, while the partition is only 2048 kiB (0x200000). Therefore, increase it to 0x300000 to provide enough room for this and, hopefully, the next kernel. Signed-off-by: Adrian Schmutzler --- diff --git a/Makefile b/Makefile index 4fcda7e..39c3503 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME := firmware-utils -PKG_RELEASE := 2 +PKG_RELEASE := 3 include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/kernel.mk diff --git a/src/tplink-safeloader.c b/src/tplink-safeloader.c index ec8d084..501b396 100644 --- a/src/tplink-safeloader.c +++ b/src/tplink-safeloader.c @@ -140,8 +140,8 @@ static struct device_info boards[] = { {"default-mac", 0x30000, 0x00020}, {"product-info", 0x31100, 0x00100}, {"signature", 0x32000, 0x00400}, - {"os-image", 0x40000, 0x200000}, - {"file-system", 0x240000, 0x570000}, + {"os-image", 0x40000, 0x300000}, + {"file-system", 0x340000, 0x470000}, {"soft-version", 0x7b0000, 0x00100}, {"support-list", 0x7b1000, 0x00400}, {"user-config", 0x7c0000, 0x10000}, @@ -263,8 +263,8 @@ static struct device_info boards[] = { {"default-mac", 0x30000, 0x00020}, {"product-info", 0x31100, 0x00100}, {"signature", 0x32000, 0x00400}, - {"os-image", 0x40000, 0x200000}, - {"file-system", 0x240000, 0x570000}, + {"os-image", 0x40000, 0x300000}, + {"file-system", 0x340000, 0x470000}, {"soft-version", 0x7b0000, 0x00100}, {"support-list", 0x7b1000, 0x00400}, {"user-config", 0x7c0000, 0x10000}, @@ -342,8 +342,8 @@ static struct device_info boards[] = { {"default-mac", 0x30000, 0x00020}, {"product-info", 0x31100, 0x00100}, {"signature", 0x32000, 0x00400}, - {"os-image", 0x40000, 0x200000}, - {"file-system", 0x240000, 0x570000}, + {"os-image", 0x40000, 0x300000}, + {"file-system", 0x340000, 0x470000}, {"soft-version", 0x7b0000, 0x00100}, {"support-list", 0x7b1000, 0x00400}, {"user-config", 0x7c0000, 0x10000}, @@ -384,8 +384,8 @@ static struct device_info boards[] = { {"default-mac", 0x30000, 0x00020}, {"product-info", 0x31100, 0x00100}, {"signature", 0x32000, 0x00400}, - {"os-image", 0x40000, 0x200000}, - {"file-system", 0x240000, 0x570000}, + {"os-image", 0x40000, 0x300000}, + {"file-system", 0x340000, 0x470000}, {"soft-version", 0x7b0000, 0x00100}, {"support-list", 0x7b1000, 0x00400}, {"user-config", 0x7c0000, 0x10000}, @@ -426,8 +426,8 @@ static struct device_info boards[] = { {"default-mac", 0x30000, 0x00020}, {"product-info", 0x31100, 0x00100}, {"signature", 0x32000, 0x00400}, - {"os-image", 0x40000, 0x200000}, - {"file-system", 0x240000, 0x570000}, + {"os-image", 0x40000, 0x300000}, + {"file-system", 0x340000, 0x470000}, {"soft-version", 0x7b0000, 0x00100}, {"support-list", 0x7b1000, 0x00400}, {"user-config", 0x7c0000, 0x10000}, @@ -466,8 +466,8 @@ static struct device_info boards[] = { {"default-mac", 0x30000, 0x00020}, {"product-info", 0x31100, 0x00100}, {"signature", 0x32000, 0x00400}, - {"os-image", 0x40000, 0x200000}, - {"file-system", 0x240000, 0x570000}, + {"os-image", 0x40000, 0x300000}, + {"file-system", 0x340000, 0x470000}, {"soft-version", 0x7b0000, 0x00100}, {"support-list", 0x7b1000, 0x00400}, {"user-config", 0x7c0000, 0x10000}, @@ -506,8 +506,8 @@ static struct device_info boards[] = { {"default-mac", 0x30000, 0x00020}, {"product-info", 0x31100, 0x00100}, {"signature", 0x32000, 0x00400}, - {"os-image", 0x40000, 0x200000}, - {"file-system", 0x240000, 0x570000}, + {"os-image", 0x40000, 0x300000}, + {"file-system", 0x340000, 0x470000}, {"soft-version", 0x7b0000, 0x00100}, {"support-list", 0x7b1000, 0x00400}, {"user-config", 0x7c0000, 0x10000}, @@ -538,8 +538,8 @@ static struct device_info boards[] = { {"default-mac", 0x30000, 0x00020}, {"product-info", 0x31100, 0x00100}, {"signature", 0x32000, 0x00400}, - {"os-image", 0x40000, 0x200000}, - {"file-system", 0x240000, 0x570000}, + {"os-image", 0x40000, 0x300000}, + {"file-system", 0x340000, 0x470000}, {"soft-version", 0x7b0000, 0x00100}, {"support-list", 0x7b1000, 0x00400}, {"user-config", 0x7c0000, 0x10000}, @@ -570,8 +570,8 @@ static struct device_info boards[] = { {"default-mac", 0x30000, 0x00020}, {"product-info", 0x31100, 0x00100}, {"signature", 0x32000, 0x00400}, - {"os-image", 0x40000, 0x200000}, - {"file-system", 0x240000, 0x570000}, + {"os-image", 0x40000, 0x300000}, + {"file-system", 0x340000, 0x470000}, {"soft-version", 0x7b0000, 0x00100}, {"support-list", 0x7b1000, 0x00400}, {"user-config", 0x7c0000, 0x10000}, @@ -603,8 +603,8 @@ static struct device_info boards[] = { {"default-mac", 0x30000, 0x00020}, {"product-info", 0x31100, 0x00100}, {"signature", 0x32000, 0x00400}, - {"os-image", 0x40000, 0x200000}, - {"file-system", 0x240000, 0x570000}, + {"os-image", 0x40000, 0x300000}, + {"file-system", 0x340000, 0x470000}, {"soft-version", 0x7b0000, 0x00100}, {"support-list", 0x7b1000, 0x00400}, {"user-config", 0x7c0000, 0x10000}, @@ -636,8 +636,8 @@ static struct device_info boards[] = { {"default-mac", 0x30000, 0x00020}, {"product-info", 0x31100, 0x00100}, {"signature", 0x32000, 0x00400}, - {"os-image", 0x40000, 0x200000}, - {"file-system", 0x240000, 0x570000}, + {"os-image", 0x40000, 0x300000}, + {"file-system", 0x340000, 0x470000}, {"soft-version", 0x7b0000, 0x00100}, {"support-list", 0x7b1000, 0x00400}, {"user-config", 0x7c0000, 0x10000},