BSD Ports

sysutils/mmc-utils 20230807_1 FreeBSD

Userspace tools for MMC/SD devices

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD3CLAUSE, GPLv2
Categories
sysutils
Package size
47.9 KiB, 115.2 KiB installed

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.

Install

Binary package:

pkg install mmc-utils

From the ports tree:

cd /usr/ports/sysutils/mmc-utils/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	mmc-utils>0:sysutils/mmc-utils

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest20230807_120230807_12021120220230807_120230807_1
FreeBSD:14:quarterly20230807_120230807_1n/a20230807_120230807_1
FreeBSD:15:latest20230807_120230807_1n/a20230807_120230807_1
FreeBSD:15:quarterly20230807_120230807_1n/an/an/a
FreeBSD:16:latest20230807_120230807_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 3

No port depends on this one.

Configuration

No options to configure.

USES
gmake
Service scripts
none

Files

distinfo 1
FileSizeSHA256
mmc-utils-20230807-613495ec.tar.gz507391d45d75ac4c1178c4f33c9f0e63b5c9f87cf1442a00e9033b2cbba919549825d
Master sites 1
  • https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git/snapshot/613495ecaca97a19fa7f8f3ea23306472b36453c${EXTRACT_SUFX}?dummy=/

Commit history 0

No commits in the history this site was built from.