forsyth20121205-174063a80cc13 years agoHistory
63 lines · 1.4 KB · Text
RawDownload
.TH FTL 8.SH NAMEftl \- Flash Translation Layer formatter.SH SYNOPSIS.B disk/ftl.I flashsize.I secsize.I kfsfile.I output.SH DESCRIPTION.I Ftlreads a file system image in.IR kfs (3)format from.I kfsfileand adds the data structures needed to make it a valid image forthe Flash Translation Layer driver.IR ftl (3).The result is written to the.I outputfile, which can be copied to initialise theflash memory of a suitable device(see.IR flash (3))..PPThe other arguments describe the characteristics of the flash memory:.TF \fIflashsize\fP.PD.TP.I flashsizeThe size in bytes of the flash memory to which.I outputwill be copied; exactly.I flashsizebytes will be written to.IR output ..TP.I secsizeThe effective erase unit (sector) size in bytes of the flash memory, as seenby the processor, havingallowed for bus width.For example, a bank of flashformed from byte-wide flash chips, each with 16kbyte sectors,wired across a 4 byte bus, might have an effective erase unit size of64kbytes..PPThe.I kfsfilemust not be larger than the size (length) of the.B ftldatafile provided by.IR ftl (3)for the target flash device or partition.(That size is invariably less than the size of the raw flash,owing to the overhead of FTL data structuresand a reserve pool of 5% to reduce the number of erase cycles; see.IR ftl (3))..SH SOURCE.B /appl/cmd/disk/ftl.b.SH SEE ALSO.IR flash (3),.IR ftl (3),.IR kfs (3)