A startup method, device and computer system

A technology for starting a device and a starting system, applied in the computer field, can solve the problems of system startup failure, Nand-Flash boot program damage, Nand-Flash bad blocks, etc., and achieve the effect of reducing the probability of startup failure

Active Publication Date: 2020-05-08
HUAWEI TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

During the writing process, Nand-Flash is prone to bad blocks, which cannot be read and written
In this way, once the block storing the boot program becomes a bad block, it will cause the system to fail to start
[0005] In addition, during the bootloader upgrade process, if a power failure occurs, the bootloader in the Nand-Flash may also be destroyed, causing the system to fail to start

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A startup method, device and computer system
  • A startup method, device and computer system
  • A startup method, device and computer system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0065] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0066] Such as figure 1 As shown, a schematic structural diagram of a computer system 10 is provided for an embodiment of the present invention, and the computer system 10 includes: a central processing unit CPU 11 , a memory, a reset device 12 and a start device 13 .

[0067] Wherein, the memory is Nand-Flash 14, and the starting device 13 is connected to the CPU 11, the Nand-Flash 14 and the reset device 12 respectively.

[0068] The Nand-Flas...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

Embodiments of the present invention provide a startup method and apparatus, and a computer system, which relate to the computer field and are used to reduce a probability of a system startup failure caused by occurrence of a bad block in Nand-Flash. The method includes: when a CPU fails to start a system, receiving, by a startup apparatus, a backup area selection instruction, where the backup area selection instruction is used to instruct the startup apparatus to read a boot loader from a backup area of Nand-Flash; receiving a program read instruction sent by the CPU, where the program read instruction includes a primary area address of the boot loader in the Nand-Flash; acquiring a backup address of the boot loader in the Nand-Flash from a correspondence between primary and backup addresses according to the primary area address; reading the boot loader from the backup address in the Nand-Flash; and sending the boot loader to the CPU, so that the CPU starts the system according to the boot loader.

Description

technical field [0001] The present invention relates to the field of computers, in particular to a starting method, device and computer system. Background technique [0002] When the computer system is powered on, it will firstly execute a boot loader, which is used to boot the system and initialize the hardware. [0003] Nand-Flash is usually used to store the bootloader. When the computer system is powered on, the CPU (Central Processing Unit, central processing unit) will read the boot program from the Nand-Flash, and write it into the RAM (Random Access Memory, random access memory) for execution. [0004] Nand-Flash usually stores data in blocks. During the writing process, Nand-Flash is prone to bad blocks, which cannot be read and written. In this way, once the Block storing the boot program becomes a bad block, it will cause the system to fail to start. [0005] In addition, during the bootloader upgrade process, if a power failure occurs, the bootloader in the N...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/445G06F9/4401G06F1/24
CPCG06F11/1417G06F12/0653G06F9/4401G06F9/4408G06F11/1469G06F21/575G06F2201/84
Inventor 田凯余健陈艳
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products