AnsweredAssumed Answered

mx28 MMC booting issues in kernel

Question asked by Vinu Gopalakrishnan on Mar 12, 2020
Latest reply on Mar 16, 2020 by Vinu Gopalakrishnan



We are developing a custom board based on mx28evk. In the previous revision, the external memory was a NAND flash and the device was up and running. In the current version, we have replaced the NAND with eMMC.


The device boots up to the point of mounting rootfs and then shows following error -


mxs watchdog: initialized, heartbeat 19 sec
mxs-mmc: MXS SSP Controller MMC Interface driver
mxs-mmc mxs-mmc.0: mmc0: MXS SSP MMC DMAIRQ 82 ERRIRQ 96
dcp dcp.0: DCP crypto enabled.!
TCP cubic registered
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
Waiting for root device /dev/mmcblk0p2...
mmc0: new high speed MMC card at address 0001
mmcblk0: mmc0:0001 IS004G 3.64 GiB
unknown partition table
VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2)
Please append a correct "root=" boot option; here are the available partitions:
b300 3817472 mmcblk0 driver: mmcblk
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)


Please see the attached boot log for details.


Also note that once the "mmc rescan" command is send from u-boot, the mmc seems to be not responding or is in an error state. Please see the attached log.


board details -

processor - MCIMX283DVM4B



kernel - linux-imx

uboot - U-Boot 2014.01


yocto build environment details -

DISTRO = "poky"



Please help.