Changes between Version 14 and Version 15 of MMC


Ignore:
Timestamp:
07/24/2020 03:56:36 PM (4 years ago)
Author:
Tim Harvey
Comment:

remove building instructions for mmc-utils as it is packaged for most distros

Legend:

Unmodified
Added
Removed
Modified
  • MMC

    v14 v15  
    152152}}}
    153153
    154 The Linux {{{mmc}}} application provides access to eMMC configuration through CSD registers. This open-source application is available at http://git.kernel.org/cgit/linux/kernel/git/cjb/mmc-utils.git/.
    155  * To build it:
    156 {{{#!bash
    157 git clone git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git
    158 cd mmc-utils
    159 make
    160 }}}
    161  * Alternatively you can install this from a pre-built deb:
    162   * Newport (arm64):
    163 {{{#!bash
    164 wget http://dev.gateworks.com/images/mmc-utils_0~gita3d3331-3~armbian5.35+1_arm64.deb
    165 dpkg -i mmc-utils_0~gita3d3331-3~armbian5.35+1_arm64.deb
    166 }}}
    167  * Ventana (armhf):
    168 {{{#!bash
    169 wget http://dev.gateworks.com/images/mmc-utils_0~gita3d3331-3~armbian5.35+1_armhf.deb
    170 dpkg -i mmc-utils_0~gita3d3331-3~armbian5.35+1_armhf.deb
    171 }}}
     154The Linux {{{mmc}}} application from the {{{mmc-utils}}} package provides access to eMMC configuration through CSD registers.
    172155
    173156You can use the {{{mmc}}} utility to configure the eMMC PARTITION_CONFIG to specify the boot device on power-up via {{{mmc bootpart enable <boot_partition> <send_ack> <device>}}} where boot_partition specifies the hardware partition (1=boot0, 2=boot1, 7=user), send_ack specifies the device must send an awknoledgement (for fast boot), and device is the root mmc block device of the eMMC: