From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:4001:c06::241; helo=mail-io0-x241.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-io0-x241.google.com (mail-io0-x241.google.com [IPv6:2607:f8b0:4001:c06::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 1FF0F21125000 for ; Thu, 7 Jun 2018 09:06:04 -0700 (PDT) Received: by mail-io0-x241.google.com with SMTP id g22-v6so12435523iob.7 for ; Thu, 07 Jun 2018 09:06:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=cjuzzQYUxbBrRmMbMaoTBaA4S9r47vpifqwxw8DvvDQ=; b=LHQlBfrhsiT+QFHgSQuXnvlTGRzTmXwOZZLNPq9bFkRzzD4HoOn3cUMd1Bl4wYjUlh qjnezmHQ+nMXvK0VrNe0/yq1ntvUsW61NVHV96ohRrCdzas6LekFcibpRAFpJuKItdnp ndt+L+RlaDUC2Z61RLIeREPq3OOrqGKuIohpk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=cjuzzQYUxbBrRmMbMaoTBaA4S9r47vpifqwxw8DvvDQ=; b=Y40v9fUWQzrUqaZGPMh/BvBcXbAU1X4NtCOpghKAvAJesDQGtKXTF3mOaf/3Yams4s 8tvu39VrtqBIFUe/OC/+sfLdsAgqCggiGTGTG750BNUupkGbqK1/l3QFaZuQyRPMRa9R lqijzQF1893bhdExJEKmGDE6qsU69xZecn02fbu9nHUCNd1GzOJcY1S682Yu/OMOME5z 8AYdxhFDXKekCCia8SPOOgBNh5uHOb3A2LbgbGTgIk7MBVJ1wJocSEE6iXoD7g1dfT6U NWK7TPLqW68ipNN4n1yMVgqQuHHQuA/khEbnHnd+1BJFJm7ZK+Mod+qNliEuMbu0vBGj XGEw== X-Gm-Message-State: APt69E0iLlhyiqngjrBnwAYiWnG+IFW7O78+mN2lglwA/jFTQNL+nk6i 59y8qS2mSiJtEyaIHmyLxDYUX4dfP0Et8gnhdneh525q X-Google-Smtp-Source: ADUXVKKDSsZNVRmWiTJrZ1jzBfMI/QG5/mfgXcorxaxhLpmXFuHZblGgAOTbDjedcAESv9Kf1fAZL6Wh/XULAZ6YNGA= X-Received: by 2002:a6b:4014:: with SMTP id k20-v6mr1996083ioa.277.1528387564044; Thu, 07 Jun 2018 09:06:04 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a6b:bbc7:0:0:0:0:0 with HTTP; Thu, 7 Jun 2018 09:06:03 -0700 (PDT) In-Reply-To: <20180607150818.14393-1-ard.biesheuvel@linaro.org> References: <20180607150818.14393-1-ard.biesheuvel@linaro.org> From: Ard Biesheuvel Date: Thu, 7 Jun 2018 18:06:03 +0200 Message-ID: To: "edk2-devel@lists.01.org" Cc: Leif Lindholm , Ard Biesheuvel Subject: Re: [PATCH edk2-platforms 0/2] DeveloperBox: prepare for expanding the capsule payload X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jun 2018 16:06:05 -0000 Content-Type: text/plain; charset="UTF-8" On 7 June 2018 at 17:08, Ard Biesheuvel wrote: > We intend to start distributing firmware update capsules that include the SCP > firmware partition. In order to allow for more flexibility regarding whether > a capsule contains this piece or not, update the flash access routines and > the flash partition descriptions so we can update any part of the first > 4 MB, consisting of the CM3 bootstrap code, emergency flasher, pseudo > EEPROM, SCP firmware, ARM-TF and UEFI. > > Note that this means we can drop the 'TEMPORARY' patch I proposed a while > ago to hack around this limitation. > Additional note: this approach allows you to downgrade to older capsules as well, although a) you will keep the newer versions of the pieces that the older capsule does not cover b) upgrading to the latest version will require you to go via an intermediate version that includes these changes. > Ard Biesheuvel (2): > Silicon/SynQuacerPlatformFlashAccessLib: relax FV address check > Silicon/NorFlashSynQuacerLib: describe entire firmware region as FV > > .../NorFlashSynQuacerLib/NorFlashSynQuacer.c | 5 +- > .../SynQuacerPlatformFlashAccessLib.c | 53 +++++++++---------- > 2 files changed, 28 insertions(+), 30 deletions(-) > > -- > 2.17.0 >