
Arcom Embedded Linux Technical Manual RedBoot
Managing images in Flash
Flash is managed under RedBoot using the FIS (Flash Image System) command. This
command has several subcommands that can be used to update the entire Flash from
an image in RAM, or to create and manage images (partitions) within the Flash.
Each FIS partition table entry has the following properties:
Property Description
Name A descriptive name for the image.
Flash Base The offset of the image in Flash.
Memory Base The virtual address of the address in memory that the image
should be loaded to by the fis load command.
Size The total length of the image.
Data Length The length of the data currently stored in the image.
Entry Point The entry point of the image. This is normally equal to the
Flash base (for execute-in-place images) or the memory base.
The following table describes the most commonly used FIS subcommands:
Subcommand Action
init
Initializes the FIS partition table.
list
Lists the current contents of the FIS partition table.
create
Creates a new FIS partition.
load
Loads a partition or other region from Flash into RAM.
lock
Locks a partition or other region (if available in hardware).
unlock
Unlocks a partition or other region (if available in hardware).
write
Writes data from RAM to Flash ignoring the any partitions.
Full documentation of the FIS system can be found in the eCos Reference Manual.
Initializing the FIS partition table
Arcom hardware is shipped with a valid FIS partition table. If you have erased the entire
Flash device or want to reinitialize the partition table, you can use the fis init command.
Examining the FIS partition table
The current Flash partition list can be viewed using the fis list command:
RedBoot> fis list
Name FLASH addr Mem addr Length Entry point
FIS directory 0x00000000 0x00000000 0x0001F000 0x00000000
RedBoot config 0x0001F000 0x0001F000 0x00001000 0x00000000
© 2006 Arcom Issue G 60
Comentários a estes Manuais