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 90934E77187 for ; Wed, 18 Dec 2024 10:39:59 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3059780288; Wed, 18 Dec 2024 11:39:55 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=foss.st.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=foss.st.com header.i=@foss.st.com header.b="oL9hdiWj"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id F0CD78021D; Wed, 18 Dec 2024 11:39:53 +0100 (CET) Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) (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 D616280288 for ; Wed, 18 Dec 2024 11:39:50 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=prvs=2082afbf55=patrice.chotard@foss.st.com Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4BI6oGQR032714; Wed, 18 Dec 2024 11:39:38 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=selector1; bh= IIGSxr/BX46WY461Idqkp/cuB6STl8uBRZhl134PQZo=; b=oL9hdiWj+Guw+zYV 2p4U/TWJgambq1wwplKbtse81pNP3IwuQUiEsnyE03TqZ/Yatmb9Z1a7lTIcPN74 ESL2z3D7MGP0iNTDju3L1Ao42vcuRhjYZCSrPpVe62cic0CSNeaV7KJ1L5Y1QCzx 4JFnZglQbz4/NTi77qiXN/DtU59tqxGtvB2SM6qS3s7JvUF6cHwqZ3UN+gxb4OhX bC5VStbk40oe+13865LJcKX1nif8YIFxozo5wA3XnWeKjlEMsMT0fj0Q3IOtSAnE DzIwJAUt/wPlZFrcSBJkEx3y9M0Iogs3GAWFpQSu1gOdPoLZobu68XgwiZNX62gn aq+zaA== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 43ksfrgyvr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 18 Dec 2024 11:39:38 +0100 (CET) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id C01B34004F; Wed, 18 Dec 2024 11:38:36 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 5DD0326354E; Wed, 18 Dec 2024 11:38:08 +0100 (CET) Received: from [10.48.87.62] (10.48.87.62) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.37; Wed, 18 Dec 2024 11:38:07 +0100 Message-ID: <782a079c-36e1-4f18-856e-35bbafca4e03@foss.st.com> Date: Wed, 18 Dec 2024 11:38:07 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/4] ARM: dts: stm32: Reinstate SPL_SYS_MMCSD_RAW_MODE on DH STM32MP15xx DHSOM From: Patrice CHOTARD To: Marek Vasut , CC: Igor Opaniuk , Patrick Delaunay , Simon Glass , Tom Rini , , References: <20241215233011.569287-1-marex@denx.de> <20241215233011.569287-2-marex@denx.de> <4dc85e80-3c73-4db0-8c47-2aaf7c35373a@foss.st.com> Content-Language: en-US In-Reply-To: <4dc85e80-3c73-4db0-8c47-2aaf7c35373a@foss.st.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.48.87.62] X-ClientProxiedBy: SHFCAS1NODE1.st.com (10.75.129.72) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 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 12/18/24 11:32, Patrice CHOTARD wrote: > > > On 12/16/24 09:54, Patrice CHOTARD wrote: >> >> >> On 12/16/24 00:29, Marek Vasut wrote: >>> Commit 2a00d73d081a ("spl: mmc: Try to clean up raw-mode options") >>> broke booting from SD card on STM32MP15xx , reinstate raw mode SD >>> boot configuration options and select the correct raw mode partition >>> for STM32MP15xx to fix SD boot on STM32MP15xx DHSOM. >>> >>> Fixes: 2a00d73d081a ("spl: mmc: Try to clean up raw-mode options") >>> Reported-by: Patrice Chotard >>> Signed-off-by: Marek Vasut >>> --- >>> NOTE: For 2025.01 >>> --- >>> Cc: Igor Opaniuk >>> Cc: Patrice Chotard >>> Cc: Patrick Delaunay >>> Cc: Simon Glass >>> Cc: Tom Rini >>> Cc: u-boot@dh-electronics.com >>> Cc: u-boot@lists.denx.de >>> Cc: uboot-stm32@st-md-mailman.stormreply.com >>> --- >>> configs/stm32mp15_dhsom.config | 3 +++ >>> 1 file changed, 3 insertions(+) >>> >>> diff --git a/configs/stm32mp15_dhsom.config b/configs/stm32mp15_dhsom.config >>> index efc149577ea..04ee9bfc444 100644 >>> --- a/configs/stm32mp15_dhsom.config >>> +++ b/configs/stm32mp15_dhsom.config >>> @@ -57,11 +57,14 @@ CONFIG_SPL_SPI_FLASH_SUPPORT=y >>> CONFIG_SPL_STACK=0x30000000 >>> CONFIG_SPL_SYS_MALLOC=y >>> CONFIG_SPL_SYS_MALLOC_SIZE=0x1d00000 >>> +CONFIG_SPL_SYS_MMCSD_RAW_MODE=y >>> CONFIG_SPL_TEXT_BASE=0x2FFC2500 >>> CONFIG_SPL_USB_GADGET=y >>> CONFIG_STM32_ADC=y >>> CONFIG_SYSRESET_SYSCON=y >>> CONFIG_SYS_BOOTCOUNT_ADDR=0x5C00A14C >>> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=0x3 >>> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION=y >>> CONFIG_SYS_MALLOC_F_LEN=0x3000 >>> CONFIG_SYS_PBSIZE=1050 >>> CONFIG_PREBOOT="run dh_preboot" >> >> Reviewed-by: Patrice Chotard >> Thanks >> Patrice > Applied to u-boot-stm32/next > > Thanks > Patrice Sorry, applied to u-boot-stm32/master Thanks Patrice