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 4E27CC7EE32 for ; Mon, 5 Jun 2023 18:05:12 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 979EA846F7; Mon, 5 Jun 2023 20:05:10 +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="VrM4EH4P"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E595B8476C; Mon, 5 Jun 2023 20:05:07 +0200 (CEST) Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) (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 1B2FF81298 for ; Mon, 5 Jun 2023 20:05:04 +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-x336.google.com with SMTP id 5b1f17b1804b1-3f78a32266bso15248955e9.3 for ; Mon, 05 Jun 2023 11:05:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685988303; x=1688580303; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=LLnQnuCh8p3cQSLoQrarWXrJjjtsPLrstOqXVSFAbU0=; b=VrM4EH4Pnw/24p+MaQKfgzrjD7o3xrNTqis6L8LWmjUYciagwV9TdvHE8vk8SoLn4X AXl3zOQfQZ9/tuVNb5H9IRQmXZbSiQdfImxOxfUROLr0fAn5AJ25HebpPFATMb5qf3Za UFNOHapbFWYCIac6h3ZCACw3HOqjcOVC4/57UvXnWb4Hjm/qykZXnt/h3lXTFyJtu4le 5cUV3I3nLO/ja7r7Wi2n11grffSHJ7n5WmamTeaWGpVdBnXkt8MxVuKgkco7k5WmLE6e aosEaeWZI8ehKGFXrdkXgMHc2aG/M0CspnYOHIB/VnC54iK+WgMjUsY0OXbf+LrFxYJY vlaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685988303; x=1688580303; 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=LLnQnuCh8p3cQSLoQrarWXrJjjtsPLrstOqXVSFAbU0=; b=kf5YyrwOvy+dX46odXGj6Q/edxGcDOH0bmKf1d9VCETjsj6724l2+AaTkwZkeDdDL+ 95iV+tHl+HGG29Co4atW3qKQjuZ7MER6TQizHyR505xXFIExwuZ8NusVkZ2xNuASVmLm 7LIZWJsiubxc7H3q42GZobIsvOcV30yQ7K3TA6G6CXVy/t74bTHLE/KCAK6B5trs6aB+ Q32FLp2LiK71ZvgcRj9WNIcw1F67JoTJJ4YtgDU9Degbj3f/ntWPJlulLaBq+PbX3Kba b5dv7pcbDGhwCZewsFoz5bZD9SXc2lHA+fkPQat/5hhwNt5+Tb10K1098MRGRZq4Of59 RkrA== X-Gm-Message-State: AC+VfDxg4Uk7TqwKk5UFHfJ20F+pxKDbFmKFpKm0UIBWMEWjvyS/itAn HkcLkwu/V+riXUEos25DSWZEmAQHGe5l8Q3LfN0= X-Google-Smtp-Source: ACHHUZ5IXuTXkzBECgliMPnfXbJYYGutWYHbcDuk1E84dvcksnk5bKw0cGkASsq9I/54OIegZ1MLJg== X-Received: by 2002:a5d:594b:0:b0:30e:3f51:c5c4 with SMTP id e11-20020a5d594b000000b0030e3f51c5c4mr3626080wri.46.1685988303124; Mon, 05 Jun 2023 11:05:03 -0700 (PDT) Received: from localhost (a109-49-33-111.cpe.netcabo.pt. [109.49.33.111]) by smtp.gmail.com with ESMTPSA id n16-20020a1c7210000000b003f736e28cd6sm6163601wmc.4.2023.06.05.11.05.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Jun 2023 11:05:02 -0700 (PDT) From: Rui Miguel Silva To: u-boot@lists.denx.de Cc: Simon Glass , Tom Rini , Ilias Apalodimas Subject: Re: [PATCH v2 0/6] corstone1000: fwu metadata and GPT In-Reply-To: <20230529140229.3225090-1-rui.silva@linaro.org> References: <20230529140229.3225090-1-rui.silva@linaro.org> Date: Mon, 05 Jun 2023 19:05:01 +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 all, 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) > > Cheers, > Rui > > v1 [0]-> v2: > Ilias: > - add Reviewed-by tag in patch 1/6 > > Heinrich: > - fix test include nvmxip header after the move to include/ > in patch 2/6 Any other feedback on this version? Thanks in advance. Cheers, Rui > > [0]: https://lore.kernel.org/u-boot/20230502131200.2551513-1-rui.silva@linaro.org/ > > 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 > test/dm/nvmxip.c | 2 +- > 7 files changed, 96 insertions(+), 16 deletions(-) > rename {drivers/mtd/nvmxip => include}/nvmxip.h (100%) > > -- > 2.40.1