summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files/etc/diag.sh
diff options
context:
space:
mode:
authorPiotr Dymacz <pepe2k@gmail.com>2018-02-16 20:30:38 +0100
committerPiotr Dymacz <pepe2k@gmail.com>2018-02-22 18:53:22 +0100
commitd6f187f9389d67c2e9c8bf253c6566388a0522d3 (patch)
tree616b180892466e2ea145b80496d205b4ef6b1d0e /target/linux/ar71xx/base-files/etc/diag.sh
parentf4871333227afd6ff77bbea6e408404d24c484c7 (diff)
downloadmtk-20170518-d6f187f9389d67c2e9c8bf253c6566388a0522d3.zip
mtk-20170518-d6f187f9389d67c2e9c8bf253c6566388a0522d3.tar.gz
mtk-20170518-d6f187f9389d67c2e9c8bf253c6566388a0522d3.tar.bz2
ar71xx: add support for YunCore T830
YunCore T830 is a simple N300 router with 5-port FE switch, detachable antennas and USB 2.0 port. Specification: - 650/597/216 MHz (CPU/DDR/AHB) - 128 MB of RAM (DDR2) - 16 MB of FLASH (SPI NOR) - 5x 10/100 Mbps Ethernet - 2T2R 2.4 GHz (QCA9531), with ext. PA (SKY65174-21) and LNA - two external, detachable antennas (RP-SMA) - 1x USB 2.0 - 8x LED (7 driven by GPIO) - 1x button (reset) - DC jack for main power input (12 V) - UART and JTAG headers on PCB Flash instruction: 1. First, gain root access to the device, following below steps: - Login into web gui (default password/IP: admin/192.168.188.253). - Go to "Advanced" -> "Management" -> "System" and download backup of configuration (bakfile.bin). - Open the file as tar.gz archive, edit/update "shadow" file and change hash of root password to something known. - Repack the archive, rename it back to "bakfile.bin" and use to restore configuration of the device. - After that, device will reboot and can be accessed over SSH. 2. Then, install OpenWrt: - Login over SSH and issue command: fw_setenv bootcmd "bootm 0x9f050000 || bootm 0x9fe80000" - Upload "sysupgrade" image and install it (only if previous command succeeded) with command: "sysupgrade -n -F openwrt-...". Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/diag.sh')
-rw-r--r--target/linux/ar71xx/base-files/etc/diag.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index f7f622d..41b6f09 100644
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -388,6 +388,9 @@ get_status_led() {
qihoo-c301)
status_led="qihoo:green:status"
;;
+ t830)
+ status_led="$board:green:usb"
+ ;;
tellstick-znet-lite)
status_led="tellstick:white:system"
;;