In order to meet the correct and stable upgrade of the version,and highly reliable requirement of the system,it is required that a number of twice boot programs should be stored in system and boot on-line upgrade and backward should be realized.Introduced a principle and realization supporting on-line upgrade and backward of twice Bootloader.It supports choosing the newest system to realize boot upgrade and version back of upgrade failure.The design can start a board by the association of hardware and software,the hardware structure is simpler and cheaper.Bootloader supports upgrade online and the upgrade rollback mechanism when the upgrade failed,improve the system stability and reliability of the upgrade.Now this design has been successfully used in communications products.