From e63bfdca575f8ae77fc7113ae0f9baf8ccca0e94 Mon Sep 17 00:00:00 2001 From: lean Date: Sat, 19 Jun 2021 18:09:39 +0800 Subject: [PATCH] ramips: fix mt7620a 8M support --- config/Config-images.in | 2 +- include/target.mk | 3 +-- target/linux/ramips/image/mt7620.mk | 3 ++- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/Config-images.in b/config/Config-images.in index 1b6c65277..25608d40c 100644 --- a/config/Config-images.in +++ b/config/Config-images.in @@ -159,7 +159,7 @@ menu "Target Images" depends on TARGET_ROOTFS_SQUASHFS default 64 if LOW_MEMORY_FOOTPRINT default 1024 if (SMALL_FLASH && !LOW_MEMORY_FOOTPRINT) - default 256 + default 512 menuconfig TARGET_ROOTFS_UBIFS bool "ubifs" diff --git a/include/target.mk b/include/target.mk index bf115b6ae..b8b769354 100644 --- a/include/target.mk +++ b/include/target.mk @@ -12,7 +12,6 @@ DEVICE_TYPE?=router # Default packages - the really basic set DEFAULT_PACKAGES:=\ base-files \ - ca-bundle \ dropbear \ fstools \ libc \ @@ -49,7 +48,7 @@ DEFAULT_PACKAGES.router:=\ ppp \ ppp-mod-pppoe \ luci-newapi block-mount coremark kmod-nf-nathelper kmod-nf-nathelper-extra kmod-ipt-raw wget-ssl \ - default-settings luci luci-app-ddns luci-app-upnp luci-app-adbyby-plus luci-app-autoreboot \ + default-settings luci luci-app-ddns luci-app-upnp luci-app-autoreboot \ luci-app-filetransfer luci-app-vsftpd luci-app-ssr-plus luci-app-unblockmusic \ luci-app-arpbind luci-app-vlmcsd luci-app-wol luci-app-ramfree \ luci-app-flowoffload luci-app-nlbwmon luci-app-accesscontrol luci-app-cpufreq \ diff --git a/target/linux/ramips/image/mt7620.mk b/target/linux/ramips/image/mt7620.mk index 5d2a3a4a1..952f48844 100644 --- a/target/linux/ramips/image/mt7620.mk +++ b/target/linux/ramips/image/mt7620.mk @@ -1011,7 +1011,8 @@ endef TARGET_DEVICES += tplink_archer-c2-v1 define Device/tplink_archer-c5-v4 - $(Device/Archer) + $(Device/tplink-v2) + SOC := mt7620a TPLINK_FLASHLAYOUT := 8Mmtk TPLINK_HWID := 0x04DA857C TPLINK_HWREV := 0x0C000600