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 E2F5BC77B7E for ; Tue, 2 May 2023 13:12:18 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D45C98472B; Tue, 2 May 2023 15:12:16 +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="IE4saJWt"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D7A2784737; Tue, 2 May 2023 15:12:15 +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 7D73884726 for ; Tue, 2 May 2023 15:12:13 +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-3f182d745deso36638275e9.0 for ; Tue, 02 May 2023 06:12:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683033132; x=1685625132; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=OsBjX7TbCZvg/F4AbMEGj2aHfY+GoeyZNBpvaa21rCc=; b=IE4saJWtmEnEmkYtFGc5XUHqxZDWy1S/HPw2wkQFCwr5NvobYone/XTKhBqri8rQM0 FugfbtHgwOnySCbQsYVfE1P5aHM6YDs5pMUf3K3VZwf2F69tuZbaPiplKUMhafSfFlHY TaRxQCUd0TaszAq++EdLKYBiYwIipt3V3U55lWkdl5vZwDsgPCxjTwjDNi+7mrknEM36 wJlN1oPMdOJldSu8FsVVeaId+4f+c89rYHUNOcdgrEyvPthr6XGdfiEHnZQgUPZBUwB5 VgVN574CjYCbOvUy5vjIvdBQyJbDqsMslcaBWN7NR58fP6aJJ2pQFwdQiii5b3o60ESf n5qQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683033132; x=1685625132; 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=OsBjX7TbCZvg/F4AbMEGj2aHfY+GoeyZNBpvaa21rCc=; b=CGz46a1W2yQfPqfcKdPeXf1J6tgA4zk5IFuz+NE14xINdcdUVFmJw45k1ZuXLHHGnN y92obe0hFiBkJmjcJ24rYpoWBgM3zpy6qXUro+igee2Ol/OEo6N5m0WUKDGcHJeTWJf5 edP64tznJ7G1rzXxdK0wKRFiYXkEDiNEJ5EUVMCgPyhrgGTgZR6ITV0iYqi6a0vHCih/ leKuPRayHwN84ZenfihwujoGaWeJ/r2lJl32Rv8VHLUTMqS+B5ifrT4TwWmjv+X0pREs lGvLvgYRYHZKIu3Jo3sNGsXaiqoCOGJNFCrWChTWbI3x6v5pjFRz46BbYHkXhkpuqU8U mr4Q== X-Gm-Message-State: AC+VfDxq6HWh/dAm5oEXxBMKyxOQc1ux/2T3J7WrY5X2sNbWxPW95jHt L5EoJTv7JRLuBpxJS3nXV2CaFnmH3vr9WL89MsM= X-Google-Smtp-Source: ACHHUZ5UvOZ4lW5pVBNEiVTPvskvf0v43wWPajqfcBFKpWk9yOzABi1TmT2G9FpgPgsfUjnVHbO6Uw== X-Received: by 2002:a7b:ca56:0:b0:3f1:6ec5:3105 with SMTP id m22-20020a7bca56000000b003f16ec53105mr12124766wml.20.1683033131868; Tue, 02 May 2023 06:12:11 -0700 (PDT) Received: from arch-thunder.local (a109-49-33-111.cpe.netcabo.pt. [109.49.33.111]) by smtp.gmail.com with ESMTPSA id c21-20020a7bc855000000b003f17300c7dcsm35277121wml.48.2023.05.02.06.12.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 May 2023 06:12:10 -0700 (PDT) From: Rui Miguel Silva To: u-boot@lists.denx.de Cc: Simon Glass , Tom Rini , Ilias Apalodimas , Rui Miguel Silva Subject: [PATCH 0/6] corstone1000: fwu metadata and GPT Date: Tue, 2 May 2023 14:11:54 +0100 Message-Id: <20230502131200.2551513-1-rui.silva@linaro.org> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 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 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