diff options
author | Koen Vandeputte <koen.vandeputte@ncentric.com> | 2018-10-24 14:49:07 +0200 |
---|---|---|
committer | Koen Vandeputte <koen.vandeputte@ncentric.com> | 2018-10-29 11:21:23 +0100 |
commit | 7c78be1b747eb0c8d64da67deb3a8aec75bd7b9c (patch) | |
tree | 580df2e983b909abc3ad587b05dc18e86c30bf4d /target | |
parent | 9d35b6877687f0ac903bdcec806210cfd2f51488 (diff) | |
download | upstream-7c78be1b747eb0c8d64da67deb3a8aec75bd7b9c.tar.gz upstream-7c78be1b747eb0c8d64da67deb3a8aec75bd7b9c.tar.bz2 upstream-7c78be1b747eb0c8d64da67deb3a8aec75bd7b9c.zip |
ar71xx: switch more targets to dynamic partitioning
Targets:
- TP-LINK ER355
- TP-LINK C25 V1
- TP-LINK C59 V1
- TP-LINK C7 V4
- TP-LINK C7 V5
Fixes build issues seen due to the kernel being too big
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ar71xx/image/generic-tp-link.mk | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/target/linux/ar71xx/image/generic-tp-link.mk b/target/linux/ar71xx/image/generic-tp-link.mk index 5036e85a01..08cc444a49 100644 --- a/target/linux/ar71xx/image/generic-tp-link.mk +++ b/target/linux/ar71xx/image/generic-tp-link.mk @@ -14,7 +14,7 @@ define Device/archer-c25-v1 TPLINK_BOARD_ID := ARCHER-C25-V1 DEVICE_PROFILE := ARCHERC25V1 IMAGE_SIZE := 7808k - MTDPARTS := spi0.0:128k(factory-uboot)ro,64k(u-boot)ro,1536k(kernel),6272k(rootfs),128k(config)ro,64k(art)ro,7808k@0x30000(firmware) + MTDPARTS := spi0.0:128k(factory-uboot)ro,64k(u-boot)ro,7808k(firmware),128k(config)ro,64k(art)ro SUPPORTED_DEVICES := archer-c25-v1 endef TARGET_DEVICES += archer-c25-v1 @@ -40,7 +40,7 @@ define Device/archer-c59-v1 TPLINK_BOARD_ID := ARCHER-C59-V1 DEVICE_PROFILE := ARCHERC59V1 IMAGE_SIZE := 14528k - MTDPARTS := spi0.0:64k(u-boot)ro,64k(mac)ro,1536k(kernel),12992k(rootfs),1664k(tplink)ro,64k(art)ro,14528k@0x20000(firmware) + MTDPARTS := spi0.0:64k(u-boot)ro,64k(mac)ro,14528k(firmware),1664k(tplink)ro,64k(art)ro SUPPORTED_DEVICES := archer-c59-v1 endef TARGET_DEVICES += archer-c59-v1 @@ -143,7 +143,7 @@ define Device/archer-c7-v4 BOARDNAME := ARCHER-C7-V4 TPLINK_BOARD_ID := ARCHER-C7-V4 IMAGE_SIZE := 15104k - MTDPARTS := spi0.0:128k(factory-uboot)ro,128k(u-boot)ro,1536k(kernel),13568k(rootfs),960k(config)ro,64k(art)ro,15104k@0x40000(firmware) + MTDPARTS := spi0.0:128k(factory-uboot)ro,128k(u-boot)ro,15104k(firmware),960k(config)ro,64k(art)ro SUPPORTED_DEVICES := archer-c7-v4 endef TARGET_DEVICES += archer-c7-v4 @@ -153,8 +153,8 @@ define Device/archer-c7-v5 DEVICE_TITLE := TP-LINK Archer C7 v5 BOARDNAME := ARCHER-C7-V5 TPLINK_BOARD_ID := ARCHER-C7-V5 - IMAGE_SIZE := 15104k - MTDPARTS := spi0.0:128k(factory-uboot)ro,128k(u-boot)ro,64k@0x50000(art)ro,1536k@0xc0000(kernel),13824k(rootfs),15360k@0xc0000(firmware) + IMAGE_SIZE := 15360k + MTDPARTS := spi0.0:128k(factory-uboot)ro,128k(u-boot)ro,64k@0x50000(art)ro,15360k@0xc0000(firmware) SUPPORTED_DEVICES := archer-c7-v5 endef TARGET_DEVICES += archer-c7-v5 @@ -240,6 +240,8 @@ define Device/re355-v1 DEVICE_PROFILE := RE355 TPLINK_HWID := 0x0 TPLINK_HWREV := 0 + KERNEL := kernel-bin | patch-cmdline | lzma | tplink-v1-header -O + KERNEL_INITRAMFS := kernel-bin | patch-cmdline | lzma | tplink-v1-header endef TARGET_DEVICES += re355-v1 |