|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
3 <!-- This component and the accompanying materials are made available under the terms of the License |
|
4 "Eclipse Public License v1.0" which accompanies this distribution, |
|
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
6 <!-- Initial Contributors: |
|
7 Nokia Corporation - initial contribution. |
|
8 Contributors: |
|
9 --> |
|
10 <!DOCTYPE concept |
|
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
|
12 <concept id="GUID-AABC7605-9EE9-41E4-BFDF-77A589A9887B" xml:lang="en"><title>Building |
|
13 a DMA Adaptation</title><shortdesc>This document describes what is needed to include the DMA adaptation |
|
14 in a ROM image.</shortdesc><prolog><metadata><keywords/></metadata></prolog><conbody> |
|
15 <p>When building a ROM image, all the processes and data needed to execute |
|
16 a build are included in a single file. This file is executed by the platform |
|
17 when the hardware is powered up.</p> |
|
18 <section id="GUID-72D93CEF-4E7D-473B-B607-ACBC0071DF6D-GENID-1-2-1-10-1-5-1-5-1-1-8-1-8-1-3-2"><title>Requirements</title><ul> |
|
19 <li><p>DMA framework.</p></li> |
|
20 <li><p>You must be familiar with building a ROM for the Symbian platform.</p></li> |
|
21 </ul></section> |
|
22 <section id="GUID-D627B27F-CCFE-42A0-856C-7B09E873BAE1-GENID-1-2-1-10-1-5-1-5-1-1-8-1-8-1-3-3"><title>Use the template |
|
23 port to start your port</title><p>There is a template DMA Framework consisting |
|
24 of the source file <filepath>dmapsl.cpp</filepath>, and the <filepath>.mmp</filepath> file <filepath>dma.mmp</filepath> located |
|
25 in the directory<filepath> ...\template\dma</filepath> that can be used as |
|
26 the starting point for your DMA PSL port. You need to: </p><ul> |
|
27 <li><p>Decide which directory your DMA PSL and associated<filepath>.mmp</filepath> file |
|
28 are to be stored in. You would normally choose the Variant or the ASSP directory.</p></li> |
|
29 <li><p>Copy the template framework into your chosen location. Be aware that |
|
30 the template <filepath>dma.mmp</filepath> file contains relative paths that |
|
31 must be updated.</p></li> |
|
32 <li><p>Change the Variant's <filepath>bld.inf</filepath> file to include a |
|
33 reference to your <codeph>mmp</codeph> file.</p></li> |
|
34 </ul></section> |
|
35 <section id="GUID-E4423114-056C-4874-8FF2-53EB1FF5F074-GENID-1-2-1-10-1-5-1-5-1-1-8-1-8-1-3-4"><title>Building the |
|
36 ROM with DMA included</title><p>Include the <filepath>DMA PIL</filepath> libraries |
|
37 in the final ROM image, in the list of buildrom parameters.</p><p>For more |
|
38 information, refer to <xref href="GUID-E4447BEF-33D2-5099-BCC1-C72FBB3B0463.dita">BUILDROM</xref> .</p></section> |
|
39 </conbody><related-links> |
|
40 <link href="GUID-0ADC2927-5AC9-5461-9A17-382FBB170067.dita"><linktext>ROM Tools |
|
41 Overview</linktext></link> |
|
42 <link href="GUID-E4447BEF-33D2-5099-BCC1-C72FBB3B0463.dita"><linktext>BUILDROM</linktext> |
|
43 </link> |
|
44 </related-links></concept> |