From patchwork Thu Dec 22 10:30:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Enric Balletbo i Serra X-Patchwork-Id: 1718859 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=gU6DwZwB; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NdCJb3jtLz1ydb for ; Fri, 23 Dec 2022 01:25:19 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id F0E268545F; Thu, 22 Dec 2022 15:24:44 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=redhat.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=redhat.com header.i=@redhat.com header.b="gU6DwZwB"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 89325851D7; Thu, 22 Dec 2022 11:30:48 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 C9B59851FF for ; Thu, 22 Dec 2022 11:30:45 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=eballetb@redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1671705044; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=c5nYlWqomRx++gTezVUMbW9pC1WIWtZz82K1RG5A4qQ=; b=gU6DwZwBVQS2SD2kddAvd914tbk5rvmDpPGKYYeBX10+QrDydTt8T5/qibfj/1gLHP1V1A fOXxQNxykz9tsqfSCEMH4BUc7d2qe4B06FA7hgzt3eAFxqBnIXhe9V6qjGnfANBBMSo9vz 8wNx46vweZRnW5Ntrh3fLhpvImLRcxM= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-270-8XXs4cLSNzytHzxTGIu7pg-1; Thu, 22 Dec 2022 05:30:43 -0500 X-MC-Unique: 8XXs4cLSNzytHzxTGIu7pg-1 Received: by mail-wr1-f69.google.com with SMTP id h5-20020adfa4c5000000b0026755f9b55eso299715wrb.11 for ; Thu, 22 Dec 2022 02:30:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=c5nYlWqomRx++gTezVUMbW9pC1WIWtZz82K1RG5A4qQ=; b=e5mgOkIeMIzOuu2No79HrPaT18v4nu20QMPR4oDfwLI0E9zIrdx+clyhsRBOOHm5eW tJP7tx/flUcIRr3Zf0gc1Is2DSDK1cTeHSD5UFivmV/LciivRVKohzTsM5b3u7E/If3G yZzLTWW+g+hiW/95GNhTyMo7JenFsuePV3589a7cHjLGm7gsOhVpu/5gczo3g+g39nIi dFeBYNSntr4LFMtD+Qxfvq4IdQF2yZJ7hwHFUHy2Ts7vFseXMRAU/uuTq8cFJn0zLOpK VwP6jOuKJX8Ji0NerN+aNx2cT1D1SQHV1rx/+OL0aUKfOZ/PXApwDggasXT/EWlN9Hbi BMpw== X-Gm-Message-State: AFqh2koNeFcVmasLULa8XjxA0l6o45U7N/gB3YgmOCj75VkrzaxEEYb5 9JpPHeC9NvlqV7lKi/s75OA8EiWstFpxblSeqAOjxnX4uFHDTf0thZR+3RoygSEYdGWLp+bjOVA KwQWYOs5S/Crkc1nKzSb5hEQB5EW0waJvgHaaKAG+G94Ci+cd9HTqAJSPABA/xDYIgQ== X-Received: by 2002:a05:600c:1d2a:b0:3d3:50b9:b1a1 with SMTP id l42-20020a05600c1d2a00b003d350b9b1a1mr6772064wms.1.1671705041579; Thu, 22 Dec 2022 02:30:41 -0800 (PST) X-Google-Smtp-Source: AMrXdXvryqL8zkA1vRvZMZBEmvYOq1S1dN530jWsLmmYeMAWDjTH2fo431WaR+aJY87e+YbswgMq7A== X-Received: by 2002:a05:600c:1d2a:b0:3d3:50b9:b1a1 with SMTP id l42-20020a05600c1d2a00b003d350b9b1a1mr6772050wms.1.1671705041312; Thu, 22 Dec 2022 02:30:41 -0800 (PST) Received: from localhost.localdomain ([109.167.21.147]) by smtp.gmail.com with ESMTPSA id q2-20020a1cf302000000b003d1cc0464a2sm581037wmq.8.2022.12.22.02.30.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Dec 2022 02:30:40 -0800 (PST) From: Enric Balletbo i Serra X-Google-Original-From: Enric Balletbo i Serra To: u-boot@lists.denx.de Cc: trini@konsulko.com, xypron.glpk@gmx.de, Enric Balletbo i Serra , Philippe Reynes , Simon Glass Subject: [PATCH v2 0/4] cmd: part: Add partition-related type command Date: Thu, 22 Dec 2022 11:30:28 +0100 Message-Id: <20221222103032.149098-1-eballetbo@redhat.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Mailman-Approved-At: Thu, 22 Dec 2022 15:24:36 +0100 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 This series are a consequence on the discussion of the patch [1]. It introduces some new patches in order to address the feedback received, adds the documentation and fixes a small typo found during the work on these patches. Best regards, Enric [1] https://patchwork.ozlabs.org/project/uboot/patch/20220727133534.126824-1-eballetbo@redhat.com/ Changes in v2: - New patch (1) in the series to fix a trivial type - New patch (2) in the series to introduce the documentation of the part type command - Fix typo s/partittion/partition/ in commit message - Add gpt test for the part type command - Add the man-page for part command in doc/usage/cmd Enric Balletbo i Serra (4): doc: man-page for the part command doc/README.gpt: Fix typo 'a optionnal' cmd: part: Add partition-related type command test/py: gpt: add test for the gpt partition type GUID identifier cmd/part.c | 29 ++++++++++ doc/README.gpt | 2 +- doc/usage/cmd/part.rst | 109 ++++++++++++++++++++++++++++++++++++++ test/py/tests/test_gpt.py | 23 ++++++++ 4 files changed, 162 insertions(+), 1 deletion(-) create mode 100644 doc/usage/cmd/part.rst