BMC Firmware Compilation With PFR Mirror Image Synchronization
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The challenge of generating a Platform Firmware Resilience (PFR) mirror image and checking a Board Manager Controller (BMC) is complicated due to the difficulty in unifying compilation codes of general technology and PFR technology, leading to instability and increased maintenance workload.
Innovation Solution
A method and apparatus that utilize macro definitions to recognize PFR project compilation operations, generate PFR mirror images through signature tools, and perform data checks using PFR mirror images to synchronize and secure firmware updates.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If general technology and PFR technology code bases are executed independently, then each technology can be developed separately, but code synchronization becomes difficult and maintenance workload increases
Solution Approach 1:
The patent merges the general technology code base and PFR technology code base into a unified compilation framework. The compilation script is enhanced to recognize both general project compilation operations and PFR project compilation operations through macro definitions, allowing both code bases to be compiled together in a coordinated manner, thus solving the synchronization difficulty while maintaining independent development capabilities
Solution Approach 2:
The compilation script is designed with universal functionality to handle both general project compilation and PFR project compilation. By introducing macro definitions that can identify different project types, the same compilation script performs multiple functions - compiling general codes when PFR macros are not defined, and compiling PFR codes when the corresponding macros are defined, eliminating the need for separate compilation processes
2Reliability
If compilation codes of general technology and PFR technology are unified, then code synchronization is improved, but the difficulty of generating PFR mirror image and checking BMC increases
Solution Approach 1:
The patent segments the unified compilation process into distinct phases through macro definition recognition. The compilation script first checks for PFR-specific macro definitions, then selectively executes appropriate compilation code segments. This segmentation allows the system to handle PFR mirror image generation as a specific sub-task within the broader unified compilation framework, making the complex process more manageable and detectable
3Reliability
If PFR technology is synchronized with general BMC codes, then platform firmware resilience is enhanced, but function modules are not fully synchronized and maintenance workload increases
Solution Approach 1:
The patent merges PFR technology synchronization with general BMC code synchronization into a single unified process. By enhancing the compilation script to recognize PFR project compilation operations through macro definitions, both PFR and general codes are compiled together in one operation, ensuring function modules are fully synchronized and reducing maintenance workload while maintaining platform firmware resilience
Data Source
AI summary
Provided are a method and apparatus for compiling a mirror image, a nonvolatile readable storage medium, and an electronic device. The method includes: whether a compilation operation of a platform firmware resilience project exists in a compilation script is recognized through a macro definition in a case of compiling a project of a board manager controller, so as to obtain a recognition result; a compilation code configured to generate a PFR mirror image is executed in a case that the recognition result indicates that the compilation operation of the PFR project exists, so as to generate the PFR mirror image; and a data check is performed through the PFR mirror image in a case of running each item in the project of the board manager controller.


