Using the DiskOnChip with Linux OS

dformat

DiskOnChip formatting utility

dupdate

Utility for updating DiskOnChip firmware

docpmap

Utility to retrieve information about the DiskOnChip

doc121.ex

DiskOnChip firmware image. “121” is the firmware version, the actual diskette might

b

contain higher versions of the firmware, e.g. doc122.exb, doc123.exb, etc.

doc2.fff

Alternative firmware image for the DiskOnChip

Note: The file doc2.fff can be found in the \AP012 directory when using DiskOnChip DOS utilities version 1.21 or higher.

3.2 Linux Driver for DiskOnChip

The compressed file driver.tgz contains the following files:

/usr/src/linux/drivers/block/flash_doc/flobj.obj

TrueFFS device driver core object file

/usr/src/linux/drivers/block/flash_doc/fldrvlnx.c

Source code for driver integration with

 

kernel

/usr/src/linux/drivers/block/flash_doc/makefile

TrueFFS driver’s makefile

/tmp/doc-driver/lilo-patch

Patch for Lilo to make pLilo

/tmp/doc-driver/plilo

Linux loader, patched to use with the

 

DiskOnChip

/tmp/doc-driver/lilo.conf

Lilo sample configuration file

/tmp/doc-driver/boot.b

Boot loader, udpated to use with

 

DiskOnChip

/tmp/doc-driver/copy2doc

Sample scripts, aid tool to create a root file

 

system

/tmp/doc-driver/pam.d/other

File meant only for Redhat & Caldera,

 

defines permission access

/tmp/doc-driver/samplefs.txt

Sample root file system listing

/tmp/doc-driver/doc-patch-2.0.##

Patch for kernel sources 2.0.## (only

 

attached to TrueFFS driver for kernel

 

versions 2.0.##)

/tmp/doc-driver/doc-patch-example

Example patch for kernel sources 2.2.##

 

(only attached to TrueFFS driver for kernel

 

versions 2.2.##)

Note: The included patch files are different for the two TrueFFS drivers. When using the TrueFFS driver for kernel versions 2.2.##, the kernel needs to patched manually and only an example patch file (/tmp/doc-driver/doc-patch-example) is provided. Refer to appendix III on how to manually patch your kernel.

91-SR-005-10-7L REV. 2.0

6

Page 6
Image 6
M-Systems Flash Disk Pioneers 91-SR-005-10-7L installation manual Linux Driver for DiskOnChip