1<html> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 4<meta http-equiv="Content-Style-Type" content="text/css"> 5<title>ctr_makecia</title> 6<style type="text/css"> 7<!-- 8body { 9/* 10 font-size : 10pt; 11*/ 12 font-weight : normal; 13 color : #000000; 14 margin : 8px; 15} 16 17div { 18 width : 98%; 19 white-space : nowrap; 20} 21 22div.title { 23 text-align : left; 24 font-weight : bold; 25/* 26 font-size : 16pt; 27*/ 28 font-size : 150%; 29 color : #202020; 30 border-style : double; 31 border-width : 8px; 32 /* タイトルを囲む枠線の色を指定 */ 33 border-color : #FF6600; 34 35 /* RVLプラットフォーム系列 */ 36/* 37 border-color : #34beed; 38*/ 39 40 /* TWLプラットフォーム系列 */ 41/* 42 border-color : #ff458f; 43*/ 44 45 margin : 4px; 46 padding : 4px; 47} 48H1 { 49 font-size : 150%; 50 font-family : Arial; 51 border-bottom-width : 5px; 52 border-bottom-style : solid; 53 border-bottom-color : #FF6600; 54 padding-bottom : 1px; 55 margin-bottom : 20px; 56 letter-spacing : normal; 57 font-weight : bold; 58} 59 60h2 { 61 font-weight : bold; 62/* 63 font-size : 16pt; 64*/ 65 font-size : 150%; 66 border-style : none none solid double; 67 border-width : 0px 0px 2px 8px; 68 /* 見出しの線の色を指定 */ 69 border-color : #FF6600; 70 71 /* RVLプラットフォーム系列 */ 72/* 73 border-color : #34beed; 74*/ 75 76 /* TWLプラットフォーム系列 */ 77/* 78 border-color : #ff458f; 79*/ 80 81 margin-left : 2px; 82 padding-left : 4px; 83} 84CODE { 85 font-family : "Courier New", monospace; 86 position : normal; 87 left : 12px; 88 font-size : 10pt; 89} 90table { 91 margin-top : 2pt; 92 margin-bottom : 2pt; 93 margin-left : 0pt; 94 margin-right : 0pt; 95 padding-left : 0pt; 96 padding-right : 0pt; 97 position : relative; 98 left : 12px; 99 font-family : Arial; 100 font-size : 10pt; 101 border-style : none none none none; 102} 103td,th { 104 padding : 2pt; 105 border-width : 2pt; 106 border-style : none none none none; 107 font-style : normal; 108 text-align : left; 109} 110td { 111 background : #e8f4f4; 112 font-weight : normal; 113} 114th { 115 background : #c0d8d8; 116 font-weight : bold; 117} 118 119p { 120 margin-left : 4px; 121} 122p.code { 123 font-family : "Courier New", monospace; 124 position : normal; 125 left : 12px; 126 font-size : 10pt; 127 background : #e8f4f4; 128} 129 130--> 131</style> 132 133</head> 134<body> 135<a name="top"></a> 136 137<h1>ctr_makecia</h1> 138 139<h2>Description</h2> 140<P> 141This <CODE>ctr_makecia</CODE> tool is for creating CIA (CTR Importable Archive) files. This tool generates CIA files that can be imported via <A href="../ctools/DevMenu.html">DevMenu</A> from CXI files, which are the executable images of import applications.<br/>CIA files that can be imported to CTR can also be generated from the SRL files used for TWL NAND applications. 142</P> 143 144<h2>How to Use</h2> 145<h3>What's Required</h3> 146<p>The following files are required to generate CIA files for import applications.</p> 147<ul> 148<li> CXI files that are executable images of import applications, generated by <A href="ctr_makerom.html"><CODE>ctr_makerom</CODE></A> 149<li> CFA files that are manual content archives generated by <A href="ctr_makerom.html"><CODE>ctr_makerom</CODE></A> 150</ul> 151 152<p>The following files are required in order to generate CIA files from TWL NAND applications.</p> 153<ul> 154<li> TWL NAND application SRL file generated using TWL-SDK 155</ul> 156 157<h3>Command</h3> 158 159<h4>Generate CIA files for import applications</h4> 160 161<p class="code"> 162% ctr_makecia32 -i CXI_FILE -o CIA_FILE [-man MANUAL_CFA_FILE] 163</p> 164 165<p class="first_ja"> 166When generating CIA files for CTR import applications, you must specify <CODE>CXI_FILE</CODE> and <CODE>CIA_FILE</CODE>.<br/>If the <CODE>MANUAL_CFA_FILE</CODE> option is not specified, a CIA file without a manual is generated. 167</p> 168 169<h4>Generate CIA files from TWL NAND application SRL files</h4> 170 171<p class="code"> 172% ctr_makecia32 -srl SRL_FILE -o CIA_FILE 173</p> 174 175<p class="first_ja"> When generating CIA files from a TWL NAND application SRL file, you must specify <CODE>SRL_FILE</CODE> and <CODE>CIA_FILE</CODE>. 176 177<h4 >Options</h4> 178 179<div class="table"> 180<table border="1" summary="options"> 181<thead> 182<tr> 183<th align="center">Options</th> 184<th align="center">Description</th> 185</tr> 186</thead> 187<tbody> 188<tr> 189<td align="center">-i</td> 190<td align="center">Specifies the input CXI file.</td> 191</tr> 192<tr> 193<td align="center">-o</td> 194<td align="center">Specifies the output CIA file.</td> 195</tr> 196<tr> 197<td align="center"><CODE>-srl</CODE></td> 198<td align="center">Specify the SRL file built as the TWL NAND application. The <CODE>-srl</CODE> option cannot be specified concurrently with the <CODE>-i</CODE> and <CODE>-man</CODE> options.</td> 199</tr> 200<tr> 201<td align="center"><CODE>-man</CODE></td> 202<td align="center">Specifies the CFA file for the manual.</td> 203</tr> 204</tbody> 205</table> 206</div> 207 208<h2>Variables Defined Within OMakefiles</h2> 209<p> 210Refer to <A href="../SDKRules/BuildRules.html#makeciavariable">Build Rules (<CODE>CTR_APPTYPE</CODE>)</A> for more information about variables defined within the <CODE>OMakefile</CODE>. 211</p> 212 213<h2>Revision History</h2> 214 <dl class="history"> 215 <dt>2011/03/22</dt> 216<dd>Described how to generate CIA files that include manuals and how to generate CIA files from TWL NAND applications.<br /> 217 <dt>2010/07/14</dt> 218<dd>Initial version.<br /> 219 </dd> 220 </dl> 221<hr><p>CONFIDENTIAL</p></body> 222</html> 223