This utility validates the size of an image with the size
of the backup recovery image allowed. If it's ok, a backup.bin will be created.

Usage:  backupimage <size-config-file> <input-image-file>

Where <size-config-file> - file that contains the size of backup 
		                   recovery image (BACKUP_RECOVERY_MAX_SIZE_IN_FLASH).
	  <input-image-file> - Image file to be copied to backup.bin

This application can be built with Visual C++.

To successfuilly build this application, follow these steps:

1. Open a DOS window, and set the directory to \netos\netos\src\utilities\backupimage.  
   For instance:

        C:> cd \netos\netos\src\utilities\backupimage

3. In Visual Studio, open the workspace C:\netos\netos\src\utilities\backupimage.dsw
4. Set the Active Configuration to Release
5. Build backupimage.exe (F7)

This application can also be built from DOS Command Window.

Type the following commands:

nmake /f "backupimage.mak" CFG="backupimage - Win32 Release" clean
nmake /f "backupimage.mak" CFG="backupimage - Win32 Release"


This will now replace the imagehdr.exe in the \netos\netos\bin directory.


    


