diff options
author | John Crispin <blogic@openwrt.org> | 2014-11-03 08:00:13 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-11-03 08:00:13 +0000 |
commit | 305ac83fa35623c8b7b90fbc31ecd5b255bbe9d5 (patch) | |
tree | a00b0c48f0ae530b70ae0241fb0fba0bfb576b3e /target/linux/ramips/base-files/lib | |
parent | b89672586c6f8f3edf193619a838536c9b49292b (diff) | |
download | upstream-305ac83fa35623c8b7b90fbc31ecd5b255bbe9d5.tar.gz upstream-305ac83fa35623c8b7b90fbc31ecd5b255bbe9d5.tar.bz2 upstream-305ac83fa35623c8b7b90fbc31ecd5b255bbe9d5.zip |
ramips: add support for Airlink101 AR670W
This is a RT2880-based board, 32MB RAM, 4MB flash. The bootloader
is a hacked u-Boot that reads an LZMA image directly, so we skip
generating the uImage header and enable the lzma mtdsplit parser.
Signed-off-by: Claudio Leite <leitec@staticky.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43153 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 | 7 |
2 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index e3977aa71d..a02bcf9674 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -28,6 +28,9 @@ ramips_board_detect() { *"A5-V11") name="a5-v11" ;; + *"Airlink101 AR670W") + name="ar670w" + ;; *"Airlink101 AR725W") name="ar725w" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index 4fe0ef46fa..decbc546fd 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -110,6 +110,13 @@ platform_check_image() { } return 0 ;; + ar670w) + [ "$magic" != "6d000080" ] && { + echo "Invalid image type." + return 1 + } + return 0 + ;; cy-swr1100 |\ dir-610-a1 |\ dir-645) |