On Sat Nov 19 15:26:38 2005 kmeaw wrote:
> I built my rootfs with org.openembedded.oz354fam083 and trying to flash
> it. While flashing, bootloader said: "Erase failed". It is a battery
> failure (flashing with AC connected), hardware failure or just a bad
> rootfs? My device' rootfs has been flashed not more than 20 times.
(Sorry if this was sent multiple times -- I'm having some smtp
problems.)
We saw this problem in the port. The problem appeared to me to be an
assumption in the mtd code on how many retries it should do before
giving up on an erase. If I recall correctly, the retry number was 5,
and I upped it to 30. After that, we didn't see the problem.
This was in the drivers/mtd/chips/cfi_cmdset_0001.c in the
do_erase_oneblock() function. This line:
int retries = 30;
Received on Mon Nov 21 2005 - 12:30:21 EST
This archive was generated by hypermail 2.2.0 : Mon Nov 21 2005 - 12:30:25 EST