CN102331941B - Method for managing hard disk switching of loongson mainboard - Google Patents

Method for managing hard disk switching of loongson mainboard Download PDF

Info

Publication number
CN102331941B
CN102331941B CN201110188840.1A CN201110188840A CN102331941B CN 102331941 B CN102331941 B CN 102331941B CN 201110188840 A CN201110188840 A CN 201110188840A CN 102331941 B CN102331941 B CN 102331941B
Authority
CN
China
Prior art keywords
hard disk
sata
controller
bios
ide
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.)
Active
Application number
CN201110188840.1A
Other languages
Chinese (zh)
Other versions
CN102331941A (en
Inventor
尹宁宁
郑臣明
邵宗有
刘新春
杨晓君
李永成
李丰旺
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.)
The dawn of the Dragon Information Technology Co. Ltd.
Original Assignee
Dawning Information Industry Co Ltd
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 Dawning Information Industry Co Ltd filed Critical Dawning Information Industry Co Ltd
Priority to CN201110188840.1A priority Critical patent/CN102331941B/en
Publication of CN102331941A publication Critical patent/CN102331941A/en
Application granted granted Critical
Publication of CN102331941B publication Critical patent/CN102331941B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a method for managing hard disk switching of a Loongson mainboard. In the method, a basic input/output system (BIOS) scans and initializes a hard disk controller during startup; the hard disk controller scans hard disk equipment, reads the hard disk configuration information of a hard disk switching module and feeds the configuration information back to the BIOS; and the BIOS starts an operating system from a hard disk according to feedback information. Verification proves that the working sequence of serial advanced technology attachment (SATA) and an integrated development environment (IDE) can be well controlled and the stable operation of the central processing unit and advanced micro device (CPU+AMD) reed-solomon (RS) 780E mainboard of Loongson is ensured by the method.

Description

A kind of method of Godson mainboard hard disk handover management
Technical field
The present invention relates to mainboard BIOS, specifically, relate to the hardware platform based on Godson loongson3A CPU and AMD RS780E combination, realize the method that SATA and the work of IDE hard disk are switched.
Background technology
Godson (English: Loongson) is universal cpu, adopts lean instruction set, is similar to MIPS instruction set; The Basic Input or Output System (BIOS) that it adopts is the software of a kind of PMON by name.PMON is an Open Source Code Software that has BIOS and boot loader partial function concurrently, is mainly used in the platforms such as MIPS, ARM, PowerPC, is different from the BIOS of X86-based.
Godson product in the market used the hard disk of two types, and the one, the IDE hard disk that south bridge IDE controller is direct-connected, the 2nd, turn by IDE the hard disk that SATA interface connector connects.And the situation that uses south bridge IDE controller and SATA controller to be connected separately hard disk on a Godson mainboard did not occur simultaneously; In the time that south bridge IDE controller and SATA controller can be worked simultaneously, work how to consult two kinds of hard disks has just become problem.
Summary of the invention
In order to address the above problem, the present invention proposes the method for the work of a kind of SATA of negotiation controller and IDE controller.
A kind of method of Godson mainboard hard disk handover management, BIOS scans and initialization hard disk controller in the time starting, hard disk controller scanning hard disc apparatus, and read the hard disk configuration information of hard disk handover module, configuration information is fed back to BIOS, BIOS according to feedback information from hard disk startup operating system.
Preferably, described BIOS adopts PMON program.
Preferably, described hard disk controller comprises IDE controller and SATA controller.
Preferably, described handover module is SMBUS controller.
More preferably, described SMBUS controller is by 0xAD register control hard disk startup order.
More preferably, whether set carrys out setting harddisk boot sequence by the 4th for described 0xAD register.
More preferably, when the 4th position of described 0xAD register is empty, SATA hard disk is main equipment; When the 4th position, position of described 0xAD register, IDE hard disk position main equipment.
Preferably, in the configuration file of described BIOS and device file, added SET_SATA option.
More preferably, when described SET_SATA option is selected, from SATA hard disk startup; When described SET_SATA option is not selected, from IDE hard disk startup.
The present invention, by checking, can be good at controlling the job order of SATA and IDE, has guaranteed the stable operation of Godson CPU+AMD RS780E mainboard.
Embodiment
This example based on hardware platform be Godson blade server.The major part of Godson blade is Godson 3A chip and AMD 780E+SB700 chipset.The Main Function of PMON program is the initialization realizing each functions of the equipments on Godson blade, and assurance Godson blade is normally worked, and guides operating system smoothly.
PMON can be divided into three steps substantially to the work of south bridge hard disk controller: one, enabling of hard disk controller; Two, the scanning of hard disk controller and configuration; Three, the initialization of hard disk controller.Therefore, in PMON, no matter be to SATA controller or IDE controller, their initial method is all the same, that is to say that PMON can be both equality for the treatment of.
The present invention solves IDE device start or the problem from SATA device start by the 0xAD register of controlling SMBUS controller in the south bridge device initialize part of PMON: in the time putting the 4th of empty this register, it is main equipment that Godson mainboard will arrange SATA hard disk, and from SATA hard disk startup; In the time of the 4th, this register of set, it is main equipment that Godson mainboard will arrange IDE hard disk, and starts from IDE.In addition, in order better to control this register in program, the present invention adds SET_SATA option in the configuration file of PMON and device file, in the time selecting this option, the default value that keeps the 4th, the 0xAD register of SMBUS, it is main equipment that SATA hard disk is set; In the time not selecting this, the 4th of the 0xAD of SMBUS is set, making IDE hard disk is main equipment.

