DE19946959B4 - Method for loading data for basic system routines - Google Patents

Method for loading data for basic system routines Download PDF

Info

Publication number
DE19946959B4
DE19946959B4 DE19946959A DE19946959A DE19946959B4 DE 19946959 B4 DE19946959 B4 DE 19946959B4 DE 19946959 A DE19946959 A DE 19946959A DE 19946959 A DE19946959 A DE 19946959A DE 19946959 B4 DE19946959 B4 DE 19946959B4
Authority
DE
Germany
Prior art keywords
data
routines
basic system
basic
management mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
DE19946959A
Other languages
German (de)
Other versions
DE19946959A1 (en
Inventor
Thomas Munker
Friedrich Mayer
Ryszard Rzedkowski
Helmut Altmann
Uwe Michel
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Technology Solutions Intellectual Property GmbH
Original Assignee
Fujitsu Technology Solutions GmbH
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Technology Solutions GmbH filed Critical Fujitsu Technology Solutions GmbH
Priority to DE19946959A priority Critical patent/DE19946959B4/en
Publication of DE19946959A1 publication Critical patent/DE19946959A1/en
Application granted granted Critical
Publication of DE19946959B4 publication Critical patent/DE19946959B4/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Abstract

Verfahren zum Laden von Daten für grundlegende Systemroutinen eines Datenverarbeitungssystems in einem nichtflüchtigen Speicher gekennzeichnet durch die Schritte:
– Bereitstellen einer betriebssystemunabhängigen Schnittstelle in den grundlegenden Systemroutinen,
– Auslesen der neuen Daten aus einem externen Speichermedium, und Schreiben in RAM
– Versetzen eines Prozessors des Datenverarbeitungssystems in einen System-Management-Modus über diese Schnittstelle, und
– Einschreiben neuer Daten für grundlegende Systemroutinen sowie gegebenenfalls die Daten des Micro Code Update in den nichtflüchtigen Speicher.
Method for loading data for basic system routines of a data processing system in a nonvolatile memory, characterized by the steps:
Providing an operating system independent interface in the basic system routines,
- Read the new data from an external storage medium, and write to RAM
- placing a processor of the data processing system in a system management mode via this interface, and
- Write new data for basic system routines and, if necessary, the data of the microcode update in the non-volatile memory.

Description

Die Erfindung betrifft ein Verfahren zum Laden von Daten für grundlegende Systemroutinen und insbesondere ein Verfahren für eine Auffrischung (Update) von Daten für grundlegende Systemroutinen über eine vom Betriebssystem unabhängige Schnittstelle.The The invention relates to a method for loading data for basic System routines and in particular a method for a refresh (update) of data for basic system routines an interface independent of the operating system.

Datenverarbeitungssysteme, wie beispielsweise Personal Computer oder Controller für Geräte oder Maschinen, werden üblicherweise erst nach dem Laden von grundlegenden Systemroutinen beispielsweise BIOS(Basic-Input-Output-System-Daten) in den Arbeitsspeicher der zentralen Verarbeitungseinheit (CPU) voll funktionsfähig. Auch ohne Betriebssystem benötigen die Datenverarbeitungssysteme eine Grundfunktionalität, mit der elementare Operationen ausgeführt werden können. Solche elementaren Operationen sind beispielsweise Routinen für die Eingabe von Zeichen über die Tastatur sowie deren Ausgabe auf den Bildschirm und den Drucker, eine Routine für das Laden des Betriebssystems in den Arbeitsspeicher, sowie Prüfroutinen für einen automatisch ablaufenden Selbsttest beim Anschalten des Datenverarbeitungssystems. Diese Operationen werden auch als grundlegende Systemroutinen (BIOS) bezeichnet. Das BIOS enthält darüber hinaus auch Spezifikationen bezüglich der einzelnen Hardwarekomponenten, beispielsweise der mit dem Computer verbundenen Laufwerke, externen Schnittstellen, Graphikkarten usw.Data processing systems, such as personal computers or controllers for devices or Machines are usually for example, after loading basic system routines, for example BIOS (basic input-output system data) into the memory of the central processing unit (CPU) fully functional. Also without operating system the data processing systems have a basic functionality with which basic operations performed can be. Such elementary operations are, for example, routines for input from characters over the keyboard as well as its output on the screen and the printer, one Routine for loading the operating system into memory, as well as checking routines for one automatically running self-test when turning on the data processing system. These operations are also called basic system routines (BIOS) designated. The BIOS contains about that In addition, specifications regarding the individual hardware components, for example the one with the computer connected drives, external interfaces, graphics cards, etc.

Die zum Ausführen dieser Systemroutinen erforderlichen Daten werden in einem nichtflüchtigen Speicherbaustein der Datenverarbeitungsanlage, beispielsweise einem PROM (Programmable Read Only Memory), einem EPROM (Electrical Programmable Read Only Memory), einem FLASH usw. dauerhaft gespeichert.The to run Data required by these system routines are stored in a non-volatile memory device the data processing system, such as a PROM (Programmable Read Only Memory), an EPROM (Electrical Programmable Read Only Memory), a FLASH, etc. stored permanently.

Da die grundlegenden Systemroutinen die Arbeitsweise eines Datenverarbeitungssystems wesentlich beeinflussen, ist es gelegentlich erforderlich, eine überarbeitete Version der grundlegenden Systemroutinen in der Datenverarbeitungsanlage einzusetzen, also das BIOS upzudaten. Dies kann durch einen Austausch des Speicherbausteins erfolgen, was allerdings den Nachteil hat, daß dies nur durch entsprechend qualifiziertes Personal und vor Ort erfolgen kann.There the basic system routines the operation of a data processing system It is sometimes necessary to have a revised one Version of the basic system routines in the data processing system to use, so the BIOS to update. This can be done through an exchange the memory module done, but this has the disadvantage that this only by appropriately qualified personnel and on site can.

Ist anstelle eines nichtüberschreibbaren PROM-Bausteins ein überschreibbarer Speicherbaustein, beispielsweise ein EPROM- oder ein FLASH-Baustein in dem Datenverarbeitungssystem vorhanden, dann können die grundlegenden Systemroutinen in diesem Speicherbaustein überschrieben werden. Dies hat den Vorteil, daß kein geschultes Personal und kein Eingriff in die Hardware des Systems erforderlich sind. Ein Beispiel hierfür ist das von der Fa. ACER benutzte Verfahren. Bei dem ACER Verfahren sind das FLASH-Programm und Daten zum Updaten auf einer Festplatte (HD) gespeichert. Beim Booten wird ein spezielles Mini-Betriebssystem geladen, und die hardwarenahe Anwendersoftware führt das BIOS-Update durch. Danach wird zunächst ein Reboot durchgeführt, und dann wird erst das eigentliche Betriebssystem für den Anwender geladen.is instead of a non-rewritable PROM device a rewritable one Memory module, for example an EPROM or a FLASH module in the data processing system, then can the basic system routines in this memory block are overwritten. This has the advantage that no trained personnel and no interference with the hardware of the system required are. An example of this is that of the company ACER used method. The ACER procedure is the FLASH program and data for updating is stored on a hard disk (HD). At the Boot will load a special mini operating system, and the hardware-related application software leads the BIOS update through. Thereafter, a reboot is performed first, and then only the actual operating system is loaded for the user.

Ein anderes Beispiel ist das Desk-Flash-Verfahren, das in der DE 197 52 615 C1 offenbart. Dieses Verfahren bietet gegenüber dem ACER-Verfahren den Vorteil, daß die Möglichkeit besteht, das BIOS-Update im laufenden Betrieb des Datenverarbeitungssystems ohne weitere Beeinträchtigungen des Systems durchzuführen. Dies bietet unter anderem die Möglichkeit, in einem Computernetzwerk über einen Administrator-PC einen BIOS-Update ohne Reboot der mit dem Computernetzwerk verbundenen einzelnen PCs "remote", also räumlich getrennt, durchzuführen.Another example is the desk flash method that is used in the DE 197 52 615 C1 disclosed. This method offers the advantage over the ACER method that it is possible to carry out the BIOS update while the data processing system is in operation without any further impairment of the system. Among other things, this offers the possibility of "remote", ie spatially separated, BIOS updates in a computer network via an administrator PC without rebooting the individual PCs connected to the computer network.

Ein Nachteil des vorstehend beschriebenen bekannten Verfahrens ist, daß diese hardwarenahen und deshalb hardwareabhängige Verfahren auf beliebigen PC-Systemen lauffähig sein müssen und deshalb immer wieder an neue Hardwarekonfigurationen angepaßt werden müssen. Diese Anpassung muß für jedes zu unterstützende Betriebssystem erfolgen. Das heißt, die Anzahl der nötigen Anpassungen ergibt sich aus der Zahl der unterschiedlichen PC-Systemboards multipliziert mit der Zahl der zu unterstützenden Betriebssysteme. Weitere Nachteile bestehen darin, daß ein Debugging leicht durchzuführen ist, und daß das System offen für Fremdzugriffe und damit auch für Viren ist.One Disadvantage of the known method described above is that these hardware-related and therefore hardware-dependent methods on any PC systems executable have to be and therefore always adapted to new hardware configurations have to. This adaptation must be for each to be supported Operating system done. That is, the number of necessary adjustments is multiplied by the number of different PC system boards with the number of supportive ones Operating systems. Other disadvantages are that debugging easy to carry out, and that System open for Foreign access and thus also for Is viruses.

Aus der Druckschrift EP 0 803 812 A1 ist ein Verfahren zum "Updaten" des BIOS eines Computers bekannt. Dabei sichert der Prozessor das bisherige, in einem ersten Teilbereich eines Flash-ROMs abgespeicherte BIOS in einem zweiten Bereich. Danach wird das neue BIOS von einem Netzwerkrechner über eine Netzwerk-Interfacekarte in den ersten Bereich des BIOS geschrieben. Falls das neu zusammengestellte BIOS nicht funktioniert, ist es möglich, das vorhergehende Gespeicherte aus dem zweiten Bereich des Flash-ROMs zum ersten Bereich zurück zu installieren.From the publication EP 0 803 812 A1 For example, a method of "updating" the BIOS of a computer is known. In this case, the processor secures the previous BIOS stored in a first subarea of a flash ROM in a second area. Thereafter, the new BIOS is written by a network computer via a network interface card in the first area of the BIOS. If the newly assembled BIOS does not work, it is possible to reinstall the previous saved from the second area of the flash ROM to the first area.

In der Druckschrift WO 97/13202 A1 ist weiterhin ein Prozessor beschrieben, der einen Systemmanagementmodus eines Betriebs implementiert. Als Systemmanagementmode sind Systemfunktionen, wie beispielsweise so genanntes "Powermanagement" oder Sicherheitsfunktionen beschrieben.In the publication WO 97/13202 A1 Furthermore, a processor implementing a system management mode of operation is described. As system management mode system functions, such as so-called "power management" or safety functions are described.

Einen verbesserten Ablauf für das Update eines nichtflüchtigen Speichers eines Computersystems ist in der Druckschrift US 5 990 504 A ausgeführt. Es ist demnach möglich, einen Teilbereich eines BIOS aufzufrischen.An improved workflow for updating a non-volatile memory of a computer tems is in the publication US Pat. No. 5,990,504 executed. It is therefore possible to refresh a subsection of a BIOS.

Des Weiteren ist aus der Druckschrift US 5,835,594 A ein Verfahren bekannt, welches die Übertragung von Daten in einen geschützten, nichtflüchtigen Speicher beschreibt. Durch verschiedene Funktionen wird hierbei nur authentifizierten Daten der Speicherzugriff gestattet. Der Prozessor kann das BIOS des Computers im Systemmanagementmodus transparent für das Betriebssystem updaten.Furthermore, from the document US 5,835,594 A a method is known which describes the transmission of data in a protected, non-volatile memory. Through various functions, only authenticated data is permitted to access the memory. The processor can transparently update the BIOS of the computer in system management mode for the operating system.

Die Druckschrift GB 2290890 A , offenbart ein BIOS-Update, welches den Arbeitsvorgang des Systems nicht unterbricht. In der Druckschrift wird in besonderer Weise auf die Quelle der neuen Daten des BIOS eingegangen, welche eine Diskette oder eine Speicherkarte sein kann, in weiteren Ausführungsbeispielen ein über Modem oder LAN-Netzwerk angeschlossener, ferngesteuerter Computer oder ein Servicecomputer.The publication GB 2290890 A , discloses a BIOS update that does not interrupt the operation of the system. The document mentions in particular the source of the new data of the BIOS, which may be a floppy disk or a memory card, in further embodiments a remote-controlled computer or a service computer connected via modem or LAN network.

Eine Aufgabe der Erfindung ist es, ein Verfahren zu schaffen, das eine verringerte Anzahl von Anpassungen beim Update der grundlegenden Systemroutinen ermöglicht, wobei eine Auffrischung bei laufendem Betriebssystem möglich sein soll.A The object of the invention is to provide a method which has a reduced number of customizations when updating the basic Allows system routines a refresh while operating system be possible should.

Erfindungsgemäß wird die Aufgabe durch ein Verfahren nach Anspruch 1 gelöst. Die abhängigen Ansprüche betreffen weitere vorteilhafte Aspekte der Erfindung.According to the invention Problem solved by a method according to claim 1. The dependent claims relate to further advantageous aspects of the invention.

Das erfindungsgemäße Verfahren zum Laden von Daten für grundlegende Systemroutinen eines Datenverarbeitungssystems in einen nichtflüchtigen Speicher ist gekennzeichnet durch die Schritte: Bereitstellen einer vom Betriebssystem unabhängigen Schnittstelle in den grundlegenden Systemroutinen, Auslesen von neuen Daten aus einem externen Speichermedium, Versetzen eines Prozessors des Datenverarbeitungssystems in einen System-Management-Modus über diese Schnittstelle, und Einschreiben der neuen Daten für grundlegende Systemroutinen sowie gegebenenfalls die Daten des Micro Code Update in den nichtflüchtigen Speicher durch Aufsetzen eines FLASH-Programmes.The inventive method to load data for basic system routines of a data processing system into one nonvolatile Memory is characterized by the steps of: providing a independent of the operating system Interface in the basic system routines, reading from new data from an external storage medium, putting a processor of the data processing system in a system management mode over this Interface, and writing the new data for basic System routines and, if applicable, the data of the Micro Code Update in the non-volatile Memory by setting up a FLASH program.

Durch das erfindungsgemäße Verfahren wird die Anzahl der Anpassungen deutlich verringert, da sich die Anzahl der nötigen Anpassungen nun aus der Zahl der unterschiedlichen PC-System-Boards zuzüglich einmalig der Zahl der zu unterstützenden Betriebssysteme ergibt. Ein weiterer Vorteil besteht darin, daß keine Dateisystemabhängigkeit besteht.By the inventive method The number of adjustments is significantly reduced as the Number of required Adjustments now from the number of different PC system boards plus one-off the number of operating systems to support results. Another advantage is that there is no file system dependency consists.

Entsprechend einem weiteren vorteilhaften Aspekt der Erfindung ist der System-Management-Modus ein ununterbrechbarer Interrupt mit Task-Switch. Das heißt, dieser Modus ist für das Betriebssystem vollkommen transparent.Corresponding Another advantageous aspect of the invention is the system management mode an uninterruptible interrupt with task switch. That is, this one Mode is for the operating system completely transparent.

Vorzugsweise wird nach dem Einschreiben neuer Daten das Datenverarbeitungssystem zum Aktivieren neu gestartet, so daß das System mit den Daten der neuen grundlegenden Systemroutinen arbeiten kann.Preferably After writing new data, the data processing system becomes to activate restarted, so that the system with the data the new basic system routines can work.

Ein weiterer Vorteil der Erfindung ergibt sich daraus, daß das Laden der Daten für neue grundlegende Systemroutinen über einen räumlich getrennten Administrator-Computer in einem Computernetzwerk ohne Reboot erfolgen kann. Insbesondere bei Computernetzwerken erleichtert dies die Arbeit beim Updaten des BIOS der einzelnen PCs.One Another advantage of the invention results from the fact that the loading the data for new basic system routines through a spatially separated administrator computer in a computer network without rebooting. Especially on computer networks, this facilitates the work of updating the BIOS of each PC.

Wesentliche Vorteile der Erfindung sind, daß eine Anpassung der hardwarenahen Anwendersoftware an die verschiedenen Hardwarekonfigurationen nicht mehr erforderlich ist. Dieser erfolgt bereits mit der Bereitstellung und Freigabe der Fertigungs-BIOS. In vorteilhafter Weise ist auch weniger Testaufwand erforderlich und der Prozess kann schneller ablaufen. Das Datenverarbeitungssystem beinhaltet die hardwarenahen Teile der Anwendersoftware. Gegenüber dem bekannten Verfahren von ACER erfolgt das Auffrischen des BIOS bei laufendem Be triebssystem, so dass es ohne Störung des PC-Anwenders erfolgen kann.basics Advantages of the invention are that a Adaptation of the hardware-related application software to the different ones Hardware configurations are no longer required. This takes place already with the deployment and release of the manufacturing BIOS. Advantageously, less test effort is required and the process can run faster. The data processing system includes the hardware-related parts of the user software. Compared to the refreshing the BIOS is done by known ACER procedures running operating system, so that it can be done without disturbing the PC user can.

Das Bereitstellen und Ausnutzen einer vom Betriebssystem unabhängigen Schnittstelle hat folgende Vorteile. Der System-Management-Modus kann derart ausgestaltet sein, daß er nur über ein spezielles SMI-Signal (System-Management-Interrupt-Signal) erreichbar ist, so daß er nur über den RSM-Befehl (Reset-System-Management-Befehl) beendet werden kann. Dieser RSM-Befehl kann derart ausgestaltet sein, daß er nur im System-Management-Modus ausgeführt wird und ansonsten als unzulässiger Betriebscode behandelt wird.The Deploy and exploit an operating system independent interface has the following advantages. The system management mode can be configured in this way be that he only over a special SMI signal (system management interrupt signal) can be reached is so that he only over the RSM command (reset system management command) can be ended. This RSM command can be designed such that it only in system management mode and otherwise as unacceptable Operating code is treated.

Der System-Management-Modus kann nicht durch äußere Ereignisse (Interrupts, NMI, usw.) unterbrochen oder beeinflußt werden. Außerdem liegt der spezifische Code für den System-Management-Modus in dem Speicherbereich des nichtflüchtigen Speichers (SMRAM), welcher mittels Hardware vor dem Betriebssystem geschützt und vor ihm abgeschottet ist. Dies sichert den ausführungsspezifischen Codeteil für den System-Management-Modus und die zugehörigen Daten vor Fremdzugriff und damit auch gegen Viren.Of the System management mode can not be affected by external events (interrupts, NMI, etc.) are interrupted or influenced. In addition, the lies specific code for the system management mode in the memory area of the non-volatile memory (SMRAM), which is protected by hardware from the operating system and is sealed off from him. This saves the execution-specific code part for the System management mode and the associated Data against external access and thus against viruses.

Eine vorteilhafte Ausgestaltung des erfindungsgemäßen Verfahrens ist dadurch gekennzeichnet, daß im System-Management-Modus ein ununterbrechbarer Interrupt mit Task-Switch genutzt wird, wobei dieser Modus für das Betriebssystem transparent wird.An advantageous embodiment of the method according to the invention is characterized in that in the system management mode an uninterruptible interrupt is used with task switch, this mode for the operating system transpa rent becomes.

Eine weitere vorteilhafte Ausgestaltung des erfindungsgemäßen Verfahrens ist dadurch gekennzeichnet, daß die neuen Daten für die grundlegenden Systemroutinen fragmentiert und in einem RAM abgelegt werden können, wodurch der Prozess flexibler gestaltet wird, wenn es um die Berücksichtigung spezieller Erfordernisse der Soft- beziehungsweise Hardware geht.A further advantageous embodiment of the method according to the invention is characterized in that the new data for the basic system routines are fragmented and stored in a RAM can be making the process more flexible when it comes to consideration special requirements of software or hardware.

Außerdem werden gegenüber dem Verfahren von ACER damit die Anzahl der Fehlerquellen reduziert.In addition, will across from thus reducing the number of sources of error in ACER's process.

Eine weitere vorteilhafte Ausgestaltung des erfindungsgemäßen Verfahrens ist dadurch gekennzeichnet, daß, wenn der Prozessor sich im System-Management-Modus befindet, die Daten darauf überprüft werden, ob die Daten vollständig sind und ob die Daten die zu den grundlegenden Systemroutinen passenden Daten sind. Damit werden Fehler bei der Durchführung des Verfahrens vermieden.A further advantageous embodiment of the method according to the invention is characterized in that if the processor is in system management mode, the Data to be checked whether the data is complete and whether the data matches those to the basic system routines Data is. This avoids errors in the implementation of the method.

Eine weitere vorteilhafte Ausgestaltung des erfindungsgemäßen Verfahrens ist dadurch gekennzeichnet, daß nach dem Einschreiben neuer Daten in dem nichtflüchtigen Speicher das Datenverarbeitungssystem zum Aktivieren nur einmal neu gestartet werden muß, so dass das System nun mit den Daten der neuen grundlegenden Systemroutinen arbeiten kann.A further advantageous embodiment of the method according to the invention is characterized in that writing data in the nonvolatile memory, the data processing system must be restarted to activate only once, so that the system now with the data of the new basic system routines can work.

Eine weitere vorteilhafte Ausgestaltung des erfindungsgemäßen Verfahrens ist dadurch gekennzeichnet, daß das Laden der Daten für neue grundlegende Systemroutinen über einen räumlich getrennten Administrator-Computer in einem Computernetzwerk ohne Reboot erfolgen kann. Insbesondere bei Computernetzwerken erleichtert dies die Arbeit beim Updaten des BIOS der einzelnen PCs.A further advantageous embodiment of the method according to the invention is characterized in that the Loading the data for new basic system routines through a spatially separated administrator computer in a computer network without rebooting. Especially on computer networks, this facilitates the work of updating the BIOS of each PC.

Schließlich ist eine weitere vorteilhafte Ausgestaltung des erfindungsgemäßen Verfahrens dadurch gekennzeichnet, daß bei einem Multiprozessorsystem alle Prozessoren synchronisiert beziehungsweise in den System-Management-Modus versetzt werden, und daß zum Betriebssystem zurückgekehrt wird, wenn der FLASH- beziehungsweise Teilflash-Vorgang beendet ist. So kann bei Multiprozessorsystemen die erforderliche exklusive Nutzung der Systeme und Ressourcen sowie insbesondere der Zugriff auf den nichtflüchtigen Speicher im System-Management-Modus(SMM) gelöst werden.Finally is a further advantageous embodiment of the method according to the invention characterized in that at a microprocessor system all processors synchronized or be put into the system management mode, and that to the operating system returned when the FLASH or partial flash process ends is. Thus, in multiprocessor systems, the required exclusive Use of systems and resources as well as access in particular on the non-volatile Memory in System Management Mode (SMM) solved become.

Im Folgenden wird die Erfindung detailliert anhand eines Ausführungsbeispiels beschrieben.in the Below, the invention will be described in detail with reference to an embodiment described.

In einem Datenverarbeitungssystem ist auf einer Systemplatine ein nichtflüchtiger Speicher, nachfolgend als FLASH bezeichnet, angeordnet. Beim FLASH kann es sich um einen Speicherbaustein handeln, dessen Speicher in Sektoren einer Größe von beispielsweise 64 KB eingeteilt sind. Innerhalb der Sektoren können einzelne Bytes adressiert und beschrieben werden. Ein Löschvorgang wird üblicherweise durchgeführt, indem immer ein gesamter Sektor gelöscht wird. Das Datenverarbeitungssystem kann mit Hilfe des im FLASH gespeicherten BIOS ein Betriebssystem in einen Arbeitsspeicher (nicht dargestellt) einer CPU laden, wodurch es in einem betriebsfähigen Zustand versetzt wird. Wünschenswert ist es nun, daß ein Auffrischen des BIOS unabhängig von dem jeweiligen Betriebssystem des Datenverarbeitungssystems und der jeweiligen Hardware (aus Software-Sicht) ohne Anpassung der einmal erstellten Software auf neue Hardware möglich ist.In A data processing system is a nonvolatile device on a system board Memory, hereinafter referred to as FLASH arranged. At the FLASH it can be a memory device whose memory in sectors of a size of, for example 64 KB are divided. Within the sectors individual bytes can be addressed and described. An erase process usually becomes carried out, by always deleting an entire sector. The data processing system can use the BIOS stored in the FLASH to run an operating system in a working memory (not shown) of a CPU, whereby it in an operable Condition is shifted. Desirable is it now that one Refresh the BIOS independently from the respective operating system of the data processing system and the respective hardware (from a software point of view) without adjusting the once created Software on new hardware possible is.

Erfindungsgemäß wird hierfür eine Standardschnittstelle in dem BIOS geschaffen, nämlich die sogenannte BIOS-Service-API-Schnittstelle (API = Application Programming Interface). Diese Schnittstelle ist ein Programm, das unabhängig von Betriebssystem den Lese- und Schreibvorgang für grundlegende Systemroutinen in den nichtflüchtigen Speicher steuert. Auf diese Art wird eine Trennung der hardwarenahen Daten und der betriebssystemnahen Daten erreicht, so daß die Anzahl der Anpassungen nicht mehr das Produkt der Anzahl der unterstützten Betriebssysteme mit der Anzahl der Systemboards ist, sondern nur noch die Summe dieser beiden Größen.According to the invention, this is a standard interface created in the BIOS, namely the so-called BIOS service API interface (API = Application Programming Interface). This interface is a program that is independent From operating system the reading and writing process for basic System routines in the nonvolatile memory controls. In this way, a separation of the hardware-related data and the operating system-related data is reached, so that the number the adjustments no longer the product of the number of supported operating systems with the number of system boards, but only the sum of these two sizes.

Ein FLASH-Programm lädt neue Daten für grundlegende Systemroutinen aus einem externen Speicher in das RAM des Datenverarbeitungssystems. Diese Daten können auch fragmentiert sein.One FLASH program loads new data for basic System routines from an external memory into the RAM of the data processing system. This data can also be fragmented.

Das Datenverarbeitungssystem wird vom FLASH-Programm über die oben genannte BIOS-Service-API mittels eines SMI-Signals in einen "System-Management-Modus" versetzt.The Data processing system is the FLASH program on the above-mentioned BIOS service API by means of an SMI signal in a "system management mode".

Wenn das System dann in dem System-Management-Modus arbeitet, ist es vom jeweiligen Betriebssystem unabhängig. Aus Sicht des Betriebssystems ist der System-Management-Modus ein ununterbrechbarer Interrupt mit Task-Switch, d. h. vollkommen transparent. Dies hat den Vorteil, daß unabhängig von dem jeweiligen Betriebssystem des Datenverarbeitungssystems das neue BIOS geladen werden kann.If the system then works in the system management mode, it is independent of the respective operating system. From the point of view of the operating system System Management Mode is an uninterruptible interrupt with task switch, d. H. completely transparent. This has the advantage that regardless of the respective operating system of the data processing system new BIOS can be loaded.

Da das BIOS-Service-API standardisiert ist, ist es ausreichend, im Rahmen der BIOS-Entwicklung für das jeweilige PC-Systemboard und einmalig das FLASH-Programm für die zu unterstützenden Betriebssysteme zu erstellen. Diese beiden Anpassungen sind unabhängig voneinander.There the BIOS service API is standardized, it is sufficient in the Framework of the BIOS development for the respective PC system board and once the FLASH program for the operating systems to be supported to create. These two adjustments are independent of each other.

Während das System in dem System-Management-Modus ist, ist es unabhängig von äußeren Einflüssen, wie beispielsweise Interrupts und ähnlichem. Nur durch einen besonderen Befehl oder ein Ausschalten des Datenverarbeitungssystems kann das Updaten des BIOS unterbrochen werden, woraus sich eine erhöhte Sicherheit ergibt.While that System is in the system management mode, it is independent of external influences, such as for example, interrupts and the like. Only by a special command or by switching off the data processing system the update of the BIOS can be interrupted, resulting in a increased Security results.

Um eine Fehlfunktion aufgrund fehlerhafter Manipulation an dem BIOS zu vermeiden, ist der System-Management-Modus-Code vorzugsweise in einem getrennten Speicherbereich des nichtflüchtigen Speichers (SMRAM), welcher durch Hardwaremaßnahmen vor dem Betriebssystem geschützt ist, und diesem abgeschottet ist. Es heißt, dieser Teil des BIOS, der für Laden und Archi vieren verantwortlich ist, ist gegenüber dem Betriebssystem abgeschottet und geschützt. Auf diese Art sind die für die Ausführung relevanten Codeteile sowie die zugehörigen Daten vor Fremdzugriff geschützt.Around a malfunction due to improper manipulation of the BIOS To avoid this, the system management mode code is preferable in a separate memory area of the non-volatile memory (SMRAM), which by hardware measures protected from the operating system is, and this is foreclosed. It means that part of the BIOS that for loading and Archi ve is in charge, is shielded from the operating system and protected. In this way are the for execution relevant code parts as well as the associated data against external access protected.

Darüber hinaus bietet sich bei Multiprozessorsystemen die Möglichkeit, die erforderliche exklusive Nutzung der Systemressourcen mit Hilfe der BIOS-Service-API zu lösen. Dabei werden alle anderen Prozessoren ebenfalls in den System-Management-Modus gesetzt, und es wird erst wieder zum Betriebssystem zurückgekehrt, wenn der FLASH-Vorgang gültig beendet ist.Furthermore For multiprocessor systems, there is the possibility of getting the required exclusive use of system resources using the BIOS service API to solve. All other processors will also be in system management mode set, and it is only returned to the operating system, if the FLASH operation is valid finished.

Gegenüber dem bekannten Desk-Flash-Programm wird eine standardisierte Schnittstelle zur Anpassung an unterschiedliche Hardwarekonfigurationen bereitgestellt, wobei die Anpassung der für das Betriebssystem spezifischen Anwendungen nicht mehr erforderlich ist.Compared to the known desk flash program becomes a standardized interface provided for adaptation to different hardware configurations, the adaptation of the for the operating system specific applications no longer required is.

Obwohl die Erfindung anhand eines bestimmten Ausführungsbeispiels beschrieben wurde, ist sie auf dieses nicht beschränkt. Verschiedene Abwandlungen und Modifikationen sind für den Fachmann ersichtlich. Beispielsweise können je noch dem Betriebssystem OS oder Software-Architektur verschiedene, auch mehrere, Software-Layer aufgelegt werden.Even though the invention described with reference to a particular embodiment it is not limited to this. Various modifications and modifications are for the skilled artisan. For example, depending on the operating system OS or software architecture different, even multiple, software layers be hung up.

Auch ist die Erfindung nicht auf ein Datenverarbeitungssystem, beispielsweise mit BIOS, beschränkt, sondern bezieht sich generell auf Controller, die ein Betriebssystem beziehungsweise Firmware aufweisen, für Geräte und Maschinen, beispielsweise Mobiltelefongeräte, controllergesteuerte Hausgeräte oder NC-Maschinen.Also the invention is not related to a data processing system, for example with BIOS, limited, but generally refers to controllers that have an operating system or have firmware for equipment and machinery, for example Mobile telephones, controller controlled home appliances or NC machines.

Claims (9)

Verfahren zum Laden von Daten für grundlegende Systemroutinen eines Datenverarbeitungssystems in einem nichtflüchtigen Speicher gekennzeichnet durch die Schritte: – Bereitstellen einer betriebssystemunabhängigen Schnittstelle in den grundlegenden Systemroutinen, – Auslesen der neuen Daten aus einem externen Speichermedium, und Schreiben in RAM – Versetzen eines Prozessors des Datenverarbeitungssystems in einen System-Management-Modus über diese Schnittstelle, und – Einschreiben neuer Daten für grundlegende Systemroutinen sowie gegebenenfalls die Daten des Micro Code Update in den nichtflüchtigen Speicher.Method for loading data for basic System routines of a data processing system in a non-volatile Memory characterized by the steps: - Provide an operating system independent interface in the basic system routines, - Reading the new data from an external storage medium, and writing in RAM - Offset a processor of the data processing system in a system management mode via this Interface, and - registered mail new data for basic system routines and possibly the data of the Micro Code update in the non-volatile Storage. Verfahren nach Anspruch 1, dadurch gekennzeichnet, dass im System-Management-Modus ein ununterbrechbarer Interrupt mit Task-Switch genutzt wird.Method according to claim 1, characterized in that that in system management mode an uninterruptible interrupt is used with task switch. Verfahren nach Anspruch 1, dadurch gekennzeichnet, dass die neuen Daten für die grundlegenden Systemroutinen fragmentiert und in einem RAM abgelegt werdenMethod according to claim 1, characterized in that that the new data for the basic system routines are fragmented and stored in a RAM become Verfahren nach Anspruch 1, dadurch gekennzeichnet, dass wenn der Prozessor sich im System-Management-Modus befindet, die Daten darauf überprüft werden, ob die Daten vollständig sind und ob die Daten die zu den grundlegenden Systemroutinen passenden Daten sind.Method according to claim 1, characterized in that if the processor is in system management mode, the data will be checked whether the data is complete and whether the data matches those to the basic system routines Data is. Verfahren nach einem der vorhergehenden Ansprüche, da durch gekennzeichnet, dass nach dem Einschreiben neuer Daten in dem nichtflüchtigen Speicher das Datenverarbeitungssystem zum Aktivieren der Daten neu gestartet wird.Method according to one of the preceding claims, characterized by characterized in that after writing new data in the non-volatile memory restarted the data processing system to activate the data becomes. Verfahren nach einem der vorangehenden Ansprüche, dadurch gekennzeichnet, dass bei dem das Laden der Daten für neue grundlegende Systemroutinen über einen räumlich getrennten Administrator-Computer eines Computernetzwerks verfolgt.Method according to one of the preceding claims, characterized characterized in that loading the data for new basic System routines via one spatially tracked separate administrator computer of a computer network. Verfahren nach einem der vorhergehenden Ansprüche, dadurch gekennzeichnet, dass bei einem Multiprozessorensystem alle Prozessoren synchronisiert beziehungsweise in den System-Management-Modus versetzt werden, und dass zum Betriebssystem zurückgekehrt wird, wenn der FLASH-Vorgang beendet ist.Method according to one of the preceding claims, characterized characterized in that in a multiprocessor system all processors synchronized or put into system management mode and that will return to the operating system when the FLASH process finished. Verfahren nach einem der vorhergehenden Ansprüche, dadurch gekennzeichnet, dass neue Daten für die grundlegenden Systemroutinen nur teilweise in den nichtflüchtigen Speicher eingeschrieben werden.Method according to one of the preceding claims, characterized that marked new data for the basic system routines only partially in the non-volatile Memory are written. Verfahren nach einem der vorhergehenden Ansprüche, dadurch gekennzeichnet, dass die Daten des nichtflüchtigen Speichers ausgelesen, auch teilweise, und auf einem externen Speichermedium geschrieben werden.Method according to one of the preceding claims, characterized characterized in that the data of the non-volatile memory is read out, also partially, and written on an external storage medium become.
DE19946959A 1999-09-30 1999-09-30 Method for loading data for basic system routines Expired - Lifetime DE19946959B4 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
DE19946959A DE19946959B4 (en) 1999-09-30 1999-09-30 Method for loading data for basic system routines

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
DE19946959A DE19946959B4 (en) 1999-09-30 1999-09-30 Method for loading data for basic system routines

Publications (2)

Publication Number Publication Date
DE19946959A1 DE19946959A1 (en) 2001-04-12
DE19946959B4 true DE19946959B4 (en) 2009-05-07

Family

ID=7923905

Family Applications (1)

Application Number Title Priority Date Filing Date
DE19946959A Expired - Lifetime DE19946959B4 (en) 1999-09-30 1999-09-30 Method for loading data for basic system routines

Country Status (1)

Country Link
DE (1) DE19946959B4 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19752615C1 (en) * 1997-11-27 1999-04-08 Siemens Nixdorf Inf Syst Data loading method for basic routines in data processing system
FR2823876B1 (en) * 2001-04-19 2003-09-19 Peugeot Citroen Automobiles Sa COMPUTER PROGRAMMING SYSTEM FOR AN ON-BOARD COMPUTER SYSTEM ON BOARD A MOTOR VEHICLE
US6848046B2 (en) 2001-05-11 2005-01-25 Intel Corporation SMM loader and execution mechanism for component software for multiple architectures
US7086049B2 (en) * 2002-02-26 2006-08-01 International Business Machines Corporation Background code update for embedded systems
EP1357454A1 (en) * 2002-04-23 2003-10-29 Hewlett-Packard Company Data processing system and method with protected BIOS
US7802042B2 (en) 2007-12-28 2010-09-21 Intel Corporation Method and system for handling a management interrupt event in a multi-processor computing device
US8522236B2 (en) 2007-12-28 2013-08-27 Intel Corporation Method and system for establishing a robust virtualized environment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2290890A (en) * 1994-06-29 1996-01-10 Mitsubishi Electric Corp Updating a basic input/output system programme
WO1997013202A1 (en) * 1995-10-06 1997-04-10 Advanced Micro Devices, Inc. Flexible implementation of a system management mode (smm) in a processor
EP0803812A1 (en) * 1996-04-24 1997-10-29 Sony Corporation Method for updating a program
US5835594A (en) * 1996-02-09 1998-11-10 Intel Corporation Methods and apparatus for preventing unauthorized write access to a protected non-volatile storage
US5930504A (en) * 1996-07-22 1999-07-27 Intel Corporation Dynamic nonvolatile memory update in a computer system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2290890A (en) * 1994-06-29 1996-01-10 Mitsubishi Electric Corp Updating a basic input/output system programme
WO1997013202A1 (en) * 1995-10-06 1997-04-10 Advanced Micro Devices, Inc. Flexible implementation of a system management mode (smm) in a processor
US5835594A (en) * 1996-02-09 1998-11-10 Intel Corporation Methods and apparatus for preventing unauthorized write access to a protected non-volatile storage
EP0803812A1 (en) * 1996-04-24 1997-10-29 Sony Corporation Method for updating a program
US5930504A (en) * 1996-07-22 1999-07-27 Intel Corporation Dynamic nonvolatile memory update in a computer system

Also Published As

Publication number Publication date
DE19946959A1 (en) 2001-04-12

Similar Documents

Publication Publication Date Title
DE10085374B4 (en) System management memory for the system management interrupt handlers is integrated into the memory controller, regardless of the BIOS and operating system
DE69821844T2 (en) Method for automatically installing and transferring data to a computer disk drive
DE60226019T2 (en) METHOD AND SYSTEM FOR CONTROLLING EXECUTABLE FILES WITH DIVIDED LIBRARIES
DE112005002404B4 (en) Self-monitoring and firmware update over a network
DE10003108B4 (en) Method and computer system for performing a software installation
DE60018807T2 (en) METHOD AND DEVICE FOR RECOVERING THE CONFIGURATION OF A COMPUTER
DE112009002207B4 (en) Updating firmware with multiple processors
DE102007025397B4 (en) Multi-processor system and method of operation
DE112009000612T5 (en) Multi-OS boot facility (OS), multi-OS boot utility, recording media and multi-OS boot process
DE102006006046A1 (en) Universal serial bus storage device for use with e.g. computer, has software which automatically operates and boots instrument, such that operating system of instrument is automatically restored, if device is connected with instrument
DE69914595T2 (en) PROTECTED STORAGE MEDIUM FOR A COMPUTER SYSTEM
DE202015101633U1 (en) Computer system and storage device
EP1818819A1 (en) Method for organising the software of a fluid management system
DE102006026714A1 (en) Method and system for maintaining a system management BIOS
DE202015101904U1 (en) Computer system and memory device for updating firmware components
EP0500973A1 (en) Bootstrap routine in an EEPROM
DE60317392T2 (en) A method of automatically updating path access to a hardware perimeter hard disk system of computing resources, arrangement for performing this method, and memory used in that system
DE19946959B4 (en) Method for loading data for basic system routines
EP1701266A1 (en) Test apparatus for verification of a batch processing
EP1262856A2 (en) Program controlled storage device
DE4238099C2 (en) Microprocessor with multiple operating modes
EP1032871B1 (en) Process and device for loading data for basic system routines of a data processing system
DE60226276T2 (en) METHOD AND ARRANGEMENT FOR MODIFYING THE CONTENT OF A CORRECTION IDENTIFICATION REGISTER
EP1673696B1 (en) Method and device for operating a secondary operating system auxiliary to a primary operating system
DE19924610B4 (en) Setup procedures

Legal Events

Date Code Title Description
OP8 Request for examination as to paragraph 44 patent law
8127 New person/name/address of the applicant

Owner name: FUJITSU SIEMENS COMPUTERS GMBH, 81739 MUENCHEN, DE

8125 Change of the main classification

Ipc: G06F 944

8364 No opposition during term of opposition
R084 Declaration of willingness to licence
R081 Change of applicant/patentee

Owner name: FUJITSU TECHNOLOGY SOLUTIONS INTELLECTUAL PROP, DE

Free format text: FORMER OWNER: FUJITSU SIEMENS COMPUTERS GMBH, 80807 MUENCHEN, DE

Effective date: 20111229

R082 Change of representative

Representative=s name: EPPING HERMANN FISCHER, PATENTANWALTSGESELLSCH, DE

Effective date: 20111229

Representative=s name: EPPING HERMANN FISCHER PATENTANWALTSGESELLSCHA, DE

Effective date: 20111229

R071 Expiry of right