uboot MMC read/write command usage

Source: Internet
Author: User

Category: Embedded Linux 2012-02-14 17:33 1170 people reading reviews (0) Favorite reports

MMC read is used to read MMC content to memory,

MMC write is used to write memory contents into the MMC


Specific usage,

MMC read <device num> addr blk# cnt [partition]

MMC write <device num> addr blk# cnt [partition]

MMC list

Device num is the unit number of the MMC and can be queried through the MMC list

Addr is the memory address

blk# is the block number within the MMC

Number of CNT blocks


Examples of Use:

MMC write 2 0x90000000 0x600 0x10

Start the memory 0x90000000, the length is 16x512 size data, writes to the 2nd MMC device block offset position is 0x600 place


MMC read 2 0x90000000 0x600 0x10

Offset the second MMC device block to 0x600 at the beginning of the 16x512 size, read out to memory 0x90000000

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.