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 9ADFCC04A68 for ; Wed, 27 Jul 2022 14:06:42 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6E75684099; Wed, 27 Jul 2022 16:06:40 +0200 (CEST) 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="mTP/p+qe"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 422FA84044; Wed, 27 Jul 2022 16:06:38 +0200 (CEST) Received: from mail-qv1-xf2c.google.com (mail-qv1-xf2c.google.com [IPv6:2607:f8b0:4864:20::f2c]) (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 CEF3C84052 for ; Wed, 27 Jul 2022 16:06:35 +0200 (CEST) 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-qv1-xf2c.google.com with SMTP id b11so8412427qvo.11 for ; Wed, 27 Jul 2022 07:06:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=EBlon+tzmtVEd5BlyKCTZj5jMzBpCpKk/Vmkrc6I+wI=; b=mTP/p+qe6s/dkku8ZTmq2DzS72rRgxdPlTpq3Lma2aJiRpLS5lQx9BnXW1bcOppQLn IzFc7QYJldXsq17ZvK459XhCoCq0k54rzzO76n/+oSD/kY4vdY2ILZsdesh7Vl64zO/V qOjkpzTM2sn2sEPptd2XOTf8z+KxtdyTqPmUc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=EBlon+tzmtVEd5BlyKCTZj5jMzBpCpKk/Vmkrc6I+wI=; b=f89bVe15C2c4Lf9e/9PHLIqkTTDBSipOmejvZZIVOkAB/3Z2xAWALtWpKUcpS77aqj SS9UwfpmmmeTi1nAeFGctRJf8kFq2hTjhtWoFZTIUs3BK/fu9Tc7x3nslmD+14qAg7zY oLTZlI77bl4XenxyH/APFA+5LtBZSrLUcPyBtig7KTIQB6jzwY7tJEPT87OXLQEj8GPM 9UUKFM8lPHb1xFqcuc9xaKrNErLnNhrpv9PTmz72HLKciclVgnh1nKftmtypnVh0LxI4 4Ri9BF8hySf7bsO8eNZAWpMhUWplx7lJ75AI+n2HzZp6xPim66T6tVwIegIMsJ/wH2vg DsTw== X-Gm-Message-State: AJIora/U/l+V3I9zxnNxkiPG/htsfRE+Vn9m1F0/aOcXemJ3kUbktlgM tg9kv3nJt+1UqslLEtoLFuyZh7vnGzRYGdf/ X-Google-Smtp-Source: AGRyM1uDUYoS+eLVdTYJz3KTwSnI8uu3gmuzeGB7b/fPhU7WXK7x9WqIu+3Mcn6CNk7f5hGe2Zf4UQ== X-Received: by 2002:a05:6214:2269:b0:473:380c:47da with SMTP id gs9-20020a056214226900b00473380c47damr19563891qvb.23.1658930794391; Wed, 27 Jul 2022 07:06:34 -0700 (PDT) Received: from bill-the-cat (cpe-65-184-195-139.ec.res.rr.com. [65.184.195.139]) by smtp.gmail.com with ESMTPSA id p9-20020ac84089000000b0031eb5342520sm11026915qtl.15.2022.07.27.07.06.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Jul 2022 07:06:33 -0700 (PDT) Date: Wed, 27 Jul 2022 10:06:31 -0400 From: Tom Rini To: Enric Balletbo i Serra Cc: u-boot@lists.denx.de, Enric Balletbo i Serra , Heinrich Schuchardt Subject: Re: [PATCH] cmd: part: Add partition-related type command Message-ID: <20220727140631.GW1146598@bill-the-cat> References: <20220727133534.126824-1-eballetbo@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2MtIew3ciBPxlNcI" Content-Disposition: inline In-Reply-To: <20220727133534.126824-1-eballetbo@redhat.com> 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 --2MtIew3ciBPxlNcI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 27, 2022 at 03:35:34PM +0200, Enric Balletbo i Serra wrote: > This implements the following command: >=20 > part type mmc 0:1 > -> print partittion type UUID > part type mmc 0:1 uuid > -> set environment variable to partition type UUID >=20 > "part type" can be useful when writing a bootcmd which searches for a > specific partition type to enable automatic discovery of partitions and > their intended usage or mount point. >=20 > Signed-off-by: Enric Balletbo i Serra > --- >=20 > cmd/part.c | 29 +++++++++++++++++++++++++++++ > 1 file changed, 29 insertions(+) Seems reasonable. Please update some of the existing tests (I don't know if test/py/tests/test_gpt.py or test/py/tests/test_part.py or perhaps both would be easier) for v2. --=20 Tom --2MtIew3ciBPxlNcI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmLhRl0ACgkQFHw5/5Y0 tyztvgwAkRfntuhqx0zciEbxiifRUOIGYoU+NnkLY4H8ur0+X2D4ZTXQLSjTpC1z yKMgJ7sco6W3c6HheJnXQ7Lv6n97QJXyDgBR3uh8Zu5VVOHentqBpFDqjsJfeueg 3KvXEFSEpCOI32ARg7oncStRWOF2qDXwXjS6mJMAtOd1GOkQLoQ+4mPKg6ENNWUb amvmZlh1i9uMoTxfaWcSPBjtO7aaA+3C1MzwWrfhFPj441Q1tkf+L7kuR/X4zCTt bQGuKgDHB6Jjydj2HqebaOIIPOB/kE/VxY8PUTnZsyVorx7Rr3JHFJ5tc6XoP+WM suF3TVFiWjOAl/AZV47aJdDPZm9jzJ8evqS5j4q0XDwnbTqyvtTehxu1os4RTsnj VVC+mcdl8eaH4Qq4ohoSgo9KVfWTknkNVt/V213cmo3zehhUyUaTdNaD0CYtxLXD s7+KMrkqi+gEtRF+gB6krR6U8XNtjW+RPjA3vJrqexd56ScdoPpb1JxTn+Ev+u5b Dun4uf82 =aiyX -----END PGP SIGNATURE----- --2MtIew3ciBPxlNcI--