2.2. Edit Menu

The edit menu

Edit commands:
         n - edit name
         p - edit position in flash
         d - edit data-length
         b - edit execution base
         e - edit execution address
         r - return to main menu
         s - show parition information again
         h - print this help message

allows for the manipulation of a specific FIS partition. The number after the "edit" prompt indicates which partition is being edited. The "h" command wil redisplay the available commands and the "q" command will return to the main menu.

The "n" command will edit the name of the partition up to a maximum length of 15 characters.

Example 2.8. Editing the name of a FIS partition

edit 2> s
Partition 2:
         Name                 = Unused 2
         Flash Address        = 0x00080000
         Flash Length         = 0x00000000
         Data Execution Base  = 0x00000000
         Data Execution Entry = 0x00000000
         Data Length          = 0x00000000

edit 2> n
Enter new name for parititon (max 15 characters): BootSpace
edit 2> s
Partition 2:
         Name                 = BootSpace
         Flash Address        = 0x00080000
         Flash Length         = 0x00000000
         Data Execution Base  = 0x00000000
         Data Execution Entry = 0x00000000
         Data Length          = 0x00000000

edit 2>

The "p" command changes the starting position and length of the partition within the flash.

Example 2.9. Changing the length of a partition.

edit 2> s
Partition 2:
         Name                 = BootSpace
         Flash Address        = 0x00080000
         Flash Length         = 0x00000000
         Data Execution Base  = 0x00000000
         Data Execution Entry = 0x00000000
         Data Length          = 0x00000000

edit 2> p
Free space:
  0x00080000 -> 0x001ff000 (0x0017f000 bytes)
Current position is 0x00080000 -> 00080000 (0 bytes)
New value for start position in flash (0x00080000) ?
New value for length in flash (0x00000000) ?17f000
edit 2> s
Partition 2:
         Name                 = BootSpace
         Flash Address        = 0x00080000
         Flash Length         = 0x0017f000
         Data Execution Base  = 0x00000000
         Data Execution Entry = 0x00000000
         Data Length          = 0x00000000

edit 2>

The "d" command changes the data length of the partition

The "b" command changes the data execution base of the partition

The "e" command changes the data execution address of the partition

The "s" command shows information on the partition being edited.