O.k. that's good, it means that your nand is mountable, but for some reason flash_eraseall isn't completing successfully. What you can do is keep the flash_erase code and the accompanying verification cases commented out, delete the code I had you add between lines 65 and 66, then add the following starting on line 67 (after "fi").
Code:
pointY=$(($pointY + $height))string="--> Erase File-System ......"echo $stringgui-echo $pointX $pointY "$string"rm -rf /mnt/mtdif [ $? -ne 0 ] ; then string="Erase File-System Fail! Exit!"echo $stringgui-echo $pointX $pointY "$string"exit 0else string="Erase File-System OK!echo $stringgui-echo $pointX $pointY "$string"fi
The bbcode is adding some extra line breaks, so makse sure you don't have any after the "then" or the "else". It also changed my greater than symbol in the first string line to ">", so make sure you fix that too. That should hopefully get the flash to complete for you.