Starting method of boot program and relevant device

A program startup and program technology, applied in the computer field, can solve problems such as boot program startup failure, data error, etc.

Inactive Publication Date: 2013-12-25
HUAWEI TECH CO LTD
View PDF5 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] But the inventor of the present invention finds in the process of realizing the present invention, all existing flash devices all can be puzzled by the bit exchange phenomenon, is no exception for Nand flash, promptly exists the problem of bit exchange in Nand flash equally, for example in In the process of using NAND flash, a certain bit of the storage unit may be flipped or reported to be flipped, so that the stored data has changed. If the changed data exceeds the error correction capability of the EEC algorithm, this will cause the boot program to fail.
[0007] In addition, when Nand flash devices leave the factory, there are randomly distributed bad blocks. Bad blocks are physical blocks that cannot be used. In the process of using Nand flash, bad blocks may also occur randomly. Blocks can also cause data errors, causing the boot program 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
  • Starting method of boot program and relevant device
  • Starting method of boot program and relevant device
  • Starting method of boot program and relevant device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0073] Embodiments of the present invention provide a method for starting a boot program and a related device, which are used to increase the probability that the boot program is successfully started from a Nash flash.

[0074] In order to make the purpose, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the following The described embodiments are only some, not all, embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention belong to the protection scope of the present invention.

[0075] The terms "first", "second" and the like in the description and claims of the present invention and the above drawings are used to distinguish similar object...

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

The embodiment of the invention provides a starting method of a boot program and a relevant device. The starting method of the boot program comprises firstly determining whether a currently-operated first physical block in a Nandflash is a bad block when a boot start request is detected, reading first boot data stored in the first physical block when the first physical block is not a bad block, determining whether the first boot data which are read has data errors, re-reading first boot data from a first backup block when the first boot data which are read has data errors, determining whether the first boot data which is re-read from a first backup block has data errors, continuing processing the other boot data which needs reading when the boot program is started according to the same processing mode as the first boot data after the first boot data which is re-read from the first backup block has no data errors until the starting of the boot program is completed.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a method for starting a boot program and related devices. Background technique [0002] Nand flash (and non-flash memory) is a kind of flash memory. Because of its large capacity and fast rewriting speed, Nand flash memory is suitable for the storage of large amounts of data, so it has been more and more widely used in the industry, such as embedded Products include digital cameras, MP3 (Moving Picture Experts Group Audio Layer III, moving picture experts compressed standard audio layer 3) Walkman memory cards, small and exquisite U disks, etc. [0003] At present, Nand flash is often used in the startup of the boot (system boot) program. Usually, only one piece of Nand flash is needed to start the boot program. Since Nand flash has the characteristics of large capacity, it can be used to start the program and store data. The cost of the product can be reduced. [0004] The m...

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 Applications(China)
IPC IPC(8): G06F9/445
CPCG06F9/4406G06F11/1666G06F11/20G06F11/1417G06F11/2284
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