summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-06-19 11:51:20 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-06-19 11:51:20 +0000
commit5fa7ed291ee18d3d7e6f24ee803ac6cfb96b625e (patch)
tree3a1b156eded664afc887a96cea136a9b59f7a90a /target/linux/ar71xx
parent977ff3326d207fd681f4acaebb461e4e56881c2b (diff)
ar71xx: create profile and build image for the TL-WDR4300 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32461 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx')
-rw-r--r--target/linux/ar71xx/generic/profiles/tp-link.mk11
-rw-r--r--target/linux/ar71xx/image/Makefile6
2 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/ar71xx/generic/profiles/tp-link.mk b/target/linux/ar71xx/generic/profiles/tp-link.mk
index 9a0d2ffa1..23e6b96e2 100644
--- a/target/linux/ar71xx/generic/profiles/tp-link.mk
+++ b/target/linux/ar71xx/generic/profiles/tp-link.mk
@@ -94,6 +94,17 @@ endef
$(eval $(call Profile,TLWA901))
+define Profile/TLWDR4300
+ NAME:=TP-LINK TL-WDR4300
+ PACKAGES:=kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
+endef
+
+define Profile/TLWDR4300/Description
+ Package set optimized for the TP-LINK TL-WDR4300.
+endef
+$(eval $(call Profile,TLWDR4300))
+
+
define Profile/TLWR740
NAME:=TP-LINK TL-WR740N/ND
PACKAGES:=
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
index 0a7d75a3d..06e39561d 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -974,6 +974,11 @@ define Image/Build/Profile/TLWR2543
$(call Image/Build/Template/$(fs_64kraw)/$(1),TPLINK-LZMA,tl-wr2543n-v1,$(tlwr2543_cmdline),0x25430001,1,8Mlzma)
endef
+tlwdr4300_cmdline=board=TL-WDR4300 console=ttyS0,115200
+define Image/Build/Profile/TLWDR4300
+ $(call Image/Build/Template/$(fs_64kraw)/$(1),TPLINK-LZMA,tl-wdr4300-v1,$(tlwdr4300_cmdline),0x43000001,1,8Mlzma)
+endef
+
wndr3700_cmdline=board=WNDR3700 console=ttyS0,115200
wndr3700_mtdlayout=mtdparts=spi0.0:320k(u-boot)ro,128k(u-boot-env)ro,1024k(kernel),6656k(rootfs),64k(art)ro,7680k@0x70000(firmware)
wndr3700v2_mtdlayout=mtdparts=spi0.0:320k(u-boot)ro,128k(u-boot-env)ro,1024k(kernel),14848k(rootfs),64k(art)ro,15872k@0x70000(firmware)
@@ -1098,6 +1103,7 @@ define Image/Build/Profile/Default
$(call Image/Build/Profile/TLMR3420,$(1))
$(call Image/Build/Profile/TLWA701,$(1))
$(call Image/Build/Profile/TLWA901,$(1))
+ $(call Image/Build/Profile/TLWDR4300,$(1))
$(call Image/Build/Profile/TLWR703,$(1))
$(call Image/Build/Profile/TLWR740,$(1))
$(call Image/Build/Profile/TLWR741,$(1))