AnsweredAssumed Answered

eMMC booting on i.MX6 Solo

Question asked by Vipul Kumar on Jan 3, 2017
Latest reply on Jan 9, 2017 by Vipul Kumar

Hi,

I am using customised board based on i.MX6 Solo. SD card is connected to the SD3 and eMMC is connected to the SD4. I am able to boot the board from SD card successfully.

 

Kernel logs of emmc and SD card:

 

mmc0: no vqmmc regulator found
mmc0: no vmmc regulator found
mmc0: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA
mmc1: no vqmmc regulator found
mmc1: no vmmc regulator found
mmc0: host does not support reading read-only switch. assuming write-enable.
mmc1: SDHCI controller on 219c000.usdhc [219c000.usdhc] using ADMA
mmc0: new high speed SDHC card at address 1234
mmcblk0: mmc0:1234 SA08G 7.21 GiB
 mmcblk0: p1 p2
usb 1-1: new high-speed USB device number 2 using ci_hdrc
mmc1: BKOPS_EN bit is not set
mmc1: new high speed DDR MMC card at address 0001
mmcblk1: mmc1:0001 W32508 7.12 GiB
mmcblk1boot0: mmc1:0001 W32508 partition 1 4.00 MiB
mmcblk1boot1: mmc1:0001 W32508 partition 2 4.00 MiB
mmcblk1rpmb: mmc1:0001 W32508 partition 3 4.00 MiB
 mmcblk1: p1 p2
 mmcblk1boot1: unknown partition table
 mmcblk1boot0: unknown partition table

 

emmc and SD card partitions are:

 

cat /proc/partitions
major minor  #blocks  name

 

 179        0    7565312 mmcblk0
 179        1       8192 mmcblk0p1
 179        2     483328 mmcblk0p2
 179        8    7471104 mmcblk1
 179       32       4096 mmcblk1rpmb
 179       24       4096 mmcblk1boot1
 179       16       4096 mmcblk1boot0

 

I booted board from SD card and write image to the eMMC by the dd command.

dd if=fsl-image-multimedia-xxxxxx.rootfs.sdcard of=/dev/mmcblkp1 bs=1M

 

After this, I changed the board setting to the eMMC and booted the board but I got nothing.

After this I booted the board from SD card, and read the emmc information:

 

For SD card:

=> mmc dev
mmc0 is current device
=> mmcinfo
Device: FSL_SDHC
Manufacturer ID: 2
OEM: 544d
Name: SA16G
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 14.4 GiB
Bus Width: 4-bit

 

For eMMC:

 

=> mmc dev 1
mmc1(part 0) is current device
=> mmcinfo
Device: FSL_SDHC
Manufacturer ID: 70
OEM: 100
Name: W3250
Tran Speed: 52000000
Rd Block Len: 512
MMC version 4.0
High Capacity: Yes
Capacity: 7.1 GiB

Bus Width: 8-bit

 

After this I changed the booting environment to eMMC and able to boot kernel and file system from the eMMC.

 

I have the following questions:

What could be the issue that is booted from eMMC ?

How to write the image to the eMMC ? Is it the correct way to write image to the eMMC ?

 

Yocto - 1.6

Kernel -linux-imx - 3.10

u-boot-fslc-2014

Outcomes