aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/mt7621/profiles/netis.mk
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-11-24 18:29:26 +0000
committerJohn Crispin <john@openwrt.org>2015-11-24 18:29:26 +0000
commit8c1f5141ceee722cdd282f909390b73455968cfd (patch)
treef37042f2bd325756225021795d066c6e1e228e64 /target/linux/ramips/mt7621/profiles/netis.mk
parent4223e47c19ca38c37b123884dca55630c77ed791 (diff)
downloadupstream-8c1f5141ceee722cdd282f909390b73455968cfd.tar.gz
upstream-8c1f5141ceee722cdd282f909390b73455968cfd.tar.bz2
upstream-8c1f5141ceee722cdd282f909390b73455968cfd.zip
ralink: add support for netis WF-2881
netis WF-2881 is an MT7621AT based router with MT7602EN, MT7612EN. It has 128MB DDR3, 128MB SLC NAND FLASH, 5-port Gbps switch and 1x USB 3.0. The following patch adds support for this device. this device only works on top of UBI. Tested and working: * ethernet * both WiFi radios * USB 3.0 * buttons (reset button) * ethernet switch and USB diag LEDs * UART * GPIOs * sysupgrade Tested and not working * failsafe Signed-off-by: YounJae Rho <luxflow@live.com> SVN-Revision: 47619
Diffstat (limited to 'target/linux/ramips/mt7621/profiles/netis.mk')
-rw-r--r--target/linux/ramips/mt7621/profiles/netis.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/target/linux/ramips/mt7621/profiles/netis.mk b/target/linux/ramips/mt7621/profiles/netis.mk
new file mode 100644
index 0000000000..39b524f534
--- /dev/null
+++ b/target/linux/ramips/mt7621/profiles/netis.mk
@@ -0,0 +1,23 @@
+#
+# Copyright (C) 2015 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/WF-2881
+ NAME:=NETIS WF-2881
+ PACKAGES:=\
+ kmod-usb-core kmod-usb3 kmod-usb-hid \
+ kmod-ledtrig-usbdev
+endef
+
+define Profile/WF-2881/Description
+ Package set compatible with the NETIS WF-2881 board.
+endef
+
+#-m <min io size> -e <LEB size> -c <Eraseblocks count>
+WF-2881_UBIFS_OPTS:="-m 2048 -e 129024 -c 1024"
+WF-2881_UBI_OPTS:="-m 2048 -p 128KiB -s 512"
+
+$(eval $(call Profile,WF-2881))