eth0 -> single NIC (i211at) eth1 -> single NIC (i211at) -> 4-port unmanaged switch (BCM53125U) Notes UART is exposed on J4 connector, pinout starting from pin marked 1: 1. GND, 2. NC?, 3. NC?, 4. RX, 5. TX, 6. NC? baud: 115200, parity: none, flow control: none The board is setup by coreboot with UEFI. To enter setup screen hold ESC key on boot. The 5-LED multicolor matrix is attached on first I2C device named "Synopsys DesignWare I2C adapter" at address 0x60. Controlling values are stored in /opt/roqos/etc/rcLED.conf of original firmware. Remember to backup the original firmware, there are no downloadable copies. Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
30 lines
722 B
Text
30 lines
722 B
Text
#
|
|
# Copyright © 2017 OpenWrt.org
|
|
#
|
|
|
|
. /lib/functions/system.sh
|
|
. /lib/functions/uci-defaults.sh
|
|
|
|
board_config_update
|
|
|
|
case "$(board_name)" in
|
|
pc-engines-apu1|pc-engines-apu2|pc-engines-apu3)
|
|
ucidef_set_interfaces_lan_wan "eth1 eth2" "eth0"
|
|
;;
|
|
roqos-roqos-core-rc10)
|
|
ucidef_set_interfaces_lan_wan "eth1" "eth0"
|
|
;;
|
|
sophos-sg-105|sophos-xg-105)
|
|
ucidef_set_interfaces_lan_wan "eth0 eth2 eth3" "eth1"
|
|
;;
|
|
traverse-technologies-geos)
|
|
ucidef_set_interface_lan "eth0 eth1"
|
|
ucidef_add_atm_bridge "0" "35" "llc" "bridged"
|
|
ucidef_set_interface_wan "nas0" "dhcp"
|
|
macaddr="$(cat /sys/class/net/eth0/address)" 2>/dev/null
|
|
[ -n "$macaddr" ] && ucidef_set_interface_macaddr "wan" "$macaddr"
|
|
;;
|
|
esac
|
|
board_config_flush
|
|
|
|
exit 0
|