Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Starting method and starting device of embedded operating system and baseboard management controller

An operating system and baseboard management technology, applied in the computer field, can solve the problems of system files and backup damage, occupying memory space, BMC system cannot be started, etc., to save storage space and improve fault tolerance performance.

Inactive Publication Date: 2014-02-26
HUAWEI TECH CO LTD
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the process of realizing the present invention, the inventor found that there are at least the following problems in the prior art: on the one hand, using dual partitions will take up more memory space; on the other hand, if the system files and backups occur for some reason damaged, the BMC system still cannot start

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Starting method and starting device of embedded operating system and baseboard management controller
  • Starting method and starting device of embedded operating system and baseboard management controller
  • Starting method and starting device of embedded operating system and baseboard management controller

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0055] The embodiment of the present invention provides a method for starting an embedded operating system, which is suitable for figure 1 The application scenario described, and can be figure 1 Any one of the BMC execution. see figure 2 , the method flow includes:

[0056] Step 101: The processor of the first BMC runs Uboot stored with the first address of the local Flash as the starting address, so that Uboot executes the command, copies the OS file stored in the specified location in the local Flash to the memory, and passes the boot parameters to the OS file for execution , so that the OS file uses boot parameters to guide the OS to start.

[0057] Step 102: When the OS file adopts the boot parameters and cannot start the OS, download the OS file of the second BMC from the second BMC through Trivial File Transfer Protocol (TFTP) and store it in a designated location to overwrite the first BMC's OS file.

[0058] Wherein, the OS file of the first BMC is the same as th...

Embodiment 2

[0062] The embodiment of the present invention provides a method for starting an embedded operating system, which is suitable for figure 1 The application scenario described, and can be figure 1 Any one of the BMC execution. see image 3 , the method flow includes:

[0063] Step 201: The processor of the first BMC runs Uboot stored with the first address of the local Flash as the starting address, so that Uboot executes the command, copies the OS file stored in the specified location in the local Flash to the memory, and passes the boot parameters to the OS file for execution , so that the OS file uses boot parameters to guide the OS to start.

[0064] Optionally, Uboot is the first software executed before the OS boots. Uboot is stored at the first address of the Flash of the BMC, assuming that the first address is 0x00000000. After the first BMC is powered on, the processor of the first BMC will jump to 0x00000000 to execute, thus loading Uboot. Uboot first initializes...

Embodiment 3

[0115] An embodiment of the present invention provides a device for starting an embedded operating system, and the device may be set in a baseboard management controller, such as the aforementioned first baseboard management controller. see Figure 4 , the device consists of:

[0116] Running module 401 is used to run the Uboot stored as the starting address with the first address of the local Flash, so that Uboot executes the command, copies the OS file stored in the specified location in the local Flash to the memory, and passes the boot parameter to the OS file to execute, so that The OS file uses boot parameters to guide the OS to start.

[0117] The download module 402 is used to download the OS file of the second BMC from the second BMC through the TFTP service and store it in a specified location when the OS file adopts the boot parameter and cannot start the OS, so as to overwrite the OS file of the first BMC.

[0118] Wherein, the OS file of the first BMC is the sam...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a starting method and a starting device of an embedded operating system and a baseboard management controller, and belongs to the technical field of computers. The method includes that a processor of a first BMC (baseboard management controller) runs a Uboot (universal boot loader) stored by taking an initial address of a local Flash as a start address to enable the Uboot to execute a command, an OS (operating system) file stored in a specific location in the local Flash is copied to a memory, and a booting parameter is transmitted to the OS file to be executed to enable the OS file to boot an OS to be started by the booting parameter; when the OS file is incapable of starting the OS, an OS file of a second BMC is downloaded from the second BMC through TFTP (trivial file transfer protocol) service and stored to the specific location so as to cover the OS file of the first BMC; when the OS file of the first BMC is as same as the OS file of the second BMC; the Uboot runs again, and the Uboot is enabled to boot the OS to be started through the downloaded OS file. The starting device comprises a running module and a downloading module. The baseboard management controller is used for executing the method. When the OS cannot be started through the local OS file, the first BMC downloads the OS file of the second BMC from the second BMC, and only one OS file can be stored on the memory of the first BMC.

Description

technical field [0001] The invention relates to the field of computers, in particular to a method and device for starting an embedded operating system and a base board management controller. Background technique [0002] The Intelligent Platform Management Interface (IPMI for short) is a specification that defines a standard, abstract interface for the platform management subsystem. The hardware that implements IPMI mainly includes a Baseboard Management Controller (BMC for short). BMC is an embedded system. Based on the characteristics of the embedded operating system, the startup of the operating system (Operating System, OS for short) of the BMC (hereinafter referred to as the BMC system) requires a Universal Boot Loader (Uboot for short) to boot. [0003] Optionally, after the BMC is powered on, the Uboot starts to run, and the Uboot initializes the hardware device. After initialization, Uboot transfers the boot parameters to the BMC system file. Under the action of t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/445
Inventor 李娟张蔚张羽
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products