1. Technical Field
Embodiments of the present disclosure relate to information processing technology, and particularly to a configuration mode switching system and method.
2. Description of Related Art
A motherboard holds many components (e.g., a CPU, a memory, a hard drive) of a personal computer and provides connectors for other peripherals. The motherboard also includes a basic input and output system (BIOS) chip. A BIOS chip may include configuration information of the personal computer. The BIOS chip built in the motherboard includes a manufacture mode and a user mode. The motherboard is tested under the manufacture mode to determine if the motherboard is qualified. After the motherboard is completely finished, the BIOS chip should be configured to the user mode before the motherboard is shipped to a customs. However, at present, the tester manually configures the BIOS chip to the manufacture mode in a menu of the BIOS interface when the motherboard is under a test. After the test is finished, the tester manually configures the BIOS chip to the user mode in a menu of the BIOS interface. This is tedious and time consuming and thus, there is room for improvement in the art.
The disclosure is illustrated by way of examples and not by way of limitation in the figures of the accompanying drawings in which like references indicate similar elements. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean at least one.
In general, the word “module”, as used herein, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language, such as, Java, C, or assembly. One or more software instructions in the modules may be embedded in firmware, such as in an EPROM. The modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of non-transitory computer-readable medium or other storage device. Some non-limiting examples of non-transitory computer-readable media include CDs, DVDs, BLU-RAY, flash memory, and hard disk drives.
Depending on the embodiment, the computer 2 includes a configuration mode switching unit 20. Additionally, the computer 2 may be a personal computer (PC), a network server, or any item of other data-processing equipment. Further details of the configuration mode switching unit 20 will be described below.
The creating module 210 creates a BIOS setting file and sets mode numbers. In one embodiment, the creating module 210 uses a BIOS editing application (e.g., AMI tools BIOS inside V2) to create a BIOS setting file. The BIOS setting file is a BIOS setup menu for the BIOS chip 10. The mode numbers includes a manufacture mode number (e.g., A) and a user mode number (e.g., B). The manufacture mode number corresponds to a manufacture mode. Under the manufacture mode, a first option of COM CONSOLE REDIRECTION in the BIOS setup menu is “enable,” and the first option of BOOT PRIORITY in the BIOS setup menu is “USB HDD.” The motherboard 1 needs to be tested under the manufacture mode before the motherboard 1 is shipped to a user. The user mode number corresponds to a user mode. Under the user mode, the first option of COM CONSOLE REDIRECTION in the BIOS setup menu is “disable,” and the first option of BOOT PRIORITY in the BIOS setup menu is “EUSB HDD.”
The burning module 220 burns the BIOS setting file into the BIOS chip 10. In one embodiment, the BIOS chip 10 can show a BIOS setup menu on a display device of the computer 2 after the BIOS setting file is burned into a memory (e.g., non-volatile random access memory, NVRAM) of the BIOS chip 10.
The configuring module 230 configures the BIOS setting file to the manufacture mode according to the manufacture mode number. In one embodiment, the configuring module 230 reads the manufacture mode number, and configures the first option of the COM CONSOLE REDIRECTION in the BIOS setup menu to “enable,” and configures the first option of the BOOT PRIORITY in the BIOS setup menu to “USB HDD.”
The testing module 240 tests the motherboard 1 under the manufacture mode. The motherboard 1 may be tested by a motherboard application, such as, MOTHERBOARD MONITOR.
The invoking module 250 invokes an interrupt program to switch from a manufacture mode number to the user mode number in the BIOS setting file when the test completes. In one embodiment, the interrupt program may be system management interrupt (SMI). The invoking module 250 invokes the SMI to change the mode number from A to B.
The configuring module 230 configures the BIOS setting file to the user mode according to the user mode number and saving configuration into the BIOS chip 10 when the BIOS chip 10 starts. In one embodiment, the configuring module 230 reads the user mode number, and configures the first option of the COM CONSOLE REDIRECTION in the BIOS setup menu to “disable,” and configures the first option of the BOOT PRIORITY in the BIOS setup menu to “EUSB HDD.”
In step S10, the creating module 210 creates a BIOS setting file and sets mode numbers for a manufacture mode and a user mode. As mentioned above, the BIOS setting file is a BIOS setup menu for the BIOS chip 10. For example, the manufacture mode number may be A, the user mode number may be B.
In step S20, the burning module 220 burns the BIOS setting file into the BIOS chip 10. In one embodiment, a user can see the BIOS setup menu on a display device of the computer 2 after the BIOS setting file is burned into a memory (e.g., non-volatile random access memory, NVRAM) of the BIOS chip 10.
In step S30, the configuring module 230 configures the BIOS setting file to the manufacture mode according to the manufacture mode number. As mentioned above, the configuring module 230 reads the mode number A from the BIOS setting file, and configures the first option of the COM CONSOLE REDIRECTION in the BIOS setup menu to “enable,” and configures the first option of the BOOT PRIORITY in the BIOS setup menu to “USB HDD.”
In step S40, the testing module 240 tests the motherboard 1 under the manufacture mode. The motherboard 1 may be tested by MOTHERBOARD MONITOR.
In step S50, the invoking module 250 invokes an interrupt program to switch from the manufacture mode number to the user mode number in the BIOS setting file when the test for the motherboard 1 completes. As mentioned above, the invoking module 250 invokes the SMI to change the mode number from A to B.
In step S60, the configuring module 230 configures the BIOS setting file to the user mode according to the user mode number and saving the configuration into the BIOS chip when the BIOS chip starts. In one embodiment, the configuring module 230 reads the mode number B from the BIOS setting file, and configures the first option of the COM CONSOLE REDIRECTION in the BIOS setup menu to “disable,” and configures the first option of the BOOT PRIORITY in the BIOS setup menu to “EUSB HDD.”
Although certain inventive embodiments of the present disclosure have been specifically described, the present disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the present disclosure without departing from the scope and spirit of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
201110129297.8 | May 2011 | CN | national |