diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-01-19 17:05:07 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2013-01-19 17:05:07 +0000 |
commit | ed6d399f8d5a0952b7d101e1e9bd4d9632b741e8 (patch) | |
tree | 02317e1749898ee9a1895df29a7295ceab12f568 /target/linux/ramips | |
parent | 9891603eb571ddacfde6a3a6c3efb3cc25be0af4 (diff) | |
download | mtk-20170518-ed6d399f8d5a0952b7d101e1e9bd4d9632b741e8.zip mtk-20170518-ed6d399f8d5a0952b7d101e1e9bd4d9632b741e8.tar.gz mtk-20170518-ed6d399f8d5a0952b7d101e1e9bd4d9632b741e8.tar.bz2 |
ramips: add profile and build image for the Tenda 3G300M
Factory image should be used to flash from
original firmware.
[juhosg: use the GENERIC_4M template]
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35246
Diffstat (limited to 'target/linux/ramips')
-rw-r--r-- | target/linux/ramips/image/Makefile | 6 | ||||
-rw-r--r-- | target/linux/ramips/rt305x/profiles/tenda.mk | 13 |
2 files changed, 19 insertions, 0 deletions
diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index bf64b76..daceb15 100644 --- a/target/linux/ramips/image/Makefile +++ b/target/linux/ramips/image/Makefile @@ -462,6 +462,11 @@ define Image/Build/Profile/3G6200N $(call Image/Build/Template/$(fs_squash)/$(1),3G6200N,3g-6200n,3G-6200N,ttyS1,57600,phys) endef +define Image/Build/Profile/3G300M + $(call Image/Build/Template/$(fs_squash)/$(1),GENERIC_4M,3g300m,3G300M,ttyS1,57600,spi,3G150M_SPI Kernel Image,factory.bin) + $(call Image/Build/Template/$(fs_squash)/$(1),GENERIC_4M,3g300m,3G300M,ttyS1,57600,spi) +endef + define Image/Build/Profile/AIR3GII $(call Image/Build/Template/$(fs_squash)/$(1),GENERIC_4M,air3gii,AIR3GII,ttyS1,57600,spi) endef @@ -633,6 +638,7 @@ endef ifeq ($(CONFIG_RALINK_RT305X),y) define Image/Build/Profile/Default $(call Image/Build/Profile/3G6200N,$(1)) + $(call Image/Build/Profile/3G300M,$(1)) $(call Image/Build/Profile/AIR3GII,$(1)) $(call Image/Build/Profile/ALL02393G,$(1)) $(call Image/Build/Profile/ALL0256N,$(1)) diff --git a/target/linux/ramips/rt305x/profiles/tenda.mk b/target/linux/ramips/rt305x/profiles/tenda.mk index 5e45b5f..10a4cb3 100644 --- a/target/linux/ramips/rt305x/profiles/tenda.mk +++ b/target/linux/ramips/rt305x/profiles/tenda.mk @@ -5,6 +5,19 @@ # See /LICENSE for more information. # +define Profile/3G300M + NAME:=Tenda 3G300M + PACKAGES:=\ + kmod-usb-core kmod-usb-rt305x-dwc_otg \ + kmod-ledtrig-usbdev +endef + +define Profile/3G300M/Description + Package set for Tenda 3G300M board +endef + +$(eval $(call Profile,3G300M)) + define Profile/W306R_V20 NAME:=Tenda W306R V2.0 PACKAGES:= |