aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/base-files
diff options
context:
space:
mode:
authorAndrius Štikonas <andrius@stikonas.eu>2018-07-14 21:53:47 +0000
committerJohn Crispin <john@phrozen.org>2018-07-16 15:12:08 +0200
commitd591260407015d2c451ad8c9e114fe04cf3639bc (patch)
treea1e4883e39dcfaf39bcf9f24fd8fd553a761df5c /target/linux/brcm63xx/base-files
parentc3f9a1ac0e7ae536552e2745582dc47098cefc07 (diff)
downloadupstream-d591260407015d2c451ad8c9e114fe04cf3639bc.tar.gz
upstream-d591260407015d2c451ad8c9e114fe04cf3639bc.tar.bz2
upstream-d591260407015d2c451ad8c9e114fe04cf3639bc.zip
brcm63xx: initial support for Sky SR102 router
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software. SOC: BCM63168 (BMIPS4350 V8.0 @400MHz) Flash size: 16 MiB RAM size: 128 MiB Heavily based on patch for OpenWRT Chaos Chalmer. Original patch and more info can be found at: https://openwrt.org/toh/sky/sr102 Known issues: - Wireless and ADSL modem are not working. Signed-off-by: Andrius Štikonas <andrius@stikonas.eu>
Diffstat (limited to 'target/linux/brcm63xx/base-files')
-rwxr-xr-xtarget/linux/brcm63xx/base-files/etc/board.d/02_network6
-rw-r--r--target/linux/brcm63xx/base-files/etc/diag.sh4
-rwxr-xr-xtarget/linux/brcm63xx/base-files/lib/brcm63xx.sh3
3 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/base-files/etc/board.d/02_network b/target/linux/brcm63xx/base-files/etc/board.d/02_network
index a7fd6f5d38..a2ca5a37b3 100755
--- a/target/linux/brcm63xx/base-files/etc/board.d/02_network
+++ b/target/linux/brcm63xx/base-files/etc/board.d/02_network
@@ -130,6 +130,12 @@ neufbox6)
"1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "9t@eth0"
;;
+sr102)
+ ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
+ ucidef_add_switch "switch0" \
+ "0:lan" "1:lan" "2:lan" "3:wan" "8t@eth0"
+ ;;
+
vg50)
ucidef_add_switch "switch0" \
"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "8t@eth0"
diff --git a/target/linux/brcm63xx/base-files/etc/diag.sh b/target/linux/brcm63xx/base-files/etc/diag.sh
index acb1795214..afb347818f 100644
--- a/target/linux/brcm63xx/base-files/etc/diag.sh
+++ b/target/linux/brcm63xx/base-files/etc/diag.sh
@@ -132,6 +132,10 @@ set_state() {
rta770w)
status_led="RTA770W:green:diag"
;;
+ sr102)
+ status_led="SR102:white:power"
+ status_led2="SR102:red:power"
+ ;;
spw500v)
status_led="SPW500V:green:power"
;;
diff --git a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh
index 82abd737ce..1676ae0abb 100755
--- a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh
+++ b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh
@@ -237,6 +237,9 @@ brcm63xx_dt_detect() {
"SFR neufbox 6 (Sercomm)")
board_name="neufbox6"
;;
+ "SKY SR102")
+ board_name="sr102"
+ ;;
"T-Com Speedport W303 V")
board_name="spw303v"
;;