From patchwork Thu Jun 7 15:08:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 137894 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp2216382lji; Thu, 7 Jun 2018 08:08:26 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL6R3H9NGmRydy0DK+MQXyW76AP9DUgPYyTXGNTA/7TZZ4lf+kGU1tjh0dpH5vJFKGjt4qx X-Received: by 2002:a65:4783:: with SMTP id e3-v6mr1914028pgs.235.1528384106856; Thu, 07 Jun 2018 08:08:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528384106; cv=none; d=google.com; s=arc-20160816; b=IUefuLXPISUD0MkyBX7FdeRfHHrPBKtiEa0T+7iBps5KhAkVBZ1SSQl6VDgbFxarhv R8sKovoZoqQKRrJdigL1xS9fCzJhAjAbLvYdIBUYHaaYE34HvSTCvOK8N1k9gCNcj61N 6EXLxTK+HrksAj2DlPBqctZ78i6j2B6MO8ecf+GvfEX1nxi6u7y9hONl9m5GY2mo7bmG vRw5qlS8F/gegSFh8IGpawcnqhLhynM+n8QDkILQcZSd7XkdW/yt4lNomeAaeHi2Db4K dvmvnXzICIJHAVC43lbs/2idzAEEyDec1tyy/KHKm6ubXuiFdebGdL9+J6/GkBnAZagQ +hTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=baIesShMniSylepm3hCP1jLnVd42uZZqC49NHk+kLB0=; b=cQrUL57jNYvQ16SQHg0nBY9dnWKWnmfkeRoAecCK1M7rXizIHH4VRlxk2+6BNStoBp 8c9MTlDdImry+dLLIo8wm+la2iZEi1PQOjmcBnWQC4PJTGH2A0RiSsh7Moj1N31y8xg+ mJHQP+XNu8PXciBcJ77OPa+bvcGy7WqhaDLqeBHbcMKvkKAoYrw0MYRgPBBWXpMUnvF9 xS7/dsaZfqqdahG+sdtpvbEzyZ9VVQYv+VWIiou2SpIamm7dUS1nqm++BbT6pPKfWtTh IE6idlNbqaBgqeaxYBx2VYPd1hjj9TGzPDK/Hq7Ei212RMwg4G6Jp2pizXlUGrT6xrTG TR1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=MlVBj9Cw; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id o10-v6si14554664pll.158.2018.06.07.08.08.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Jun 2018 08:08:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=MlVBj9Cw; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 621752115C319; Thu, 7 Jun 2018 08:08:26 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c09::242; helo=mail-wm0-x242.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) (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 1A47F2114844F for ; Thu, 7 Jun 2018 08:08:25 -0700 (PDT) Received: by mail-wm0-x242.google.com with SMTP id j15-v6so20038701wme.0 for ; Thu, 07 Jun 2018 08:08:25 -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; bh=LdhCTnAdm48m1xd66xP/2qbHZR7SGQUfdt8cNmJJRuk=; b=MlVBj9CwnlTbngkYhaQLiSKSE5lcg0eKuhXlUVZswH80t/qKPlptr9KvfysdV840EK Dc9zLwfIgAYaBylmh519rBgOCcVbshgXcnIcEZZNeaEysRG8DgNp7+l0/avAxxySUN1c B1br5NmlI402afRIm9l27lJF5vSKL5nG4p2zk= 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; bh=LdhCTnAdm48m1xd66xP/2qbHZR7SGQUfdt8cNmJJRuk=; b=V64PfrhXo2VeJxbUZYmLIpXPGHyvkqqIHX2lY2ckSvSCpNPhnNu8qjSM5kCW4PrSKy k0V2Af+7pbf89gGWsATjuVL3s4Tl45evlmEAXCdK8NjNoad/x505ql2Xm1+JvZvnXCYN m6A7K1Q8ZM/3FsrNpQXFtWLrL2Q3DOYo5nGs3soMeqEaVc2FbNtoWOLdZEng8bfMYsI+ q49Z84id5S0grVpEw4jActHM6Yl4iBRPlStMXZadSp4bxLNDd1sQCBrAajSft9UNM+6h WPuMT1L6Xjzy3TqKJGM2yE7ogpV8NBEEhQeG3cxThQ+NypsMMpUo3yzD6lrcQMcTbfad sItQ== X-Gm-Message-State: APt69E0czqqq5tKNKBCf+acRMr8Mx94Fri2EXN6ZbWvJWS8JCUEQ0h1G qRGlrjy4s67DZrQwsng7/L48suLuXiE= X-Received: by 2002:a1c:4743:: with SMTP id u64-v6mr1866419wma.49.1528384103475; Thu, 07 Jun 2018 08:08:23 -0700 (PDT) Received: from dogfood.home (LFbn-NIC-1-75-91.w2-15.abo.wanadoo.fr. [2.15.165.91]) by smtp.gmail.com with ESMTPSA id v14-v6sm27935985wro.33.2018.06.07.08.08.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Jun 2018 08:08:22 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Thu, 7 Jun 2018 17:08:16 +0200 Message-Id: <20180607150818.14393-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.0 Subject: [edk2] [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: , Cc: leif.lindholm@linaro.org, Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" 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. 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 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel