The image works fine for some time after that I get the following error while using the AD9371 with SD card.
mmc0: Timeout waiting for hardware interrupt.[ 253.247442] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========[ 253.253866] mmc0: sdhci: Sys addr: 0x00000050 | Version: 0x00001002[ 253.260289] mmc0: sdhci: Blk size: 0x00007200 | Blk cnt: 0x00000000[ 253.266713] mmc0: sdhci: Argument: 0x00642700 | Trn mode: 0x0000002b[ 253.273137] mmc0: sdhci: Present: 0x01ff0000 | Host ctl: 0x0000001f[ 253.279561] mmc0: sdhci: Power: 0x0000000f | Blk gap: 0x00000080[ 253.285985] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x00000207[ 253.292409] mmc0: sdhci: Timeout: 0x00000009 | Int stat: 0x00000003[ 253.298832] mmc0: sdhci: Int enab: 0x02ff008b | Sig enab: 0x02ff008b[ 253.305256] mmc0: sdhci: AC12 err: 0x00000000 | Slot int: 0x00000001[ 253.311680] mmc0: sdhci: Caps: 0x35ecc881 | Caps_1: 0x00002007[ 253.318104] mmc0: sdhci: Cmd: 0x0000193a | Max curr: 0x00000000[ 253.324528] mmc0: sdhci: Resp: 0x00000900 | Resp: 0x0076b27f[ 253.330951] mmc0: sdhci: Resp: 0x325b5900 | Resp: 0x00000900[ 253.337375] mmc0: sdhci: Host ctl2: 0x00000000[ 253.341803] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000700a4278[ 253.348920] mmc0: sdhci: ============================================
Seems to be an SD card issue, I changed the SD card multiple times. We have three boards here tried changing the boards too but no luck. Can someone please help me with this issue.
This is a custom image that I made using petalinux with analog devices linux (master branch) and u-boot-xlnx (2018.3).
SD card boots fine, however the error occurs whenever I connect to the board via hardware manager in vivado.
After disconnecting from the hardware manager and resetting the SD card boots again.
On the boot partition, there is an uEnv.txt file. can you add at the end of bootargs line cpuidle.off=1 ?
Should look something like:
bootargs=console=ttyPS0,115200 root=/dev/mmcblk0p2 rw earlyprintk rootfstype=ext4 rootwait cpuidle.off=1
I wanted to add that I was having the exact same issues with the ADRV9009 and ZCU102 board where I was trying to add ILA cores and I could not communicate with the ZynqMP. The addition of the cpuidle.off=1 to uEnv.txt was the solution. Thank you!