mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-25 22:46:15 +00:00
1a69543376
Specifications: - SoC: Broadcom BCM63168 dual 400MHz MIPS - Flash: 16MB SPI NOR W25Q128WFG - RAM: 128MB DDR3 W631GG6KB-15 - Ethernet: 1x 1000M, 3x 100M - Wifi: BCM435F - 1x USB 2.0 port - 3x Button - 12x LED Flashing via serial - Connect to the 3.3V TTL UART on the board (J6 pinout Vcc Rx Tx Gnd) at 115200-8-N-1 - Press any key in the serial console when powering up the board to enter the CFE prompt - Configure an interface on your workstation to static IP 192.168.1.100 and connect it to the board - Start a TFTP server with the firmware image - On the CFE prompt, enter the command "f 192.168.1.100:openwrt-bmips-bcm63268-smartrg_sr505n-squashfs-cfe.bin" Signed-off-by: Kyle Hendry <kylehendrydev@gmail.com> [Remove unneeded LED labels] Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
31 lines
834 B
Plaintext
31 lines
834 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
. /lib/functions/leds.sh
|
|
. /lib/functions/uci-defaults.sh
|
|
|
|
board_config_update
|
|
|
|
case "$(board_name)" in
|
|
comtrend,vr-3032u)
|
|
ucidef_set_led_usbport "usb" "USB" "green:usb" "usb1-port1" "usb2-port1"
|
|
;;
|
|
smartrg,sr505n)
|
|
ucidef_set_led_usbport "usb" "USB" "green:usb" "usb1-port1"
|
|
;;
|
|
sercomm,h500-s-lowi |\
|
|
sercomm,h500-s-vfes)
|
|
ucidef_set_led_netdev "wan" "WAN" "green:internet" "wan"
|
|
ucidef_set_led_netdev "wifi" "WiFi" "green:wifi" "wifi"
|
|
ucidef_set_led_usbport "usb" "USB" "green:mobile" "usb1-port1" "usb2-port1"
|
|
;;
|
|
sercomm,shg2500)
|
|
ucidef_set_led_netdev "wan" "WAN" "green:internet" "wan"
|
|
ucidef_set_led_usbport "usb1" "USB1" "blue:modem" "usb1-port1" "usb2-port1"
|
|
ucidef_set_led_usbport "usb2" "USB2" "green:modem" "usb1-port2" "usb2-port2"
|
|
;;
|
|
esac
|
|
|
|
board_config_flush
|
|
|
|
exit 0
|