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 27F73C77B7A for ; Mon, 29 May 2023 08:39:47 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id EB0A58565A; Mon, 29 May 2023 10:39:44 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (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=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="WTkkD6HU"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6819885723; Mon, 29 May 2023 10:39:43 +0200 (CEST) Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) (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 19E6A84662 for ; Mon, 29 May 2023 10:39:41 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=rui.silva@linaro.org Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-3f611ccd06eso19518755e9.0 for ; Mon, 29 May 2023 01:39:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685349580; x=1687941580; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=EWpI+8T9gPk+emctxb4yRGnL3oIbMCQmh9XaEmnAwzc=; b=WTkkD6HUfrbhdTYH9j3CAlTlZF2XJLqC8hQjliHiBZyBRjufiUhYc6k664eN5f8xtf TcMxPw4mpRLdh5RgQzXE/9NlugBsfvMlkJJcSYnSxFb6rbVU39sdDoCR9E0Jl+JbUb25 kt1R8ePDhxAKmU8ifOXHs5GgNznJMlfM4FpWHhXsnMwfVk+4ovi1e+E9MK2ZQHmYwaY8 IbFq72GUifeuoZBU7sCPioxMz1woqXty0997jC27SZF5vjR2oJvUWbs61GtIM/cVc8z5 rlx+O1aZCKV03r8xtH/i0+B5c/1ARl1njWrjWea6G/TVjoPSFqQrADH1ASqCDGt+cYNn mF2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685349580; x=1687941580; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=EWpI+8T9gPk+emctxb4yRGnL3oIbMCQmh9XaEmnAwzc=; b=FklR2eoXlNPC94MTaTYlcFeA8Zp0hrKJiRejA6EZMYGMSDurDZLHd4MTJ6aRF39mQg MTzzst5oz1qmfJGgsOcllG+NJBNlfGxwuCR3hiMYT8fczYYoxbW8GDFWO1fKjRbJmHnH 7wUTCjRLtmRGZfxJ6LA6QsUez0pRd9qR4nvH4IVKeqPri+iAJpKTjGZn2vVVAIeubhsb QGBrrVivl5DhmT//HP4FGEFGQxQ4W9KJ1pjhonhNp2kFrjs317XHDyRV8a5QF5gCyS8d YAIjvwoBa9tvUJXCFPj+wyG8IR3zvpddPJItqMGWHcNeYhv3MGvzAxge1U/0rdFKlFOt cXOg== X-Gm-Message-State: AC+VfDyIBhd/TyvsdkOSLKuNe0pt0rV9yGCEMGb/XWPW/WO+F+zu7H5p aw7/A3hHiTcI6F7OT2h5Dhb7SPoDw1HlKYzIlBQ= X-Google-Smtp-Source: ACHHUZ4zuzGXwGemnXuuFHkKBZN1UO345MyTTPXYXj6yPcXwNrwDXgz0PIegR7FbyJXirQj3PX9Z/A== X-Received: by 2002:a7b:c7d4:0:b0:3f6:d09:5d46 with SMTP id z20-20020a7bc7d4000000b003f60d095d46mr7964049wmk.20.1685349580232; Mon, 29 May 2023 01:39:40 -0700 (PDT) Received: from localhost (a109-49-33-111.cpe.netcabo.pt. [109.49.33.111]) by smtp.gmail.com with ESMTPSA id n26-20020a7bcbda000000b003f60482024fsm13504890wmi.30.2023.05.29.01.39.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 May 2023 01:39:39 -0700 (PDT) From: Rui Miguel Silva To: u-boot@lists.denx.de Cc: Simon Glass , Tom Rini , Ilias Apalodimas Subject: Re: [PATCH 0/6] corstone1000: fwu metadata and GPT In-Reply-To: References: <20230502131200.2551513-1-rui.silva@linaro.org> Date: Mon, 29 May 2023 09:39:39 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain 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.8 at phobos.denx.de X-Virus-Status: Clean Hi, Rui Miguel Silva writes: > Hi, > Rui Miguel Silva writes: >> Now that the nvmxip block driver is merged we can add on top >> of it the platform code to use GPT and FWU metadata in the >> Corstone1000. >> >> But first, push 2 fixes that are needed to make all this work: >> - move nvmxip header to include >> - setup fwu metadata structures as packed (we have a 32bit >> writer - Secure enclave Cortex-M0 and a 64bit reader host >> Cortex-A35) > > Gentle ping. > > Cheers, > Rui It would be great to have some feedback on this ones. Many thanks. Cheers, Rui >> >> Cheers, >> Rui >> >> Rui Miguel Silva (6): >> fwu_metadata: make sure structures are packed >> nvmxip: move header to include >> corstone1000: add fwu-metadata store info >> corstone1000: add boot index >> corstone1000: set kernel_addr based on boot_idx >> corstone1000: add nvmxip, fwu-mdata and gpt options >> >> arch/arm/dts/corstone1000.dtsi | 7 ++- >> board/armltd/corstone1000/corstone1000.c | 73 +++++++++++++++++++++- >> board/armltd/corstone1000/corstone1000.env | 10 +-- >> configs/corstone1000_defconfig | 14 ++++- >> include/fwu_mdata.h | 6 +- >> {drivers/mtd/nvmxip => include}/nvmxip.h | 0 >> 6 files changed, 95 insertions(+), 15 deletions(-) >> rename {drivers/mtd/nvmxip => include}/nvmxip.h (100%) >> >> -- >> 2.40.0