Hello
My device is UBNT-ERX and Firmware Version is OpenWrt 18.06.1
When exec sysupgrade -n /tmp/openwrt-19.07.3-ramips-mt7621-ubnt-erx-squashfs-sysupgrade.bin
it said that:
root@UBNT:/tmp# sysupgrade -n /tmp/openwrt-19.07.3-ramips-mt7621-ubnt-erx-squashfs-sysupgrade.bin
/sbin/sysupgrade: line 235: board_name: not found
Sysupgrade is not yet supported on .
Image check 'platform_check_image' failed.
root@UBNT:/tmp#
What is the reason and how to solve it ?
vim /sbin/sysupgrade +235
...........
export ARGV="$IMAGE"
export ARGC=1
for check in $sysupgrade_image_check; do
( $check "$IMAGE" ) || {
if [ $FORCE -eq 1 ]; then
echo "Image check '$check' failed but --force given - will update anyway!"
break
else
echo "Image check '$check' failed."
exit 1
fi
}
done #(Row235 is done)
........
thanks