[PATCH 0/3] Add continue (-c) flag for partitioning commands

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



OTP Partitioning settings are indicated to be done by setting

bit 0x0 in PARTITIONING_SETTING_COMPLETED in EXT CSD register.

mmc-utils commands 'gp create', 'enh_area set' and 'write_reliability set'

all set that bit as a final step when running the commands with the -y flag.


Setting that bit should *not* be done until _all_ partitioning settings the

user possibly want to do are performed.

E.g. It must be possible to first create a gp, then request enhanced mode for

user data area and finally set the write reliabitlity flag for those partitions. The current

approach to immendiately write PARTITIONING_SETTING_COMPLETED prevents this

kind of settings to be done as it will be set readliy after the first command completes.

(The standard; section 6.2.4 Configure partitions also describes the behaviour in detail)


This patch series proposes and adds a -c (continue) flag to relevant mmc-utils commands. This way,

as many partitioning settings as are needed can be done, and finalized with a command

using the -y setting.


 mmc.c      | 12 ++++++------
 mmc_cmds.c |  8 ++++----
 2 files changed, 10 insertions(+), 10 deletions(-)
��.n��������+%������w��{.n�����{��i��)��jg��������ݢj����G�������j:+v���w�m������w�������h�����٥




[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux