diff options
author | FUKAUMI Naoki <naobsd@gmail.com> | 2017-01-29 01:05:56 +0900 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2017-01-31 11:10:58 +0100 |
commit | 6b0b526a4fc11d3b1b588d5b3b789da0c66adce9 (patch) | |
tree | 1ad589aba17e5ec3f9b14dc18c3b3e6afe02e41a /target/linux/ramips/base-files/lib | |
parent | 3b5d29b96e4df80dbfbcc5bbb8a5898a9390c683 (diff) | |
download | upstream-6b0b526a4fc11d3b1b588d5b3b789da0c66adce9.tar.gz upstream-6b0b526a4fc11d3b1b588d5b3b789da0c66adce9.tar.bz2 upstream-6b0b526a4fc11d3b1b588d5b3b789da0c66adce9.zip |
ramips: add support for Buffalo WCR-1166DS
Buffalo WCR-1166DS is a small wireless router with
- MT7628AN + MT7612E
- 64MiB DDR2 SDRAM
- 16MiB SPI flash
- 2T2R 11ac/a/b/g/n Wi-Fi
- 2x 10/100M ethernet switch
- 8x programmable LED
- 3x button
- UART pad on PCB (J2: 3.3V, GND, TX, RX)
factory image can be installed via stock web UI.
due to the "dual image" function in the bootloader, the second half of
the SPI flash ("firmware2" partition) cannot be used as a part of the
file system.
Signed-off-by: FUKAUMI Naoki <naobsd@gmail.com>
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rwxr-xr-x | target/linux/ramips/base-files/lib/ramips.sh | 3 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/lib/upgrade/platform.sh | 9 |
2 files changed, 8 insertions, 4 deletions
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index 8292da1d4a..d9918cceb5 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -499,6 +499,9 @@ ramips_board_detect() { *"W502U") name="w502u" ;; + *"WCR-1166DS") + name="wcr-1166ds" + ;; *"WCR-150GN") name="wcr-150gn" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index c6ad8ca3e5..d83e5c1dd2 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -226,6 +226,11 @@ platform_check_image() { } return 0 ;; + ubnt-erx) + nand_do_platform_check "$board" "$1" + return $?; + ;; + wcr-1166ds|\ wsr-1166) [ "$magic" != "48445230" ] && { echo "Invalid image type." @@ -233,10 +238,6 @@ platform_check_image() { } return 0 ;; - ubnt-erx) - nand_do_platform_check "$board" "$1" - return $?; - ;; esac echo "Sysupgrade is not yet supported on $board." |