Restoring and Updating the EVM Hard Disk Drive

A.6.3 Restore the EVM Hard Disk Drive

The EVM hard disk drive (HDD) can be restored from a target EVM HDD partition or from the host Linux workstation file system. Either method will achieve the same result.

Restoring the EVM HDD takes 10 to 15 minutes. The restore script must uncompress 600 MB of compressed data and load it to the /dev/hda1 partition.

After the hard drive restore process has completed, make sure to restart the EVM and configure U-Boot to root mount via the local HDD. The steps for this type of boot are provided in Section A.4.1, Booting from Flash Using the EVM’s Hard Drive File System.

A.6.4 Restoring From Target EVM HDD Partition

Follow these steps to restore the HDD from the restore partition on the HDD itself:

1) Make a directory for mounting the HDD restore partition:

EVM # mkdir /mnt/restore

2) Mount the HDD restore partition:

EVM # mount -t ext3 /dev/hda2 /mnt/restore

3)Set the Linux date variable to today's date. If the date is too far off, the target file system installation generates a bunch of warnings.

EVM # date MMDDHHMMCCYY

For example, for 9:00 am on April 18th, 2006, enter 041809002006.

4) Change directory to /mnt/restore:

EVM # cd /mnt/restore

5) Add execute permissions for the script:

EVM # chmod +x restore-hdd

6)Run the restore script:

EVM # ./restore-hdd

A-14

Page 68
Image 68
Texas Instruments TMS320DM6446 DVEVM v2.0 manual Restore the EVM Hard Disk Drive, Restoring From Target EVM HDD Partition