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 A3EFDC61DA4 for ; Thu, 9 Feb 2023 15:28:10 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9565285780; Thu, 9 Feb 2023 16:27:51 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="RZlXC1N2"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 776EC857CC; Thu, 9 Feb 2023 16:27:49 +0100 (CET) Received: from mail-qt1-x82d.google.com (mail-qt1-x82d.google.com [IPv6:2607:f8b0:4864:20::82d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 5AA4085780 for ; Thu, 9 Feb 2023 16:27:46 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x82d.google.com with SMTP id q13so2294436qtx.2 for ; Thu, 09 Feb 2023 07:27:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=31LYr1k8E+OePsnrRJNi3JaYfYpmDK7Zvu3KKbiFbpM=; b=RZlXC1N2K+ZTuIpXX3UIrmn9dOdZeOZUSCVkZhWlEh303qMJ+L1kMrfXxvz7piV5O7 Mppgqt4v6Ao7bJzVN1foTQYqCc2UNFYKAE24z+rIv3dTXjyeTy69ZBbyCBkPIp+inH7k ENmgDaztZIM593NuoKwM7PPO2kZDY5kmdhceo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=31LYr1k8E+OePsnrRJNi3JaYfYpmDK7Zvu3KKbiFbpM=; b=d5jtG3+hWk5BUhdT/AOKWKGr/70363NWCtBecfM7xLhWw8KSVgyP/DzVIv93VlXVmi lJ+qioBKbIPA1njtdVmwGT9s5pLf9KVsWUQvsW8RA+CwUJ7AMGsQD5UcZ3LpGlJGTGnO qjwsZ3Xqqb/ryOukW1r31qJS4bwOt7qzkc9gG+0X7r4dLRlAkDTRILXEXEO5RHAwDx5q 713VsQLxO+eZI/973JBfhFQ02mDGS2u71zIlF6GLRCaR/AZ1OyKKoGxVoYG1nPPSl29u jB7QbIXp/GZOsCi++oKgke1ljVpr/x9bcnHbe9T78r2kIYyW6HWjbK/6QcYIgAb3vV39 Ftog== X-Gm-Message-State: AO0yUKWOJfRUHMDdyn7OADWyPhZr/N7Pg7cDFzJ6pdw1CFHc9sZbZiyV i7sukvMcOXKqFajWwxkScDAxdQ== X-Google-Smtp-Source: AK7set8yRSbL3j9VuCR41s+0r7/ronrGxXMb/5nbeuUItP9FgslUqUMGiYj9DXxZZyPHxdkBAFxBWw== X-Received: by 2002:a05:622a:19a3:b0:3ba:18e2:7de8 with SMTP id u35-20020a05622a19a300b003ba18e27de8mr19069926qtc.38.1675956465141; Thu, 09 Feb 2023 07:27:45 -0800 (PST) Received: from bill-the-cat (2603-6081-7b00-6400-538d-baa1-e57f-2a07.res6.spectrum.com. [2603:6081:7b00:6400:538d:baa1:e57f:2a07]) by smtp.gmail.com with ESMTPSA id z13-20020a37650d000000b006fef61300fesm1537041qkb.16.2023.02.09.07.27.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Feb 2023 07:27:44 -0800 (PST) Date: Thu, 9 Feb 2023 10:27:42 -0500 From: Tom Rini To: Marek Vasut Cc: u-boot@lists.denx.de, Patrice Chotard , Patrick Delaunay Subject: Re: [PATCH v2 2/2] env: mmc: Apply GPT only on eMMC user HW partition Message-ID: References: <20230209123010.31953-1-marex@denx.de> <20230209123010.31953-2-marex@denx.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="01bviTsMRJBaYfbd" Content-Disposition: inline In-Reply-To: <20230209123010.31953-2-marex@denx.de> X-Clacks-Overhead: GNU Terry Pratchett 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.6 at phobos.denx.de X-Virus-Status: Clean --01bviTsMRJBaYfbd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 09, 2023 at 01:30:10PM +0100, Marek Vasut wrote: > Apply the GPT U-Boot environment GUID type look up only on eMMC user > HW partition, do not apply the look up on eMMC boot HW partitions as > mmc_offset_try_partition() assumes either SD partitions or eMMC user > HW partition. >=20 > This fixes environment operation on systems where CONFIG_SYS_MMC_ENV_PART > is non-zero and CONFIG_SYS_REDUNDAND_ENVIRONMENT is set. >=20 > Fixes: 80105d8fd52 ("env: mmc: select GPT env partition by type guid") > Signed-off-by: Marek Vasut So you're saying that today, you cannot make use of this feature and put the environment on one of the boot partitions, as it doesn't work? If so, then yes, this is the first step forward and someone else with that wants the case I described here can fix things further. Reviewed-by: Tom Rini --=20 Tom --01bviTsMRJBaYfbd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmPlEO4ACgkQFHw5/5Y0 tywjpwv8DvLUgDaMYsu4pWc5I0av8nDZkbEe6nJwZ8uMY/8xASH9W3tfu+PEAMoh FXbSdMZTHu6Cd23wODhvsOrwWE/dG2PpaOAMSmwaevSBpupWJT9oahGzn1Dt1jUz B8AZNShZ4q+wcDL1hbcvK6pj7LiBjIjvjzJ+fNwuy13j4QkSzEfjvy+2oEATIa3Y f96YAL/STXCARB17PfvEZbCvVGj6kEzPcE2cRx3P+1giR3ilnxGTSRhgbsE21OoP bY5zj0RvRzwrO0PttRfV1EmonnDAOcl9JLzy/yShp5fTswMcuby2MjCsmvqIGnT0 LGfQXytEyvtc4jgM6IZpQoVuBQGdVk5RRuGWn4TlAM6Zz8VSBBc+2XVagYzCofe8 NHdEzgXte/SbozWK/e4ORqKss6qu5EW9mlVKtndxlnKyh/vsT1AeVrFrZXXDXyDS tir3Dd9NQHCSwyAfEYAOQd8PBq1riVJNmdyr37pFcG9AZv7s4wNRRPCVCgzpnIqe pQpj8EXa =RyaR -----END PGP SIGNATURE----- --01bviTsMRJBaYfbd--