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. -->
13 ><meta name="MSSmartTagsPreventParsing" content="TRUE">
16 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
19 TITLE="eCos Reference Manual"
20 HREF="ecos-ref.html"><LINK
22 TITLE="Flash Image System (FIS)"
23 HREF="flash-image-system.html"><LINK
26 HREF="fis-free-command.html"><LINK
29 HREF="fis-load-command.html"></HEAD
40 SUMMARY="Header navigation table"
49 >eCos Reference Manual</TH
57 HREF="fis-free-command.html"
71 HREF="fis-load-command.html"
82 NAME="FIS-CREATE-COMMAND">fis create</H1
90 >fis create -- Create flash image</DIV
92 CLASS="REFSYNOPSISDIV"
123 > relocation address</I
145 CLASS="INFORMALTABLE"
192 >Address of data to be written to the flash.</TD
197 >Address of last loaded file. If not set in a load
198 operation, it must be specified.</TD
215 >Length of flash area to occopy. If specified, and
216 the named image already exists, the length must match
217 the value in the FIS directory.</TD
222 >Length of area reserved in FIS directory if the
223 image already exists, or the length of the last loaded
224 file. If neither are set, it must be specified.</TD
241 >Address of flash area to occopy.</TD
246 >The address of an area reserved in the FIS
247 directory for extant images. Otherwise the first free block
248 which is large enough will be used.</TD
265 >Entry address for an executable image, used by
274 >The entry address of last loaded file.</TD
291 >Address where the image should be relocated to by
295 > command. This is only
296 relevant for images that will be loaded with the
305 >The load address of the last loaded file.</TD
322 >Actual length of data written to image. This is
323 used to control the range over which the checksum is
329 >It defaults to the length of the last loaded
347 >When set, no image data will be written to the
348 flash. Only the FIS directory will be updated.</TD
375 >Name of flash image.</TD
396 >This command creates an image in the FIS directory. The data for the
397 image must exist in RAM memory before the copy. Typically, you would use the
401 > command to load file into
406 it to a flash image.</P
416 >Trying to create an extant image, will require the action
429 >fis create RedBoot -f 0xa0000000 -b 0x8c400000 -l 0x20000</B
432 An image named ‘RedBoot’ exists - continue (y/n)? <TT
443 >Create a new test image, let the command find a suitable place.
455 >fis create junk -b 0x8c400000 -l 0x20000</B
458 ... Erase from 0xa0040000-0xa0060000: .
459 ... Program from 0x8c400000-0x8c420000 at 0xa0040000: .
460 ... Erase from 0xa0fe0000-0xa1000000: .
461 ... Program from 0x8c7d0000-0x8c7f0000 at 0xa0fe0000: .</PRE
467 >Update the RedBoot[RAM] image.
479 >load redboot_RAM.img</B
482 Entry point: 0x060213c0, address range: 0x06020000-0x06036cc0
486 >fis create RedBoot[RAM]</B
489 No memory address set.
490 An image named 'RedBoot[RAM]' exists - continue (y/n)? <TT
496 * CAUTION * about to program 'RedBoot[RAM]'
497 at 0x00020000..0x00036cbf from 0x06020000 - continue (y/n)? <TT
503 ... Erase from 0x00020000-0x00040000: ..
504 ... Program from 0x06020000-0x06036cc0 at 0x00020000: ..
505 ... Erase from 0x00070000-0x00080000: .
506 ... Program from 0x0606f000-0x0607f000 at 0x00070000: .</PRE
517 SUMMARY="Footer navigation table"
528 HREF="fis-free-command.html"
546 HREF="fis-load-command.html"
562 HREF="flash-image-system.html"