GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > FILE / V3-8-0

Constituent: file_tools     Tag: rad750


Interface   Data Structures   File List   Data Fields   Globals  

Synopsis

Name

tffs_boot_partition - Create a new EEPROM bank header and boot partition
tffs_boot_load - Load files into an EEPROM boot partition
tffs_boot_dump - Dump files from an EEPROM boot partition
tffs_show - Display internals of TFFS partition format

Usage

tffs_boot_partition <drive>, <rtos_size>, <sbc_0_size>, <sbc_1_size>

tffs_boot_load <drive>, <rtos_file>, <sbc_0_file>, <sbc_1_file>

tffs_boot_dump <drive>, <rtos_file>, <sbc_0_file>, <sbc_1_file>

tffs_show <drive>, <offset>

Description

A collection of VxWorks file and file system utilities.

tffs_boot_partition
The tffs_boot_partition tool creates a bank header in a SIB EEPROM bank. This corresponds to TFFS drive #0 or #1. The rtos_size, sbc_0_size, and sbc_1_size parameters specifiy the sizes of the RTOS, SBC 0, and SBC 1, file regions inside of the boot partition. The total size of the specified regions plus 512 bytes must align to a 64 KB boundary. Each size specified must align to a 256 byte boundary. The entire boot partition is first erased to prevent stale TFFS erase headers from causing troubles. If the remainder of the EEPROM bank is to contain a TFFS/DOSFS partition, then the appropriate offset must be considered when calling the TFFS format routine; otherwise, portions of the boot partition may be overwritten.

tffs_boot_load
Loads one or more files into a SIB EEPROM boot partition. The bank header information is used to find the storage offsets and to check size limits. The VxWorks system must have some form of normal file access to the specified files. Entering '0' or NULL for the file name skips the load process for that file region. This allows selective updates of the boot partition. All files must have a valid LAT file header prefixed. The file is always stored at the beginning of the boot partition file region.

tffs_boot_dump
Dumps one or more files out of a SIB EEPROM boot partition. The bank header information is used to find the storage offsets file sizes. The VxWorks system must have some form of normal file access to the specified files. Entering '0' or NULL for the file name skips the dump process for that file region. This allows selective dumps of the boot partition. All files must have a valid LAT file header prefixed.

tffs_show
Displays details of the internal formatting for a TFFS partition. The drive parameter is the TFFS drive number for the partition. The offset parameter gives the offset of the TFFS partition from the beginning of the EEPROM bank.


Generated on Sun Oct 9 20:35:28 2005 by  doxygen 1.4.4