aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib/upgrade/platform.sh
diff options
context:
space:
mode:
authorMatthias Badaire <mbadaire@gmail.com>2018-04-15 22:34:05 +0200
committerMathias Kresin <dev@kresin.me>2018-05-07 18:54:23 +0200
commit5ef79af4f80f772772e44e38478f2b3b78d40732 (patch)
treefd56ba00858440e4c0e9b13420d64d1da5396161 /target/linux/ramips/base-files/lib/upgrade/platform.sh
parentef19747b6ce332ec5d4d76eda0efbe939eb49cec (diff)
downloadupstream-5ef79af4f80f772772e44e38478f2b3b78d40732.tar.gz
upstream-5ef79af4f80f772772e44e38478f2b3b78d40732.tar.bz2
upstream-5ef79af4f80f772772e44e38478f2b3b78d40732.zip
ramips: add support for Ravpower WD03
The RavPower WD03 is a battery powered SD card reader and a USB port. Specifications: SOC: MediaTek MT7620N BATTERY: 6000mah WLAN: 802.11bgn LAN: 1x 10/100 Mbps Ethernet USB: 1x USB 2.0 (Type-A) RAM: PM Tech PMD708416CTR-5CN 32 MB FLASH: Holtek HT66F40 - 8 MB Flash LED: Power button and 4 leds to indicate power level of the battery (could not get control of that) INPUT: Power, reset button OTHER: USB SD-Card reader with card detect on GPIO#42 Tested and working: - Ethernet - 2.4 GHz WiFi (Correct MAC-address) - installation from tftp - OpenWRT sysupgrade (Preserving and non-preserving) - LEDs - Buttons Installation: - Download the sysupgrade image - Place it in the root of a clean TFTP server running on your computer. - Rename the image to "kernel" — be sure there is no file extension. - Plug the WD03 into your computer via ethernet. - Set your computer to use 10.10.10.254 as its IP address. - With your WD03 shut down, hold down the power button until the first white LED lights up. - Push and hold the reset button and release the power button. Continue holding the reset button for 30 seconds or until it begins searching for files on your TFTP server, whichever comes first. - The WD03 (10.10.10.128) will look for your computer at 10.10.10.254 and install the kernel file. Once it has finished installation of the kernel file, it will search for a (nonexistent) rootfs file — when it begins searching for this file, shut down the WD03 by holding the power button normally. - Start up your WD03 normally. Signed-off-by: Matthias Badaire <mbadaire@gmail.com>
Diffstat (limited to 'target/linux/ramips/base-files/lib/upgrade/platform.sh')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
1 files changed, 1 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 0a43f29920..ff73d6474b 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -165,6 +165,7 @@ platform_check_image() {
w2914nsv2|\
w306r-v20|\
w502u|\
+ ravpower,wd03|\
wf-2881|\
whr-1166d|\
whr-300hp2|\