diff -r 578be2adaf3e -r 307f4279f433 Adaptation/GUID-52702561-DA37-5381-BA0D-76D9A41B2760.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Adaptation/GUID-52702561-DA37-5381-BA0D-76D9A41B2760.dita Fri Oct 15 14:32:18 2010 +0100 @@ -0,0 +1,274 @@ + + + + + +ROFSBUILD Obey File StructureA ROFSBUILD obey file consists of a number +of sections, each defining a ROFS image. +

A ROFS image is used to store code that is not part of the Core +OS section. The File Server uses ROFS (the Read-Only File System) +to access this, and ROFS uses a Media Driver to read the data from +the NAND Flash device and to load this into RAM for access or execution. +The Composite File System combines this media area with the Core OS +media area and presents the two as a single read-only drive Z:.

+

A ROFS image contain the following main sections:

+ +

The structure is defined as:

+ObeyFile : CoreImageStatement [ ExtensionRomSection ] +CoreImage : coreimage = <CoreImageFileName> +ExtensionRomSection : ObeyStatementList +ObeyStatementList : ObeyStatement | ObeyStatement ObeyStatementList +ObeyStatement : RomStatement | FileStatement + +
RomStatement

A RofsStatement is one of the following:

+ + + +

autosize =

+

<block-size>

+
+ +

extensionrofs

+

+
+ +

extensionrofsname =

+

<filename>

+
+ +

externaltool =

+

<toolname>

+
+ +

rofsname =

+

<filename>

+
+ +

rofsize =

+

<size-in-bytes>

+
+ +

version =

+

[ <major> ] [ .<minor> ] [ (<build>) + ]

+
+ +

romsize =

+

<hex-size>

+
+ +

romchecksum =

+

<base-checksum>

+
+ +

time =

+

dd/mm/yyyy hh:mm:ss

+
+ +

trace =

+

<32bit-hex-number>

+
+ +

pagingoverride

+

[NOPAGING | ALWAYSPAGE | DEFAULTUNPAGED | + DEFAULTPAGED]

+
+ +

pagingpolicy

+

[NOPAGING | ALWAYSPAGE | DEFAULTUNPAGED | + DEFAULTPAGED]

+
+ +

patchdata =

+

<DLLname>@<symbolname> <newvalue>

+
+ +codepagingpolicy +

[NOPAGING | ALWAYSPAGE | DEFAULTUNPAGED | DEFAULTPAGED]

+
+ +datapagingpolicy +

[NOPAGING | ALWAYSPAGE | DEFAULTUNPAGED | DEFAULTPAGED]

+
+ +codepagingoverride +

[NOPAGING | ALWAYSPAGE | DEFAULTUNPAGED | DEFAULTPAGED]

+
+ +datapagingoverride +

[NOPAGING | ALWAYSPAGE | DEFAULTUNPAGED | DEFAULTPAGED]

+
+ +dataimagename = +

<image name>

+
+ +dataimagefilesystem = +

<FAT16 | FAT32>

+
+ +dataimagesize = +

<size in bytes>

+
+ +volume = +

<volume label>

+
+ +sectorsize = +

<size in bytes>

+
+ +fattable = +

<number of FAT tables>

+
+ + +
+
FileStatement FileStatement : FileSpecificationStatement | ControlStatement | RomDirectoryStatement

A ControlStatement is one of the following:

+ + + +

rem

+

<comments>

+
+ +

stop

+

+
+ + +

A FileSpecificationStatement is one of +the following:

+ + + +

data[[HWVD]] =

+

<Source-file> <destination-file> [ FileAttributeList ]

+
+ +

file[[HWVD]] =

+

<Source-file> <destination-file> [ FileAttributeList] [OverrideAttributeList ] [paged | +unpaged]

+
+ +

filecompress[[HWVD]] =

+

<source-file> <destination-image-file> [FileAttributeList][OverrideAttributeList]

+
+ +

fileuncompress[[HWVD]] =

+

<source-file> <destination-image-file> [FileAttributeList][OverrideAttributeList]

+
+ + +

A RomDirectoryStatement is one of the +following:

+ + + +

hide[[HWVD]] =

+

<existing-file>

+
+ +

alias[[HWVD]] =

+

<existing-file> <destination-file> + [ FileAttributeList ]

+
+ +

rename[[HWVD]] =

+

<existing-file> <destination-file> [ FileAttributeList ]

+
+ + +
+
FileAttributeList FileAttributeList : FileAttribute | FileAttribute FileAttributeList

A FileAttribute is one of the following:

+ + + +

attrib =

+

[ s | S ][ h | H ][ r | R | w | W ] | hide

+
+ +

exattrib =

+

U

+
+ + +
+
OverrideAttributeList

OverrideAttributeList : OverrideAttribute | OverrideAttribute OverrideAttributeList

An overrideAttribute is one of the following:

+ + + +capability = +

<capability>

+
+ +paged + + + +unpaged + + + +pagedcode + + + +unpagedcode + + + +pageddata + + + +unpageddata + + + +

stack =

+

<hex-size>

+
+ +

heapmin =

+

<hex-size>

+
+ +

heapmax =

+

<hex-size>

+
+ +

priority =

+

<hex-number> | <keyword>

+
+ +

uid1 =

+

<uid value>

+
+ +

uid2 =

+

<uid value>

+
+ +

uid3 =

+

<uid value>

+
+ + +
+
\ No newline at end of file