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 503E4C433EF for ; Thu, 2 Dec 2021 08:05:54 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1CD8781294; Thu, 2 Dec 2021 09:05:52 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="h5TeGbuy"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B110F81435; Thu, 2 Dec 2021 09:05:49 +0100 (CET) Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) (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 296948128C for ; Thu, 2 Dec 2021 09:05:46 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sughosh.ganu@linaro.org Received: by mail-io1-xd33.google.com with SMTP id z18so34231677iof.5 for ; Thu, 02 Dec 2021 00:05:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Cfs9KaoqmF1xC4G1w5mxPz5w6M9cOgUbdnlY2v2gL5Y=; b=h5TeGbuy3YzEi+NGQy8twIC83+32zPFF2gIzhCf8ipkGMQP1N9kSkm3jcdtZhP+aFM WNB6fymxSynW04Yzza2uiJatWPS92lOF0h13Or4NTaH7zQXfSoL0xWF3CvmV18YM91cP aplZeeeIw8VmFwZiOWEDoKFMqQhab/9SNSTU0RylEslylGLVqQOt/uVmWzudX1bdXgzg RYmVhkKjsL481R+tfW6o8ptR1NO5OPDll3p0PDfRyg0ungxjJWEyR78VyJljv+DMgObu wc+6Y8ucPO+EnO1VSG+q3xn+u2FprEKbHnJav59KjwXqttTIXORUuJNM/bSVd13vTSys s2IQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Cfs9KaoqmF1xC4G1w5mxPz5w6M9cOgUbdnlY2v2gL5Y=; b=0DQYcTl5h7LIlQ804RsKy6AdGZ8OlBVkP014IDuYgzNxFSk+3Gnwa9to50kL8rPvWE /OeFWqC65jIUqvL3Ug5SYanzgbliJPSM3IBDOsSwO8qkpWsRJRgav1NU2NZ9CrE8fAoq yeosgucUYsvRPw572mh815pVeozaH98VNyd98uI5uB3VxnMtMEvb/jYJjZEsuIx+Hj2w fpmIcwI6eJqi/mmvaXLeOrdMDy5P+HMrRf3ca6eDCqkYVxzfRW7zxA74zixFYsTEPoPK so38wlCpld6q9WbG++K+e8npH2kx8TN6hTUOOMb06LzPIHwk8/+3EQSHnCq+w+Fg8Wlg 4iBw== X-Gm-Message-State: AOAM533drubatzp1t+glIerDOvV2aerf71u6eGsTpqcx4smSu4s6mxac YjFoP/Vzi5/J/udxG33pnUVVA3y2zGcgHxuU3UYM3XSG8eyCoQ== X-Google-Smtp-Source: ABdhPJx2mMPHa9ZFdgOa8ypmPlam91tgxFkQdNaWWdCLFZ2fykS7Pl1ElaiaSTS0gT5q5daOh/h4dYzIPM+QoK8sNw8= X-Received: by 2002:a05:6638:3795:: with SMTP id w21mr17148758jal.73.1638432344845; Thu, 02 Dec 2021 00:05:44 -0800 (PST) MIME-Version: 1.0 References: <20211125071302.3644-1-sughosh.ganu@linaro.org> <20211125071302.3644-5-sughosh.ganu@linaro.org> In-Reply-To: From: Sughosh Ganu Date: Thu, 2 Dec 2021 13:35:34 +0530 Message-ID: Subject: Re: [RESEND RFC PATCH 04/10] FWU: Add metadata access functions for GPT partitioned block devices To: Simon Glass Cc: u-boot@lists.denx.de, Patrick Delaunay , Patrice Chotard , Heinrich Schuchardt , Alexander Graf , Bin Meng , Peng Fan , AKASHI Takahiro , Ilias Apalodimas , Jose Marinho , Grant Likely , Jason Liu Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.38 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 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.2 at phobos.denx.de X-Virus-Status: Clean hi Simon, On Wed, 1 Dec 2021 at 23:32, Simon Glass wrote: > Hi Sughosh, > > On Thu, 25 Nov 2021 at 00:13, Sughosh Ganu > wrote: > > > > In the FWU Multi Bank Update feature, the information about the > > updatable images is stored as part of the metadata, on a separate > > partition. Add functions for reading from and writing to the metadata > > when the updatable images and the metadata are stored on a block > > device which is formated with GPT based partition scheme. > > > > Signed-off-by: Sughosh Ganu > > --- > > lib/fwu_updates/fwu_metadata_gpt_blk.c | 716 +++++++++++++++++++++++++ > > 1 file changed, 716 insertions(+) > > create mode 100644 lib/fwu_updates/fwu_metadata_gpt_blk.c > > Can we pick a better name than metadata? It is just so > vague...everything is metadata. > The specification calls it metadata. And the functions in this file are for accessing the metadata on a GPT partitioned block device. Do you have any alternate name for this? -sughosh