We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 47113

13.4 EDK [Zynq QEMU] "mmc0: Timeout waiting for hardware interrupt"


I am using Ubuntu 11.1 32 bit and have done the following:

1. Downloaded the QEMU sources from http://wiki.xilinx.com/zynq-qemu
2. Compiled with the options set as per the Xilinx wiki page.
3. Downloaded the ZynqQEMU precompiled image to get the zImage and dtbs
4. Copied the compiled qemu-system-arm executable into ZynqQEMU precompiled and execute start_qemu.sh

I have now come across several occurrences of "mmc0: Timeout waiting for hardware interrupt" and cannot continue.


To resolve this issue, modify the xilinx_zynq.dts file that comes with the qemu download and comment out the sdhci interfaces as below:

// sdhci@e0100000 {
// compatible = "generic-sdhci";
// reg = <0xe0100000 0x1000>;
// interrupts = <0x38 0x0>;

// // compatible = "generic-sdhci";
// reg = <0xe0101000 0x1000>;
// interrupts = <0x4f 0x0>;

After modifying the dts you can compile a new dtb with the device tree compiler in Linux using the following command:

./linux-2.6-xlnx/scripts/dtc/dtc -I dts -O dtb -o xilinx_zynq.dtb xilinx_zynq.dts

This is run from the QEMU emulation directory and the Linux Kernel directory is one directory above.

AR# 47113
Date Created 04/04/2012
Last Updated 11/21/2014
Status Active
Type General Article
  • Zynq-7000
  • EDK - 13.4