eMMC detection issue with 8M Mini, error "Card did not respond to voltage select "
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi,
I am using 8M Mini dual core processor in my custom board with eMMC V5.1 SDINBDG4-16G-XI1.
eMMC on the board is not detected on the board in u-boot and below are console logs,
power_pca9450_init
DDRINFO: start DRAM init
DDRINFO: DRAM rate 3000MTS
DRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
Normal Boot
Trying to boot from USB SDP
SDP: initialize...
SDP: handle requests...
Downloading file of size 1409696 to 0x40400000... �one
Dumping to header at 0x40400000
Header Tag is not an IMX image
Found header at 0x40429da0
NOTICE: BL31: v2.2(release):imx_5.4.24_er3-0-gb0a00f2
NOTICE: BL31: Built : 07:36:33, Jun 19 2021
�
CPU: Industrial temperature grade (-40C to 105C)`at 51C
Reset cause: POR
Model: NXP i.MX8MM EVK board
DRAM: 6 GiB
setup_fec: Setting 50MHz clock
MMC: FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... MMC: no card present
*** Warning - No block device, using default environment
fail to probe panel device adv7535@3d
failed to get any video link display timings
probe video device failed, ret -22
[1] mipi_dsi@32e10000, video_bridge
[2] adv7535@3d, panel
Can't find cec device id=0x3c
fail to probe panel device adv7535@3d
failed to get any video link display timings
probe video device failed, ret -22
In: serial
Out: serial
Err: serial
- ATF b0a00f2
- U-Boot 2020.04-5.4.24-2.1.0+ge0a885f
Detect USB boot. Will enter fastboot mode!
Net: sould not get PHY for FEC0: addr 0
could not get PHY for FEC0: addr 0
No ethernet found.
Boot from USB for mfgtools
*** Warning - Use default environment for mfgtools
, using default environment
Run fastboot ..."; fastboot 0; fi;
Hit any key to stop autoboot: 0
Unknown image format!
Run fastboot ...
Detect USB boot. Will enter fastboot mode!
flash target is MMC:1
MMC: no card present
MMC card init failed!
MMC: no card present
** Block device MMC 1 not supported
Detect USB boot. Will enter fastboot mode!
flash target is MMC:2
Card did not respond to voltage select!
MMC card init failed!
Card did not respond to voltage select!
** Block device MMC 2 not supported
Card did not respond to voltage select!
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
The possible issue is you haven't changed the number and order of the usdhc in u-boot /spl
The bsp map is for i.MX8MM evk.
The u-boot is running, the issue is surely not related to the boot stage.
You can use the uuu shell mode and use u-boot command in uuu shell to check which mmc interface is available before change the code.
int board_mmc_init(struct bd_info *bis) { int i, ret; /* * According to the board_mmc_init() the following map is done: * (U-Boot device node) (Physical Port) * mmc0 USDHC1 * mmc1 USDHC2 */ for (i = 0; i < CONFIG_SYS_FSL_USDHC_NUM; i++) { switch (i) { case 0: init_clk_usdhc(1); usdhc_cfg[0].sdhc_clk = mxc_get_clock(MXC_ESDHC2_CLK); imx_iomux_v3_setup_multiple_pads( usdhc2_pads, ARRAY_SIZE(usdhc2_pads)); gpio_request(USDHC2_PWR_GPIO, "usdhc2_reset"); gpio_direction_output(USDHC2_PWR_GPIO, 0); udelay(500); gpio_direction_output(USDHC2_PWR_GPIO, 1); break; case 1: init_clk_usdhc(2); usdhc_cfg[1].sdhc_clk = mxc_get_clock(MXC_ESDHC3_CLK); imx_iomux_v3_setup_multiple_pads( usdhc3_pads, ARRAY_SIZE(usdhc3_pads)); break; default: printf("Warning: you configured more USDHC controllers" "(%d) than supported by the board\n", i + 1);
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi Biyong,
This is my issue link https://community.nxp.com/t5/i-MX-Processors/Image-cannot-be-burnt-to-emmc-with-UUU-tool-for-iMX8mm-.... We use usdhc3 for emmc and the map is right.
Thanks.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
It is very clear the map is wrong in your debug log.
no mmc1
does this board have mmc1? if not, the number and order is not correct.
you can use uuu shell mode to debug it.
Run fastboot ...
Detect USB boot. Will enter fastboot mode!
flash target is MMC:1
MMC: no card present
MMC card init failed!
MMC: no card present
** Block device MMC 1 not supported
Detect USB boot. Will enter fastboot mode!
flash target is MMC:2
Card did not respond to voltage select!
MMC card init failed!
Card did not respond to voltage select!
** Block device MMC 2 not supported
Card did not respond to voltage select!
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
This log is not mine. I only searched this similar issue to mine.
Mine issue description is here Image cannot be burnt to emmc with UUU tool for iM... - NXP Community.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi
Attached is the schematic snapshot.
Please note that resistors R78 to R85, R109 and R106 are not mounted by default.
Do you think this issue is because of absence of these resistors due to bus floating?
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi,
Please guide on this issue and its root cause.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi nija_mankodi,
The connections just seem good you could try to populate the R78 to R85, R109, and R106, so we can discard this but I do not think that this can cause the incorrect voltage issue., could you share how you did the boot configuration?
Regards,
Israel.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi @nxf63675 Isreal,
Thank you for responding.
I tried mounting the suggested resistors but issue is still prevailing.
Attached is the boot configuration image. Please guide.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi,
Please share an update on this. This is critical issue for us now so need your guidance ASAP.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi nija_manko,
Sorry for my late response I was sick the last weeks and just recently come back.
I review the boot configs and the memory you are using, there are a few things that come to my mind to debug this, usually is because the memory uses a different work voltage than the one you are using, from what I see this is correctly configured, according to the schematics you share, but we could try to move the BOOT_CFG[1] that change the operating eMMC voltage.
Other stuff that probably is causing this and we could try:
1. reason may be poor soldering, one can resolder eMMC or change from a known good board.
2. one can debug it using an oscilloscope or digital analyzer and sect.7.4.2 Operating voltage range validation eMMC specification:
http://yourcmc.ru/wiki/images/5/55/EMMC_JESD84-A441.pdf
https://community.nxp.com/thread/341480
If there is something more I can do for you, please let me know.
Regards,
Israel.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi @nxf63675,
No issues. I hope you are in good health now.
I am sorry but I did not get your point of moving the BOOT_CFG[1] that change the operating eMMC voltage. Could you please explain for which pin you are recommending to move this?
Is it BOOT_MODE1 pin? How will it change eMMC operating voltage?
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi @nija_mankodi,
The operating voltage is going to affect the processor and no the eMMC, but with this, it will change the voltage that the processor operates, I just one to discard this, the BOOT_CFG1 => SAI1_RXD1.
This is the change that you could try:
Regards,
Israel.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi NXP team,
This is getting critical for us so please share your valuable comment/resolution for this issue.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi nija_mankodi,
Is your issue resolved? I have the same issue.