aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/base-files/etc
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm63xx/base-files/etc')
-rwxr-xr-xtarget/linux/brcm63xx/base-files/etc/board.d/01_leds90
-rwxr-xr-xtarget/linux/brcm63xx/base-files/etc/board.d/02_network206
-rw-r--r--target/linux/brcm63xx/base-files/etc/diag.sh174
-rw-r--r--target/linux/brcm63xx/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom6
-rw-r--r--target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc54
5 files changed, 259 insertions, 271 deletions
diff --git a/target/linux/brcm63xx/base-files/etc/board.d/01_leds b/target/linux/brcm63xx/base-files/etc/board.d/01_leds
index d25d37e847..dd1c565bb9 100755
--- a/target/linux/brcm63xx/base-files/etc/board.d/01_leds
+++ b/target/linux/brcm63xx/base-files/etc/board.d/01_leds
@@ -8,26 +8,51 @@
board_config_update
case "$(board_name)" in
-a4001n1)
+actiontec,r1000h)
+ ucidef_set_led_usbport "usb" "USB" "R1000H:green:usb" "usb1-port1" "usb2-port1"
+ ;;
+adb,a4001n)
+ ucidef_set_led_usbdev "usb" "USB" "A4001N:green:usb" "1-1"
+ ;;
+adb,a4001n1)
ucidef_set_led_netdev "lan" "LAN" "A4001N1:green:eth" "eth0"
ucidef_set_led_usbdev "usb" "USB" "A4001N1:green:3g" "1-1"
;;
-a4001n)
- ucidef_set_led_usbdev "usb" "USB" "A4001N:green:usb" "1-1"
+adb,av4202n)
+ ucidef_set_led_netdev "wlan0" "WLAN" "AV4202N:blue:wifi" "wlan0"
;;
-ad1018-nor)
- ucidef_set_led_netdev "wlan0" "WLAN" "AD1018:green:wifi" "wlan0"
+bt,home-hub-2-a)
+ ucidef_set_led_netdev "lan" "LAN" "HOMEHUB2A:blue:broadband" "eth0.1"
+ ucidef_set_led_netdev "wlan0" "WIFI" "HOMEHUB2A:green:wireless" "wlan0"
+ ucidef_set_led_usbdev "usb1" "USB1" "HOMEHUB2A:blue:phone" "1-1"
+ ucidef_set_led_usbdev "usb2" "USB2" "HOMEHUB2A:green:phone" "2-1"
;;
-ar-5315u)
+comtrend,ar-5315u)
ucidef_set_led_usbdev "usb" "USB" "AR-5315u:green:usb" "1-1"
;;
-av4202n)
- ucidef_set_led_netdev "wlan0" "WLAN" "AV4202N:blue:wifi" "wlan0"
+huawei,echolife-hg553)
+ ucidef_set_led_netdev "lan" "LAN" "HW553:blue:lan" "eth0"
+ ucidef_set_led_usbdev "usb1" "USB1" "HW553:red:hspa" "1-1"
+ ucidef_set_led_usbdev "usb2" "USB2" "HW553:blue:hspa" "1-2"
;;
-cpva502p)
- ucidef_set_led_netdev "lan" "LAN" "CPVA502+:amber:link" "eth0"
+huawei,echolife-hg556a-a|\
+huawei,echolife-hg556a-b|\
+huawei,echolife-hg556a-c)
+ ucidef_set_led_netdev "lan" "LAN" "HW556:red:dsl" "eth0"
+ ucidef_set_led_usbdev "usb" "USB" "HW556:red:hspa" "1-2"
+ ;;
+huawei,echolife-hg622)
+ ucidef_set_led_usbdev "usb" "USB" "HG622:green:usb" "1-2"
+ ;;
+huawei,echolife-hg655b)
+ ucidef_set_led_usbdev "usb" "USB" "HW65x:green:usb" "1-2"
+ ;;
+inventel,livebox-1)
+ ucidef_set_led_netdev "lan" "LAN" "Livebox1:red:traffic" "eth0"
+ ucidef_set_led_netdev "wan" "WAN" "Livebox1:red:adsl" "eth1"
+ ucidef_set_led_netdev "wlan0" "WIFI" "Livebox1:red:wifi" "wlan0"
;;
-dgnd3700v1_dgnd3800b)
+netgear,dgnd3700-v1)
ucidef_set_led_netdev "lan" "LAN" "DGND3700v1_3800B:green:lan" "eth0.1"
ucidef_set_led_netdev "wan" "WAN" "DGND3700v1_3800B:green:inet" "eth0.2"
ucidef_set_led_netdev "wlan0" "WIFI2G" "DGND3700v1_3800B:green:wifi2g" "wlan0"
@@ -35,50 +60,27 @@ dgnd3700v1_dgnd3800b)
ucidef_set_led_usbdev "usb1" "USB1" "DGND3700v1_3800B:green:usb-back" "1-1"
ucidef_set_led_usbdev "usb2" "USB2" "DGND3700v1_3800B:green:usb-front" "1-2"
;;
-evg2000)
+netgear,evg2000)
ucidef_set_led_netdev "lan" "LAN" "EVG2000:green:lan" "eth0"
ucidef_set_led_netdev "wan" "WAN" "EVG2000:green:wan" "eth1"
ucidef_set_led_netdev "wlan0" "WIFI" "EVG2000:green:wireless" "wlan0"
ucidef_set_led_usbdev "usb1" "USB1" "EVG2000:green:voip1" "1-1"
ucidef_set_led_usbdev "usb2" "USB2" "EVG2000:green:voip2" "1-2"
;;
-fast2704n)
+nucom,r5010un-v2)
+ ucidef_set_led_usbdev "usb" "USB" "R5010UNv2:green:usb" "1-1"
+ ;;
+sagem,fast-2704n)
ucidef_set_led_netdev "wan" "WAN" "F@ST2704N:green:inet" "eth0.2"
;;
-fast2704v2)
+sagem,fast-2704-v2)
ucidef_set_led_usbdev "usb" "USB" "F@ST2704V2:green:usb" "1-1"
;;
-hg553)
- ucidef_set_led_netdev "lan" "LAN" "HW553:blue:lan" "eth0"
- ucidef_set_led_usbdev "usb1" "USB1" "HW553:red:hspa" "1-1"
- ucidef_set_led_usbdev "usb2" "USB2" "HW553:blue:hspa" "1-2"
- ;;
-hg556a_*)
- ucidef_set_led_netdev "lan" "LAN" "HW556:red:dsl" "eth0"
- ucidef_set_led_usbdev "usb" "USB" "HW556:red:hspa" "1-2"
- ;;
-hg622)
- ucidef_set_led_usbdev "usb" "USB" "HG622:green:usb" "1-2"
- ;;
-hg655b)
- ucidef_set_led_usbdev "usb" "USB" "HW65x:green:usb" "1-2"
- ;;
-homehub2a)
- ucidef_set_led_netdev "lan" "LAN" "HOMEHUB2A:blue:broadband" "eth0.1"
- ucidef_set_led_netdev "wlan0" "WIFI" "HOMEHUB2A:green:wireless" "wlan0"
- ucidef_set_led_usbdev "usb1" "USB1" "HOMEHUB2A:blue:phone" "1-1"
- ucidef_set_led_usbdev "usb2" "USB2" "HOMEHUB2A:green:phone" "2-1"
- ;;
-livebox1)
- ucidef_set_led_netdev "lan" "LAN" "Livebox1:red:traffic" "eth0"
- ucidef_set_led_netdev "wan" "WAN" "Livebox1:red:adsl" "eth1"
- ucidef_set_led_netdev "wlan0" "WIFI" "Livebox1:red:wifi" "wlan0"
- ;;
-r1000h)
- ucidef_set_led_usbport "usb" "USB" "R1000H:green:usb" "usb1-port1" "usb2-port1"
+sercomm,ad1018-nor)
+ ucidef_set_led_netdev "wlan0" "WLAN" "AD1018:green:wifi" "wlan0"
;;
-r5010un_v2)
- ucidef_set_led_usbdev "usb" "USB" "R5010UNv2:green:usb" "1-1"
+telsey,cpva502plus)
+ ucidef_set_led_netdev "lan" "LAN" "CPVA502+:amber:link" "eth0"
;;
esac
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 a2ca5a37b3..7fa1514b4f 100755
--- a/target/linux/brcm63xx/base-files/etc/board.d/02_network
+++ b/target/linux/brcm63xx/base-files/etc/board.d/02_network
@@ -8,153 +8,137 @@
board_config_update
case "$(board_name)" in
-
-cvg834g |\
-evg2000 |\
-r1000h |\
-rta770bw |\
-rta770w |\
-spw303v |\
-spw500v)
+actiontec,r1000h|\
+dynalink,rta770bw|\
+dynalink,rta770w|\
+netgear,cvg834g|\
+netgear,evg2000|\
+t-com,speedport-w-303v|\
+t-com,speedport-w-500v)
ucidef_set_interface_lan "eth0"
;;
-
-ar1004g |\
-bcm96338gw |\
-bcm96338w |\
-cpva642 |\
-ct-5365 |\
-ct-536p_5621t |\
-ct-6373 |\
-dg834g_v4 |\
-dsl-2640b-b |\
-dsl-2640u |\
-fast2604 |\
-rta1320 |\
-v2110)
+adb,a4001n1|\
+adb,a4001n|\
+adb,av4202n|\
+brcm,bcm963281tan|\
+brcm,bcm96328avng|\
+brcm,bcm96368mvngr|\
+comtrend,ar-5381u|\
+comtrend,ar-5387un|\
+comtrend,vr-3025u|\
+comtrend,vr-3025un|\
+comtrend,vr-3026e|\
+d-link,dsl-274xb-f1|\
+d-link,dsl-275xb-d1|\
+huawei,echolife-hg622|\
+huawei,echolife-hg655b|\
+nucom,r5010un-v2|\
+sagem,fast-2504n|\
+sagem,fast-2704-v2|\
+zyxel,p870hw-51a-v2)
ucidef_add_switch "switch0" \
- "0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "5u@eth0"
+ "0:lan:1" "1:lan:2" "2:lan:3" "3:lan:4" "8t@eth0"
;;
-
-agpf-s0 |\
-bcm96348gw |\
-bcm96348gw-10 |\
-bcm96348gw-11 |\
-bcm96358vw |\
-bcm96358vw2 |\
-dg834gt |\
-dmv-s0 |\
-dsl-2650u |\
-dv-201amr |\
-f5d7633 |\
-fast2404 |\
-magic |\
-rg100a |\
-rta1025W |\
-td-w8900gb |\
-usr9108 |\
-v2500v_bb)
+alcatel,rg100a|\
+belkin,f5d7633|\
+brcm,bcm96348gw|\
+brcm,bcm96348gw-10|\
+brcm,bcm96348gw-11|\
+brcm,bcm96358vw|\
+brcm,bcm96358vw2|\
+bt,voyager-2500v-bb|\
+davolink,dv-201amr|\
+d-link,dsl-2650u|\
+dynalink,rta1025w|\
+netgear,dg834gt-pn|\
+pirelli,agpf-s0|\
+sagem,fast-2404|\
+telsey,magic|\
+tp-link,td-w8900gb|\
+usrobotics,usr9108)
ucidef_set_interfaces_lan_wan "eth1" "eth0"
ucidef_add_switch "switch0" \
"0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "5u@eth1"
;;
-
-dsl-274xb-c |\
-hg553 |\
-hg556a_* |\
-homehub2a)
+asmax,ar-1004g|\
+brcm,bcm96338gw|\
+brcm,bcm96338w|\
+bt,voyager-2110|\
+comtrend,ct-5365|\
+comtrend,ct-536plus|\
+comtrend,ct-6373|\
+d-link,dsl-2640b-b|\
+d-link,dsl-2640u|\
+dynalink,rta1320|\
+netgear,dg834g-v4|\
+sagem,fast-2604|\
+telsey,cpva642)
ucidef_add_switch "switch0" \
- "0:lan:1" "1:lan:2" "2:lan:3" "3:lan:4" "5t@eth0"
+ "0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "5u@eth0"
;;
-
-dva-g3810bn |\
-hg520 |\
-neufbox4)
- ucidef_set_interfaces_lan_wan "eth1.1" "eth0"
+brcm,bcm963268bu-p300)
ucidef_add_switch "switch0" \
- "0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "5t@eth1"
+ "0:lan" "3:lan" "4:lan" "5:lan" "6:lan" "7:lan" "8t@eth0"
;;
-
-a4001n1 |\
-a4001n |\
-ar-5381u |\
-ar-5387un |\
-av4202n |\
-bcm963281tan |\
-bcm96328avng |\
-bcm96368mvngr |\
-dsl-274xb-f |\
-dsl-275xb-d |\
-fast2504n |\
-fast2704v2 |\
-hg622 |\
-hg655b |\
-p870hw-51a_v2 |\
-r5010un_v2 |\
-vr-3025un |\
-vr-3025u |\
-vr-3026e)
+brcm,bcm96368mvwg)
ucidef_add_switch "switch0" \
- "0:lan:1" "1:lan:2" "2:lan:3" "3:lan:4" "8t@eth0"
+ "1:lan" "2:lan" "4:lan" "5:lan" "8t@eth0"
;;
-
-ar-5315u |\
-fast2704n |\
-vh4032n)
+bt,home-hub-2-a|\
+d-link,dsl-274xb-c2|\
+huawei,echolife-hg553|\
+huawei,echolife-hg556a-a|\
+huawei,echolife-hg556a-b|\
+huawei,echolife-hg556a-c)
+ ucidef_add_switch "switch0" \
+ "0:lan:1" "1:lan:2" "2:lan:3" "3:lan:4" "5t@eth0"
+ ;;
+comtrend,ar-5315u|\
+observa,vh4032n|\
+sagem,fast-2704n)
ucidef_add_switch "switch0" \
"0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "8t@eth0"
;;
-
-ad1018-nor)
+comtrend,wap-5813n)
ucidef_add_switch "switch0" \
- "1:lan:3" "2:lan:2" "3:lan:1" "0:wan" "8t@eth0"
+ "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "5t@eth0"
;;
-
-bcm96368mvwg)
+d-link,dva-g3810bn-tl|\
+huawei,echolife-hg520v|\
+sfr,neufbox-4-foxconn-r1|\
+sfr,neufbox-4-sercomm-r0)
+ ucidef_set_interfaces_lan_wan "eth1.1" "eth0"
ucidef_add_switch "switch0" \
- "1:lan" "2:lan" "4:lan" "5:lan" "8t@eth0"
+ "0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "5t@eth1"
;;
-
-wap-5813n)
+inteno,vg50)
ucidef_add_switch "switch0" \
- "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "5t@eth0"
+ "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "8t@eth0"
;;
-
-dgnd3700v1_dgnd3800b)
+inventel,livebox-1|\
+telsey,cpva502plus)
+ ucidef_set_interfaces_lan_wan "eth0" "eth1"
+ ;;
+netgear,dgnd3700-v1)
ucidef_add_switch "switch0" \
"1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "0:wan" "8t@eth0"
;;
-
-neufbox6)
+sercomm,ad1018-nor)
+ ucidef_add_switch "switch0" \
+ "1:lan:3" "2:lan:2" "3:lan:1" "0:wan" "8t@eth0"
+ ;;
+sfr,neufbox-6-sercomm-r0)
ucidef_add_switch "switch0" \
"1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "9t@eth0"
;;
-
-sr102)
+sky,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"
- ;;
-
-bcm963268bu_p300)
- ucidef_add_switch "switch0" \
- "0:lan" "3:lan" "4:lan" "5:lan" "6:lan" "7:lan" "8t@eth0"
- ;;
-
-cpva502p |\
-livebox1)
- ucidef_set_interfaces_lan_wan "eth0" "eth1"
- ;;
-
*)
ucidef_set_interfaces_lan_wan "eth1" "eth0"
;;
-
esac
board_config_flush
diff --git a/target/linux/brcm63xx/base-files/etc/diag.sh b/target/linux/brcm63xx/base-files/etc/diag.sh
index 34464ec44a..4b6d8d6065 100644
--- a/target/linux/brcm63xx/base-files/etc/diag.sh
+++ b/target/linux/brcm63xx/base-files/etc/diag.sh
@@ -6,141 +6,143 @@
set_state() {
case "$(board_name)" in
- a4001n1)
- status_led="A4001N1:green:power"
+ actiontec,r1000h)
+ status_led="R1000H:green:power"
;;
- a4001n)
+ adb,a4001n)
status_led="A4001N:green:power"
;;
- ad1018-nor)
- status_led="AD1018:green:power"
- ;;
- ar-5315u)
- status_led="AR-5315u:green:power"
- ;;
- ar-5381u)
- status_led="AR-5381u:green:power"
- ;;
- ar-5387un)
- status_led="AR-5387un:green:power"
+ adb,a4001n1)
+ status_led="A4001N1:green:power"
;;
- av4202n)
+ adb,av4202n)
status_led="AV4202N:white:power"
;;
- bcm96348gw)
- status_led="96348GW:green:power"
+ asmax,ar-1004g)
+ status_led="AR1004G:green:power"
;;
- bcm963281tan)
+ brcm,bcm963281tan)
status_led="963281TAN::power"
;;
- bcm96328avng)
+ brcm,bcm96328avng)
status_led="96328avng::power"
;;
- bcm96348gw-11)
- status_led="96348GW-11:green:power"
- ;;
- spw303v)
- status_led="spw303v:green:power+adsl"
+ brcm,bcm96348gw)
+ status_led="96348GW:green:power"
;;
- vh4032n)
- status_led="VH4032N:blue:power"
+ brcm,bcm96348gw-11)
+ status_led="96348GW-11:green:power"
;;
- vr-3025un)
- status_led="VR-3025un:green:power"
+ bt,home-hub-2-a)
+ status_led="HOMEHUB2A:green:upgrading"
+ status_led2="HOMEHUB2A:blue:upgrading"
;;
- vr-3025u)
- status_led="VR-3025u:green:power"
+ bt,voyager-2110)
+ status_led="V2110:power:green"
;;
- vr-3026e)
- status_led="VR-3026e:green:power"
+ comtrend,ar-5315u)
+ status_led="AR-5315u:green:power"
;;
- wap-5813n)
- status_led="WAP-5813n:green:power"
+ comtrend,ar-5381u)
+ status_led="AR-5381u:green:power"
;;
- ar1004g)
- status_led="AR1004G:green:power"
+ comtrend,ar-5387un)
+ status_led="AR-5387un:green:power"
;;
- dsl-274xb-c|\
- dsl-274xb-f)
- status_led="dsl-274xb:green:power"
+ comtrend,ct-536plus)
+ status_led="CT536_CT5621:green:power"
;;
- dsl-275xb-d)
- status_led="dsl-275xb:green:power"
+ comtrend,vr-3025u)
+ status_led="VR-3025u:green:power"
;;
- cpva642)
- status_led="CPVA642:green:power:"
+ comtrend,vr-3025un)
+ status_led="VR-3025un:green:power"
;;
- ct-536p_5621t)
- status_led="CT536_CT5621:green:power"
+ comtrend,vr-3026e)
+ status_led="VR-3026e:green:power"
;;
- cvg834g)
- status_led="CVG834G:green:power"
+ comtrend,wap-5813n)
+ status_led="WAP-5813n:green:power"
;;
- dsl-2640b-b)
+ d-link,dsl-2640b-b)
status_led="D-4P-W:green:power"
;;
- dgnd3700v1_dgnd3800b)
- status_led="DGND3700v1_3800B:green:power"
- ;;
- evg2000)
- status_led="EVG2000:green:power"
- ;;
- fast2504n)
- status_led="fast2504n:green:ok"
+ d-link,dsl-274xb-c2|\
+ d-link,dsl-274xb-f1)
+ status_led="dsl-274xb:green:power"
;;
- fast2704n)
- status_led2="F@ST2704N:red:power"
+ d-link,dsl-275xb-d1)
+ status_led="dsl-275xb:green:power"
;;
- fast2704v2)
- status_led="F@ST2704V2:green:power"
+ dynalink,rta770bw)
+ status_led="RTA770BW:green:diag"
;;
- homehub2a)
- status_led="HOMEHUB2A:green:upgrading"
- status_led2="HOMEHUB2A:blue:upgrading"
+ dynalink,rta770w)
+ status_led="RTA770W:green:diag"
;;
- gw6200)
- status_led="GW6200:green:line1"
- status_led2="GW6200:green:tel"
+ huawei,echolife-hg520v)
+ status_led="HW520:green:net"
;;
- hg553)
+ huawei,echolife-hg553)
status_led="HW553:blue:power"
;;
- hg556a_*)
+ huawei,echolife-hg556a-a|\
+ huawei,echolife-hg556a-b|\
+ huawei,echolife-hg556a-c)
status_led="HW556:red:power"
;;
- hg520)
- status_led="HW520:green:net"
- ;;
- hg655b)
+ huawei,echolife-hg655b)
status_led="HW65x:green:power"
;;
- livebox1)
+ inventel,livebox-1)
status_led="Livebox1:red:adsl-fail-power"
;;
- p870hw-51a_v2)
- status_led="P870HW-51a:green:power"
+ netgear,cvg834g)
+ status_led="CVG834G:green:power"
;;
- r1000h)
- status_led="R1000H:green:power"
+ netgear,dgnd3700-v1)
+ status_led="DGND3700v1_3800B:green:power"
;;
- r5010un_v2)
+ netgear,evg2000)
+ status_led="EVG2000:green:power"
+ ;;
+ nucom,r5010un-v2)
status_led="R5010UNv2:green:power"
;;
- rta770bw)
- status_led="RTA770BW:green:diag"
+ observa,vh4032n)
+ status_led="VH4032N:blue:power"
;;
- rta770w)
- status_led="RTA770W:green:diag"
+ sagem,fast-2504n)
+ status_led="fast2504n:green:ok"
+ ;;
+ sagem,fast-2704n)
+ status_led2="F@ST2704N:red:power"
+ ;;
+ sagem,fast-2704-v2)
+ status_led="F@ST2704V2:green:power"
+ ;;
+ sercomm,ad1018-nor)
+ status_led="AD1018:green:power"
;;
- sr102)
+ sky,sr102)
status_led="SR102:white:power"
status_led2="SR102:red:power"
;;
- spw500v)
+ t-com,speedport-w-303v)
+ status_led="spw303v:green:power+adsl"
+ ;;
+ t-com,speedport-w-500v)
status_led="SPW500V:green:power"
;;
- v2110)
- status_led="V2110:power:green"
+ tecom,gw6200)
+ status_led="GW6200:green:line1"
+ status_led2="GW6200:green:tel"
+ ;;
+ telsey,cpva642)
+ status_led="CPVA642:green:power:"
+ ;;
+ zyxel,p870hw-51a-v2)
+ status_led="P870HW-51a:green:power"
;;
esac
diff --git a/target/linux/brcm63xx/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/brcm63xx/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
index 2400eb998a..0e92481f08 100644
--- a/target/linux/brcm63xx/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
+++ b/target/linux/brcm63xx/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
@@ -10,11 +10,11 @@ board=$(board_name)
case "$FIRMWARE" in
"rt2x00.eeprom" )
case $board in
- hg556a_c)
+ huawei,echolife-hg556a-c)
caldata_extract "cal_data" 0x1fe00 0x200
;;
- hg622 |\
- hg655b)
+ huawei,echolife-hg622|\
+ huawei,echolife-hg655b)
caldata_extract "cal_data" 0x0 0x200
;;
*)
diff --git a/target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc b/target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc
index bfd485c27b..c33e56f28e 100644
--- a/target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc
+++ b/target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc
@@ -11,33 +11,33 @@ do_fixcrc() {
}
case "$(board_name)" in
- a4001n |\
- a4001n1 |\
- ar-5315u |\
- ar-5381u |\
- ar-5387un |\
- bcm96328avng |\
- bcm963281tan |\
- cpva502p |\
- cpva642 |\
- ct-6373 |\
- dsl-274xb-f |\
- evg2000 |\
- hg622 |\
- magic |\
- p870hw-51a_v2 |\
- r1000h |\
- r5010un_v2 |\
- rta770bw |\
- rta770w |\
- spw303v |\
- v2110 |\
- v2500v_bb |\
- vh4032n |\
- vr-3025u |\
- vr-3025un |\
- vr-3026e |\
- wap-5813n)
+ actiontec,r1000h|\
+ adb,a4001n|\
+ adb,a4001n1|\
+ brcm,bcm96328avng|\
+ brcm,bcm963281tan|\
+ bt,voyager-2110|\
+ bt,voyager-2500v-bb|\
+ comtrend,ar-5315u|\
+ comtrend,ar-5381u|\
+ comtrend,ar-5387un|\
+ comtrend,vr-3025u|\
+ comtrend,vr-3025un|\
+ comtrend,vr-3026e|\
+ comtrend,wap-5813n|\
+ comtrend,ct-6373|\
+ d-link,dsl-274xb-f1|\
+ dynalink,rta770bw|\
+ dynalink,rta770w|\
+ huawei,echolife-hg622|\
+ netgear,evg2000|\
+ nucom,r5010un-v2|\
+ observa,vh4032n|\
+ t-com,speedport-w-303v|\
+ telsey,cpva502plus|\
+ telsey,cpva642|\
+ telsey,magic|\
+ zyxel,p870hw-51a-v2)
do_fixcrc
;;
esac