Supervivi Backup & Restore

Bender B Rodriguez
Hello!

  I near the end of my mini2440 development project (yay me!) and I'm
looking for a good easy method for putting uboot, kernel, rootfs into the
NAND on the board. (something easy enough a monkey can do it...)

One of the items I've hit upon is using the:
[u] Backup NAND Flash to HOST through USB(upload) 
[r] Restore NAND Flash from HOST through USB 

...from the Supervivi menu.

If it works out, I can take a 'stock' mini2440 and in one swell foop turn
into a finished unit.

One to the query/help section:
Has anybody played with these?
How does one catch the output from the 'Backup NAND Flash'?
When using the 'Restore NAND Flash' option, does Supervivi take into
account the possible bad blocks?

Any generally helpful replies appreciated, thanks in advance.

davef
> Has anybody played with these?

Yes.

> How does one catch the output from the 'Backup NAND Flash'?

What are you running to see the menu?  DNW? Then it just gets saved as a
file on your Windows box.

> When using the 'Restore NAND Flash' option, does Supervivi take into
> account the possible bad blocks?

That's a good question!  I assume you can only restore to the machine you
backed it up from and then what happens if blocks go bad in the mean time. 
Sorry, can't help with that one.

Bender B Rodriguez
A little followup:

DNW.exe (plus the Windows driver, and damn them for not having this
available for Linux!) works for catching the "Backup NAND through USB"
option.

However, the "Restore NAND" does not work.

//Supervivi output:
Enter your selection: r
USB host is connected. Waiting a download.

Now, Downloading [ADDRESS:30000000h,TOTAL:538976288]
Flash params: oobsize = 64, oobblock = 2048, erasesize = 131072, partition
size = 134217728
Erasing and programming NAND with image get from USB
 Block erasing(addr/count) --- Block bad(addr/count) --- Block
processed/All()
--------------------------------------------------------------------------------

     0x00000000/00001            0x00000000/00000           00001/01024=00

     0x00020000/00002            0x00000000/00000           00002/01024=00

     0x00040000/00003            0x00000000/00000           00003/01024=00

     0x00060000/00004            0x00000000/00000           00004/01024=00

     0x00080000/00005            0x00000000/00000           00005/01024=00

     0x000a0000/00006            0x00000000/00000           00006/01024=00

     0x000c0000/00007            0x00000000/00000           00007/01024=00

     0x000e0000/00008            0x00000000/00000           00008/01024=00

     0x00100000/00009            0x00000000/00000           00009/01024=00

     0x00120000/00010            0x00000000/00000           00010/01024=00

     0x00140000/00011            0x00000000/00000           00011/01024=01

     0x00160000/00012            0x00000000/00000           00012/01024=01

     0x00180000/00013            0x00000000/00000           00013/01024=01
 ... failed

// end output

Repeatedly.  Not sure why, no indicator of why it failed.  Seeing as I'm
running Windows virtualized, there's a chance something about the USB is
causing this failure, but I doubt it.

I'll keep fiddling with it, let you know if I get anywhere.  If anybody has
some suggestions please let me know, thanks.

davef
Is yours a 1Gb mini2440?  I am sure it worked for me on a 64M machine, but
that was about 2 years ago.

Good luck!

Mehdi
Hi "bender b rodrigues",
I have the same problem as yours on restoring mini2440. Have you learn any
solution for that?