Can you copy-paste stuff into shell?
If you do /usr/sbin/fw_printenv -n boot_part it will tell you which boot partition is currently active. Let's assume it will say 1. If you then run/usr/sbin/fw_setenv boot_part 2 it will set second partition as active and after the reboot you should be back to stock firmware.