68 lines
3.1 KiB
Diff
68 lines
3.1 KiB
Diff
|
From: Matthias Schiffer <mschiffer@universe-factory.net>
|
||
|
Date: Tue, 10 Apr 2018 18:14:41 +0200
|
||
|
Subject: ar71xx: increase kernel partition size for CPE/WBS 210/510
|
||
|
|
||
|
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
|
||
|
|
||
|
diff --git a/target/linux/ar71xx/image/tp-link.mk b/target/linux/ar71xx/image/tp-link.mk
|
||
|
index be7e846c88f9ebbb8a4e4840e690d7864386bf64..1a6e58fca882fc9d122c184ee8167537751acf25 100644
|
||
|
--- a/target/linux/ar71xx/image/tp-link.mk
|
||
|
+++ b/target/linux/ar71xx/image/tp-link.mk
|
||
|
@@ -167,7 +167,7 @@ TARGET_DEVICES += archer-c60-v1
|
||
|
define Device/cpe510-520
|
||
|
DEVICE_TITLE := TP-LINK CPE510/520
|
||
|
DEVICE_PACKAGES := rssileds
|
||
|
- MTDPARTS := spi0.0:128k(u-boot)ro,64k(pation-table)ro,64k(product-info)ro,1536k(kernel),6144k(rootfs),192k(config)ro,64k(ART)ro,7680k@0x40000(firmware)
|
||
|
+ MTDPARTS := spi0.0:128k(u-boot)ro,64k(partition-table)ro,64k(product-info)ro,1792k(kernel),5888k(rootfs),192k(config)ro,64k(ART)ro,7680k@0x40000(firmware)
|
||
|
IMAGE_SIZE := 7680k
|
||
|
BOARDNAME := CPE510
|
||
|
TPLINK_BOARD_NAME := CPE510
|
||
|
diff --git a/tools/firmware-utils/src/tplink-safeloader.c b/tools/firmware-utils/src/tplink-safeloader.c
|
||
|
index 2a2329d1f188ea8520b6a4aeef25937e05d48a06..ba86c71d870c8f38abb92c657c3656086a7782be 100644
|
||
|
--- a/tools/firmware-utils/src/tplink-safeloader.c
|
||
|
+++ b/tools/firmware-utils/src/tplink-safeloader.c
|
||
|
@@ -139,8 +139,8 @@ static struct device_info boards[] = {
|
||
|
{"default-mac", 0x30000, 0x00020},
|
||
|
{"product-info", 0x31100, 0x00100},
|
||
|
{"signature", 0x32000, 0x00400},
|
||
|
- {"os-image", 0x40000, 0x180000},
|
||
|
- {"file-system", 0x1c0000, 0x5f0000},
|
||
|
+ {"os-image", 0x40000, 0x1c0000},
|
||
|
+ {"file-system", 0x200000, 0x5b0000},
|
||
|
{"soft-version", 0x7b0000, 0x00100},
|
||
|
{"support-list", 0x7b1000, 0x00400},
|
||
|
{"user-config", 0x7c0000, 0x10000},
|
||
|
@@ -177,8 +177,8 @@ static struct device_info boards[] = {
|
||
|
{"default-mac", 0x30000, 0x00020},
|
||
|
{"product-info", 0x31100, 0x00100},
|
||
|
{"signature", 0x32000, 0x00400},
|
||
|
- {"os-image", 0x40000, 0x180000},
|
||
|
- {"file-system", 0x1c0000, 0x5f0000},
|
||
|
+ {"os-image", 0x40000, 0x1c0000},
|
||
|
+ {"file-system", 0x200000, 0x5b0000},
|
||
|
{"soft-version", 0x7b0000, 0x00100},
|
||
|
{"support-list", 0x7b1000, 0x00400},
|
||
|
{"user-config", 0x7c0000, 0x10000},
|
||
|
@@ -209,8 +209,8 @@ static struct device_info boards[] = {
|
||
|
{"default-mac", 0x30000, 0x00020},
|
||
|
{"product-info", 0x31100, 0x00100},
|
||
|
{"signature", 0x32000, 0x00400},
|
||
|
- {"os-image", 0x40000, 0x180000},
|
||
|
- {"file-system", 0x1c0000, 0x5f0000},
|
||
|
+ {"os-image", 0x40000, 0x1c0000},
|
||
|
+ {"file-system", 0x200000, 0x5b0000},
|
||
|
{"soft-version", 0x7b0000, 0x00100},
|
||
|
{"support-list", 0x7b1000, 0x00400},
|
||
|
{"user-config", 0x7c0000, 0x10000},
|
||
|
@@ -241,8 +241,8 @@ static struct device_info boards[] = {
|
||
|
{"default-mac", 0x30000, 0x00020},
|
||
|
{"product-info", 0x31100, 0x00100},
|
||
|
{"signature", 0x32000, 0x00400},
|
||
|
- {"os-image", 0x40000, 0x180000},
|
||
|
- {"file-system", 0x1c0000, 0x5f0000},
|
||
|
+ {"os-image", 0x40000, 0x1c0000},
|
||
|
+ {"file-system", 0x200000, 0x5b0000},
|
||
|
{"soft-version", 0x7b0000, 0x00100},
|
||
|
{"support-list", 0x7b1000, 0x00400},
|
||
|
{"user-config", 0x7c0000, 0x10000},
|