From patchwork Tue Jan 10 16:19:31 2023 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: 1724179 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=PFiFmPYo; 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 4Nrx2z384Lz23gB for ; Wed, 11 Jan 2023 03:24:11 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 76EF48569D; Tue, 10 Jan 2023 17:21:23 +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="PFiFmPYo"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 095708549A; Tue, 10 Jan 2023 17:19:49 +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.129.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 5B5298539D for ; Tue, 10 Jan 2023 17:19:46 +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=1673367585; 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=5VAfKiZOdLZ38LDjEIOwI5z1VACVAo0FK4sutA3x4YU=; b=PFiFmPYoMA1S0P694lUX3Wc30UcoYiqegedPGP26EmrFUTPNDtgEOx8snlwFdbCnGwW/dk 0+7TJ0yzeKFjAT49z132Si3yhWzl4ZwRCotqVFbxXI8keJaE4+EWs8hpN5CTZWPRfTfBcC ns5JCwVczCMNshIN07TH8j4hKI5DrDg= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-211-b0xPljGLMj65pu2OVbgG0w-1; Tue, 10 Jan 2023 11:19:44 -0500 X-MC-Unique: b0xPljGLMj65pu2OVbgG0w-1 Received: by mail-wm1-f69.google.com with SMTP id bi11-20020a05600c3d8b00b003d9ebf905c9so3891871wmb.5 for ; Tue, 10 Jan 2023 08:19: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=5VAfKiZOdLZ38LDjEIOwI5z1VACVAo0FK4sutA3x4YU=; b=GBLj2hgJYp9+mQhx1fuG5Zw+eGlCMbelJnYuVTuEyQTE/dujIwzMROUZmuXVaKUwpd fQWpbzAfua9PnS3l4s1gabIgG/+cd+gsQ2BSUfYa0VAsYN4kYzYGC+7qtHXYf3b5zpyv 2UUpPg2zywf4Wz2cHDzlXnYUXWxBVyDePwv0k5Uy5sT6Xxt3aYzXelOjzsnOEWT7ZsKJ HXhOqP5Oa4EMC9dxuAVTq2ve0jNtiBdcOELlipexNA10ImqS772ewO0Q+ggqgzhH4+79 AETMDEOvsWee7n4NU2UzRXHMyAs3INCTiACCNQL+kfCF2aRRXIelQOYUNAH4Sx2cDeVl uc8w== X-Gm-Message-State: AFqh2kpxDi0X4e2oEbgW83B9vyQSPTfl0qJFfNUahsmenbCVZ/KmZNoq gzXa/kHh4wjo53KmK0uVnYw6Gl0y9ngnXVZK9whF1s77vqNEXlOlwbiirCCQ//67L2g/+A4l7X7 Y5dNqJ2ffADP7TtdTRm5IxB0wJ8/Zf/Al9fwAVH9hp2WBV31l3te6mwyW/03YU6qGKg== X-Received: by 2002:a5d:620e:0:b0:242:7307:ae04 with SMTP id y14-20020a5d620e000000b002427307ae04mr38843126wru.57.1673367582705; Tue, 10 Jan 2023 08:19:42 -0800 (PST) X-Google-Smtp-Source: AMrXdXuKZDVmpbjBCervIZGwjXUTc5r3XOrLlmuQxvW19o002J0uftudcNAHGwMODRAy4lu58F/9iQ== X-Received: by 2002:a5d:620e:0:b0:242:7307:ae04 with SMTP id y14-20020a5d620e000000b002427307ae04mr38843106wru.57.1673367582476; Tue, 10 Jan 2023 08:19:42 -0800 (PST) Received: from fedora.. (215.red-79-157-73.dynamicip.rima-tde.net. [79.157.73.215]) by smtp.gmail.com with ESMTPSA id m1-20020a5d6241000000b002bbdaf21744sm8669803wrv.113.2023.01.10.08.19.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Jan 2023 08:19:42 -0800 (PST) From: Enric Balletbo i Serra X-Google-Original-From: Enric Balletbo i Serra To: u-boot@lists.denx.de Cc: xypron.glpk@gmx.de, trini@konsulko.com, Enric Balletbo i Serra , Bin Meng , Ilias Apalodimas , Philippe Reynes , Roger Knecht , Simon Glass , Sughosh Ganu Subject: [PATCH v3 0/4] cmd: part: Add partition-related type command Date: Tue, 10 Jan 2023 17:19:31 +0100 Message-Id: <20230110161936.526455-1-eballetbo@redhat.com> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Mailman-Approved-At: Tue, 10 Jan 2023 17:21:21 +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 v3: - Add the entry in doc/usage/cmd/index.rst. - Provide examples for the other sub-commands. - Fix return value chapter, 0 (true) on success and 1(false) on error. - Add reviewed by tags 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 | 154 ++++++++++++++++++++++++++++++++++++++ doc/usage/index.rst | 1 + test/py/tests/test_gpt.py | 23 ++++++ 5 files changed, 208 insertions(+), 1 deletion(-) create mode 100644 doc/usage/cmd/part.rst