mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2025-09-18 01:09:22 +00:00
The Radxa E52C is a compact network computer using the Rockchip RK3582 SoC. - https://radxa.com/products/network-computer/e52c Hardware -------- - Dual Cortex-A76 and Quad Cortex-A55 CPU - 5 TOPS NPU - 2/4/8GB LPDDR4 RAM - 16/32/64GB on-board eMMC - microSD card slot - 2x 2.5 Gigabit Ethernet ports - USB 3.1 Gen1 Type-A HOST/OTG port - USB Type-C debug port - USB Type-C power port Installation ------------ Uncompress the OpenWrt sysupgrade and write it to a micro SD card or eMMC using dd. Signed-off-by: FUKAUMI Naoki <naoki@radxa.com> Link: https://github.com/openwrt/openwrt/pull/19867 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
44 lines
1.1 KiB
Plaintext
44 lines
1.1 KiB
Plaintext
|
|
. /lib/functions/leds.sh
|
|
. /lib/functions/uci-defaults.sh
|
|
|
|
board=$(board_name)
|
|
boardname="${board##*,}"
|
|
|
|
board_config_update
|
|
|
|
case $board in
|
|
friendlyarm,nanopi-r2c|\
|
|
friendlyarm,nanopi-r2c-plus|\
|
|
friendlyarm,nanopi-r2s|\
|
|
friendlyarm,nanopi-r3s|\
|
|
friendlyarm,nanopi-r4s|\
|
|
friendlyarm,nanopi-r4s-enterprise|\
|
|
friendlyarm,nanopi-r6c|\
|
|
radxa,e52c|\
|
|
xunlong,orangepi-r1-plus|\
|
|
xunlong,orangepi-r1-plus-lts)
|
|
ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth0"
|
|
ucidef_set_led_netdev "lan" "LAN" "green:lan" "eth1"
|
|
;;
|
|
friendlyarm,nanopi-r5c)
|
|
ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth1"
|
|
ucidef_set_led_netdev "lan" "LAN" "green:lan" "eth0"
|
|
ucidef_set_led_netdev "wlan" "WLAN" "green:wlan" "phy0-ap0"
|
|
;;
|
|
friendlyarm,nanopi-r5s)
|
|
ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth0"
|
|
ucidef_set_led_netdev "lan1" "LAN1" "green:lan-1" "eth1"
|
|
ucidef_set_led_netdev "lan2" "LAN2" "green:lan-2" "eth2"
|
|
;;
|
|
friendlyarm,nanopi-r6s)
|
|
ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth1"
|
|
ucidef_set_led_netdev "lan1" "LAN1" "green:lan-1" "eth2"
|
|
ucidef_set_led_netdev "lan2" "LAN2" "green:lan-2" "eth0"
|
|
;;
|
|
esac
|
|
|
|
board_config_flush
|
|
|
|
exit 0
|