mx28 MMC booting issues in kernel

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

mx28 MMC booting issues in kernel

931 Views
vinugopalakrish
Contributor III

Hi NXP,

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
mmcblk0:
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)
Backtrace:

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

eMMC - IS21ES04G-JCLI

kernel - linux-imx 2.6.35.3-r45

uboot - U-Boot 2014.01

yocto build environment details -

DISTRO = "poky"

DISTRO_VERSION = "1.6.2"

Please help.

regards,

Vinu

Labels (2)
0 Kudos
4 Replies

814 Views
vinugopalakrish
Contributor III

Sorry, i cant find the attachment.

0 Kudos

814 Views
vinugopalakrish
Contributor III

Hi Igor,

We were able to boot the device from MMC. It was an issue with kernel configuration. Enabling CONFIG_MSDOS_PARTITION did the trick.

I would like to know if there is any way to flash the code to eMMC using mfgtool (for mx28)? We are using uuu utility with sb files and copying the code to RAM,and then writing to mmc from uboot.

regards,

Vinu

0 Kudos

814 Views
igorpadykov
NXP Employee
NXP Employee

Hi Vinu

except mfg tool suggested in first answer one can also check

sect.5.1.3.1 MMC Boot attached Linux Guide.

Best regards
igor

0 Kudos

814 Views
igorpadykov
NXP Employee
NXP Employee

Hi Vinu

mfg tool is used for programming i.MX28 images

other documentation and tools:

i.MX287 Processors|Dual Ethernet | NXP 

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

0 Kudos