NAND backup and restore from linux (mini2440)

Ricard Bou
Dear friends,
I have made a lot of modifications on the linux kernel and user partition
on my mini2440, and now it's stable.

I want to keep a copy of the full NAND and use it as a baseline for
production and I think the best is to do a NAND backup and then restore it
to multiple devices.

When I try it I get the following:
----------------------------------------------------------
##### FriendlyARM BIOS 2.0 for 2440 #####
[x] format NAND FLASH for Linux
[v] Download vivi 
[k] Download linux kernel 
[y] Download root_yaffs image 
[a] Absolute User Application
[n] Download Nboot for WinCE 
[l] Download WinCE boot-logo
[w] Download WinCE NK.bin 
[d] Download & Run 
[z] Download zImage into RAM 
[g] Boot linux from RAM 
[f] Format the nand flash 
[b] Boot the system 
[s] Set the boot parameters 
[u] Backup NAND Flash to HOST through USB(upload) 
[r] Restore NAND Flash from HOST through USB 
[q] Goto shell of vivi 
[i] Version: 0945-2K
Enter your selection: u
Backup Information:
     Start Addr       : 0x0
     End Addr         : 0x10000000
     bBackupOOB       : 1
     bCheckBad        : 1
     dwBackupTotalLen : 0x10800000
     dwReservedBlks   : 28
     dwEPInPktSize    : 32
Use dnw.exe to receive backup.
----------------------------------------------------------

supervivi is expecting me to connect with dnw from windows, but I am
working with Ubuntu 10.04 desktop LTE.

How can I upload the image to the host?
How can I download it ti the mini2440 again?

NOTE: I am connected to mini2440 by two means:
1) USB-to-RS232, using the command: cu -l /dev/ttyUSB0 -s 115200
2) USB host on PC to USB device on mini2440 (not in use)

Thank you in advance!

Ricard.

davef
You could try xdnw.  I haven't, so I wish you good luck!

whitebank
Hello Ricard Bou. I did backup and restore from NAND memory of mini2440
board by using dnw and Hyper Terminal in windowXP (not ubuntu as you
mentioned, I also need windowXP to install winCE, linux and android for
mini2440). If possible, have a look here to know how to backup and restore
mini2440 (in windowXP)
http://mini2440vietnam.blogspot.com/2011/01/back-up-and-restore-mini2440...

Good luck ^^