diff -r 578be2adaf3e -r 307f4279f433 Adaptation/GUID-6B9041F7-79A6-5CCA-9B4D-B8EF377FD378.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Adaptation/GUID-6B9041F7-79A6-5CCA-9B4D-B8EF377FD378.dita Fri Oct 15 14:32:18 2010 +0100 @@ -0,0 +1,45 @@ + + + + + +Building +ROM Tutorial Describes how to build a ROM that will use demand paging. It assumes +that the configuration files have been suitably modified. +

This is the final +step required to build a ROM that can use Writable Data Paging (WDP). The +previous steps required to produce a ROM image that can use Writable Data +Paging (WDP) are:

    +
  • Configuration +Tutorial

  • +
  • oby +tutorial

  • +
  • mmp tutorial

  • +

It is assumed that the both the configuration files and the +media drivers have been modified to use demand paging.

+ + +If the new OBY file appears before base.iby, then +no change to the configuration of the rombuild command is needed. + + +If the new OBY file appears after base.iby, then USE_DATA_PAGING must +be defined on the command line (along with PAGED_ROM, USE_CODE_PAGING +and CODE_PAGING_FROM_ROFS) + USE_DATA_PAGING, PAGED_ROM, USE_CODE_PAGING and CODE_PAGING_FROM_ROFS are +macros that are used to indicate which types of paging is to be used. If they +are specified in the parameter list for buildrom (with -D in fount of it) +then that type of paging will be implemented. + + +

Executing the buildrom +command builds the ROM image with no errors or warnings.

+buildrom example

An +example of a buildrom command that produces a demand paging ROM is:

buildrom –D_NAND2 -DWITH_FLEXIBLE_MM –DPAGED_ROM –DUSE_CODE_PAGING –DCODE_PAGING_FROM_ROFS –DUSE_DATA_PAGING h4hrp techview MyDPConfig
+
\ No newline at end of file