Message ID | 1522419526-29494-13-git-send-email-bryan.odonoghue@linaro.org |
---|---|
State | Superseded |
Delegated to: | Stefano Babic |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="P5X18JVx"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 40CPDY3t8Zz9sXj for <incoming@patchwork.ozlabs.org>; Sat, 31 Mar 2018 01:30:27 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 432FBC221AB; Fri, 30 Mar 2018 14:23:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 47EEBC22257; Fri, 30 Mar 2018 14:20:13 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 67F88C22257; Fri, 30 Mar 2018 14:19:05 +0000 (UTC) Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by lists.denx.de (Postfix) with ESMTPS id 8DA8CC2223B for <u-boot@lists.denx.de>; Fri, 30 Mar 2018 14:19:01 +0000 (UTC) Received: by mail-wm0-f67.google.com with SMTP id r82so17107111wme.0 for <u-boot@lists.denx.de>; Fri, 30 Mar 2018 07:19:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=NjxHK3OGsvwRFYTLMQTnpuSC4TAlbWIKSteigctFZZI=; b=P5X18JVxo/kbu0R0HKONFX/BcrKSGoVPOaLCfQWaSX5ksPdZ+t0gYmHW/HybGa9suv eXeTzunBeqRj9CBuA3I4JJ/TsomS8WXPqbMxUh8JaA9O4uM3y5A5ekgKR1Yh3IhJKCqj OG9mRSsFE7rT1OuIKxielxj9S7z7bOMsmrs9M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=NjxHK3OGsvwRFYTLMQTnpuSC4TAlbWIKSteigctFZZI=; b=MLG6sfqDBr4l4cY64aBitC/2Mmx9zeW7J4EUgtQ8F/AIGcgCbu4f/Rf55U+mtuVsEd lXEU8PeqQaqpK/HmuVPs767lkjBZqqojeQhbqLt2iRK4I2jnV6VBBfbel2no6Vc1mUUR VT3DvMd77yQO/hUDwQ5W5hKYFevzR1BQ6fRi/68Enz3+gLtBDO/mLXN5zBJ3dmKDXIJe m/5FEKeGSczWwVQra0CQOseClhKPBGuiWUrgJndLQLVcaSEO+nTpsBy+02pOWVRNrTLq Q5xMK2ftOTOH2nZC22Y0w5wka06uN4g4ulAmWKZNVxjwoDGSIilIGnzLIsm7U39JLmFP Tt2g== X-Gm-Message-State: AElRT7ERqkfNf1F7lDw0lGzArthfGaJLr86vd/NNjY8lwmCRYI5kMC+X a7EPYOPwsp/fmd2AyMLdhDZL0Lv5agU= X-Google-Smtp-Source: AIpwx4/2pXB+1Rj6ZjVnCPAWykgyqPsdynCvqaf0/dATU6qfxLC2t46rcDAbdLrHeVTk6/1hPbFWFw== X-Received: by 10.80.145.219 with SMTP id h27mr3168674eda.3.1522419540886; Fri, 30 Mar 2018 07:19:00 -0700 (PDT) Received: from localhost.localdomain ([109.255.42.2]) by smtp.gmail.com with ESMTPSA id d22sm5831758eda.31.2018.03.30.07.18.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 30 Mar 2018 07:19:00 -0700 (PDT) From: Bryan O'Donoghue <bryan.odonoghue@linaro.org> To: u-boot@lists.denx.de, fabio.estevam@nxp.com Date: Fri, 30 Mar 2018 15:18:40 +0100 Message-Id: <1522419526-29494-13-git-send-email-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1522419526-29494-1-git-send-email-bryan.odonoghue@linaro.org> References: <1522419526-29494-1-git-send-email-bryan.odonoghue@linaro.org> Cc: rui.silva@linaro.org, paul.liu@linaro.org Subject: [U-Boot] [PATCH 12/18] warp7: select uuid partition based on rootpart X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
Series |
warp7: Enable automated OPTEE/HAB boot flow
|
expand
|
diff --git a/include/configs/warp7.h b/include/configs/warp7.h index a92e675..f2ee09b 100644 --- a/include/configs/warp7.h +++ b/include/configs/warp7.h @@ -45,7 +45,8 @@ "ip_dyn=yes\0" \ "mmcdev="__stringify(CONFIG_SYS_MMC_ENV_DEV)"\0" \ "mmcpart=" __stringify(CONFIG_SYS_MMC_IMG_LOAD_PART) "\0" \ - "finduuid=part uuid mmc 0:2 uuid\0" \ + "rootpart=" __stringify(CONFIG_WARP7_ROOT_PART) "\0" \ + "finduuid=part uuid mmc 0:${rootpart} uuid\0" \ "mmcargs=setenv bootargs console=${console},${baudrate} " \ "root=PARTUUID=${uuid} rootwait rw\0" \ "loadbootscript=" \
Assigning the UUID discovery path to a tweakable environment variable means that later steps in the boot process - particularly a boot script can change the target root partition of a particular Linux boot. Retargeting the rootfs is an important feature when doing ping/pong upgrades allowing a boot script to select ping or pong as necessary without reprogramming the bootloader. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> --- include/configs/warp7.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)