摘要 |
A method and a relevant apparatus for starting a boot program are provided. The method includes: when a boot request is detected, first determining whether a first physical block in a NAND flash is a bad block; then reading first boot data stored in the first physical block if the first physical block is not a bad block; then determining whether the read first boot data has a data error; re-reading the first boot data from a first backup block when the read first boot data has a data error; determining whether the first boot data that is re-read from the first backup block has a data error; and when the first boot data that is re-read from the first backup block has no data error, continuing to process according to a same manner of processing the first boot data, other boot data that needs to be read to start the boot program, until start of the boot program is complete. |