How to access the eMMC read write in kernel level and eMMC partition

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to access the eMMC read write in kernel level and eMMC partition

14,229 Views
venkatesh_pvsm
Contributor II

Hi all,

        I Need to  configure the 4GB micron eMMC device . 

How to test the read and write in eMMC blocks,Based on the temperature changes durung the continuous

block read/write eMMC will effecting or not.

1.eMMC integration in kernel level,what are all changes i want to make it as to working condition of eMMC.

2.eMMC API's call to check the eMMC read /write cycle of eMMC block memory tten data.

3.eMMC partition and formatting commands

fdisk--> this is command correcrt for to fprmat the eMMC device.

dd--> read /write purpose dd command is correct or not

Thanks by,

Venkat

Labels (3)
0 Kudos
2 Replies

3,166 Views
venkatesh_pvsm
Contributor II

Hi Igorpadykov,

Thanks for your reply.

0 Kudos

3,166 Views
igorpadykov
NXP Employee
NXP Employee

Hi Venkatesh

i.MX6 sd/mmc host driver implements a standard Linux driver interface to

the ultra MMC/SD host controller (uSDHC) .

Host driver is part of the Linux kernel MMC framework.

You can download Ubuntu for i.MX6 below and work with eMMC as

on PC Ubuntu computer

L3.0.35_4.1.0_UBUNTU_RFS_BSP : i.MX 6Quad, i.MX 6Dual, i.MX 6DualLite,

i.MX 6Solo and i.MX 6Sololite Linux File System for the Ubuntu Images.

L3.0.35_4.1.0_DEMO_IMAGE_BSP : i.MX 6Quad, i.MX 6Dual, i.MX 6DualLite,

i.MX 6Solo and i.MX 6Sololite Linux Binary Demo Files.

One can check documentation in L3.0.35_4.1.0_LINUX_DOCS

Just for reference check sect.Chapter 8 Using a Linux Host to Set Up an SD/MMC Card

attached i.MX_6Dual6Quad_SABRE-SD_Linux_User's_Guide.pdf - it shows

operations with partitions and blocks.

For APIs one can look below

kernel/git/cjb/mmc-utils.git - Userspace tools for MMC/SD devices.

[PATCH 1/1] mmc: User Application for testing SD/MMC Commands and extr

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos