Expansion Card Firmware Testing via Simulated BMC Communication
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The existing methods for testing firmware in expansion cards and baseboard management controllers (BMC) in servers face challenges such as low accuracy, synchronization issues, and inefficient communication between developing teams, leading to delayed development processes and increased manpower consumption.
Innovation Solution
A method is provided to test the communication state of expansion cards independently using an out-of-band or in-band manner, involving the use of configuration files and testing instructions to verify the firmware's accuracy without requiring joint tests with the BMC, thereby simplifying the development process and improving efficiency.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If joint testing is executed between two developing teams for expansion card and BMC firmware, then testing coverage is improved, but communication complexity and time consumption increase significantly
Solution Approach 1:
The patent extracts the BMC from the joint testing process and replaces it with a simulation module that replicates BMC functionalities. This allows the expansion card firmware to be tested independently without requiring actual BMC involvement, thereby reducing communication complexity between teams while maintaining comprehensive testing coverage through simulated BMC responses
Solution Approach 2:
The patent introduces a simulation module as an intermediary that mediates between the expansion card under test and the BMC. This simulation module receives instructions from the expansion card, processes them according to predefined BMC behavior, and returns appropriate responses, thereby enabling independent testing without direct BMC-team coordination
2Reliability
If multiple tests are conducted to ensure firmware accuracy due to low initial correctness, then firmware reliability is improved, but time consumption and manpower increase
Solution Approach 1:
The patent applies preliminary action by pre-configuring the simulation module with all possible BMC response scenarios and test cases before actual firmware testing begins. This preparation includes defining instruction sets, expected responses, and edge cases in advance, allowing the expansion card firmware to undergo comprehensive multiple tests without requiring actual BMC reconfiguration or team coordination for each test iteration
Solution Approach 2:
The simulation module enables the expansion card firmware to test itself independently without external BMC intervention. The module automatically generates test instructions, processes responses, and evaluates firmware accuracy through self-contained testing loops, thereby reducing manpower requirements while maintaining rigorous multi-test validation
3Reliability
If joint testing is performed between two developing teams, then comprehensive firmware validation is achieved, but collaboration efficiency decreases due to communication issues
Solution Approach 1:
The patent segments the firmware testing process into independent components: the expansion card firmware under test, the simulation module representing BMC, and the testing control system. This segmentation allows each component to be developed, configured, and executed independently, eliminating the need for coordinated collaboration between teams while maintaining comprehensive validation through the simulation module's complete BMC behavior replication
Data Source
AI summary
A method of testing an expansion card includes configuring a configuration file according to contents of instructions of a controller, which may be received by the expansion card, and contents of expected data corresponding to the instructions. Testing instructions are generated based on the configuration file. The testing instructions are sent to the expansion card. Returned data returned from a firmware of the expansion card by responding the testing instructions. Whether an electronic device communicates with the expansion card successfully is determined based on the returned data. An electronic device and a testing system are also provided.


