cf-wr800n|\
cs-qr10|\
d105|\
+ d240|\
dap-1350|\
db-wrt01|\
dcs-930|\
dwr-512-b|\
e1700|\
esr-9753|\
+ ew1200|\
ex2700|\
f7c027|\
firewrt|\
gl-mt300n|\
gl-mt750|\
hc5*61|\
+ hc5661a|\
hg255d|\
hlk-rm04|\
hpm|\
}
return 0
;;
+ hc5962|\
+ r6220)
+ # these boards use metadata images
+ return 0
+ ;;
+ ubnt-erx)
+ nand_do_platform_check "$board" "$1"
+ return $?;
+ ;;
+ wcr-1166ds|\
wsr-1166)
[ "$magic" != "48445230" ] && {
echo "Invalid image type."
}
return 0
;;
- ubnt-erx)
- nand_do_platform_check "$board" "$1"
- return $?;
- ;;
esac
echo "Sysupgrade is not yet supported on $board."
local board=$(ramips_board_name)
case "$board" in
+ hc5962|\
+ r6220|\
ubnt-erx)
nand_do_upgrade "$ARGV"
;;