[IMX6Q] Waiting for MMC device

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

[IMX6Q] Waiting for MMC device

3,884 Views
mathijsjonker
Contributor I

Hi all,

I'm trying to switch from an ancient linux to a newer linux. I see there is upstream support for Compulab's CM-FX6 which is imx6q compatible. There is a DTS for this board in the Linux. I'm using the latest buildroot to compile everything, compilation is working properly but I'm having issues when booting. It hangs with "Waiting for root device /dev/mmcblk0p2..."

I'm out of ideas on where to look for the solution.

I've attached the boot log and kernel config.

Any suggestion is appreciated

Original Attachment has been moved to: .config.zip
Original Attachment has been moved to: U-Boot-2014.04-cm-fx6-upstream-linux.zip

Labels (2)
0 Kudos
Reply
6 Replies

3,557 Views
quigibo
Contributor I

Any solution? This sounds exactly like what I'm running into.

0 Kudos
Reply

3,557 Views
igorpadykov
NXP Employee
NXP Employee

Hi Mathijs

may be useful to check Table 27. Linux uSDHC relationships

atatched Linux Guide.

Best regards
igor

0 Kudos
Reply

3,557 Views
mathijsjonker
Contributor I

Thanks for the mapping table, however Linux reports no SD devices at all even tho the kernel was loaded from it.

0 Kudos
Reply

3,557 Views
vipulkumar
Contributor III

Hi Jonker,

The issue is that kernel is not able to find the file system from /dev/mmcblk0p2 to mount.

You need to pass correct partitions for file system in the u-boot environment.

0 Kudos
Reply

3,557 Views
mathijsjonker
Contributor I

I understand that it has problem finding the file system. The partition layout is correct, I've verified it from Ubuntu.

0 Kudos
Reply

3,557 Views
mathijsjonker
Contributor I

btw I'm booting from SD. The kernel is located in the first partition and the rootfs in the second partition. U-boot has no problem loading the kernel from the SD card so the SD card is fine.

0 Kudos
Reply