[U-Boot] [PATCH v2 00/18] Support for eMMC partitioning and related fixes

Diego Santa Cruz Diego.SantaCruz at spinetix.com
Thu Dec 4 18:01:57 CET 2014


I have the need to hardware partition eMMC devices from U-Boot along
with setting enhanced and reliable write attributes.

This series of patches adds this support to U-Boot via a new mmc
API, a few new members of struct mmc and a new mmc sub-command. It
also features several fixes to the eMMC hardware partition support. I
have tested this with Micron eMMC 4.41 parts and it is working as
expected.

This version updates the original patch series by reorganizing patches
14, 15 and 16 to make them cleaner, as requested by Pantelis. There
are no functional changes.

The patch series is against u-boot.git master of a few minutes ago.

Diego Santa Cruz (18):
  mmc: show hardware partition sizes in mmcinfo output
  mmc: extend mmcinfo to show enhanced partition attribute
  mmc: make eMMC general purpose partition numbering match spec
  mmc: skip mmcinfo partition info processing for eMMC < 4.41
  mmc: incomplete test to switch to high-capacity group size
    definitions
  mmc: computation of eMMC GP partition size was missing 512 KiB factor
  mmc: read the size of eMMC enhanced user data area
  mmc: display size and start of eMMC enhanced user data area in
    mmcinfo
  mmc: fix erase_grp_size computation with high-capacity size
    definition
  mmc: read the high capacity WP group size for eMMC
  mmc: show the erase group size and HC WP group size in mmcinfo output
  mmc: eMMC partitioning data is not effective till partitioning
    completed
  mmc: the ext_csd data may be used during init even if reading failed
  mmc: add API to do eMMC hardware partitioning
  mmc: add mmc hwpartition sub-command to do eMMC hardware partitioning
  mmc: extend the mmc hardware partitioning API with write reliability
  mmc: extend the mmc hwpartition sub-command to change write
    reliability
  mmc: extend mmcinfo output to show partition write reliability
    settings

 common/cmd_mmc.c  |  207 ++++++++++++++++++++++++++++++++++++++-
 drivers/mmc/mmc.c |  283 +++++++++++++++++++++++++++++++++++++++++++++++++----
 include/mmc.h     |   47 +++++++++-
 3 files changed, 515 insertions(+), 22 deletions(-)



More information about the U-Boot mailing list