Accessing eMMC in i.MX6 - Linux

cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing eMMC in i.MX6 - Linux

Jump to solution
1,303 Views
Contributor IV

Hi, i am using SABRE-SDP, Linux 3.10.53 and SD card  boot.

Uboot, Kernel and file systems are all in SD Card.

After boot process, it is shown in console when typing '# cat /proc/partitions'.

  31        0         32 mtdblock0

179        0    3872256 mmcblk2    <-- 4G byte SD Card 

179        1       8192 mmcblk2p1 

179        2     991232 mmcblk2p2

179        8      31344 mmcblk3

My question is that where is eMMC. I can not find eMMC, it is on my board but not displayed.

How can I mount eMMC to my linux system?

Labels (2)
Tags (3)
0 Kudos
1 Solution
31 Views
NXP TechSupport
NXP TechSupport
0 Kudos
8 Replies
31 Views
NXP TechSupport
NXP TechSupport

please check the mmcblk* in /dev/

0 Kudos
31 Views
Contributor IV

root@imx6qsabresd:~# ls /dev/mmcblk*

/dev/mmcblk2  /dev/mmcblk2p1  /dev/mmcblk2p2  /dev/mmcblk3

root@imx6qsabresd:~#

There are only mmcblk2 and mmcblk3.

0 Kudos
31 Views
NXP TechSupport
NXP TechSupport

For more details, please read i.MX_Linux_User's_Guide.pdf. You can download it in i.MX 6 Series Software and Development Tool R|Freescale

0 Kudos
32 Views
NXP TechSupport
NXP TechSupport
0 Kudos
31 Views
Contributor IV

root@imx6qsabresd:~# fdisk /dev/mmcblk3 -l

Disk /dev/mmcblk3: 30.6 MiB, 32096256 bytes, 62688 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

root@imx6qsabresd:~#

mmcblk3 is 32096256 bytes. SABRE has 8GB eMMC, so i think it is not eMMC.

0 Kudos
31 Views
NXP TechSupport
NXP TechSupport

please try the following command in u-boot:

> mmc dev 2

> mmcinfo

and show me the result.

0 Kudos
31 Views
Contributor IV

=> mmc list

FSL_SDHC: 0

FSL_SDHC: 1

FSL_SDHC: 2

=> mmc dev 2

Timeout waiting for DAT0 to go high!

It seems like no activated device.

Does my board have some troubles?

0 Kudos
31 Views
NXP TechSupport
NXP TechSupport

yes, seems the eMMC is not working properly.

0 Kudos