Claims (5)

1. the method for a Godson mainboard hard disk handover management, it is characterized in that: BIOS scans and initialization hard disk controller in the time starting, hard disk controller scanning hard disc apparatus, and read the hard disk configuration information of hard disk handover module, configuration information is fed back to BIOS, BIOS according to feedback information from hard disk startup operating system;
Described handover module is SMBUS controller;
Described SMBUS controller is by 0xAD register control hard disk startup order;
Whether set carrys out setting harddisk boot sequence to described 0xAD register by the 4th;
The 4th position of described 0xAD register is when empty, and SATA hard disk is main equipment; , IDE hard disk is main equipment when the 4th position, position of described 0xAD register.
2. the method for claim 1, is characterized in that: described BIOS adopts PMON program.
3. the method for claim 1, is characterized in that: described hard disk controller comprises IDE controller and SATA controller.
4. the method for claim 1, is characterized in that: in the configuration file of described BIOS and device file, added SET_SATA option.
5. method as claimed in claim 4, is characterized in that: when described SET_SATA option is selected, from SATA hard disk startup; When described SET_SATA option is not selected, from IDE hard disk startup.
CN201110188840.1A 2011-07-07 2011-07-07 Method for managing hard disk switching of loongson mainboard Active CN102331941B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110188840.1A CN102331941B (en) 2011-07-07 2011-07-07 Method for managing hard disk switching of loongson mainboard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110188840.1A CN102331941B (en) 2011-07-07 2011-07-07 Method for managing hard disk switching of loongson mainboard

Publications (2)

Publication Number Publication Date
CN102331941A CN102331941A (en) 2012-01-25
CN102331941B true CN102331941B (en) 2014-07-02

Family

ID=45483727

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110188840.1A Active CN102331941B (en) 2011-07-07 2011-07-07 Method for managing hard disk switching of loongson mainboard

Country Status (1)

