04-08-2021 04:58 AM - edited 04-08-2021 09:56 PM
I designed a custom board based on ZynqMP(xczu7ev). The vivado version is 2020.1.
Now I faced a problem that the u-boot could not find EMMC which I designed.
The EMMC is on SD1 port.
I could run the standalone SDK xilffs_polled_example.c properly, It could write/read/verify data with EMMC. So I could know that the hardware is right. But u-boot could not find mmc device.
U-Boot 2020.01 (Apr 08 2021 - 09:56:31 +0000)
Model: ZynqMP ZCU106 RevA
Board: Xilinx ZynqMP
DRAM: 3 GiB
usb dr_mode not found
PMUFW: v1.1
EL Level: EL2
Chip ID: zu7
NAND: 0 MiB
MMC: mmc@ff170000: 0
In: serial@ff000000
Out: serial@ff000000
Err: serial@ff000000
Bootmode: QSPI_MODE
Reset reason: EXTERNAL
Net:
ZYNQ GEM: ff0b0000, mdio bus ff0b0000, phyaddr 12, interface rgmii-id
Warning: ethernet@ff0b0000 using MAC address from DT
eth0: ethernet@ff0b0000
Hit any key to stop autoboot: 0
ZynqMP> mmcinfo
sdhci_send_command: MMC: 0 busy timeout increasing to: 200 ms.
sdhci_send_command: MMC: 0 busy timeout increasing to: 400 ms.
sdhci_send_command: MMC: 0 busy timeout increasing to: 800 ms.
sdhci_send_command: MMC: 0 busy timeout increasing to: 1600 ms.
sdhci_send_command: MMC: 0 busy timeout increasing to: 3200 ms.
sdhci_send_command: MMC: 0 busy timeout.
I've reset SD1 device tree at system-user.dtsi.
&sdhci1{ status ="okay"; clock-frequency =<50000000>; bus-width <8>; xlnx,mio_bank =<1>; no-sd; no-sdio; disable-wp; pinctrl-names ="default"; pinctrl-0 <&pinctrl_sdhci1_default>; no-1-8-v; } &pinctrl0{ pinctrl__default: sdhci1-default{ /delete-property/ mux-cd; /delete-property/conf-cd; /delete-property/ mux-wp; /delete-property/ conf-wp; } };
But it still could not work.
Anybody know why? Very appriciate for your help.