Port details
mmc-utils Userspace tools for MMC/SD devices
20230807_1 sysutils Σ=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 20230807_1Version of this port present on the latest quarterly branch. upstream: 20230808A newer version was found upstream by portscout, first on 2024-04-26.
Maintainer: marius@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2017-03-16 22:36:15
Last Update: 2024-03-06 04:34:08
Commit Hash: 3b56970
People watching this port, also watch: nmap, sudo, wget, rsync, openvpn
License: BSD3CLAUSE GPLv2
WWW:
https://www.kernel.org/doc/html/latest/driver-api/mmc/mmc-tools.html
Description: #
MMC tools introduction ====================== There is one MMC test tools called mmc-utils, which is maintained by Ulf Hansson, you can find it at the below public git repository: https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git Functions ========= The mmc-utils tools can do the following: - Print and parse extcsd data. - Determine the eMMC writeprotect status. - Set the eMMC writeprotect status. - Set the eMMC data sector size to 4KB by disabling emulation. - Create general purpose partition. - Enable the enhanced user area. - Enable write reliability per partition. - Print the response to STATUS_SEND (CMD13). - Enable the boot partition. - Set Boot Bus Conditions. - Enable the eMMC BKOPS feature. - Permanently enable the eMMC H/W Reset feature. - Permanently disable the eMMC H/W Reset feature. - Send Sanitize command. - Program authentication key for the device. - Counter value for the rpmb device will be read to stdout. - Read from rpmb device to output. - Write to rpmb device from data file. - Enable the eMMC cache feature. - Disable the eMMC cache feature. - Print and parse CID data. - Print and parse CSD data. - Print and parse SCR data.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb
Manual pages: #
pkg-plist: as obtained via: make generate-plist #
Expand this list (6 items)
Collapse this list.
  1. share/man/man1/mmc.1.gz
  2. sbin/mmc
  3. /usr/local/share/licenses/mmc-utils-20230807_1/catalog.mk
  4. /usr/local/share/licenses/mmc-utils-20230807_1/LICENSE
  5. /usr/local/share/licenses/mmc-utils-20230807_1/BSD3CLAUSE
  6. /usr/local/share/licenses/mmc-utils-20230807_1/GPLv2
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • mmc-utils>0:sysutils/mmc-utils
To install the port: #
cd /usr/ports/sysutils/mmc-utils/ && make install clean
To add the package, run one of these commands:
  • pkg install sysutils/mmc-utils
  • pkg install mmc-utils
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: mmc-utils
Flavors: #
there is no flavor information for this port.
distinfo: #
TIMESTAMP = 1695128311 SHA256 (mmc-utils-20230807-613495ec.tar.gz) = 1d45d75ac4c1178c4f33c9f0e63b5c9f87cf1442a00e9033b2cbba919549825d SIZE (mmc-utils-20230807-613495ec.tar.gz) = 50739

Packages (timestamps in pop-ups are UTC): #
mmc-utils
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest20230807_120230807_1-20230807_120230807_1
FreeBSD:14:quarterly20230807_120230807_1-20230807_120230807_1
FreeBSD:15:latest20230807_120230807_1n/a20230807_1n/a
FreeBSD:15:quarterly20230807_120230807_1n/a-n/a
FreeBSD:16:latest CURRENT20230807_120230807_1n/a-n/a
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. gmake>=4.4.1 : devel/gmake
There are no ports dependent upon this port #

Configuration Options: #
No options to configure
Options name: #
sysutils_mmc-utils
USES: #
gmake
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git/snapshot/613495ecaca97a19fa7f8f3ea23306472b36453c.tar.gz?dummy=/
Collapse this list.

Number of commits found: 21 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
20230807_1
06 Mar 2024 04:34:08
commit hash: 3b56970ac9a138cf2b2077fdbff1ddd0689bc003commit hash: 3b56970ac9a138cf2b2077fdbff1ddd0689bc003commit hash: 3b56970ac9a138cf2b2077fdbff1ddd0689bc003commit hash: 3b56970ac9a138cf2b2077fdbff1ddd0689bc003 files touched by this commit
Cy Schubert (cy) search for other commits by this committer
sysutils/mmc-utils: Move man page

Approved by:	portmgr (blanket)
20230807
19 Sep 2023 16:32:09
commit hash: 1446317d9ca26af6087a9ae888b8c2ce795728b5commit hash: 1446317d9ca26af6087a9ae888b8c2ce795728b5commit hash: 1446317d9ca26af6087a9ae888b8c2ce795728b5commit hash: 1446317d9ca26af6087a9ae888b8c2ce795728b5 files touched by this commit
Marius Strobl (marius) search for other commits by this committer
sysutils/mmc-utils: Update to 20230807 version

This improves the ffu command.

