aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib/ramips.sh
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-04-22 08:08:51 +0000
committerJohn Crispin <john@openwrt.org>2014-04-22 08:08:51 +0000
commitcd5f3584e2c2044c2cd53d723350a8d02b227aff (patch)
tree3095f0a68cfbd8e96d0a23d86608057aba1302fd /target/linux/ramips/base-files/lib/ramips.sh
parent4f3c74011048239eb5c37a2740c428b59d161387 (diff)
downloadupstream-cd5f3584e2c2044c2cd53d723350a8d02b227aff.tar.gz
upstream-cd5f3584e2c2044c2cd53d723350a8d02b227aff.tar.bz2
upstream-cd5f3584e2c2044c2cd53d723350a8d02b227aff.zip
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
Diffstat (limited to 'target/linux/ramips/base-files/lib/ramips.sh')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 913e65cb90..7f221f807d 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -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"
;;