2014-02-22 11:16:33 +00:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2015-12-04 12:32:36 +00:00
|
|
|
# Copyright (C) 2013-2015 OpenWrt.org
|
2014-02-22 11:16:33 +00:00
|
|
|
#
|
|
|
|
|
2015-12-11 15:26:06 +00:00
|
|
|
. /lib/functions/uci-defaults.sh
|
2014-02-22 11:16:33 +00:00
|
|
|
|
2015-12-04 12:32:36 +00:00
|
|
|
board_config_update
|
|
|
|
|
2020-05-21 17:41:41 +00:00
|
|
|
board=$(board_name)
|
|
|
|
|
|
|
|
case "$board" in
|
brcm63xx: use compatible instead of manually setting board name
This patch removes the translation of device model name into a
board name in lib/brcm63xx.sh. The latter has been actually totally
useless as we have the compatible which can be used instead of
the board name (and actually is at other targets like ath79 or ramips).
The change requires updating the base-files with the new
identifiers based on compatible.
With all "board names" replaced by the compatible, we do not need
the old scripts to detect board name anymore and can also remove
the obsolete treatment of "legacy" devices without DTS, as there
are none of those left. So, this patch removes the target-specific
board detection and uses the standard procedure in
package/base-files/files/lib/preinit/02_sysinfo
This also fixes several cases where the board name was not set or
evaluated correctly:
- asmax,ar1004g in 02_network
- telsey,magic in 09_fix_crc/02_network
- brcm,bcm96338gw in 02_network
- brcm,bcm96338w in 02_network
- brcm,bcm96348gw in 02_network
- dynalink,rta1025w in 02_network
- huawei,echolife-hg520v in 02_network
- several cases in diag.sh
The following orphaned identifiers are removed from board.d files:
- dmv-s0
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-12-30 20:58:34 +00:00
|
|
|
actiontec,r1000h)
|
2020-10-10 17:44:02 +00:00
|
|
|
ucidef_set_led_usbport "usb" "USB" "green:usb" "usb1-port1" "usb2-port1"
|
brcm63xx: use compatible instead of manually setting board name
This patch removes the translation of device model name into a
board name in lib/brcm63xx.sh. The latter has been actually totally
useless as we have the compatible which can be used instead of
the board name (and actually is at other targets like ath79 or ramips).
The change requires updating the base-files with the new
identifiers based on compatible.
With all "board names" replaced by the compatible, we do not need
the old scripts to detect board name anymore and can also remove
the obsolete treatment of "legacy" devices without DTS, as there
are none of those left. So, this patch removes the target-specific
board detection and uses the standard procedure in
package/base-files/files/lib/preinit/02_sysinfo
This also fixes several cases where the board name was not set or
evaluated correctly:
- asmax,ar1004g in 02_network
- telsey,magic in 09_fix_crc/02_network
- brcm,bcm96338gw in 02_network
- brcm,bcm96338w in 02_network
- brcm,bcm96348gw in 02_network
- dynalink,rta1025w in 02_network
- huawei,echolife-hg520v in 02_network
- several cases in diag.sh
The following orphaned identifiers are removed from board.d files:
- dmv-s0
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-12-30 20:58:34 +00:00
|
|
|
;;
|
2020-10-10 17:44:02 +00:00
|
|
|
adb,a4001n|\
|
bcm63xx: add support for ADB P.DG A4101N A-000-1A1-AE
ADB P.DG A4101N A-000-1A1-AE has a similar PCB as the OpenWrt's ADB P.DG A4001N1
with LEDs connected to different GPIO PINs in active low configuration.
Hardware:
* Board ID: 96328avngv
* SoC: Broadcom BCM6328 (rev b0) @ 320MHz, CPU BMIPS4350
* RAM DDR2: 64 Mbyte - Winbond W9751G6KB-25
* Serial flash: 16 Mbyte - Winbond 25Q128BVFG
* Ethernet: 4x Ethernet 10/100 baseT
* Wifi 2.4GHz: Broadcom Corporation BCM43225 Wireless Network Adapter (rev 23)
* LEDs: 1x Power, 1x DSL, 1x Internet, 4x ETH, 1x USB, 1x WLAN, 1x WPS, 1x TEL
* Buttons: 1x Reset, 1x WPS, 1x unnamed
* UART: 1x TTL 115200n8, VCC RX TX GND, on J502 connector
Installation via CFE:
* Stock CFE has to be overwritten with a generic 6328 one that can upload
.bin images with no signature check (cfe6328_configured.bin)
* Connect a serial port to the board
* Stop the cfe boot process after power on by pressing enter
* Set static IP 192.168.2.10 and subnet mask 255.255.255.0
* Navigate to http://192.168.2.50/
* Upload the OpenWrt image file
A4101N GPIO LAYOUT:
Power always on
DSL GPIO483(03)
Internet GPIO491(11)
ETH1 GPIO505(25)
ETH2 GPIO506(26)
ETH3 GPIO507(27)
ETH4 GPIO508(28)
USB GPIO490(10)
WLAN controlled by BCM43225
WPS GPIO489(09)
TEL GPIO511(31)
Key RESET GPIO503(23)
Key WPS GPIO504(24)
Key unnamed GPIO492(12)
Signed-off-by: Daniele Castro <danielecastro@hotmail.it>
[Amend commit description, DTS improvements, refresh patches]
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2020-09-09 01:21:14 +00:00
|
|
|
adb,pdg-a4101n-a-000-1a1-ae|\
|
2020-10-10 17:44:02 +00:00
|
|
|
comtrend,ar-5315u|\
|
|
|
|
comtrend,vr-3032u|\
|
2020-08-18 12:22:20 +00:00
|
|
|
d-link,dsl-2750u-c1|\
|
2020-10-10 17:44:02 +00:00
|
|
|
huawei,hg253s-v2|\
|
|
|
|
nucom,r5010un-v2|\
|
|
|
|
sagem,fast-2704-v2)
|
|
|
|
ucidef_set_led_usbdev "usb" "USB" "green:usb" "1-1"
|
brcm63xx: use compatible instead of manually setting board name
This patch removes the translation of device model name into a
board name in lib/brcm63xx.sh. The latter has been actually totally
useless as we have the compatible which can be used instead of
the board name (and actually is at other targets like ath79 or ramips).
The change requires updating the base-files with the new
identifiers based on compatible.
With all "board names" replaced by the compatible, we do not need
the old scripts to detect board name anymore and can also remove
the obsolete treatment of "legacy" devices without DTS, as there
are none of those left. So, this patch removes the target-specific
board detection and uses the standard procedure in
package/base-files/files/lib/preinit/02_sysinfo
This also fixes several cases where the board name was not set or
evaluated correctly:
- asmax,ar1004g in 02_network
- telsey,magic in 09_fix_crc/02_network
- brcm,bcm96338gw in 02_network
- brcm,bcm96338w in 02_network
- brcm,bcm96348gw in 02_network
- dynalink,rta1025w in 02_network
- huawei,echolife-hg520v in 02_network
- several cases in diag.sh
The following orphaned identifiers are removed from board.d files:
- dmv-s0
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-12-30 20:58:34 +00:00
|
|
|
;;
|
|
|
|
adb,a4001n1)
|
2020-10-10 17:44:02 +00:00
|
|
|
ucidef_set_led_netdev "lan" "LAN" "green:eth" "eth0"
|
|
|
|
ucidef_set_led_usbdev "usb" "USB" "green:3g" "1-1"
|
2014-07-12 12:31:30 +00:00
|
|
|
;;
|
2020-12-06 18:20:04 +00:00
|
|
|
adb,pdg-a4001n-a-000-1a1-ax|\
|
|
|
|
technicolor,tg582n-telecom-italia)
|
2020-10-10 17:44:02 +00:00
|
|
|
ucidef_set_led_netdev "wlan0" "WIFI" "green:wifi" "wlan0"
|
2020-09-14 01:49:30 +00:00
|
|
|
ucidef_set_led_usbdev "usb1" "USB1" "green:service" "1-1"
|
|
|
|
ucidef_set_led_usbdev "usb2" "USB2" "red:service" "2-1"
|
2019-12-02 15:13:44 +00:00
|
|
|
;;
|
brcm63xx: use compatible instead of manually setting board name
This patch removes the translation of device model name into a
board name in lib/brcm63xx.sh. The latter has been actually totally
useless as we have the compatible which can be used instead of
the board name (and actually is at other targets like ath79 or ramips).
The change requires updating the base-files with the new
identifiers based on compatible.
With all "board names" replaced by the compatible, we do not need
the old scripts to detect board name anymore and can also remove
the obsolete treatment of "legacy" devices without DTS, as there
are none of those left. So, this patch removes the target-specific
board detection and uses the standard procedure in
package/base-files/files/lib/preinit/02_sysinfo
This also fixes several cases where the board name was not set or
evaluated correctly:
- asmax,ar1004g in 02_network
- telsey,magic in 09_fix_crc/02_network
- brcm,bcm96338gw in 02_network
- brcm,bcm96338w in 02_network
- brcm,bcm96348gw in 02_network
- dynalink,rta1025w in 02_network
- huawei,echolife-hg520v in 02_network
- several cases in diag.sh
The following orphaned identifiers are removed from board.d files:
- dmv-s0
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-12-30 20:58:34 +00:00
|
|
|
adb,av4202n)
|
2020-10-10 17:44:02 +00:00
|
|
|
ucidef_set_led_netdev "wlan0" "WLAN" "blue:wifi" "wlan0"
|
2014-07-27 17:44:59 +00:00
|
|
|
;;
|
brcm63xx: use compatible instead of manually setting board name
This patch removes the translation of device model name into a
board name in lib/brcm63xx.sh. The latter has been actually totally
useless as we have the compatible which can be used instead of
the board name (and actually is at other targets like ath79 or ramips).
The change requires updating the base-files with the new
identifiers based on compatible.
With all "board names" replaced by the compatible, we do not need
the old scripts to detect board name anymore and can also remove
the obsolete treatment of "legacy" devices without DTS, as there
are none of those left. So, this patch removes the target-specific
board detection and uses the standard procedure in
package/base-files/files/lib/preinit/02_sysinfo
This also fixes several cases where the board name was not set or
evaluated correctly:
- asmax,ar1004g in 02_network
- telsey,magic in 09_fix_crc/02_network
- brcm,bcm96338gw in 02_network
- brcm,bcm96338w in 02_network
- brcm,bcm96348gw in 02_network
- dynalink,rta1025w in 02_network
- huawei,echolife-hg520v in 02_network
- several cases in diag.sh
The following orphaned identifiers are removed from board.d files:
- dmv-s0
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-12-30 20:58:34 +00:00
|
|
|
bt,home-hub-2-a)
|
2020-10-10 17:44:02 +00:00
|
|
|
ucidef_set_led_netdev "lan" "LAN" "blue:broadband" "eth0.1"
|
|
|
|
ucidef_set_led_netdev "wlan0" "WIFI" "green:wireless" "wlan0"
|
|
|
|
ucidef_set_led_usbdev "usb1" "USB1" "blue:phone" "1-1"
|
|
|
|
ucidef_set_led_usbdev "usb2" "USB2" "green:phone" "2-1"
|
2020-05-14 16:19:35 +00:00
|
|
|
;;
|
brcm63xx: use compatible instead of manually setting board name
This patch removes the translation of device model name into a
board name in lib/brcm63xx.sh. The latter has been actually totally
useless as we have the compatible which can be used instead of
the board name (and actually is at other targets like ath79 or ramips).
The change requires updating the base-files with the new
identifiers based on compatible.
With all "board names" replaced by the compatible, we do not need
the old scripts to detect board name anymore and can also remove
the obsolete treatment of "legacy" devices without DTS, as there
are none of those left. So, this patch removes the target-specific
board detection and uses the standard procedure in
package/base-files/files/lib/preinit/02_sysinfo
This also fixes several cases where the board name was not set or
evaluated correctly:
- asmax,ar1004g in 02_network
- telsey,magic in 09_fix_crc/02_network
- brcm,bcm96338gw in 02_network
- brcm,bcm96338w in 02_network
- brcm,bcm96348gw in 02_network
- dynalink,rta1025w in 02_network
- huawei,echolife-hg520v in 02_network
- several cases in diag.sh
The following orphaned identifiers are removed from board.d files:
- dmv-s0
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-12-30 20:58:34 +00:00
|
|
|
huawei,echolife-hg553)
|
2020-10-10 17:44:02 +00:00
|
|
|
ucidef_set_led_netdev "lan" "LAN" "blue:lan" "eth0"
|
|
|
|
ucidef_set_led_usbdev "usb1" "USB1" "red:hspa" "1-1"
|
|
|
|
ucidef_set_led_usbdev "usb2" "USB2" "blue:hspa" "1-2"
|
2016-12-23 23:24:44 +00:00
|
|
|
;;
|
brcm63xx: use compatible instead of manually setting board name
This patch removes the translation of device model name into a
board name in lib/brcm63xx.sh. The latter has been actually totally
useless as we have the compatible which can be used instead of
the board name (and actually is at other targets like ath79 or ramips).
The change requires updating the base-files with the new
identifiers based on compatible.
With all "board names" replaced by the compatible, we do not need
the old scripts to detect board name anymore and can also remove
the obsolete treatment of "legacy" devices without DTS, as there
are none of those left. So, this patch removes the target-specific
board detection and uses the standard procedure in
package/base-files/files/lib/preinit/02_sysinfo
This also fixes several cases where the board name was not set or
evaluated correctly:
- asmax,ar1004g in 02_network
- telsey,magic in 09_fix_crc/02_network
- brcm,bcm96338gw in 02_network
- brcm,bcm96338w in 02_network
- brcm,bcm96348gw in 02_network
- dynalink,rta1025w in 02_network
- huawei,echolife-hg520v in 02_network
- several cases in diag.sh
The following orphaned identifiers are removed from board.d files:
- dmv-s0
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-12-30 20:58:34 +00:00
|
|
|
huawei,echolife-hg556a-a|\
|
|
|
|
huawei,echolife-hg556a-b|\
|
|
|
|
huawei,echolife-hg556a-c)
|
2020-10-10 17:44:02 +00:00
|
|
|
ucidef_set_led_netdev "lan" "LAN" "red:dsl" "eth0"
|
|
|
|
ucidef_set_led_usbdev "usb" "USB" "red:hspa" "1-2"
|
brcm63xx: use compatible instead of manually setting board name
This patch removes the translation of device model name into a
board name in lib/brcm63xx.sh. The latter has been actually totally
useless as we have the compatible which can be used instead of
the board name (and actually is at other targets like ath79 or ramips).
The change requires updating the base-files with the new
identifiers based on compatible.
With all "board names" replaced by the compatible, we do not need
the old scripts to detect board name anymore and can also remove
the obsolete treatment of "legacy" devices without DTS, as there
are none of those left. So, this patch removes the target-specific
board detection and uses the standard procedure in
package/base-files/files/lib/preinit/02_sysinfo
This also fixes several cases where the board name was not set or
evaluated correctly:
- asmax,ar1004g in 02_network
- telsey,magic in 09_fix_crc/02_network
- brcm,bcm96338gw in 02_network
- brcm,bcm96338w in 02_network
- brcm,bcm96348gw in 02_network
- dynalink,rta1025w in 02_network
- huawei,echolife-hg520v in 02_network
- several cases in diag.sh
The following orphaned identifiers are removed from board.d files:
- dmv-s0
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-12-30 20:58:34 +00:00
|
|
|
;;
|
2020-10-10 17:44:02 +00:00
|
|
|
huawei,echolife-hg622|\
|
brcm63xx: use compatible instead of manually setting board name
This patch removes the translation of device model name into a
board name in lib/brcm63xx.sh. The latter has been actually totally
useless as we have the compatible which can be used instead of
the board name (and actually is at other targets like ath79 or ramips).
The change requires updating the base-files with the new
identifiers based on compatible.
With all "board names" replaced by the compatible, we do not need
the old scripts to detect board name anymore and can also remove
the obsolete treatment of "legacy" devices without DTS, as there
are none of those left. So, this patch removes the target-specific
board detection and uses the standard procedure in
package/base-files/files/lib/preinit/02_sysinfo
This also fixes several cases where the board name was not set or
evaluated correctly:
- asmax,ar1004g in 02_network
- telsey,magic in 09_fix_crc/02_network
- brcm,bcm96338gw in 02_network
- brcm,bcm96338w in 02_network
- brcm,bcm96348gw in 02_network
- dynalink,rta1025w in 02_network
- huawei,echolife-hg520v in 02_network
- several cases in diag.sh
The following orphaned identifiers are removed from board.d files:
- dmv-s0
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-12-30 20:58:34 +00:00
|
|
|
huawei,echolife-hg655b)
|
2020-10-10 17:44:02 +00:00
|
|
|
ucidef_set_led_usbdev "usb" "USB" "green:usb" "1-2"
|
brcm63xx: use compatible instead of manually setting board name
This patch removes the translation of device model name into a
board name in lib/brcm63xx.sh. The latter has been actually totally
useless as we have the compatible which can be used instead of
the board name (and actually is at other targets like ath79 or ramips).
The change requires updating the base-files with the new
identifiers based on compatible.
With all "board names" replaced by the compatible, we do not need
the old scripts to detect board name anymore and can also remove
the obsolete treatment of "legacy" devices without DTS, as there
are none of those left. So, this patch removes the target-specific
board detection and uses the standard procedure in
package/base-files/files/lib/preinit/02_sysinfo
This also fixes several cases where the board name was not set or
evaluated correctly:
- asmax,ar1004g in 02_network
- telsey,magic in 09_fix_crc/02_network
- brcm,bcm96338gw in 02_network
- brcm,bcm96338w in 02_network
- brcm,bcm96348gw in 02_network
- dynalink,rta1025w in 02_network
- huawei,echolife-hg520v in 02_network
- several cases in diag.sh
The following orphaned identifiers are removed from board.d files:
- dmv-s0
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-12-30 20:58:34 +00:00
|
|
|
;;
|
|
|
|
inventel,livebox-1)
|
2020-10-10 17:44:02 +00:00
|
|
|
ucidef_set_led_netdev "lan" "LAN" "red:traffic" "eth0"
|
|
|
|
ucidef_set_led_netdev "wan" "WAN" "red:adsl" "eth1"
|
|
|
|
ucidef_set_led_netdev "wlan0" "WIFI" "red:wifi" "wlan0"
|
2017-02-14 15:37:04 +00:00
|
|
|
;;
|
brcm63xx: use compatible instead of manually setting board name
This patch removes the translation of device model name into a
board name in lib/brcm63xx.sh. The latter has been actually totally
useless as we have the compatible which can be used instead of
the board name (and actually is at other targets like ath79 or ramips).
The change requires updating the base-files with the new
identifiers based on compatible.
With all "board names" replaced by the compatible, we do not need
the old scripts to detect board name anymore and can also remove
the obsolete treatment of "legacy" devices without DTS, as there
are none of those left. So, this patch removes the target-specific
board detection and uses the standard procedure in
package/base-files/files/lib/preinit/02_sysinfo
This also fixes several cases where the board name was not set or
evaluated correctly:
- asmax,ar1004g in 02_network
- telsey,magic in 09_fix_crc/02_network
- brcm,bcm96338gw in 02_network
- brcm,bcm96338w in 02_network
- brcm,bcm96348gw in 02_network
- dynalink,rta1025w in 02_network
- huawei,echolife-hg520v in 02_network
- several cases in diag.sh
The following orphaned identifiers are removed from board.d files:
- dmv-s0
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-12-30 20:58:34 +00:00
|
|
|
netgear,dgnd3700-v1)
|
2020-10-10 17:44:02 +00:00
|
|
|
ucidef_set_led_netdev "lan" "LAN" "green:lan" "eth0.1"
|
|
|
|
ucidef_set_led_netdev "wan" "WAN" "green:inet" "eth0.2"
|
|
|
|
ucidef_set_led_netdev "wlan0" "WIFI2G" "green:wifi2g" "wlan0"
|
|
|
|
ucidef_set_led_netdev "wlan1" "WIFI5G" "blue:wifi5g" "wlan1"
|
|
|
|
ucidef_set_led_usbdev "usb1" "USB1" "green:usb-back" "1-1"
|
|
|
|
ucidef_set_led_usbdev "usb2" "USB2" "green:usb-front" "1-2"
|
2015-03-16 11:52:10 +00:00
|
|
|
;;
|
2020-05-19 06:55:06 +00:00
|
|
|
netgear,dgnd3700-v2)
|
2020-10-10 17:44:02 +00:00
|
|
|
ucidef_set_led_netdev "lan" "LAN" "green:ethernet" "eth0"
|
|
|
|
ucidef_set_led_usbdev "usb1" "USB1" "green:usb1" "1-1"
|
|
|
|
ucidef_set_led_usbdev "usb2" "USB2" "green:usb2" "1-2"
|
2020-05-19 06:55:06 +00:00
|
|
|
;;
|
brcm63xx: use compatible instead of manually setting board name
This patch removes the translation of device model name into a
board name in lib/brcm63xx.sh. The latter has been actually totally
useless as we have the compatible which can be used instead of
the board name (and actually is at other targets like ath79 or ramips).
The change requires updating the base-files with the new
identifiers based on compatible.
With all "board names" replaced by the compatible, we do not need
the old scripts to detect board name anymore and can also remove
the obsolete treatment of "legacy" devices without DTS, as there
are none of those left. So, this patch removes the target-specific
board detection and uses the standard procedure in
package/base-files/files/lib/preinit/02_sysinfo
This also fixes several cases where the board name was not set or
evaluated correctly:
- asmax,ar1004g in 02_network
- telsey,magic in 09_fix_crc/02_network
- brcm,bcm96338gw in 02_network
- brcm,bcm96338w in 02_network
- brcm,bcm96348gw in 02_network
- dynalink,rta1025w in 02_network
- huawei,echolife-hg520v in 02_network
- several cases in diag.sh
The following orphaned identifiers are removed from board.d files:
- dmv-s0
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-12-30 20:58:34 +00:00
|
|
|
netgear,evg2000)
|
2020-10-10 17:44:02 +00:00
|
|
|
ucidef_set_led_netdev "lan" "LAN" "green:lan" "eth0"
|
|
|
|
ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth1"
|
|
|
|
ucidef_set_led_netdev "wlan0" "WIFI" "green:wireless" "wlan0"
|
|
|
|
ucidef_set_led_usbdev "usb1" "USB1" "green:voip1" "1-1"
|
|
|
|
ucidef_set_led_usbdev "usb2" "USB2" "green:voip2" "1-2"
|
brcm63xx: use compatible instead of manually setting board name
This patch removes the translation of device model name into a
board name in lib/brcm63xx.sh. The latter has been actually totally
useless as we have the compatible which can be used instead of
the board name (and actually is at other targets like ath79 or ramips).
The change requires updating the base-files with the new
identifiers based on compatible.
With all "board names" replaced by the compatible, we do not need
the old scripts to detect board name anymore and can also remove
the obsolete treatment of "legacy" devices without DTS, as there
are none of those left. So, this patch removes the target-specific
board detection and uses the standard procedure in
package/base-files/files/lib/preinit/02_sysinfo
This also fixes several cases where the board name was not set or
evaluated correctly:
- asmax,ar1004g in 02_network
- telsey,magic in 09_fix_crc/02_network
- brcm,bcm96338gw in 02_network
- brcm,bcm96338w in 02_network
- brcm,bcm96348gw in 02_network
- dynalink,rta1025w in 02_network
- huawei,echolife-hg520v in 02_network
- several cases in diag.sh
The following orphaned identifiers are removed from board.d files:
- dmv-s0
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-12-30 20:58:34 +00:00
|
|
|
;;
|
|
|
|
sagem,fast-2704n)
|
2020-10-10 17:44:02 +00:00
|
|
|
ucidef_set_led_netdev "wan" "WAN" "green:inet" "eth0.2"
|
2020-05-20 06:40:52 +00:00
|
|
|
;;
|
2020-10-10 17:44:02 +00:00
|
|
|
sercomm,ad1018|\
|
brcm63xx: use compatible instead of manually setting board name
This patch removes the translation of device model name into a
board name in lib/brcm63xx.sh. The latter has been actually totally
useless as we have the compatible which can be used instead of
the board name (and actually is at other targets like ath79 or ramips).
The change requires updating the base-files with the new
identifiers based on compatible.
With all "board names" replaced by the compatible, we do not need
the old scripts to detect board name anymore and can also remove
the obsolete treatment of "legacy" devices without DTS, as there
are none of those left. So, this patch removes the target-specific
board detection and uses the standard procedure in
package/base-files/files/lib/preinit/02_sysinfo
This also fixes several cases where the board name was not set or
evaluated correctly:
- asmax,ar1004g in 02_network
- telsey,magic in 09_fix_crc/02_network
- brcm,bcm96338gw in 02_network
- brcm,bcm96338w in 02_network
- brcm,bcm96348gw in 02_network
- dynalink,rta1025w in 02_network
- huawei,echolife-hg520v in 02_network
- several cases in diag.sh
The following orphaned identifiers are removed from board.d files:
- dmv-s0
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-12-30 20:58:34 +00:00
|
|
|
sercomm,ad1018-nor)
|
2020-10-10 17:44:02 +00:00
|
|
|
ucidef_set_led_netdev "wlan0" "WLAN" "green:wifi" "wlan0"
|
2017-02-19 18:27:36 +00:00
|
|
|
;;
|
2020-06-07 08:55:56 +00:00
|
|
|
sercomm,h500-s-lowi|\
|
|
|
|
sercomm,h500-s-vfes)
|
2020-10-10 17:44:02 +00:00
|
|
|
ucidef_set_led_netdev "wan" "WAN" "green:internet" "eth0.2"
|
2020-06-07 08:55:56 +00:00
|
|
|
;;
|
bcm63xx: add support for Technicolor TG582n
Technicolor TG582n has a similar PCB as the OpenWrt's ADB P.DG A4001N1
with LEDs connected to different GPIO PINs in active low configuration.
Hardware:
* Board ID: DANT-1
* SoC: Broadcom BCM6328 (rev b0) @ 320MHz, CPU BMIPS4350
* RAM DDR2: 64 Mbyte - Winbond W9751G6KB-25
* Serial flash: 16 Mbyte - MXIC MX25L6445EMI
* Ethernet: 4x Ethernet 10/100 baseT
* Wifi 2.4GHz: Broadcom Corporation BCM43227 Wireless Network Adapter (rev 30)
* LEDs: 2x Power, 1x Ethernet, 1x Broadband, 2x Wi-Fi, 2x WPS, 4x ethernet
* Buttons: 1x Reset, 1x WPS, 1x WiFi
* UART: 1x TTL 115200n8, VCC GND TX RX, on J3 connector (short R62 and R63)
Installation via CFE:
* Stock CFE has to be overwritten with a generic 6328 one that can upload
.bin images with no signature check (cfe6328_configured.bin)
* Connect a serial port to the board
* Stop the CFE boot process after power on by pressing enter
* Set static IP 192.168.2.10 and subnet mask 255.255.255.0
* Navigate to http://192.168.2.50/
* Upload the OpenWrt image file
PCB: |GPIO: |TG582n:
LED2R |488(08) |red Power
LED2G |484(04) |green Power
LED10R |486(06) |
LED13G |485(05) |green Ethernet
LED11R |494(14) |
LED14G |491(11) |green Broadband
LED5R |487(07) |red Internet
LED5G |481(01) |green Internet
LED12R |498(18) |
LED12G |499(19) |
LED6R |482(02) |red Wi-Fi
LED6G |483(03) |green Wi-Fi
LED7R |490(10) |red WPS
LED7G |489(09) |green WPS
LED4 |508(28) |ethernet port 4
LED3 |507(27) |ethernet port 3
LED9 |506(26) |ethernet port 2
LED8 |505(25) |ethernet port 1
SW3 |503(23) |key Reset
SW5 |504(24) |key WPS
SW4 |495(15) |key Wi-Fi
SW6 |493(13) |
SW1 |492(12) |
Signed-off-by: Daniele Castro <danielecastro@hotmail.it>
[Fix base-files, refresh patch]
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2020-09-10 19:14:11 +00:00
|
|
|
technicolor,tg582n)
|
|
|
|
ucidef_set_led_netdev "wlan0" "WIFI" "green:wifi" "wlan0"
|
|
|
|
ucidef_set_led_usbdev "usb" "USB" "red:power" "1-1"
|
|
|
|
;;
|
brcm63xx: use compatible instead of manually setting board name
This patch removes the translation of device model name into a
board name in lib/brcm63xx.sh. The latter has been actually totally
useless as we have the compatible which can be used instead of
the board name (and actually is at other targets like ath79 or ramips).
The change requires updating the base-files with the new
identifiers based on compatible.
With all "board names" replaced by the compatible, we do not need
the old scripts to detect board name anymore and can also remove
the obsolete treatment of "legacy" devices without DTS, as there
are none of those left. So, this patch removes the target-specific
board detection and uses the standard procedure in
package/base-files/files/lib/preinit/02_sysinfo
This also fixes several cases where the board name was not set or
evaluated correctly:
- asmax,ar1004g in 02_network
- telsey,magic in 09_fix_crc/02_network
- brcm,bcm96338gw in 02_network
- brcm,bcm96338w in 02_network
- brcm,bcm96348gw in 02_network
- dynalink,rta1025w in 02_network
- huawei,echolife-hg520v in 02_network
- several cases in diag.sh
The following orphaned identifiers are removed from board.d files:
- dmv-s0
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-12-30 20:58:34 +00:00
|
|
|
telsey,cpva502plus)
|
2020-10-10 17:44:02 +00:00
|
|
|
ucidef_set_led_netdev "lan" "LAN" "amber:link" "eth0"
|
2015-12-02 22:18:20 +00:00
|
|
|
;;
|
2014-02-22 11:16:33 +00:00
|
|
|
esac
|
|
|
|
|
2015-12-04 12:32:36 +00:00
|
|
|
board_config_flush
|
2014-02-22 11:16:33 +00:00
|
|
|
|
|
|
|
exit 0
|