@@ -31,14 +31,20 @@ Running mmc-utils
``writeprotect user set <type> <start block> <blocks> <device>``
Set user area write protection.
- ``csd read <device path>``
+ ``csd read [-h] [-v] [-b bus_type] [-r register] <device path>``
Print CSD data from <device path>. The device path should specify the csd sysfs file directory.
+ if [bus_type] is passed (mmc or sd) the [register] content must be passed as well, and no need for device path.
+ it is useful for cases we are getting the register value without having the actual platform.
``cid read <device path>``
Print CID data from <device path>. The device path should specify the cid sysfs file directory.
+ if [bus_type] is passed (mmc or sd) the [register] content must be passed as well, and no need for device path.
+ it is useful for cases we are getting the register value without having the actual platform.
``scr read <device path>``
Print SCR data from <device path>. The device path should specify the scr sysfs file directory.
+ if [bus_type] is passed (mmc or sd) the [register] content must be passed as well, and no need for device path.
+ it is useful for cases we are getting the register value without having the actual platform.
``ffu <image name> <device> [chunk-bytes]``
Default mode. Run Field Firmware Update with `<image name>` on `<device>`. `[chunk-bytes]` is optional and defaults to its max - 512k. Should be in decimal bytes and sector aligned.
@@ -173,17 +173,29 @@ Disable the eMMC cache feature on the device.
.br
NOTE! The cache is an optional feature on devices >= eMMC4.5.
.TP
-.BI csd " " read " " \fidevice\-path\fR
+.BI csd " " read " " \fR[-h] \fR[-v] " " \fR[-b " " \fIbus_type\fR] " " \fR[-r " " \fIregister\fR] " " \fI<device\-path>\fR
Print CSD data from \fIdevice\-path\fR.
The device path should specify the csd sysfs file directory.
+.br
+If \fIbus_type\fR is passed (mmc or sd), the \fIregister\fR content must be passed as well, and no need for device path.
+.br
+It is useful for cases where we are getting the register value without having the actual platform.
.TP
-.BI cid " " read " " \fIdevice\-path\fR
+.BI cid " " read " " \fR[-h] \fR[-v] " " \fR[-b " " \fIbus_type\fR] " " \fR[-r " " \fIregister\fR] " " \fI<device\-path>\fR
Print CID data from \fIdevice\-path\fR.
The device path should specify the cid sysfs file directory.
+.br
+If \fIbus_type\fR is passed (mmc or sd), the \fIregister\fR content must be passed as well, and no need for device path.
+.br
+It is useful for cases where we are getting the register value without having the actual platform.
.TP
-.BI scr " " read " " \fIdevice\-path\fR
+.BI scr " " read " " \fR[-h] \fR[-v] " " \fR[-b " " \fIbus_type\fR] " " \fR[-r " " \fIregister\fR] " " \fI<device\-path>\fR
Print SCR data from \fIdevice\-path\fR.
The device path should specify the scr sysfs file directory.
+.br
+If \fIbus_type\fR is passed (mmc or sd), the \fIregister\fR content must be passed as well, and no need for device path.
+.br
+It is useful for cases where we are getting the register value without having the actual platform.
.TP
.BI ffu " " \fIimage\-file\-name\fR " " \fIdevice\fR " " [\fIchunk\-bytes\fR]
Run Field Firmware Update with \fIimage\-file\-name\fR on the device.
This commit updates the man and HOWTO page entries to include the new options for the csd, cid, and scr commands. The updated entries reflect the changes allowing the use of bus_type and register content as arguments. These updates provide users with clear instructions on how to use the new options for the csd, cid, and scr read commands. Signed-off-by: Avri Altman <avri.altman@sandisk.com> --- docs/HOWTO.rst | 8 +++++++- mmc.1 | 18 +++++++++++++++--- 2 files changed, 22 insertions(+), 4 deletions(-)