Approved by:	netchild
20230612
14 Jul 2023 17:44:05
commit hash: fc7d64b69989f1553a4aac01c3c19bd6c7837955commit hash: fc7d64b69989f1553a4aac01c3c19bd6c7837955commit hash: fc7d64b69989f1553a4aac01c3c19bd6c7837955commit hash: fc7d64b69989f1553a4aac01c3c19bd6c7837955 files touched by this commit
Marius Strobl (marius) search for other commits by this committer
sysutils/mmc-utils: Update to 20230612 version

Apart from Linux build bits, this improves CID printing slightly and
changes the version number reported by mmc-utils form 0.1 to the git
hash of the checkout.

Approved by:	netchild
20230209
15 Apr 2023 19:01:47
commit hash: ddc0ad6b45d697222d335985d7a44ecfc04532cacommit hash: ddc0ad6b45d697222d335985d7a44ecfc04532cacommit hash: ddc0ad6b45d697222d335985d7a44ecfc04532cacommit hash: ddc0ad6b45d697222d335985d7a44ecfc04532ca files touched by this commit
Marius Strobl (marius) search for other commits by this committer
sysutils/mmc-utils: Update to 20230209 version

This loops back some local fixes and enhancements but also brings initial
support for writing EXT_CSD values and GEN_CMD (CMD56) read support, both
for vendor-specific bits. Also:
- Use more up-to-date location for WWW and pkg-descr.
- Take back port.

Approved by:	netchild
20211202
07 Feb 2023 19:43:16
commit hash: f34cdb3583bf900246b7cb9c42ca81f43774c700commit hash: f34cdb3583bf900246b7cb9c42ca81f43774c700commit hash: f34cdb3583bf900246b7cb9c42ca81f43774c700commit hash: f34cdb3583bf900246b7cb9c42ca81f43774c700 files touched by this commit
Rene Ladan (rene) search for other commits by this committer
*: reset marius@ ports after safekeeping his commit bit.

With hat:	portmgr-secretary
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
20211202
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
20211202
20 Jul 2022 14:23:05
commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
sysutils: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  <jsmith@resonatingmedia.com>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Landwehr <aaron@snaphat.com>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Adrian Chadd
  *  Adrian Chadd <adrian@FreeBSD.org>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Alan Eldridge <alane@FreeBSD.org>
  *  Alan Eldridge <alane@geeksrus.net>
  *  Aldis Berjoza <aldis@bsdroot.lv>
  *  Alex Deiter <alex.deiter@gmail.com>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
20211202
19 Dec 2021 15:39:40
commit hash: e9dba04db7fe00a325c36a54e2470935decb8947commit hash: e9dba04db7fe00a325c36a54e2470935decb8947commit hash: e9dba04db7fe00a325c36a54e2470935decb8947commit hash: e9dba04db7fe00a325c36a54e2470935decb8947 files touched by this commit
Marius Strobl (marius) search for other commits by this committer
sysutils/mmc-utils: Minor changes to port

- Fetch the distfile directly from the master git repository based on
  the nifty approach taken by mail/alpine instead of using a local copy.
  Note that this bumps the PORTVERSION to the last commit date (rather
  than last change date) of the repository w/o a change in source. [1]
- Chase outdated repository URL in pkg-descr (still wrong in WWW). [2]

PR:		260527
Obtained from:	mail/alpine [1]
Submitted by:	diizzy [2]
20211130
18 Dec 2021 22:40:19
commit hash: b8155c2990b08d5f387d235f59299152f39fc162commit hash: b8155c2990b08d5f387d235f59299152f39fc162commit hash: b8155c2990b08d5f387d235f59299152f39fc162commit hash: b8155c2990b08d5f387d235f59299152f39fc162 files touched by this commit
Marius Strobl (marius) search for other commits by this committer
sysutils/mmc-utils: Update to 20211130 version
20191004
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
20191004
27 Dec 2020 16:34:44
Revision:559370commit hash: 29c0850d1fa41155b96fceb918619a87121958f8commit hash: 29c0850d1fa41155b96fceb918619a87121958f8commit hash: 29c0850d1fa41155b96fceb918619a87121958f8commit hash: 29c0850d1fa41155b96fceb918619a87121958f8Original commit files touched by this commit
marius search for other commits by this committer
- Update to mmc-utils as of 20191004, for the most part bringing only
  minor enhancements and fixes.
- Chase WWW [1]

