cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ozdenerdinc
Visitor
Visitor
843 Views
Registered: ‎03-12-2020

ENCLUSTRA XU5 PETALINUX EMMC BUSY TIMEOUT ERROR

Hello,

I have a custom board with XCZU4EV-1SFVC784I fpga which belongs XU5 family produced by Enclustra. I receive following error:

[14:16:14:420] Hit any key to stop autoboot: 4 <0x08><0x08><0x08> 3 <0x08><0x08><0x08> 2 <0x08><0x08><0x08> 1 <0x08><0x08><0x08> 0 ␍␊

[14:16:19:664] sdhci_send_command: MMC: 0 busy timeout increasing to: 200 ms.␍␊

[14:16:19:783] sdhci_send_command: MMC: 0 busy timeout increasing to: 400 ms.␍␊

[14:16:19:982] sdhci_send_command: MMC: 0 busy timeout increasing to: 800 ms.␍␊

[14:16:20:365] sdhci_send_command: MMC: 0 busy timeout increasing to: 1600 ms.␍␊

[14:16:21:162] sdhci_send_command: MMC: 0 busy timeout increasing to: 3200 ms.␍␊

[14:16:22:772] sdhci_send_command: MMC: 0 busy timeout.␍␊

[14:16:22:788] sdhci_set_clock: Timeout to wait cmd & data inhibit␍␊

[14:16:22:804] sdhci_set_clock: Timeout to wait cmd & data inhibit␍␊

[14:16:22:820] sdhci_set_clock: Timeout to wait cmd & data inhibit␍␊

[14:16:26:025] sdhci_send_command: MMC: 0 busy timeout.␍␊

[14:21:01:796] ZynqMP> mmc list␍␊

[14:21:04:990] mmc@ff160000: 0␍␊

[14:21:04:990] mmc@ff170000: 1 (SD)␍␊

 

 

I know they have their own linux build system(EBE) which creates neccessary image files but it gaves "bad mmc device" error. However I have to use petalinux because it allows me to change specific controls which EBE can't. 

Contacted with enclustra support but it couldn't solve my problem yet. I got different kind of patches from them about emmc device in addition to device tree modifications but still couldn't make any progress.

By the way, I have another image files for control purpose for booting device. It boots perfectly, so it can't be the sd card or sd card slot or board itself.(I can't use it because it belongs to another project which has a different hardware.)  

I searched to internet and came up with nothing. All I found is other patches which gives error in my side.

Can anyone help me to figure out the problem?       

Thank you..     

Tags (3)
0 Kudos
3 Replies
wbyjerry
Adventurer
Adventurer
724 Views
Registered: ‎07-29-2013

0 Kudos
patocarr
Teacher
Teacher
677 Views
Registered: ‎01-28-2008

Hi @ozdenerdinc 

  Any luck accessing MMC from U-Boot? I have a similar XU5 from Enclustra and seeing the same messages.

 

Thanks,

-Pat

 

Give kudos if helpful. Accept as solution if it solves your problem.
https://tuxengineering.com/blog

0 Kudos
patocarr
Teacher
Teacher
638 Views
Registered: ‎01-28-2008

Hi folks,

  I have solved the MMC timeout issue in U-Boot by setting the PSU SDIO0 clock from 50 MHz to 100 MHz.

 

Thanks,

-Pat

 

Give kudos if helpful. Accept as solution if it solves your problem.
https://tuxengineering.com/blog

0 Kudos