Method and apparatus to boot system from the USB port
In one embodiment, a design is described for providing the BIOS instructions to a computer through the USB port. At boot-up, a USB controller checks the USB port for a bootable device containing BIOS instructions. If a bootable device is connected, the USB controller transfers the BIOS instructions through the USB port to the processor. The computer then boots-up using the USB boot instructions. If no bootable device is connected to the USB port, the computer looks to a standard BIOS EPROM for boot instructions.
This application is a continuation application of and claims priority to U.S. patent application Ser. No. 09/560,858, filed Apr. 28, 2000.
TECHNICAL FIELDThis invention relates to computer booting instructions, and more particularly to providing the BIOS instructions through a USB bus.
BACKGROUNDThe BIOS (basic input/output system) is built-in software that determines what a computer can do without accessing programs from a disk. On PCs, the BIOS contains all the code required to control the keyboard, display screen, disk drives, serial communications, and a number of other functions. The BIOS is typically placed on a writeable chip that comes on the motherboard. This ensures that the BIOS will always be available and will not be damaged by disk failures. The BIOS also contains a boot program that provides the initial instructions to the computer processor at startup. These initial instructions contained in the boot program allow the computer to boot itself.
If the BIOS does not exist or has been corrupted, existing systems allow the processor to boot from a peripheral component interconnect (PCI) adapter. This requires a user to open the housing of the computer to access the PCI adapter. It is typically undesirable to have a user open the housing of a computer. Even with trained service personnel, it would be more convenient to boot the computer without accessing the PCI adapter. This is especially true with systems having cases that are sealed or difficult to open, such as notebook computers.
DESCRIPTION OF DRAWINGSFeatures and advantages of the invention will become more apparent upon reading the following detailed description and upon reference to the accompanying drawings.
If the BIOS EPROM 125 is corrupted or missing, the initial set of boot instructions cannot be executed by the CPU 105. Thus, the CPU 105 is unable to boot the computer. In this circumstance, some computers allow the system to boot from the peripheral component interconnect (PCI) adapter. To accomplish this, hardware having a PCI interface is connected to the PCI bus. Because connections to the PCI bus are located on the computers motherboard, this procedure requires opening the housing of the computer.
When the computer is powered on, the USB controller 220 checks the USB port of the computer to determine if any connected USB device contains the BIOS instructions. If the USB device 215 includes BIOS instructions, these instructions are passed via the USB controller 220 through the chipset 210 to the CPU 105. The CPU 105 can then execute the instructions to boot the computer. Of course, the instructions on the USB port may be used to program the BIOS EPROM 125 in a manner known to one of skill in the art.
If none of the devices connected to the USB port include BIOS instructions, the USB controller may instruct the computer to cycle forward to the BIOS EPROM 125. If the BIOS EPROM 124 is present and not corrupted, the CPU 105 executes the instructions in the BIOS EPROM 125 to boot the computer.
The boot process 300 used by a computer according to an embodiment of the present invention is shown in
Proceeding to state 312, the computer attempts to authenticate any device connected to the USB port. A bootable device on the USB is capable of reprogramming the BIOS EPROM 125. The authentication procedure ensures that only an authorized device is used. Techniques to accomplish the authentication process are well known in the art, and may include reading a code from the device connected to the USB port, or a challenge and reply system. If the device is not authorized, the computer will not boot using the instruction on the USB device. If the device passed the authentication, the process 300 continues to attempt to boot the computer.
Proceeding to state 315, the USB controller determines whether any of the devices attached to the USB port is a bootable device containing BIOS instructions. The USB port is capable of interfacing many devices to the computer. At startup, the USB controller is only interested in devices that include boot instructions for the computer. If a bootable device is connected to the USB port, the process 300 proceeds along the YES branch to state 320. In state 320, the process 300 reads the boot instructions from the bootable USB device. The instructions are read through the USB port via the USB controller.
Returning to state 315, if no bootable device exists on the USB port, the process 300 proceeds along the NO branch to state 325. In state 325, the computer determines if a BIOS EPROM is present and non-corrupt. If the BIOS EPROM is corrupted, the computer treats it as if no BIOS EPROM is present. If no BIOS EPROM is present, the process 300 proceeds along the NO branch to an END state 340. In this situation, the computer is unable to boot due to the lack of BIOS instructions available on either the USB port or the BIOS EPROM.
Returning to state 325, if the BIOS EPROM is present, the process 300 proceeds along the YES branch to state 330. In state 330, the initial boot instructions are read into the CPU from the BIOS EPROM.
After the initial boot instructions are read from either the USB port in state 320 or the BIOS EPROM in state 330, the process 300 proceeds to state 335. In state 335, the CPU 105 executes the initial instructions necessary to boot the computer. After the instructions are executed, the computer will boot-up and the boot process 300 terminates in end state 340.
In an alternative embodiment, the CPU 105 may be preset to either boot from either the USB port or the BIOS EPROM 125. The CPU 105 may contain an indicator such as a policy bit that directs the CPU 105 to a desired boot path. For example, if the policy bit was set to a logical high, the CPU 105 may boot through the USB port. However, if the policy bit was set to a logical low, the CPU 105 may boot through the BIOS EPROM 125. The use of a boot indicator directs the CPU 105 to a specific boot path regardless of whether a bootable device is connected to the USB port.
Numerous variations and modifications of the invention will become readily apparent to those skilled in the art. Accordingly, the invention may be embodied in other specific forms without departing from its spirit or essential characteristics.
Claims
1. A device and/or method substantially as shown and described.
Type: Application
Filed: Jun 6, 2005
Publication Date: Dec 1, 2005
Inventor: David Poisner (Folsom, CA)
Application Number: 11/146,490