devb-ufs
QNX SDP8.0Utilities ReferenceUtilities
Driver for UFS interface
Note:
In order to start this driver, you must be logged in as root or have the right abilities.
Syntax:
devb-ufs [blk option[,option]...]
[cam option[,option]...]
[disk option[,option]...]
[mem option[,option]...]
[ufs options[,option]...]
[fs_type options]
Runs on:
QNX OS
Options:
Note:
Use commas (
,
) to separate the options.
You can put the blk, cam, disk, mem, and ufs
groups of options in any order.
- blk options
- The blk options control the io-blk.so driver. If specified, they must follow the blk keyword.
- cam options
- The cam options control libcam.so. If specified, they must follow the cam keyword.
- disk options
- The disk options control the driver's interface to cam-disk.so. If specified, they must follow the disk keyword.
- mem options
-
- name=tname
- The typed memory name to use.
This option lets you restrict the driver to use memory only from a particular region, which is often necessary for
DMA and smmuman. If you set this option, it can benefit performance to set the same option in the
blk layer as well, depending on the size of the typed memory region.
The cam layer will move data between the blk layer and the typed memory.
Note:It's up to the startup to set up typed memory. For more information, see
Typed memory
in theInterprocess Communication (IPC)
chapter of the System Architecture guide.
- ufs options
- The ufs options control the driver's interface to the UFS device.
If you've installed multiple devices, you can repeat these options
for each device. Remember, however, to specify the ufs keyword
before the set of options for each UFS device.
- dname
- Use the UFS logical unit number (LUN) names.
- hc=name
- The name of the the host controller, or the dynamically loaded library (DLL) name.
- ioport=port
- The I/O address of the device.
- irq=req
- The interrupt used by the controller.
- pm=idle:sleep
- Set the power management idle/sleep time in milliseconds (ms). Power management is off by default.
A non-zero value in both idle and sleep
(pm=0:0)
activiates this option. - priority=prio
- Set the priority of the processing thread. The default is 21.
- wluns=[on|off]
- Enable or disable the WLUN device entries. This setting is on by default.
- fs_type options
- The fs_type options control any filesystem (fs-*.so) module being loaded. Here, fs_type is the filesystem type, such as qnx6 for the Power-Safe filesystem. For the list of supported filesystem options, see the reference for the corresponding shared object. For example, for qnx6, see fs-qnx6.so.
Description:
The devb-ufs driver is the driver for the Universal Flash Storage (UFS) interface.
Examples:
Assume a UFS controller, and list all connected devices:
devb-ufs ufs ioport=0x2450000,irq=44 &
Assume a DLL Qualcomm UFS controller, enable power management, and list all connected devices:
devb-ufs ufs hc=qualcomm,ioport=0x00624000,irq=297,pm &
or
devb-ufs ufs hc=/lib/dll/devb-ufs-qualcomm.so,ioport=0x00624000,irq=297,pm &
Page updated: