i.MX8MINI custumized board not booting the error messages are ---> spl: could not find mmc device. error: -19 and SPL: failed to boot from all boot devices

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

i.MX8MINI custumized board not booting the error messages are ---> spl: could not find mmc device. error: -19 and SPL: failed to boot from all boot devices

1,540 Views
PramodKumar
Contributor IV

We design our board based on i.MX8MINI processor. Board is giving the debug messages but failed to boot kernel abd RFS.

The main components are mounted on our boards as given below:

 

  1. CPU:    MIMX8MM6DVTLZAA make NXP
  2. DDR4:   24Gb:  MT53B768M32D4NQ-062 WT:B TR make Micron
  3. eMMC : 64Gb  THGBMHG6C1LBAIL make Toshiba also SD card connector.

and are able to urn the board giving some messages as given below

U-Boot SPL 2018.03-imx_v2018.03_4.14.98_2.0.0_ga+g87a19df5e4 (Oct 09 2019 - 05:57:03 +0000)
power_bd71837_init
DDRINFO: start lpddr4 ddr init
DRAM PHY training for 3000MTS
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 3000MTS
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
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
Normal Boot
Trying to boot from MMC1
MMC Device 0 not found
spl: could not find mmc device. error: -19
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

The board is not getting the boot device that currentlt I am using SD card.

Please guide me that how to over come this issue.

Regards,

Pramod Kumar

Labels (1)
0 Kudos
Reply
2 Replies

1,408 Views
Kishore_Kadari
Contributor I

Hello all

I had the same problem with IMX8M mini EVK, I have been using the OS from NXP Linux download page from  "Get started with the iMX 8M Mini EVK" ( https://www.nxp.com/webapp/Download?colCode=L4.14.78_1.0.0_MX8MM&appType=license). I was using the SD card(obtained from the IMX 8 M Mini  board) and flashed Linux instead of the original OS in the industrial version SD card(android), it did not work?( I have formatted the SD card when I got an error while writing it to SD card using disk imaging tool, which in turn behaved weird by showing less memory than its capacity, please look for the below section to avoid my mistake) 

I have found that the custom OS we built was working on new OS. 

1. Few things learned while flashing the OS on SD card: To avoid errors, make sure all the file system tabs are closed while writing the OS into an SD card using any disk Imaging software( I used WIN32DiskImager)

 

 

Thanks

Kishore Kadari

0 Kudos
Reply

1,418 Views
igorpadykov
NXP Employee
NXP Employee

Hi Pramod

seems mmc number is wrong in boot parameters, one can check

nxp linux documentation (Linux Guide) available on i.MX Software | NXP 

or check third party tutorials:

https://boundarydevices.com/yocto-release-for-i-mx-8mm/ 

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

0 Kudos
Reply