Pre-Flash backup of rootfs failure (new kind)

Yaroslav Halchenko at
Mon Jul 28 23:43:29 CEST 2008

doh... for some reason I had 128M in mind for the size of NAND flash....
thus didn't wait sufficiently long to get all 256M of 0xFFs ;-)

now I finished downloading it and it ended with

Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
Transfer Size = 0x1000
dfu_upload error -84

and on laptop dmesg says 
[43721.827595] NETDEV WATCHDOG: usb0: transmit timed out
and FR went to reboot after it was done reading that partition.

I wonder if that error is actually an error or just a sign that it read
everything which was provided and just didn't have proper end of
connection (phone just went to boot). I guess it should be safe to flush
those downloaded files back into FR, right? :-) Would it be safe to
remove trailing 0xFFs?

On Mon, 28 Jul 2008, Cesar Eduardo Barros wrote:

> On NAND, erased blocks are filled with all ones (0xFF bytes). What you 
> are seeing is just empty space (parts of the flash either not written to 
> yet or already erased). The file size with the backup method you are 
> using will always be the same size as the flash partition, the empty 
> parts filled with all ones.
Yaroslav Halchenko
Research Assistant, Psychology Department, Rutgers-Newark
Student  Ph.D. @ CS Dept. NJIT
Office: (973) 353-5440x263 | FWD: 82823 | Fax: (973) 353-1171
        101 Warren Str, Smith Hall, Rm 4-105, Newark NJ 07102

More information about the support mailing list