Dual BIOS Boot Recovery for Reliable Electronic Device Startup
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing boot programs in electronic devices are prone to failure, leading to inability to power on the device normally, and current repair mechanisms are inadequate when the repair program block is damaged.
Innovation Solution
Implementing a dual-boot system with a primary and secondary BIOS stored in separate storage types, allowing the system to select and run an undamaged or higher version BIOS for normal operation, and enabling repair or upgrade of individual BIOS components.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a repair program block is built in the boot program to fix damage, then the reliability of power-on is improved, but the device complexity increases and hardware costs increase
Solution Approach 1:
The boot program is segmented into multiple independent program blocks (first program block for security authentication, second program block for boot execution). This segmentation allows individual blocks to be repaired or replaced without affecting the entire boot program, improving reliability while maintaining manageable complexity
Solution Approach 2:
A backup copy of the boot program is created and stored in different locations (first storage and second storage). When the original boot program is damaged, the system can copy and execute the backup version, ensuring continuous operation without requiring complex repair mechanisms
2Reliability
If a repair program block is built in the boot program, then the reliability of power-on is improved, but hardware costs increase
Solution Approach 1:
The first storage device serves multiple functions: it stores the primary boot program blocks and also stores backup copies of these blocks. This multi-functionality eliminates the need for dedicated repair storage hardware, maintaining reliability while reducing overall hardware quantity
Solution Approach 2:
Instead of adding dedicated repair hardware, the system creates software copies of the boot program stored in existing hardware resources. This approach improves reliability through redundancy without increasing the physical hardware quantity
3Device complexity
If the boot program is stored in a single location, then the device complexity is reduced, but the reliability of power-on deteriorates when damage occurs
Solution Approach 1:
The boot program is divided into multiple program blocks that can be stored in different locations. The system can selectively load and execute blocks from different storage devices, providing redundancy without requiring a completely complex distributed storage system
Solution Approach 2:
The processor acts as an intermediary that manages multiple storage locations. It can read program blocks from either the first storage or second storage and execute them, providing a simple interface that hides the complexity of distributed storage while maintaining high reliability
Data Source
AI summary
Embodiments of this application provide a method for running a boot program of an electronic device, and an electronic device. In the method, the boot program in embodiments of this application may include two BIOSs, where one is a primary BIOS, and the other is a secondary BIOS. The electronic device stores the entire primary BIOS in a first storage, and stores some program blocks in the secondary BIOS in a second storage. When the primary BIOS is damaged, the electronic device may determine storage locations of program blocks in the secondary BIOS in the second storage, load these program blocks into a memory of the electronic device, and then run the program blocks in the secondary BIOS, so that the electronic device is powered on normally.


