To start with, I'll have a go at backing up the firmware (in NAND flash) once I get the unit.
One question, does the USB firmware dump utility backup the vivi bootloader as well?
I am not sure if Nanddump utility could access that partition at all.
Again, i can only recommend to backup the firmware. The best way is to do it with JTAG (to have everything not only the 3 "partitions".
The USB firmware dump utility is saving boot, kernel and root "sectors". Vivi is stored in boot dump. Such backup can
be restored only to own NAND and as long NAND was not completly erased.
In case NAND is broken or erased there are two additional things necessary to restore it
- 135168 byte "blank" sector (must be filled with FFh)
- 16896 byte "mizi_tag" sector - this is just a marker (not sure if this is NAND unique, but it worked for me on two DSOs and dev board)
To get a full NAND backup with OOB blocks you have to merge all these files:
copy /B boot.bin + blank.bin + kernel.bin + root.bin + mizi_tag.bin fw_backup.bin
and then the fw_backup.bin is the full NAND backup.
However, in most cases it is enough to have backup of boot, kernel and root FS.
Also any idea where in NAND flash the factory settings are stored or what these settings are for?
afaik there is factory calibration data directly in root of root FS:
tdc_edge125M
tdc_overtime125M
tdc_pulse125M
there are additionally some *.log files directly in root of root FS (not sure what they for, but it seems dso.exe is using them) :
i2c.log
mult_adc.log
tdc.log
Everything else seems to be not unique, so in case something mising/deleted/broken you can still ask someone here to get a copy.