aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/mt7621
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2020-03-08 21:39:19 +0100
committerDavid Bauer <mail@david-bauer.net>2020-03-10 21:54:46 +0100
commit4c8446bf39de99990847eb4bc7744e25835a34f5 (patch)
tree8315c46efcb3a698533c22f8cedaf4a0825c7eb3 /target/linux/ramips/mt7621
parent0c4d91f121b7a3660dbf433a8a6858573a86d137 (diff)
downloadupstream-4c8446bf39de99990847eb4bc7744e25835a34f5.tar.gz
upstream-4c8446bf39de99990847eb4bc7744e25835a34f5.tar.bz2
upstream-4c8446bf39de99990847eb4bc7744e25835a34f5.zip
ramips: add support for Ubiquiti UniFi nanoHD
Hardware -------- SoC: MediaTek MT7621AT WiFi: MediaTek MT7603 bgn 2T2R MediaTek MT7615 ac 4T4R Flash: 32M SPI (Macronix MX25L25635F) RAM: 128M DDR3 (Winbond W631GG6KB) LED: Dome (Blue / White) BTN: Reset Installation ------------ These instructions were written for firmware version v3.9.27. Downgrade if necessary. 1. Copy the OpenWrt sysupgrade image to the devices /tmp folder via scp. On factory defaults, user and password is "ubnt" at 192.168.1.20/24. 2. Write the bootselect flag. Otherwise, the device might boot from the wrong partition. Verify the mtd partition used in the command below is the one labled "bs" in /proc/mtd (as this might change in the future). > dd if=/dev/zero bs=1 count=1 of=/dev/mtd4 3. Write the OpenWrt sysupgrade to the mtd partitions labled "kernel0" and "kernel1". > dd if=/tmp/openwrt-sysupgrade.bin of=/dev/mtdblock6 > dd if=/tmp/openwrt-sysupgrade.bin of=/dev/mtdblock7 4. Reboot or powercycle the device. Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'target/linux/ramips/mt7621')
-rwxr-xr-xtarget/linux/ramips/mt7621/base-files/etc/board.d/02_network3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
index c930f34592..a68ffe6126 100755
--- a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
@@ -129,7 +129,8 @@ ramips_setup_interfaces()
;;
netgear,ex6150|\
tplink,re350-v1|\
- tplink,re650-v1)
+ tplink,re650-v1|\
+ ubnt,unifi-nanohd)
ucidef_add_switch "switch0" \
"0:lan" "6@eth0"
;;