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 57C03C77B61 for ; Thu, 13 Apr 2023 20:59:02 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0D04F85D0B; Thu, 13 Apr 2023 22:59:00 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org 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=kernel.org header.i=@kernel.org header.b="rdIqlRWJ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7373885D0B; Thu, 13 Apr 2023 22:58:56 +0200 (CEST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id CE76B85D0B for ; Thu, 13 Apr 2023 22:58:50 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9EA3F641AF; Thu, 13 Apr 2023 20:58:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A2A17C433EF; Thu, 13 Apr 2023 20:58:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681419528; bh=mw93AvFXAZN1l0wZHtHUMOG2uZspxgHOAnP+pK5b/fo=; h=From:To:Cc:Subject:Date:From; b=rdIqlRWJ2NgPwHhjyzuuImyuWNixwuviB1/pQt/ReckkU3pJ11beDCrLDu70CQEBF pE6E0t0Geqp3He3blvNGHTB159nz8aKOP29I5WwECv5YHTRiKZe2XBQWiXNt4CZL7Z Iq4MN0KaNuYOfjiAaJKIomVLjs98bwKpkannMXWZiOJVDmE8rb/ozomAwvrqUCR5d5 ClzC6nawMcmJqO8n9Gw2sQ/PwaR19DZtkYZIFh5kCZBF1cxL0X5kZ51Bbtule/Vn3b 8+smDjnsXhWsXl24VnrFPPxqG3iVpjRyW/jbvB1cMmcmjD2+hE50tIchYL3l7UOUPC L3qXItpeujjFg== Received: by pali.im (Postfix) id 56AB9788; Thu, 13 Apr 2023 22:58:46 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Stefan Roese Cc: Martin Rowe , u-boot@lists.denx.de Subject: [PATCH v2 u-boot-mvebu 0/4] arm: mvebu: Fix eMMC boot Date: Thu, 13 Apr 2023 22:57:46 +0200 Message-Id: <20230413205750.10641-1-pali@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Boot configuration stored in EXT_CSD[179] register is completely ignored by BootROM: https://lore.kernel.org/u-boot/CAOAjy5SYPPzWKok-BSGYwZwcKOQt_aZPgh6FTbrFd3F=8DM5ZQ@mail.gmail.com/ Instead eMMC partition use for booting has to be extracted from Partition access bits: https://lore.kernel.org/u-boot/CAOAjy5SNrLJ=JAKf96Nf7HkFBXWbZLmWAhEs6nEEHS6UEhQbJw@mail.gmail.com/ Reflect this eMMC booting in documentation and in the code. This patch series does not address 5 minutes timeout as nobody reacted to the email: https://lore.kernel.org/u-boot/20230401164345.iwfu7nd5jgbjtpzl@pali/ Pali Rohár (4): tools: kwboot: Fix MMC partitions documentation mmc: Read eMMC partition access bits before card reset arm: mvebu: spl: Load proper U-Boot from correct eMMC partition arm: mvebu: clearfog: Update eMMC/SD/SATA instructions arch/arm/mach-mvebu/spl.c | 10 ++++++++-- board/solidrun/clearfog/README | 20 ++++++++++---------- drivers/mmc/mmc.c | 31 ++++++++++++++++++++++++++++--- tools/kwboot.c | 9 ++++++--- 4 files changed, 52 insertions(+), 18 deletions(-) -- 2.20.1