imx8m mini emmc boot

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

imx8m mini emmc boot

2,622 Views
story
Contributor II

My chip imx8mmini, When I set up emmc boot, has the following problems:

U-Boot SPL 2018.03-imx_v2018.03_4.14.78_1.0.0_ga+g654088cc21 (May 09 2019 - 09:56:06 +0000)
power_bd71837_init
DRAM PHY training for 2400MTS
check ddr4_pmu_train_imem code
check ddr4_pmu_train_imem code pass
check ddr4_pmu_train_dmem code
check ddr4_pmu_train_dmem code pass
Training PASS
DRAM PHY training for 400MTS
check ddr4_pmu_train_imem code
check ddr4_pmu_train_imem code pass
check ddr4_pmu_train_dmem code
check ddr4_pmu_train_dmem code pass
Training PASS
DRAM PHY training for 100MTS
check ddr4_pmu_train_imem code
check ddr4_pmu_train_imem code pass
check ddr4_pmu_train_dmem code
check ddr4_pmu_train_dmem code pass
Training PASS
DRAM PHY training for 2400MTS
check ddr4_pmu_train_imem code
check ddr4_pmu_train_imem code pass
check ddr4_pmu_train_dmem code
check ddr4_pmu_train_dmem code pass
Training PASS
Normal Boot
Trying to boot from MMC2
MMC Device 1 not found
spl: could not find mmc device. error: -19
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

but,The emmc device can be detected in uboot mode and after the Linux system is booted.

Labels (1)
0 Kudos
3 Replies

1,407 Views
igorpadykov
NXP Employee
NXP Employee

Hi 扬 杨

"MMC Device 1 not found" may mean poor signal integrity (noise) on

emmc lines, one can try to check signals with oscilloscope and use

logic analyzer. Signal shape can be improved uisng pad settings fuse option

0X490[31:24]  USDHC pad setting override Table 6-19. USDHC boot
eFUSE descriptions i.MX8MMini Reference Manual
https://www.nxp.com/webapp/Download?colCode=IMX8MMRM 

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

0 Kudos

1,407 Views
story
Contributor II

hi,

   

  sd boot:

        The emmc device can be detected in uboot mode and after the Linux system is booted.

 linux(sd boot):

 pastedImage_1.png

uboot(sd boot)

pastedImage_2.png

Does this mean that the hardware(emmc ) is normal.

 

may mean poor signal integrity (noise) on emmc lines   ????

The link you gave could not be found.

pastedImage_4.png

 

0 Kudos

1,407 Views
igorpadykov
NXP Employee
NXP Employee

additionally one can recheck boot settings and try with latest Linux L4.14.98_1.0.0
linux-imx - i.MX Linux kernel 

program emmc using uuu tool GitHub - NXPmicro/mfgtools: Freescale/NXP I.MX Chip image deploy tools. 

follow Linux L4.14.98_2.0.0 Documentation

use uuu emmc programming example in

Linux Binary Demo Files - i.MX 8MMini EVK

Best regards
igor

0 Kudos