improve fbimg to support reboot-bootloader