GD2/GA2 boards are equipped with flash memory. These memories have a predetermined number
of memory blocks called "Spare Blocks" (38) which 4 are reserved by the manufacturer. The Flash
initially offers 34 "Spare Blocks".
The use of "Spare Blocks" is directly related to:
− how the software is written in flash memory,
− the process that detects a defective block in the reading memory automatically generates the
isolation of the area previously used and rewrites it in a new zone (use of "Spare Blocks").
The default configuration of the Flash will use Spare Blocks as soon as an error bit is detected.
It is possible to check the number of Spare Blocks and Bad Blocks on a running GD2/GA2 board. To
do this, simply connect with telnet and root login on the GD2/GA2 and execute the following
command:
[root@eMGD admin]# fxbadblocks /dev/fla
GENERAL STATUS:
Device size (MB): 128
Spare Blocks Reserved: 38
Spare Blocks Used: 6
DETAILED INFORMATION:
Chip #0: Size = 128MB Bad Blocks = 6
[root@eMGD admin]#
In this example, the 128MB size confirms the type of GD2/GA2 board and 6 Bad Blocks have been
detected therefore 6 Spare Blocks are used.
По данной команде и описанию можете посмотреть - может у вас все блоки плохие.
Далее
The new Flash Driver will enable a dynamic management of these errors and restore the memory
areas which have a error bit.
With this new driver, only the reading of a 2-bit error causes isolation and the use of a "spare block."
This new way of writing/reading, cleaning and isolating the memory areas is a 99% estimated
improvement of their use.
This new driver management of the flash memory has been implemented through a new BIOS
GD/GA available in the following versions:
R7.1 : F5.401.14.d, F5.401.21.k, F5.401.25.c, F5.401.29.a, F5.401.30
R8.0 : G1.302.5.f, G1.302.6.l, G1.302.8.d, G1.302.11.a
R8.0.1 : G1.503.11
Accordingly, and to resume the above example, if after completion of the fxbadblocks / dev /
fla diagnostic command, a GD2/GA2 board has a number of "Bad Blocks" equal to or greater
than 20, we recommend the change the board, based on current process.
If the number of "Bad Blocks" is lower than 20, the new driver ensures the proper functioning of the
board and optimum use of available "Spare Blocks".