CN102331941A - 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
CN102331941A
CN102331941A CN201110188840A CN201110188840A CN102331941A CN 102331941 A CN102331941 A CN 102331941A CN 201110188840 A CN201110188840 A CN 201110188840A CN 201110188840 A CN201110188840 A CN 201110188840A CN 102331941 A CN102331941 A CN 102331941A
Authority
CN
China
Prior art keywords
hard disk
sata
bios
controller
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.)
Granted
Application number
CN201110188840A
Other languages
Chinese (zh)
Other versions
CN102331941B (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

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 hardware platform, realize the method that SATA and the work of IDE hard disk are switched based on Godson loongson3A CPU and AMD RS780E combination.
Background technology
Godson (English: Loongson) be universal cpu, adopt lean instruction set, be similar to the 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 platforms such as MIPS, ARM, PowerPC, is different from the BIOS of X86 framework.
Godson product in the market used two types hard disk, and the one, the IDE hard disk that south bridge IDE controller is direct-connected, the 2nd, change the hard disk that the SATA interface connector connects through IDE.And the situation of on a Godson mainboard, using south bridge IDE controller and SATA controller to be connected hard disk did not separately simultaneously occur; When south bridge IDE controller and SATA controller can be worked simultaneously, work how to consult two kinds of hard disks had 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 when 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, said BIOS adopts the PMON program.
Preferably, said hard disk controller comprises IDE controller and SATA controller.
Preferably, said handover module is the SMBUS controller.
More preferably, said SMBUS controller is through 0xAD register controlled hard disk startup order.
More preferably, whether set comes the setting harddisk boot sequence through the 4th for said 0xAD register.
More preferably, when the 4th position of said 0xAD register was empty, then the SATA hard disk was a main equipment; During the 4th bit of said 0xAD register, IDE hard disk position main equipment then.
Preferably, added the SET_SATA option in the configuration file of said BIOS and the device file.
More preferably, when said SET_SATA option is selected, then from the SATA hard disk startup; When said SET_SATA option is not selected, then from the IDE hard disk startup.
The present invention can be good at controlling the job order of SATA and IDE through checking, has guaranteed the stable operation of Godson CPU+AMD RS780E mainboard.
Embodiment
This instance based on hardware platform be the Godson blade server.The major part of Godson blade is Godson 3A chip and AMD 780E+SB700 chipset.The main effect of PMON program is the initialization that realizes each functions of the equipments on the Godson blade, guarantees Godson blade operate as normal, and smooth pilot operationp system.
PMON can be divided into three steps substantially to the work of south bridge hard disk controller: one, hard disk controller enables; 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 all is the same, that is to say that PMON can be both equality of treatment.
The present invention's 0xAD register through control SMBUS controller in the south bridge device initialize of PMON part solves the IDE device start or from the problem of SATA device start: when putting the 4th of empty this register; It is main equipment that the Godson mainboard will be provided with the SATA hard disk, and from the SATA hard disk startup; When the 4th in this register of set, it is main equipment that the Godson mainboard will be provided with the IDE hard disk, and starts from IDE.In addition; For better this register of control on program, the present invention adds the SET_SATA option in the configuration file of PMON and device file, when this option of selection; The default value that the 0xAD register of maintenance SMBUS is the 4th, it is main equipment that the SATA hard disk is set; When not selecting this, the 4th of the 0xAD of SMBUS is set, making the IDE hard disk is main equipment.

Claims (9)

1. the method for a Godson mainboard hard disk handover management; It is characterized in that: BIOS scans and initialization hard disk controller when 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.
2. the method for claim 1 is characterized in that: said BIOS employing PMON program.
3. the method for claim 1, it is characterized in that: said hard disk controller comprises IDE controller and SATA controller.
4. the method for claim 1, it is characterized in that: said handover module is the SMBUS controller.
5. method as claimed in claim 4 is characterized in that: said SMBUS controller is through 0xAD register controlled hard disk startup order.
6. method as claimed in claim 5 is characterized in that: whether set comes the setting harddisk boot sequence to said 0xAD register through the 4th.
7. method as claimed in claim 6 is characterized in that: when the 4th position of said 0xAD register was empty, then the SATA hard disk was a main equipment; During the 4th bit of said 0xAD register, IDE hard disk position main equipment then.
8. the method for claim 1 is characterized in that: added the SET_SATA option in the configuration file of said BIOS and the device file.
9. method as claimed in claim 8 is characterized in that: when said SET_SATA option is selected, then from the SATA hard disk startup; When said SET_SATA option is not selected, then from the 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 true CN102331941A (en) 2012-01-25
CN102331941B 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)

Cited By (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
CN112988178A (en) * 2021-04-16 2021-06-18 江苏嘉擎信息技术有限公司 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

Cited By (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
CN112988178A (en) * 2021-04-16 2021-06-18 江苏嘉擎信息技术有限公司 Method for installing operating system on CPCI mainboard based on Loongson CPU on PMON

Also Published As

Publication number Publication date
CN102331941B (en) 2014-07-02

Similar Documents

Publication Publication Date Title
CN109992972B (en) Method and system for establishing trust chain in cloud environment
US7797526B2 (en) Service processor host flash update over LPC
US8875125B2 (en) Operation system installation methods and media
CN107463388B (en) UEFI diskless starting method
CN102541787A (en) Serial switching using system and method
US9779047B2 (en) Universal intelligent platform management interface (IPMI) host to baseboard management controller (BMC) communication for non-x86 and legacy free systems
Reeser et al. Maintaining HMI and SCADA systems through computer virtualization
CN102331941B (en) Method for managing hard disk switching of loongson mainboard
TWI505078B (en) System management controller, computer system and method of system management
KR101284403B1 (en) System and method for customizing a scsi error response received from a scsi target in a storage network environment
WO2015188586A1 (en) Data transmission method, electronic equipment, usb equipment and storage medium
US8855799B2 (en) Automated mass production method and system thereof
US8806660B2 (en) System and method for secure licensing for an information handling system
CN106909350A (en) A kind of RAID card suitable for domestic processor platform is configured and driving method
US7568091B2 (en) Computer platform system control unit data programming control method and system
CN104216757A (en) Method for migrating VMware virtual machine to KVM (kernel-based virtual machine)
CN104166579A (en) Hardware designing method for achieving BIOS refreshing through BMC under shutdown state
CN104899107A (en) Information processing method and electronic equipment
EP4172828B1 (en) Static configuration of accelerator card security modes
CN102023879A (en) BIOS (Basic Input Output System) realizing method of loongson blade south bridge SATA (Serial Advanced Technology Attachment) controller
JP2013214122A (en) Information processing apparatus, information processing method, and information processing program
US9910995B2 (en) System and method for secure file transmission
CN102486737A (en) Realization method of BIOS (Basic Input/Output System) in Southbridge SATA (Serial Advanced Technology Attachment) controller of Loongson blade
KR20090092707A (en) Information processing system and control method and control program of the same
TWI338228B (en) Computer system having bios function

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