From mboxrd@z Thu Jan 1 00:00:00 1970 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 4558FC77B61 for ; Thu, 27 Apr 2023 09:39:10 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 16A48860A3; Thu, 27 Apr 2023 11:39:04 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=metanate.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=metanate.com header.i=@metanate.com header.b="i+u2Ae1C"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 59949860AB; Thu, 27 Apr 2023 11:39:00 +0200 (CEST) Received: from metanate.com (unknown [IPv6:2001:8b0:1628:5005::111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id DAB4586073 for ; Thu, 27 Apr 2023 11:38:57 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=metanate.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=john@metanate.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=metanate.com; s=stronger; h=In-Reply-To:Content-Type:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description; bh=UHZvNPcHcyVotMKy8+7SXvqN1Y3mk57RN9bzYap31Lo=; b=i+u2A e1C2biKWZM0YguN6pMOtD1VFagERacK0wpKUVqf9ehyx/x8erDP6Yy0JHJbl09n+naW5ClXrTI0K6 06yqldBKByPTQk/7Jlw1kiQLwIR5XmPldUBn7J/6ThWc+DHxP9qhVlwwqQ0dCJNp1TjwdR3FPTJDG 0wEcCBToFRWxHF1QID8QllXYJbHEBRbvfcVuNiIYrFMbYBLqWA/zFP7/2yeSxF0SZW7xz32JYlmtk IMmOYptn2pnZTFOQjXiJbfT1d9wnEl6i+5xytN/yQ4+YdpDJKl57mdveWe8pxqpid1qz26UP/yoGH RZG+yAishPRdTzf12g6spaCpzWAZA==; Received: from [81.174.171.191] (helo=donbot) by email.metanate.com with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1pry5X-0007qO-Vo; Thu, 27 Apr 2023 10:38:57 +0100 Date: Thu, 27 Apr 2023 10:38:50 +0100 From: John Keeping To: Belisko Marek Cc: U-Boot Mailing List Subject: Re: rockpi-e sometimes fails to load u-boot.img Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Authenticated: YES X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.8 at phobos.denx.de X-Virus-Status: Clean On Wed, Apr 26, 2023 at 11:35:19AM +0200, Belisko Marek wrote: > I'm using 2022.01 u-boot. Booting from SDcard sometimes shows up this log: > U-Boot SPL 2022.01 (Jan 10 2022 - 18:46:34 +0000) > Trying to boot from MMC2 > Card did not respond to voltage select! : -110 > spl: mmc init failed with error: -95 > Trying to boot from MMC1 > mmc_load_image_raw_sector: mmc block read error > SPL: failed to boot from all boot devices > ### ERROR ### Please RESET the board ### > > and after reboot board boots fine. Is there any explanation why this > is happening pls? I expect you're hitting the issue that was fixed in v2023.01 by commit 7ff2f30b63 ("mmc: dwmmc: only clear handled interrupts"). Have you tried using a more recent version of U-Boot?