PR:	251787 [1]
Submitted by:	Newton Terry [1]
20181214
09 Apr 2019 19:48:01
Revision:498514commit hash: 2caea3ae04ac79faf00e8e574359588247a63b04commit hash: 2caea3ae04ac79faf00e8e574359588247a63b04commit hash: 2caea3ae04ac79faf00e8e574359588247a63b04commit hash: 2caea3ae04ac79faf00e8e574359588247a63b04Original commit files touched by this commit
marius search for other commits by this committer
Update to mmc-utils as of 20181214, improving handling of RPMB partitions.
20180327
15 Jun 2018 17:36:22
Revision:472467commit hash: dcc58cd479b070599bb36ea0988f245669a8ea5dcommit hash: dcc58cd479b070599bb36ea0988f245669a8ea5dcommit hash: dcc58cd479b070599bb36ea0988f245669a8ea5dcommit hash: dcc58cd479b070599bb36ea0988f245669a8ea5dOriginal commit files touched by this commit
amdmi3 search for other commits by this committer
- Remove always-false OSVERSION conditions
- Convert the remaining one into IGNORE_DragonFly and fix message
correspondingly

Approved by:	portmgr blanket
20180327
13 May 2018 15:35:02
Revision:469803commit hash: 8653239dcab11348e5dad4e3b96c01b28f829f36commit hash: 8653239dcab11348e5dad4e3b96c01b28f829f36commit hash: 8653239dcab11348e5dad4e3b96c01b28f829f36commit hash: 8653239dcab11348e5dad4e3b96c01b28f829f36Original commit files touched by this commit
marius search for other commits by this committer
Update to mmc-utils as of 20180327, fixing an ENH_START_ADDR conversion
overflow which in turn can cause a failure when trying to partition the
enhanced user data area.
20180122
04 Mar 2018 19:08:00
Revision:463595commit hash: 0bb589356474058fa6343a5dca283bd74d7d28a1commit hash: 0bb589356474058fa6343a5dca283bd74d7d28a1commit hash: 0bb589356474058fa6343a5dca283bd74d7d28a1commit hash: 0bb589356474058fa6343a5dca283bd74d7d28a1Original commit files touched by this commit
marius search for other commits by this committer
Update to mmc-utils as of 20180122 (no functional difference since 20170320).
20170320_1
11 Aug 2017 21:32:38
Revision:447792commit hash: fb875dde395df8095ec1f461a225825d01dc0902commit hash: fb875dde395df8095ec1f461a225825d01dc0902commit hash: fb875dde395df8095ec1f461a225825d01dc0902commit hash: fb875dde395df8095ec1f461a225825d01dc0902Original commit files touched by this commit
marius search for other commits by this committer
Add a patch allowing mmc-utils to detect HS400/HS400ES support.
20170320
11 May 2017 21:29:21
Revision:440669commit hash: c7ec399cb5ef148f82fe30f96f402ef1d1527b41commit hash: c7ec399cb5ef148f82fe30f96f402ef1d1527b41commit hash: c7ec399cb5ef148f82fe30f96f402ef1d1527b41commit hash: c7ec399cb5ef148f82fe30f96f402ef1d1527b41Original commit files touched by this commit
marius search for other commits by this committer
Build on FreeBSD versions 1003514+ and 1100513+, too.
20170320
28 Mar 2017 22:20:29
Revision:437170commit hash: d5b65af698c105eb711a31d2aa230851177bf073commit hash: d5b65af698c105eb711a31d2aa230851177bf073commit hash: d5b65af698c105eb711a31d2aa230851177bf073commit hash: d5b65af698c105eb711a31d2aa230851177bf073Original commit files touched by this commit
marius search for other commits by this committer
Update to mmc-utils as of 20170320, which additionally allow for
obtaining the life time estimation and pre-EOL information of an
eMMC chip from the extended CSD registers.
20160901
16 Mar 2017 22:59:19
Revision:436310commit hash: d1ee2ef29232ac8f7385543a74bde134759a8f88commit hash: d1ee2ef29232ac8f7385543a74bde134759a8f88commit hash: d1ee2ef29232ac8f7385543a74bde134759a8f88commit hash: d1ee2ef29232ac8f7385543a74bde134759a8f88Original commit files touched by this commit
marius search for other commits by this committer
Correct malformed conditional in r436309.
16 Mar 2017 22:36:05
Revision:436309commit hash: 1c2892dd9173c1cd0b1cc81ee054a678feb1f386commit hash: 1c2892dd9173c1cd0b1cc81ee054a678feb1f386commit hash: 1c2892dd9173c1cd0b1cc81ee054a678feb1f386commit hash: 1c2892dd9173c1cd0b1cc81ee054a678feb1f386Original commit files touched by this commit Sanity Test Failure Refresh
marius search for other commits by this committer
Add a port of mmc-utils, a collection of tools for MMC/SD devices.
Among others, this allows to partition eMMC devices via /dev/mmcsdN.
Currently, FreeBSD version 1200025 or later is required for mmc-utils.

CAVEAT EMPTOR: Partitioning eMMC devices is a one-time operation.

Number of commits found: 21