AnsweredAssumed Answered

I.MX6UL does not boot from SD

Question asked by Vitaliy Avramenko on Oct 16, 2017
Latest reply on Oct 25, 2017 by Vitaliy Avramenko

On our custom board we can boot the system from QSPI Flash without problem.

However, it does not boot from SD. Under U-Boot and Linux the SD card works without problems

when we boot from QSPI initially.

Thus, the hardware seems OK.

=> mmc dev 1
switch to partitions #0, OK
mmc1 is current device
=> mmc info
Device: FSL_SDHC
Manufacturer ID: 3
OEM: 5344
Name: SU08G
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 7.4 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
=>

 

We have the same configuration like on IMX6UL development kit.

Also, in QSPI mode on the custom board I can read 0x812 from SRC Boot Mode Register

=> md 20d8004 1
020d8004: 00000812 ....

And it matches exactly CONFIGURATIONs we have on the dev kit.

There is only one difference. The dev kit boots from the SD card.

SBC_SBMR1 shows 0x852 in that case on devkit.. And this bit maps to CFG16. 

However, when I apply  a high level signal to CFG16 the board does not boot from SD.

After power on I can see slow activity on SD2_CLK, then fast activity. It seems the board recognizes the card.

And probably starts booting. But then it fails.

Everything points to the problems with ROM Boot Loader.

 

Please let me know if there is some idea related to that issue.

Thanks in advance

Outcomes