[Previous] [Contents] [Index] [Next]

devb-nand-camelot

Driver for NAND Flash interface


Note: You must be root to start this driver.

Syntax:

devb-nand- "variant" [cam cam_options[,option]...]
                     [nand nand_options[,option]...]
                     [blk io-blk_options[,option]...] &

Options:


Note: Use commas (,) to separate the options.

cam options

lun= mask
Enable Logical Unit Number (LUN) scan for the devices specified in mask. The mask is a hex bitmask specifying which IDs to scan for; the default is 0x00.
quiet
Be quiet: don't display any information on startup.
verbose
Be verbose: display full information about units (devices) on startup.

nand options

The nand options control the driver's interface to nand flash.

ioport= port
The I/O port of the interface.
erase= [1/2]
Multiple levels of erase:

Avoid factory (early) and inuse (late) bad blocks

Avoid factory (early) bad blocks

raw= numblks
Specify the number of blocks in a raw partition.
verify
Use nand-write verification

blk options

The blk options control the drivers interface to the filesystem layer. In particular, the cache= option can be used to control the amount of buffer cache memory allocated for the nand driver.

The blk options control io-blk.so. If specified, they must follow the blk keyword.

Description:

The devb-nand* drivers initialize two distinct partitions; a standard QNX4 filesystem partition, and a raw partition.

The size of the raw partition can be set using the raw= subopt on the command line.The raw partition can be used to store an OS image to be read from an IPL stored on an external EPROM or NOR flash. A system can't boot from NAND directly, because it's not a linear device.

Examples:

Initialize a new NAND flash part:

devb-nand-"variant"  nand erase=2,raw=256 blk cache=128k

Run the driver for an already initialized part:

devb-nand-"variant" nand raw=256 blk cache=128k

See also:

io-blk.so

"Block-oriented drivers (devb-*)," "Common access method (cam-*)," and "Filesystem drivers (fs-*)" in the Utilities Summary


[Previous] [Contents] [Index] [Next]