ar71xx: create firmware images for the AP81/PB42/PB44 boards

SVN-Revision: 19011
This commit is contained in:
Gabor Juhos
2010-01-02 16:30:52 +00:00
parent acf09aa0a8
commit ac4b63a18b
3 changed files with 80 additions and 3 deletions

View File

@@ -68,7 +68,7 @@ platform_check_image() {
[ "$ARGC" -gt 1 ] && return 1
case "$board" in
ap83 | dir-615-c1 | dir-825-b1 | mzk-w04nu | mzk-w300nh | tew-632brp | wrt-400n | bullet-m | nano-m | rocket-m)
ap81 | ap83 | dir-615-c1 | dir-825-b1 | mzk-w04nu | mzk-w300nh | tew-632brp | wrt-400n | bullet-m | nano-m | rocket-m)
[ "$magic" != "2705" ] && {
echo "Invalid image type."
return 1
@@ -96,7 +96,7 @@ platform_check_image() {
}
return 0
;;
routerstation | routerstation-pro | ls-sr71)
routerstation | routerstation-pro | ls-sr71 | pb42 | pb44)
[ "$magic" != "4349" ] && {
echo "Invalid image. Use *-sysupgrade.bin files on this board"
return 1