Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BA4B9C433F5 for ; Wed, 10 Nov 2021 12:05:27 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BE6D0611ED for ; Wed, 10 Nov 2021 12:05:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org BE6D0611ED Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=gebbeth.cz Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5037083692; Wed, 10 Nov 2021 13:05:24 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=gebbeth.cz Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id E2A6E8363C; Tue, 9 Nov 2021 21:21:45 +0100 (CET) Received: from marid.gebbeth.cz (marid.gebbeth.cz [81.0.232.250]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 6EC7783630 for ; Tue, 9 Nov 2021 21:21:42 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=gebbeth.cz Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=listy@gebbeth.cz Received: by marid.gebbeth.cz (Postfix, from userid 1002) id 192063F705A; Tue, 9 Nov 2021 21:21:42 +0100 (CET) Date: Tue, 9 Nov 2021 21:21:41 +0100 From: Daniel Cizinsky To: u-boot@lists.denx.de Subject: Xilinx ZynqMP - ZCU102: SPL not able to use MMC/SD card Message-ID: <20211109202141.GA14791@marid.gebbeth.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.8.0 (2017-02-23) X-Mailman-Approved-At: Wed, 10 Nov 2021 13:05:22 +0100 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Hi! I am trying to switch to as much current vanilla SW as possible on Xilinx ZCU102 evaluation board. But I am stuck at a very early stage. I've got U-Boot + SPL + Linux kernel & userspace compilled, but even after trying hard I had no success in running SPL to read ATF, not even speaking about the main U-Boot. I keep getting (debug info included): U-Boot SPL 2022.01-rc1 (Nov 09 2021 - 13:57:10 +0100) PMUFW: v1.1 Loading new PMUFW cfg obj (2024 bytes) Silicon version: 3 EL Level: EL3 Multiboot: 0 Trying to boot from MMC2 spl: could not initialize mmc. error: -19 Trying to boot from MMC1 arasan_sdhci mmc@ff170000: Using predefined clock phase for clk-phase-legacy = 0 0 arasan_sdhci mmc@ff170000: Using predefined clock phase for clk-phase-mmc-hs = 63 72 arasan_sdhci mmc@ff170000: Using predefined clock phase for clk-phase-sd-hs = 63 60 arasan_sdhci mmc@ff170000: Using predefined clock phase for clk-phase-uhs-sdr12 = 0 0 arasan_sdhci mmc@ff170000: Using predefined clock phase for clk-phase-uhs-sdr25 = 63 60 arasan_sdhci mmc@ff170000: Using predefined clock phase for clk-phase-uhs-sdr50 = 0 72 arasan_sdhci mmc@ff170000: Using predefined clock phase for clk-phase-uhs-sdr104 = 0 135 arasan_sdhci mmc@ff170000: Using predefined clock phase for clk-phase-uhs-ddr50 = 183 48 arasan_sdhci mmc@ff170000: Using predefined clock phase for clk-phase-mmc-ddr52 = 54 72 arasan_sdhci mmc@ff170000: Using predefined clock phase for clk-phase-mmc-hs200 = 0 135 arasan_sdhci mmc@ff170000: Using predefined clock phase for clk-phase-mmc-hs400 = 0 0 arasan_sdhci mmc@ff170000: arasan_sdhci_set_tapdelay, host:mmc@ff170000, mode:0 CMD_SEND:0 ARG 0x00000000 MMC_RSP_NONE CMD_SEND:8 ARG 0x000001aa RET -110 CMD_SEND:55 ARG 0x00000000 RET -110 CMD_SEND:0 ARG 0x00000000 MMC_RSP_NONE CMD_SEND:1 ARG 0x00000000 RET -110 Card did not respond to voltage select! : -110 mmc_init: -95, time 22 spl: mmc init failed with error: -95 SPL: Unsupported Boot Device 0 SPL: failed to boot from all boot devices (err=-6) ### ERROR ### Please RESET the board ### The base address is AFAIK correct and the SPL itself has been successfully loaded from this very SD card. I suppose MMC2 lines to be a kind of necessity. I tried a few versions of U-Boot, including the last snapshot release (as shown) with exactly the same results. Any ideas? Thank you! -- Daniel Cizinsky at various lists