User guide
System Management File system
iMG/RG Software Reference Manual (System Configuration)
1-6
The software running on the gateway is a multi thread application where each task typically needs to load con-
figuration information when it starts, and store configuration changes for future use.
To support the above requirements, two dedicated file systems are provided. These are called the In Store
File System and the Flash File System. The two file systems provide a standard file interface to application
processes. These two file systems are referred to as isfs and flashfs respectively in this document. The isfs
provides volatile run-time file storage whereas the flashfs provides non-volatile file storage. The flash memory
is partitioned according to sections Section 1.1.3.1 and Section 1.1.3.2
1.1.3.1 Gateway with 4Mbytes of FLASH
The file system on the gateway with 4 Mbytes fo FLASH is depicted in the Figure 1-1
FIGURE 1-1 4 MByte Flash Memory partitions
1.1.3.1.1 Boot partition
The Boot ROM program resides in a special partition (the Boot Partition) on the flash device. This is the first code
that runs when the system is started and provides self-test code as well as the ability to load the main run-time
images.
The boot partition cannot be read or written by the flashfs process, and typically doesn’t require upgrade. The
boot partition is automatically over-written when the gateway is upgraded using a flash image. In all other cases
the boot ROM program and boot partition are never altered.
1.1.3.1.2 Recovery partition
The Recovery Partition is a reserved partition on the flash device where a minimal operating system named
Recovery Application code is installed. This operating system runs only if the boot ROM code is not able to
Main Partition
(3200 KByte)
Recovery Partition
(768 KByte)
Boot Partition
(128 KByte)