Skip to content

Commit 3862627

Browse files
committed
[fix] "mmc0: Timeout waiting for hardware interrupt" for zynq + linux kernel 4.8.17
1 parent 1c4bfd7 commit 3862627

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

target/zynq-zybo-de0-nano-soc/boot/boot.script

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ if test $config = "zynq-zybo"; then
1212
fatload mmc 0 0x03000000 $boot_image
1313
fatload mmc 0 0x02A00000 $fdt_image
1414
setenv bootargs console=ttyPS0,115200 root=/dev/mmcblk0p2 rw rootwait uio_pdrv_genirq.of_id=generic-uio
15+
if test $kernel_version = "4.8.17"; then
16+
setenv bootargs $bootargs sdhci.debug_quirks=64
17+
fi
1518
bootz 0x03000000 - 0x02A00000
1619
fi
1720
if test $config = "socfpga_cyclone5_de0_nano_soc"; then

target/zynq-zybo/boot/uEnv.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ fpga_set_cmd=run slcr_unlock_cmd && mw.l 0xF8000170 0x00100A00 && run slcr_lock_
55
boot_image=zImage-4.8.17-armv7-fpga
66
fdt_image=devicetree-4.8.17-zynq-zybo.dtb
77
linux_load_cmd=fatload mmc 0 0x03000000 $boot_image && fatload mmc 0 0x02A00000 $fdt_image
8-
linux_boot_cmd=setenv bootargs console=ttyPS0,115200 root=/dev/mmcblk0p2 rw rootwait uio_pdrv_genirq.of_id=generic-uio && bootz 0x03000000 - 0x02A00000
8+
linux_boot_cmd=setenv bootargs console=ttyPS0,115200 root=/dev/mmcblk0p2 rw rootwait uio_pdrv_genirq.of_id=generic-uio sdhci.debug_quirks=64 && bootz 0x03000000 - 0x02A00000
99
uenvcmd=run fpga_load_cmd && run fpga_set_cmd && run linux_load_cmd && run linux_boot_cmd
1010

0 commit comments

Comments
 (0)