Specifications: - SoC: Broadcom BCM6358 dual 300MHz MIPS - Flash: 16MB NOR - RAM: 64MB DDR - Ethernet: 4x 100M - Wifi: Broadcom BCM4318 - 2x USB 2.0 port - 2x Button - 9x LED - RJ11 2x FXS VoIP (unsupported) - RJ11 xDSL (unsupported) Install instructions: - Assign static IP 192.168.1.100 to PC. - Unplug the power source. - Press the RESTART button at the router, don't release it yet! - Plug the power source and wait at least 15 seconds. - Release the RESTART button. - Browse to http://192.168.1.1 with your PC. - Upload the openwrt-bmips-bcm6358-huawei_hg553-squashfs-cfe.bin file. - Wait some minutes until the firmware upgrade completes. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
27 lines
773 B
Text
27 lines
773 B
Text
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
. /lib/functions/leds.sh
|
|
. /lib/functions/uci-defaults.sh
|
|
|
|
board_config_update
|
|
|
|
case "$(board_name)" in
|
|
huawei,hg553)
|
|
ucidef_set_led_netdev "lan" "LAN" "blue:lan" "br-lan"
|
|
ucidef_set_led_netdev "wlan" "WLAN" "blue:wlan" "phy0-ap0"
|
|
ucidef_set_led_usbport "usb" "USB" "blue:hspa" "usb1-port2" "usb2-port2"
|
|
;;
|
|
huawei,hg556a-a |\
|
|
huawei,hg556a-b |\
|
|
huawei,hg556a-c)
|
|
ucidef_set_led_netdev "lan1" "LAN1" "green:lan1" "lan1"
|
|
ucidef_set_led_netdev "lan2" "LAN2" "green:lan2" "lan2"
|
|
ucidef_set_led_netdev "lan3" "LAN3" "green:lan3" "lan3"
|
|
ucidef_set_led_netdev "lan4" "LAN4" "green:lan4" "lan4"
|
|
ucidef_set_led_usbport "usb" "USB" "red:hspa" "1-1-port1" "1-1-port2" "usb1-port2" "usb2-port2"
|
|
;;
|
|
esac
|
|
|
|
board_config_flush
|
|
|
|
exit 0
|