ramips: Add support for the 7Links PX-4885 wireless router.
The 7Links PX-4885 is a small battery-powered wireless router. It is based on a RT5350F WiSoC and features one ethernet port and one USB port. It is a Hame MPR-A1 clone, except it has different GPIOs, a different battery and more RAM (32 MB). This patch adds a profile for this board, the corresponding device tree file and the adequate base-files changes (incl. sysupgrade). Signed-off-by: Hugo Grostabussiat <bonstra@bonstra.fr.eu.org> SVN-Revision: 40554
This commit is contained in:
@@ -92,6 +92,9 @@ get_status_led() {
|
||||
pwh2004)
|
||||
status_led="pwh2004:green:power"
|
||||
;;
|
||||
px4885)
|
||||
status_led="7links:orange:wifi"
|
||||
;;
|
||||
rt-n15)
|
||||
status_led="rt-n15:blue:power"
|
||||
;;
|
||||
|
||||
@@ -93,6 +93,7 @@ case "$FIRMWARE" in
|
||||
omni-emb | \
|
||||
omni-emb-hpm | \
|
||||
psr-680w | \
|
||||
px4885 | \
|
||||
rt-n15 | \
|
||||
rt-n56u | \
|
||||
sl-r7205 | \
|
||||
|
||||
@@ -129,6 +129,10 @@ case $board in
|
||||
ucidef_set_led_netdev "eth" "ETH" "emb:green:eth" "eth0"
|
||||
set_wifi_led "emb:green:wifi"
|
||||
;;
|
||||
px4885)
|
||||
set_wifi_led "7links:orange:wifi"
|
||||
set_usb_led "7links:blue:storage"
|
||||
;;
|
||||
sl-r7205)
|
||||
set_wifi_led "rt2800pci-phy0::radio"
|
||||
;;
|
||||
|
||||
@@ -74,6 +74,7 @@ preinit_set_mac_address() {
|
||||
nbg-419n |\
|
||||
omni-emb |\
|
||||
omni-emb-hpm |\
|
||||
px4885 |\
|
||||
tew-691gr |\
|
||||
tew-692gr |\
|
||||
w306r-v20 |\
|
||||
|
||||
@@ -13,6 +13,9 @@ ramips_board_detect() {
|
||||
machine=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /machine/ {print $2}' /proc/cpuinfo)
|
||||
|
||||
case "$machine" in
|
||||
*"7Links PX-4885")
|
||||
name="px4885"
|
||||
;;
|
||||
*"8devices Carambola")
|
||||
name="carambola"
|
||||
;;
|
||||
|
||||
@@ -62,6 +62,7 @@ platform_check_image() {
|
||||
omni-emb | \
|
||||
omni-emb-hpm | \
|
||||
psr-680w | \
|
||||
px4885 | \
|
||||
rp-n53 | \
|
||||
rt-g32-b1 | \
|
||||
rt-n10-plus | \
|
||||
|
||||
Reference in New Issue
Block a user