Country Link
CN (1) CN102331941B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104932922A (en) * 2015-06-18 2015-09-23 浪潮电子信息产业股份有限公司 Method and device for regulating boot sequence of SAS (Serial Attached SCSI) card hard disk
CN110730082A (en) * 2019-09-07 2020-01-24 西南计算机有限责任公司 Simulated cloud platform based on domestic Loongson processor
CN112988178B (en) * 2021-04-16 2022-04-08 江苏嘉擎信息技术有限公司 Method for installing operating system on CPCI mainboard based on Loongson CPU on PMON

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744042A (en) * 2002-12-19 2006-03-08 联想(北京)有限公司 Method for realizing automatic change of computer start sequence
CN101615104A (en) * 2008-06-25 2009-12-30 鸿富锦精密工业(深圳)有限公司 System for switching hard disks and changing method thereof
CN102023879A (en) * 2010-11-04 2011-04-20 天津曙光计算机产业有限公司 BIOS (Basic Input Output System) realizing method of loongson blade south bridge SATA (Serial Advanced Technology Attachment) controller
CN102063593A (en) * 2011-01-07 2011-05-18 北京工业大学 Credible device with active control function and authentication method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744042A (en) * 2002-12-19 2006-03-08 联想(北京)有限公司 Method for realizing automatic change of computer start sequence
CN101615104A (en) * 2008-06-25 2009-12-30 鸿富锦精密工业(深圳)有限公司 System for switching hard disks and changing method thereof
CN102023879A (en) * 2010-11-04 2011-04-20 天津曙光计算机产业有限公司 BIOS (Basic Input Output System) realizing method of loongson blade south bridge SATA (Serial Advanced Technology Attachment) controller
CN102063593A (en) * 2011-01-07 2011-05-18 北京工业大学 Credible device with active control function and authentication method thereof

Also Published As

Publication number Publication date
CN102331941A (en) 2012-01-25

Similar Documents

Publication Publication Date Title
US9201833B2 (en) Backplane controller capable of transferring and receiving data through USB interface
CN107463388B (en) UEFI diskless starting method
US8898361B2 (en) Systems and methods for advanced interrupt scheduling and priority processing in a storage system environment
CN102331941B (en) Method for managing hard disk switching of loongson mainboard
US9779047B2 (en) Universal intelligent platform management interface (IPMI) host to baseboard management controller (BMC) communication for non-x86 and legacy free systems
KR101284403B1 (en) System and method for customizing a scsi error response received from a scsi target in a storage network environment
US8855799B2 (en) Automated mass production method and system thereof
WO2015188586A1 (en) Data transmission method, electronic equipment, usb equipment and storage medium
CN106909350A (en) A kind of RAID card suitable for domestic processor platform is configured and driving method
US8806660B2 (en) System and method for secure licensing for an information handling system
US10627890B2 (en) Bridge module and operation method thereof
CN104899107B (en) A kind of information processing method and electronic equipment
CN104216757A (en) Method for migrating VMware virtual machine to KVM (kernel-based virtual machine)
JP5846016B2 (en) Information processing apparatus, information processing method, and information processing program
CN102023879A (en) BIOS (Basic Input Output System) realizing method of loongson blade south bridge SATA (Serial Advanced Technology Attachment) controller
US9910995B2 (en) System and method for secure file transmission
JP2007323142A (en) Information processing apparatus and its control method
CN102486737A (en) Realization method of BIOS (Basic Input/Output System) in Southbridge SATA (Serial Advanced Technology Attachment) controller of Loongson blade
CN107169378B (en) Method and equipment for encrypting computer during startup
TWI338228B (en) Computer system having bios function
US8578142B2 (en) System and method for shared data storage
US11385885B2 (en) System and method of downloading a firmware to a server
CN104142870A (en) Virtual BIOS (basic input /output system) booting system and virtual BIOS booting method
CN109214214B (en) Method and equipment for setting identity of frequency converter and frequency conversion screw unit
TW201205437A (en) Server system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20160608

Address after: 100193, room 2, building 36, building 8, 202 West Wang Road, Haidian District, Beijing

Patentee after: The dawn of the Dragon Information Technology Co. Ltd.

Address before: 300384 Tianjin city Xiqing District Huayuan Industrial Zone (outer ring) Haitai Huake Street No. 15 1-3

Patentee before: Sugon Information Industry Co., Ltd.

CP03 Change of name, title or address

Address after: Room 111-1, 1st floor, building 23, No.8 yard, Dongbei Wangxi Road, Haidian District, Beijing 100193

Patentee after: Zhongke Tenglong Information Technology Co.,Ltd.

Address before: Room 202, 2 / F, building 36, yard 8, Dongbei Wangxi Road, Haidian District, Beijing 100193

Patentee before: The dawn of the Dragon Information Technology Co.,Ltd.

CP03 Change of name, title or address