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
Hi,
Now board is detecting eMMC as a booting media and I am getting the u-boot logs. But eMMC initialization is getting failed on u-boot. So that I am not able to boot the kernel from eMMC.
SD card - SD3
eMMC - SD4
U-Boot 2014.01 (Jan 09 2017 - 15:10:53)
CPU: Freescale i.MX6SOLO rev1.3 at 792 MHz
Reset cause: POR
Board: imx6
I2C: ready
DRAM: 1 GiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
MMC init failed
Using default environment
No panel detected: default to NLT-WXGA
Display: NLT-WXGA (1280x800)
In: serial
Out: serial
Err: serial
Net: FEC [PRIME]
Hit any key to stop autoboot: 0
For SD card:
=> mmc dev 1
mmc1 is current device
=> mmcinfo
Device: FSL_SDHC
Manufacturer ID: 2
OEM: 544d
Name: SA08G
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 7.2 GiB
Bus Width: 4-bit
For eMMC :
=> mmc dev 2
mmc2(part 0) is current device
=> mmcinfo
Device: FSL_SDHC
Manufacturer ID: 0
OEM: 0
Name: Tran Speed: 0
Rd Block Len: 0
MMC version 0.0
High Capacity: No
Capacity: 0 Bytes
Bus Width: 1-bit
What could be the reason for this MMC init failed ?
Hello,
"i.MX_Linux_User's_Guide.pdf" in doc package shows how to treat with eMMC configuration.
Also, MFG may be used to deploy the eMMC image ; look at "ucl2.xml" file.
Summary page :
i.MX 6 Series Software and Development Tool|NXP
Have a great day,
Yuri
------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer
button. Thank you!