do not permit 'flash' command if the firmware was not built fix wrong partition sizes in some cases Updated OTA module allow setting boot partition also for ota types