]> git.kernelconcepts.de Git - karo-tx-redboot.git/blob - doc/html/ref/cerfcube.html
af8190655d265e90f14c23ce6ab0ebc54601846a
[karo-tx-redboot.git] / doc / html / ref / cerfcube.html
1 <!-- Copyright (C) 2003 Red Hat, Inc.                                -->
2 <!-- This material may be distributed only subject to the terms      -->
3 <!-- and conditions set forth in the Open Publication License, v1.0  -->
4 <!-- or later (the latest version is presently available at          -->
5 <!-- http://www.opencontent.org/openpub/).                           -->
6 <!-- Distribution of the work or derivative of the work in any       -->
7 <!-- standard (paper) book form is prohibited unless prior           -->
8 <!-- permission is obtained from the copyright holder.               -->
9 <HTML
10 ><HEAD
11 ><TITLE
12 >ARM/StrongARM(SA11X0) Intrinsyc CerfCube</TITLE
13 ><meta name="MSSmartTagsPreventParsing" content="TRUE">
14 <META
15 NAME="GENERATOR"
16 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
17 "><LINK
18 REL="HOME"
19 TITLE="eCos Reference Manual"
20 HREF="ecos-ref.html"><LINK
21 REL="UP"
22 TITLE="Installation and Testing"
23 HREF="installation-and-testing.html"><LINK
24 REL="PREVIOUS"
25 TITLE="ARM/StrongARM(SA11X0) Compaq iPAQ PocketPC"
26 HREF="ipaq.html"><LINK
27 REL="NEXT"
28 TITLE="ARM/Xscale Cyclone IQ80310"
29 HREF="iq80310.html"></HEAD
30 ><BODY
31 CLASS="SECT1"
32 BGCOLOR="#FFFFFF"
33 TEXT="#000000"
34 LINK="#0000FF"
35 VLINK="#840084"
36 ALINK="#0000FF"
37 ><DIV
38 CLASS="NAVHEADER"
39 ><TABLE
40 SUMMARY="Header navigation table"
41 WIDTH="100%"
42 BORDER="0"
43 CELLPADDING="0"
44 CELLSPACING="0"
45 ><TR
46 ><TH
47 COLSPAN="3"
48 ALIGN="center"
49 >eCos Reference Manual</TH
50 ></TR
51 ><TR
52 ><TD
53 WIDTH="10%"
54 ALIGN="left"
55 VALIGN="bottom"
56 ><A
57 HREF="ipaq.html"
58 ACCESSKEY="P"
59 >Prev</A
60 ></TD
61 ><TD
62 WIDTH="80%"
63 ALIGN="center"
64 VALIGN="bottom"
65 >Chapter 5. Installation and Testing</TD
66 ><TD
67 WIDTH="10%"
68 ALIGN="right"
69 VALIGN="bottom"
70 ><A
71 HREF="iq80310.html"
72 ACCESSKEY="N"
73 >Next</A
74 ></TD
75 ></TR
76 ></TABLE
77 ><HR
78 ALIGN="LEFT"
79 WIDTH="100%"></DIV
80 ><DIV
81 CLASS="SECT1"
82 ><H1
83 CLASS="SECT1"
84 ><A
85 NAME="CERFCUBE">ARM/StrongARM(SA11X0) Intrinsyc CerfCube</H1
86 ><DIV
87 CLASS="SECT2"
88 ><H2
89 CLASS="SECT2"
90 ><A
91 NAME="AEN6082">Overview</H2
92 ><P
93 >RedBoot supports the serial port and the builtin
94 ethernet connection for communication and downloads. </P
95 ><P
96 >The default serial port settings are 38400,8,N,1. RedBoot runs from
97 and supports flash management for the system flash region. </P
98 ><P
99 >The following RedBoot configurations are supported:
100
101       <DIV
102 CLASS="INFORMALTABLE"
103 ><A
104 NAME="AEN6087"><P
105 ></P
106 ><TABLE
107 BORDER="1"
108 CLASS="CALSTABLE"
109 ><THEAD
110 ><TR
111 ><TH
112 ALIGN="LEFT"
113 VALIGN="TOP"
114 >Configuration</TH
115 ><TH
116 ALIGN="LEFT"
117 VALIGN="TOP"
118 >Mode</TH
119 ><TH
120 ALIGN="LEFT"
121 VALIGN="TOP"
122 >Description</TH
123 ><TH
124 ALIGN="LEFT"
125 VALIGN="TOP"
126 >File</TH
127 ></TR
128 ></THEAD
129 ><TBODY
130 ><TR
131 ><TD
132 ALIGN="LEFT"
133 VALIGN="TOP"
134 >ROM</TD
135 ><TD
136 ALIGN="LEFT"
137 VALIGN="TOP"
138 >[ROM]</TD
139 ><TD
140 ALIGN="LEFT"
141 VALIGN="TOP"
142 >RedBoot running from the board's flash boot
143               sector.</TD
144 ><TD
145 ALIGN="LEFT"
146 VALIGN="TOP"
147 >redboot_ROM.ecm</TD
148 ></TR
149 ><TR
150 ><TD
151 ALIGN="LEFT"
152 VALIGN="TOP"
153 >RAM</TD
154 ><TD
155 ALIGN="LEFT"
156 VALIGN="TOP"
157 >[RAM]</TD
158 ><TD
159 ALIGN="LEFT"
160 VALIGN="TOP"
161 >RedBoot running from RAM with RedBoot in the
162               flash boot sector.</TD
163 ><TD
164 ALIGN="LEFT"
165 VALIGN="TOP"
166 >redboot_RAM.ecm</TD
167 ></TR
168 ></TBODY
169 ></TABLE
170 ><P
171 ></P
172 ></DIV
173 ></P
174 ></DIV
175 ><DIV
176 CLASS="SECT2"
177 ><H2
178 CLASS="SECT2"
179 ><A
180 NAME="AEN6106">Initial Installation</H2
181 ><P
182 >The original boot loader supplied with the CerfCube can be used to install
183 RedBoot.  Connect to the device using a serial port at 38400/8N1.
184 Copy the binary RedBoot ROM mode image to an available TFTP server.
185 Issue these commands to the Instrinsyc loader:
186 <TABLE
187 BORDER="5"
188 BGCOLOR="#E0E0F0"
189 WIDTH="70%"
190 ><TR
191 ><TD
192 ><PRE
193 CLASS="SCREEN"
194 ><TT
195 CLASS="USERINPUT"
196 ><B
197 >download tftp:<TT
198 CLASS="REPLACEABLE"
199 ><I
200 >x.x.x.x</I
201 ></TT
202 > redboot_ROM.bin 0xc0000000</B
203 ></TT
204 >
205 <TT
206 CLASS="USERINPUT"
207 ><B
208 >flashloader 0x00000000 0xc0000000 0x20000</B
209 ></TT
210 ></PRE
211 ></TD
212 ></TR
213 ></TABLE
214 >
215 where <TT
216 CLASS="REPLACEABLE"
217 ><I
218 >x.x.x.x</I
219 ></TT
220 > is the IP address of the TFTP
221 server.
222 <DIV
223 CLASS="NOTE"
224 ><BLOCKQUOTE
225 CLASS="NOTE"
226 ><P
227 ><B
228 >NOTE: </B
229 >Other installation methods may be available via the Intrinsyc loader.
230 Contact Intrinsyc for details.</P
231 ></BLOCKQUOTE
232 ></DIV
233 ></P
234 ></DIV
235 ><DIV
236 CLASS="SECT2"
237 ><H2
238 CLASS="SECT2"
239 ><A
240 NAME="AEN6117">Additional commands</H2
241 ><P
242 >The <B
243 CLASS="COMMAND"
244 >exec</B
245 > command which allows the loading
246 and execution of Linux kernels,
247 is supported for this board (see <A
248 HREF="executing-programs.html"
249 >the Section called <I
250 >Executing Programs from RedBoot</I
251 > in Chapter 2</A
252 >). The <B
253 CLASS="COMMAND"
254 >exec</B
255 > parameters used for the CerfCube are:</P
256 ><P
257 ></P
258 ><DIV
259 CLASS="VARIABLELIST"
260 ><DL
261 ><DT
262 >-b <TT
263 CLASS="REPLACEABLE"
264 ><I
265 >&lt;addr&#62;</I
266 ></TT
267 ></DT
268 ><DD
269 ><P
270 >Location Linux kernel was loaded to</P
271 ></DD
272 ><DT
273 >-l <TT
274 CLASS="REPLACEABLE"
275 ><I
276 >&lt;len&#62;</I
277 ></TT
278 ></DT
279 ><DD
280 ><P
281 >Length of kernel</P
282 ></DD
283 ><DT
284 >-c <TT
285 CLASS="REPLACEABLE"
286 ><I
287 >"params"</I
288 ></TT
289 ></DT
290 ><DD
291 ><P
292 >Parameters passed to kernel</P
293 ></DD
294 ><DT
295 >-r <TT
296 CLASS="REPLACEABLE"
297 ><I
298 >&lt;addr&#62;</I
299 ></TT
300 ></DT
301 ><DD
302 ><P
303 >'initrd' ramdisk location</P
304 ></DD
305 ><DT
306 >-s <TT
307 CLASS="REPLACEABLE"
308 ><I
309 >&lt;len&#62;</I
310 ></TT
311 ></DT
312 ><DD
313 ><P
314 >Length of initrd ramdisk</P
315 ></DD
316 ></DL
317 ></DIV
318 ></DIV
319 ><DIV
320 CLASS="SECT2"
321 ><H2
322 CLASS="SECT2"
323 ><A
324 NAME="AEN6149">Memory Maps</H2
325 ><P
326 >RedBoot sets up the following memory map on the CerfCube:   The first level
327 page table is located at physical address 0xC0004000.  No second level tables
328 are used.   <DIV
329 CLASS="NOTE"
330 ><BLOCKQUOTE
331 CLASS="NOTE"
332 ><P
333 ><B
334 >NOTE: </B
335 >The virtual memory maps in this section use a C and B column to indicate
336 whether or not the region is cached (C) or buffered (B).</P
337 ></BLOCKQUOTE
338 ></DIV
339 > <TABLE
340 BORDER="5"
341 BGCOLOR="#E0E0F0"
342 WIDTH="70%"
343 ><TR
344 ><TD
345 ><PRE
346 CLASS="PROGRAMLISTING"
347 >Physical Address Range     Description
348 -----------------------    ----------------------------------
349 0x00000000 - 0x01ffffff    16Mb to 32Mb FLASH (nCS0) [organized as below]
350   0x000000 - 0x0001ffff      RedBoot
351   0x020000 - 0x0003ffff      RedBoot [RAM version]
352   0xfc0000 - 0x00fdffff      Fconfig data
353   0xfe0000 - 0x00ffffff      FIS directory
354 0x0f000000 - 0x0fffffff    Onboard ethernet
355 0x10000000 - 0x17ffffff    CerfCube internal registers
356 0x20000000 - 0x3fffffff    PCMCIA / Compact Flash
357 0x80000000 - 0xbfffffff    SA-1110 Internal Registers
358 0xc0000000 - 0xc1ffffff    DRAM Bank 0 - 32Mb SDRAM
359 0xe0000000 - 0xe7ffffff    Cache Clean
360
361
362 Virtual Address Range    C B  Description
363 -----------------------  - -  ----------------------------------
364 0x00000000 - 0x01ffffff  Y Y  DRAM - 32Mb
365 0x08000000 - 0x0fffffff  N N  Onboard ethernet controller
366 0x10000000 - 0x17ffffff  N N  CerfCube internal registers
367 0x20000000 - 0x3fffffff  N N  PCMCIA / Compact Flash
368 0x50000000 - 0x51ffffff  Y Y  Up to 32Mb FLASH (nCS0)
369 0x80000000 - 0xbfffffff  N N  SA-1110 Internal Registers
370 0xc0000000 - 0xc1ffffff  N Y  DRAM Bank 0: 32Mb
371 0xe0000000 - 0xe7ffffff  Y Y  Cache Clean   </PRE
372 ></TD
373 ></TR
374 ></TABLE
375 > </P
376 ></DIV
377 ><DIV
378 CLASS="SECT2"
379 ><H2
380 CLASS="SECT2"
381 ><A
382 NAME="AEN6156">Rebuilding RedBoot</H2
383 ><P
384 >These shell variables provide the platform-specific information
385 needed for building RedBoot according to the procedure described in
386 <A
387 HREF="rebuilding-redboot.html"
388 >Chapter 3</A
389 >:
390 <TABLE
391 BORDER="5"
392 BGCOLOR="#E0E0F0"
393 WIDTH="70%"
394 ><TR
395 ><TD
396 ><PRE
397 CLASS="PROGRAMLISTING"
398 >export TARGET=cerf
399 export ARCH_DIR=arm
400 export PLATFORM_DIR=sa11x0/cerf</PRE
401 ></TD
402 ></TR
403 ></TABLE
404 ></P
405 ><P
406 >The names of configuration files are listed above with the
407 description of the associated modes.</P
408 ></DIV
409 ></DIV
410 ><DIV
411 CLASS="NAVFOOTER"
412 ><HR
413 ALIGN="LEFT"
414 WIDTH="100%"><TABLE
415 SUMMARY="Footer navigation table"
416 WIDTH="100%"
417 BORDER="0"
418 CELLPADDING="0"
419 CELLSPACING="0"
420 ><TR
421 ><TD
422 WIDTH="33%"
423 ALIGN="left"
424 VALIGN="top"
425 ><A
426 HREF="ipaq.html"
427 ACCESSKEY="P"
428 >Prev</A
429 ></TD
430 ><TD
431 WIDTH="34%"
432 ALIGN="center"
433 VALIGN="top"
434 ><A
435 HREF="ecos-ref.html"
436 ACCESSKEY="H"
437 >Home</A
438 ></TD
439 ><TD
440 WIDTH="33%"
441 ALIGN="right"
442 VALIGN="top"
443 ><A
444 HREF="iq80310.html"
445 ACCESSKEY="N"
446 >Next</A
447 ></TD
448 ></TR
449 ><TR
450 ><TD
451 WIDTH="33%"
452 ALIGN="left"
453 VALIGN="top"
454 >ARM/StrongARM(SA11X0) Compaq iPAQ PocketPC</TD
455 ><TD
456 WIDTH="34%"
457 ALIGN="center"
458 VALIGN="top"
459 ><A
460 HREF="installation-and-testing.html"
461 ACCESSKEY="U"
462 >Up</A
463 ></TD
464 ><TD
465 WIDTH="33%"
466 ALIGN="right"
467 VALIGN="top"
468 >ARM/Xscale Cyclone IQ80310</TD
469 ></TR
470 ></TABLE
471 ></DIV
472 ></BODY
473 ></HTML
474 >