From edbfb81b56805c77242855f7b4be6f7fbe77c2a4 Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Sat, 22 Feb 2014 11:16:42 +0000 Subject: [PATCH] brcm63xx: F@ST2504n board support (image, base-files) Signed-off-by: Max Staudt Patchwork: http://patchwork.openwrt.org/patch/4730/ Signed-off-by: Jonas Gorski SVN-Revision: 39676 --- target/linux/brcm63xx/base-files/etc/uci-defaults/02_network | 1 + target/linux/brcm63xx/base-files/lib/brcm63xx.sh | 5 +++++ target/linux/brcm63xx/image/Makefile | 3 +++ 3 files changed, 9 insertions(+) diff --git a/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network b/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network index b4ab46d56b..6233531ffd 100755 --- a/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network +++ b/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network @@ -82,6 +82,7 @@ DVG3810BN) 963281TAN |\ 963281T_TEF |\ 96368MVNgr |\ +"F@ST2504n" |\ "F@ST2704V2") ucidef_set_interface_lan "eth0.1" ucidef_add_switch "eth0" "1" "1" diff --git a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh index 1d9b448b75..679fedd564 100755 --- a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh +++ b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh @@ -125,6 +125,11 @@ brcm63xx_detect() { brcm63xx_has_reset_button="true" ifname=eth0 ;; + "F@ST2504n") + status_led="fast2504n:green:ok" + brcm63xx_has_reset_button="true" + ifname=eth0 + ;; 'F@ST2704V2') status_led="F@ST2704V2:green:power" brcm63xx_has_reset_button="true" diff --git a/target/linux/brcm63xx/image/Makefile b/target/linux/brcm63xx/image/Makefile index ecdcecaaa3..8f661d2d66 100755 --- a/target/linux/brcm63xx/image/Makefile +++ b/target/linux/brcm63xx/image/Makefile @@ -220,6 +220,9 @@ define Image/Build # Neufbox6 $(call Image/Build/CFE,$(1),NB6-SER-r0,6362,NEUFBOX6,OpenWRT-$(REVISION)) + # Sagem F@ST2504n + $(call Image/Build/CFE,$(1),F@ST2504n,6362,F@ST2504n,OpenWRT-$(REVISION)) + # Comtrend 6373 $(call Image/Build/CFE,$(1),CT6373-1,6358,CT6373) # Comtrend 536, 5621