aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib/upgrade
diff options
context:
space:
mode:
authorGabor Varga <vargagab@gmail.com>2019-10-22 21:44:09 +0200
committerJohn Crispin <john@phrozen.org>2019-10-24 22:58:02 +0200
commit7c5f712e4fec39cc70bef9ac0251926dfa32cc68 (patch)
tree7356eee7657fd53999b894e4d8cf1d014419b88e /target/linux/ramips/base-files/lib/upgrade
parent49db2026e54e7d707834a49fdc87ce76629a168d (diff)
downloadupstream-7c5f712e4fec39cc70bef9ac0251926dfa32cc68.tar.gz
upstream-7c5f712e4fec39cc70bef9ac0251926dfa32cc68.tar.bz2
upstream-7c5f712e4fec39cc70bef9ac0251926dfa32cc68.zip
ramips: add support for Asus RT-AC65P
The Asus RT-AC65P router is identical with the RT-AC85P, but better to make separate images for it. On both routers the installation can be done also via SSH: Note: The user/password for SSH is identical with the one used in the Web-interface. 1. Complete the initial setup wizard. 2. Activate SSH under "Administration" -> "System". 3. Transfer the OpenWrt factory image via scp: > scp openwrt-ramips-mt7621-asus_rt-ac65p-squashfs-factory.bin admin@192.168.50.1:/tmp 4. Connect via SSH to the router. > ssh admin@192.168.50.1 5. Write the OpenWrt image to flash. > mtd-write -i /tmp/openwrt-ramips-mt7621-asus_rt-ac65p-squashfs-factory.bin -d linux 6. Reboot the router > reboot Changelog: v3: removed [] from filename, rebased to latest master v2: Rebased to latest master v1: Initial release Signed-off-by: Gabor Varga <vargagab@gmail.com>
Diffstat (limited to 'target/linux/ramips/base-files/lib/upgrade')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index a62ded4b9d..03e994dfa4 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -18,6 +18,7 @@ platform_do_upgrade() {
mikrotik,rbm33g)
[ -z "$(rootfs_type)" ] && mtd erase firmware
;;
+ asus,rt-ac65p|\
asus,rt-ac85p)
echo "Backing up firmware"
dd if=/dev/mtd4 bs=1024 count=4096 > /tmp/backup_firmware.bin
@@ -27,6 +28,7 @@ platform_do_upgrade() {
esac
case "$board" in
+ asus,rt-ac65p|\
asus,rt-ac85p|\
hiwifi,hc5962|\
netgear,r6220|\