unable to initialize mmcblk1p1 & mmcblk2p1 for SD1 & SD2

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

unable to initialize mmcblk1p1 & mmcblk2p1 for SD1 & SD2

543 Views
yocto_newbee
Contributor I

Hi thank you for any help.

I have defined from DTSI and from the boot up log, I see mmc1&2 has been initiated, but under the dev I don't see either mmcblk1p1 or mmcblk2p1. I am not sure how to debug this issue. Please give me any point. 

From DTSI

mmc0 = &usdhc2; //emmc
mmc1 = &usdhc3; //sd1
mmc2 = &usdhc4; //sd2

 

From bootup log

mmc0: SDHCI controller on 2194000.mmc [2194000.mmc] using ADMA
mmc2: SDHCI controller on 2198000.mmc [2198000.mmc] using ADMA
mmc1: SDHCI controller on 219c000.mmc [219c000.mmc] using ADMA

thank you.

0 Kudos
5 Replies

526 Views
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

Thank you for your interest in NXP Semiconductor products,

Could we confirm that:

  • You have the one or two SD cards correctly inserted.
  • You can access mmcblkx in host.

Could you share the following outputs in a .txt?

 

# ls -l /dev/
# dmesg

 

Also, what processor are you working with?

Thanks in advance.

Regards

0 Kudos

519 Views
yocto_newbee
Contributor I

Dear, 

  • You have the one or two SD cards correctly inserted.
    • Yes I inserted two SD cards.
  • You can access mmcblkx in host.
    • I was able to cat mmcblk0, mmcblk0p1, and mmcblk0p2
  • for attached dmesg,
    • I enabled a lot of log related with mmc so please do consider.
  •  what processor are you working with?
    • MCIMX6D7CZK08AD

thank you for support.

0 Kudos

471 Views
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

I reviewed the attached file and your answer, I saw that you are using poky reference. Could you please try to use our BSP in the board looking to replicate the issue?

If you are using a third party board, you could ask them if there is anything else to be done.

From your reply:

I was able to cat mmcblk0, mmcblk0p1, and mmcblk0p2

I meant that check the integrity of SDs with a PC host.

Regards,

0 Kudos

451 Views
yocto_newbee
Contributor I

I am trying to bring up the Custome board with NXP MCIMX6D7CZK08AD chipset.

0 Kudos

410 Views
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

In that case, I'd encourage you to try on our BSP and follow this guide which works upon our BSP.

i.MX Porting Guide.

Regards,

0 Kudos