Dual-OS Startup Control for Embedded Hardware Handover
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing embedded system start control methods require an extra chip to control device states during system startup, leading to increased device costs and limited extendibility.
Innovation Solution
Utilize a dual-core system where a first operating system with higher response speed controls a hardware controller via a first bus, and after booting a second operating system on a second processor core, the second system takes over control via the first bus, leveraging buses with different bandwidths and response speeds to manage device states without additional hardware.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If an extra chip is used to control device states during system startup, then device controllability during OS startup is improved, but device cost increases
Solution Approach 1:
The patent extracts the control function from a separate physical chip and relocates it to the processor's existing bus system. By using the existing first bus and second bus infrastructure, the system eliminates the need for additional control chips while maintaining full device controllability during startup. The control logic is integrated into the processor's software layer rather than requiring separate hardware.
Solution Approach 2:
The patent makes the existing bus system perform multiple functions: it serves both as the data transmission pathway and as the control signal pathway. The first bus and second bus are utilized not only for normal data communication but also for transmitting control instructions during system startup, thereby eliminating the need for dedicated control chips and reducing overall device cost.
2Device complexity
If a single operating system controls hardware during startup, then system complexity is reduced, but response speed during critical startup phases deteriorates
Solution Approach 1:
The patent segments the operating system into two distinct parts: a first operating system specifically designed for startup control with high response speed requirements, and a second operating system for normal system operations. This segmentation allows each OS to be optimized for its specific purpose - the first OS handles time-critical startup device control with minimal overhead, while the second OS manages general system functions, thereby maintaining low complexity while achieving high response speed during startup phases.
Solution Approach 2:
The patent implements a dynamic control mechanism where the first operating system actively controls device states during the critical startup phase, and then seamlessly transfers control to the second operating system once the system is fully booted. This dynamic switching ensures that the system uses the most appropriate control mode for each phase - high-speed direct control during startup, and standard OS control during normal operation - without requiring permanent complexity in the system architecture.
Data Source
AI summary
Disclosed in the present disclosure are an embedded system start control method and apparatus, and a storage medium and an electronic device. The method includes: controlling, via a first bus, a hardware controller of a target device by a first operating system that runs on a first processor core of a processor, so as to control a running state of the target device; booting a second operating system to start on a second processor core of the processor, a response speed of the first operating system is higher than that of the second operating system, the first operating system communicates with the second operating system via a second bus, and a bandwidth of the second bus is higher than a bandwidth of the first bus; and after the second operating system is started, take over, by the second operating system, the hardware controller via the first bus.


