system could not locate rootfs waiting for root device /dev/mmcblk0p7 is displayed

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

system could not locate rootfs waiting for root device /dev/mmcblk0p7 is displayed

Jump to solution
875 Views
shrawankumar
Contributor I

Hello Team,

Refer to " imx6qdl.dtsi " file where when I comment the below line,  my system boots fine and loads the rootfs. However when I un- comment the below line it does not works and  "waiting for root device /dev/mmcblk0p7 is displayed ..."

/*    mmc0 = &usdhc1;

        mmc1 = &usdhc2;

        mmc2 = &usdhc3;

        mmc3 = &usdhc4;*/

..............................................................................................................................................................................................................................................

Also, when I replace it as below , it works fine

my_mmc0 = &usdhc1;     /* mmc0 = &usdhc1; */ 

my_mmc1 = &usdhc2;     /*mmc1 = &usdhc2; */

my_mmc2 = &usdhc3;     /* mmc2 = &usdhc3;*/

my_mmc3 = &usdhc4;    /* mmc3 = &usdhc4;*/

Can some one help here root out the problem ? I am working on imx6qdl-sabresd based custom  board and using "freescale_imx6_3-14"

Regards

Shrawan

Labels (1)
0 Kudos
1 Solution
711 Views
igorpadykov
NXP Employee
NXP Employee

Hi Shravan

this may be caused by emmc numbering, for description please

refer to attached document sect.4.7.1 Running Linux from MMC/SD

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
2 Replies
710 Views
shrawankumar
Contributor I

Thanks Igor

Changing as below works for me:

mmc0 = &usdhc3;

Regards

Shrawan

0 Kudos
712 Views
igorpadykov
NXP Employee
NXP Employee

Hi Shravan

this may be caused by emmc numbering, for description please

refer to attached document sect.4.7.1 Running Linux from MMC/SD

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 Kudos