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,
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);
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.
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!
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.
Hi,
Please guide on this issue and its root cause.
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.
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.
Hi,
Please share an update on this. This is critical issue for us now so need your guidance ASAP.
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.
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?
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.
Hi NXP team,
This is getting critical for us so please share your valuable comment/resolution for this issue.
Hi nija_mankodi,
Is your issue resolved? I have the same issue.