IP Library Granted Patent US 8,627,098
Granted Patent B1
US 8,627,098 · App. 13/721,080 · Granted Jan 7, 2014

Electronic device and method for verifying firmware of the electronic device

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,627,098
App. No.
13/721,080
Granted
Jan 7, 2014
Kind
B1
Abstract

In a method for verifying firmware of an electronic device, the electronic device includes a baseboard management controller (BMC) for storing a BMC firmware, and a basic input-output system (BIOS) for storing a BIOS firmware. The method writes a first verification code into the BMC firmware, and writes a second verification code into the BIOS firmware. The method writes the BMC firmware into the BMC, and writes the BIOS firmware into the BIOS. The method further triggers the electronic device to power off if the first verification code of the BMC firmware is not identical to the second verification code of the BIOS firmware, and boots an operating system of the electronic device if the first verification code of the BMC firmware is identical to the second verification code of the BIOS firmware.

Claims (38)

1. An electronic device, comprising:

a baseboard management controller (BMC) storing BMC firmware;

a basic input-output system (BIOS) storing BIOS firmware;

a storage device, and at least one processor; and

one or more modules that are stored in the storage device and executed by the at least one processor, the one or more modules comprising:

a first writing module that writes a first verification code into the BMC firmware, and writes a second verification code into the BIOS firmware;

a second writing module that writes the BMC firmware into the BMC, and writes the BIOS firmware into the BIOS;

a first verification module verifies whether the first verification code of the BMC firmware is identical to the second verification code of the BIOS firmware when the electronic device starts a power-on self-test;

a triggering module that triggers the electronic device to power off if the first verification code of the BMC firmware is not identical to the second verification code of the BIOS firmware, and boots an operating system of the electronic device if the first verification code of the BMC firmware is identical to the second BIOS code of the BIOS firmware;

wherein a second verification module that verifies whether the first verification code of the BMC firmware is identical to the second verification code of the BIOS firmware when the SMI of the electronic device is triggered; and

wherein a halt module that halts all input and output ports of the electronic device to protect data of the electronic device and triggers an alarm generator of the electronic device to generate an alarm message, if the first verification code of the BMC firmware is not identical to the second verification code of the BIOS firmware.

2. The electronic device according to claim 1 , wherein the triggering module further triggers a system management interrupt (SMI) at a time interval after the operating system of the electronic device is booted.

3. The electronic device according to claim 1 , wherein the first verification code is a binary code of a version number of the BMC firmware.

4. The electronic device according to claim 3 , wherein the second verification code is predefined the same as the first verification code when the second verification code is written into the BIOS firmware.

5. A method for verifying firmware of an electronic device, the method comprising:

writing a first verification code into a baseboard management controller (BMC) firmware, and writing a second verification code into a basic input-output system (BIOS) firmware;

writing the BMC firmware into a BMC of the electronic device, and writing the BIOS firmware into a BIOS of the electronic device;

verifying whether the first verification code of the BMC firmware is identical to the second verification code of the BIOS firmware when the electronic device starts a power-on self-test;

triggering the electronic device to power off if the first verification code of the BMC firmware is not identical to the second verification code of the BIOS firmware;

booting an operating system of the electronic device if the first verification code of the BMC firmware is identical to the second BIOS code of the BIOS firmware;

wherein verifying whether the first verification code of the BMC firmware is identical to the second verification code of the BIOS firmware when the SMI of the electronic device is triggered; and

wherein halting all input and output ports of the electronic device to protect data of the electronic device and triggering an alarm generator of the electronic device to generate an alarm message, if the first verification code of the BMC firmware is not identical to the second verification code of the BIOS firmware.

6. The method according to claim 5 , further comprising:

triggering a system management interrupt (SMI) at a time interval after the operating system of the electronic device is booted.

7. The method according to claim 5 , wherein the first verification code is a binary code of a version number of the BMC firmware.

8. The method according to claim 7 , wherein the second verification code is predefined the same as the first verification code when the second verification code is written into the BIOS firmware.

9. A non-transitory computer-readable storage medium having stored thereon instructions, when executed by a processor of an electronic device, causes the processor to perform a method for verifying firmware of the electronic device, the method comprising:

writing a first verification code into a baseboard management controller (BMC) firmware, and writing a second verification code into a basic input-output system (BIOS) firmware;

writing the BMC firmware into a BMC of the electronic device, and writing the BIOS firmware into a BIOS of the electronic device;

verifying whether the first verification code of the BMC firmware is identical to the second verification code of the BIOS firmware when the electronic device starts a power-on self-test;

triggering the electronic device to power off if the first verification code of the BMC firmware is not identical to the second verification code of the BIOS firmware;

booting an operating system of the electronic device if the first verification code of the BMC firmware is identical to the second BIOS code of the BIOS firmware;

wherein verifying whether the first verification code of the BMC firmware is identical to the second verification code of the BIOS firmware when the SMI of the electronic device is triggered; and

wherein halting all input and output ports of the electronic device to protect data of the electronic device and triggering an alarm generator of the electronic device to generate an alarm message, if the first verification code of the BMC firmware is not identical to the second verification code of the BIOS firmware.

10. The storage medium according to claim 9 , wherein the method further comprises:

triggering a system management interrupt (SMI) at a time interval after the operating system of the electronic device is booted.

11. The storage medium according to claim 9 , wherein the first verification code is a binary code of a version number of the BMC firmware.

12. The storage medium according to claim 11 , wherein the second verification code is predefined the same as the first verification code when the second verification code is written into the BIOS firmware.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 7, 2018
From: HON HAI PRECISION INDUSTRY CO., LTD.
To: CLOUD NETWORK TECHNOLOGY SINGAPORE PTE. LTD.
Reel/Frame 045281/0269 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 20, 2012
From: HUANG, YU-CHEN
To: HON HAI PRECISION INDUSTRY CO., LTD.
Reel/Frame 029506/0219 →