From patchwork Tue Mar 26 20:22:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leif Lindholm X-Patchwork-Id: 161231 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp5651897jan; Tue, 26 Mar 2019 13:22:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqwreA1NK2Jd0LIktwges5BDn0SKzUoN3Uho+ty9L0E/lcRCUyNGE//OIddKULAME/0QF4fi X-Received: by 2002:a25:2a50:: with SMTP id q77mr25453040ybq.243.1553631772699; Tue, 26 Mar 2019 13:22:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553631772; cv=none; d=google.com; s=arc-20160816; b=z7/+O48MEkddh3RDfrB7xeIxe+j7h4jMN8fuf7QAYhJefIuU3ELNt51FGxBE2GReTy /odffVEfD4VmNZc4mwHkVG8YecgOs1Hc5Kxk7uNgeXmsALTmwcqoG/MCKvLs2zBmpMD4 QiuqozK6RxmUwvi5pEZ7SL8XWXFKYfMyygoqN5tZ2UmOFnqSxXT7ffE14RR+9EtDSBMB yvJ+inISei4Du82PUj8l+BVKs+zfBq/WZ+WdzRGuozL4sHlNJ3YaKO0BaoxtY8FIrqo1 kSbiWb++wehDo8cxOqK14RjzWzB0sQc/ydKd55wXZLVwUlZ08366AUhVZ3QddibnKZ+R TyyA== 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; bh=jPr4NqwKYoN+jvJh0anKoLKcSyK9wUPAN40a5/W30Qs=; b=O61ZyHU62DMcajN87XV8YnuMfrX+P7PvG40hSw+9slnuG2qW2+jusE5+ao89w3/4Ww Yg9mudeop4pJUqqNs3zWF1loxuQ5LnB0ufq5IX/L8rP6Te8ksBM5nkBCFeFyltgCDMyV mMQ5pl32z60xER05Yavd78salxvHVJC6DEPMWPRxVd/xLZfnnpXY3ip09FUXx4QlTbwP K+3v28/ApuOFvZb0nrT1hzJV3cpCP5yMoZlYjFOs3DhuuTfgxIKkHJa3X4V3pe8oEwKX l7Y3wtghJjjnyIvj52VjZgJYusRQqIYhhuFO3Q/Gj5jVJXfRqirC1iIBkO5Z4cwkAqe2 oYDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Af2ZlYuo; 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 g6si12451315ybk.376.2019.03.26.13.22.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Mar 2019 13:22:52 -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=Af2ZlYuo; 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 C5D8B21A070B8; Tue, 26 Mar 2019 13:22:50 -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:4864:20::444; helo=mail-wr1-x444.google.com; envelope-from=leif.lindholm@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) (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 EC86B211DF22D for ; Tue, 26 Mar 2019 13:22:48 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id r4so8239737wrq.8 for ; Tue, 26 Mar 2019 13:22:48 -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=8i5kloT6IPUwOwJ1J5/BFDhkYKJMl1wcqky40PYCHKM=; b=Af2ZlYuoXsYRoNfg27UFGsI85AZfX1je5CBxXUkw4Pyk2a0EXRgGoC25lh6jKagi/L bBURvU8YJMv0Vmrny6FocGoQtCZwsC6+2iEE1pnZhun2pZ7c54CiZ2W3JfySENGGc9mP 1oNl4pckd9FdvC3M+NwjdaV9rqzYl78AEI9wKiSCQv+59lfjF2PHGeF/DYNvvbtTVdo5 T6L9KgJpo8szHgSUU+4hQa7LWEol119SZVuuJM6GsmIn36W3ThbhnnqHTpzI1JWylU34 b7fzA7vVhY+xZ2VAZKNd/vJdQz8S13RH7yRoURkviJs/u9kmbwKmXGU4QdT4tvVa/MeB ckvA== 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=8i5kloT6IPUwOwJ1J5/BFDhkYKJMl1wcqky40PYCHKM=; b=lOnpOCSY+qCFAw7oqd2NEwfM/+aC5PGQ1U/71hpyzt0syIjS6DY/KRSeNGXuP4maqV /Bj/Mo7jO+UkP2Z8B3cHsUud6ibC6NDJK/YaI4TewjB3fSk1+a1MeFKbCWf1wbclG0uS QLR4RnApVE7hM1oFLiGsdpS1JSIOHPkmL51raF3vL0lf24TN1TcRy1n3kcvs3s87aUNa LTISRk+E4QDeDhvJVDVLAQJg0WIjk0kOh9oPvDgEXOnTcERo860SQ2MZAIlbCehb0/h6 uv2bLE/nwu8/Jw48q4Z1Ns5F3IEnq46tECSRud4K3g2Se84ln/ySraYxPJqGyjC2IAKf rmHw== X-Gm-Message-State: APjAAAVIreRWvlxWxKpGrnOJmGvQk6YWiOxTWCZ4sGOgUEuj8dUrj3om x0bnNM1We9K/eGgWivyW4bhXIzmMMFE= X-Received: by 2002:adf:e449:: with SMTP id t9mr20154009wrm.204.1553631767299; Tue, 26 Mar 2019 13:22:47 -0700 (PDT) Received: from vanye.hemma.eciton.net (cpc92302-cmbg19-2-0-cust304.5-4.cable.virginm.net. [82.1.209.49]) by smtp.gmail.com with ESMTPSA id y197sm33957583wmd.34.2019.03.26.13.22.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Mar 2019 13:22:46 -0700 (PDT) From: Leif Lindholm To: edk2-devel@lists.01.org Date: Tue, 26 Mar 2019 20:22:45 +0000 Message-Id: <20190326202245.15061-1-leif.lindholm@linaro.org> X-Mailer: git-send-email 2.11.0 Subject: [edk2] [PATCH edk2-platforms] Platform/Hisilicon: update D06 system firmware description X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: wanghuiqiang MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Since the D06 port now depends on updated IMP firmware to function properly, there needs to be a one-way upgrade path. Upgrade to the current state of things must happen via .hpm. Subsequent capsule updates cannot be permitted to go below this version. So update the firmware descriptor to Version: 3 and LowestSupportedFirmwareVersion: 3. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Leif Lindholm --- Ming: I would also be cherry-picking this patch into RPF 19.03. Platform/Hisilicon/D06/Drivers/SystemFirmwareDescriptor/SystemFirmwareDescriptor.aslc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Acked-by: Ard Biesheuvel diff --git a/Platform/Hisilicon/D06/Drivers/SystemFirmwareDescriptor/SystemFirmwareDescriptor.aslc b/Platform/Hisilicon/D06/Drivers/SystemFirmwareDescriptor/SystemFirmwareDescriptor.aslc index 36175338dd..1287dfd834 100644 --- a/Platform/Hisilicon/D06/Drivers/SystemFirmwareDescriptor/SystemFirmwareDescriptor.aslc +++ b/Platform/Hisilicon/D06/Drivers/SystemFirmwareDescriptor/SystemFirmwareDescriptor.aslc @@ -22,9 +22,9 @@ #define PACKAGE_VERSION 0xFFFFFFFF #define PACKAGE_VERSION_STRING L"Unknown" -#define CURRENT_FIRMWARE_VERSION 0x00000002 -#define CURRENT_FIRMWARE_VERSION_STRING L"0x00000002" -#define LOWEST_SUPPORTED_FIRMWARE_VERSION 0x00000001 +#define CURRENT_FIRMWARE_VERSION 0x00000003 +#define CURRENT_FIRMWARE_VERSION_STRING L"0x00000003" +#define LOWEST_SUPPORTED_FIRMWARE_VERSION 0x00000003 #define IMAGE_ID SIGNATURE_64('H','W','A', 'R', 'M', '_', 'F', 'd') #define IMAGE_ID_STRING L"ARMPlatformFd"