|
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-AE486C82-8854-463F-8CB9-B7353D6B2804" xml:lang="en"><title>Baseport Template Build Guide</title><shortdesc>Describes how to build a Baseport Template.</shortdesc><prolog><metadata><keywords/></metadata></prolog><conbody> |
|
13 <p>The Baseport Template contains dummy functions. The Baseport Template |
|
14 is designed to boot without supporting any peripherals. The developers |
|
15 should port the individual drivers depending on the hardware used. |
|
16 This guide describes a generic build procedure for ARMv5 based devices.</p> |
|
17 <section id="GUID-E2165A61-5BC5-4334-918C-17DE643D7DC5"><title>Template |
|
18 port</title> <p>The baseport code is available at <filepath>os/kernelhwrrv/bsptemplate/asspandvariant/template_variant/</filepath>. The comments in the Baseport Template provide enough information |
|
19 to start porting.</p> </section> |
|
20 <section id="GUID-4F0686BA-C7D4-45D1-B40F-648696B056A0"><title>Procedure</title><p>The following steps describe how to build the Baseport Template |
|
21 for an ARMv5 processor.</p><ol> |
|
22 <li id="GUID-DC469030-5658-4C24-B7A8-00249417F86E"><p>Create a file, |
|
23 for example, <filepath>commands.txt</filepath> that contains the list |
|
24 of files to be built. Each line of <filepath>commands.txt</filepath> would be in the following example format:</p><codeblock xml:space="preserve">-b \os\buildtools\toolsandutils\e32tools\group\bld.inf</codeblock></li> |
|
25 <li id="GUID-091F9D98-20B3-49BB-8080-42E35C032154"><p>Call <filepath>commands.txt</filepath> file using the following command:</p><codeblock xml:space="preserve">sbs –command=commands.txt –c armv5_urel</codeblock><note> The above |
|
26 would produce a armv5 urel version.</note></li> |
|
27 </ol></section> |
|
28 </conbody><related-links> |
|
29 <link href="http://developer.symbian.org/wiki/index.php/Raptor_Build_System.dita"><linktext>Symbian Build System v2</linktext></link> |
|
30 </related-links></concept> |