From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: suse.com, ip: 15.124.64.68, mailfrom: glin@suse.com) Received: from m9a0003g.houston.softwaregrp.com (m9a0003g.houston.softwaregrp.com [15.124.64.68]) by groups.io with SMTP; Tue, 30 Jul 2019 01:18:13 -0700 Received: FROM m9a0003g.houston.softwaregrp.com (15.121.0.191) BY m9a0003g.houston.softwaregrp.com WITH ESMTP; Tue, 30 Jul 2019 08:18:09 +0000 Received: from M9W0067.microfocus.com (2002:f79:be::f79:be) by M9W0068.microfocus.com (2002:f79:bf::f79:bf) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Tue, 30 Jul 2019 08:16:06 +0000 Received: from NAM03-CO1-obe.outbound.protection.outlook.com (15.124.72.14) by M9W0067.microfocus.com (15.121.0.190) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10 via Frontend Transport; Tue, 30 Jul 2019 08:16:06 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eORZsXMkh4T3X2+0WyRaPLIbXjzzNj+XQJYgxzRGNqeN/9PxbU/OUwUEtF/tXp4MxrHqv0S+0BKewmIfvQ09WcuexOp+5drcYQVKs5OKAP3fJoLkW69y1KMiUcsertYkFKTi+MzKPatPZ4JdjhYF2qgMepifcjCSX7EJOrSUJe5/FaBDPZsTFOl5TWG+VckGU54MCYJr13Z5LSvuN2qS0620Vxn8JYXBkfT3pm8EV6Mbi8K/CnDpf+UoOV1pSa85Q0ZaTOkruX6kXN5ITJfpyIZraMYY1C8uUrSLQ85+NxFi5xFY/b3Gj8jRk9BR9+7NaB8xKLmLjEwIt3uKsnWIsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=F/gext3ZZu3g7YBSsGXnVh4B92+LpIrbuoCn9Z8MrGM=; b=YXcTYx4DnV41+2UCyBm+ErD8EfYmSEpzFm8sGSI/mAmjKA1Kks3OvZAbDUkDmSu9O1i5QkJ4TJaWotfy2my2IKjpTSFztMpfERZ5iucTIqpFZgZR3PlHssVY/rakzbgoD1yNuHy4YLJLSbqZh1WI6+bXJvqftW7Y0FbnRtN/cTok3E0E9ZwW+6X/2t6mCQuWuIlpZ4V1RY/zx4pH0BM8E1JJnxZ7w09ubmXc96UydBAr5ReUaVUYhOjFGp0dsFAOJADK8sTVYhdUsJR51Vm36wjKt0SnmmBVGNz6T1uqm/z1MI5yQsGleEUzu93ydMCPngw50eXnlxtn7aQJHKpT0Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=suse.com;dmarc=pass action=none header.from=suse.com;dkim=pass header.d=suse.com;arc=none Received: from DM6PR18MB2489.namprd18.prod.outlook.com (20.179.105.16) by DM6PR18MB3068.namprd18.prod.outlook.com (20.179.48.77) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2115.14; Tue, 30 Jul 2019 08:16:05 +0000 Received: from DM6PR18MB2489.namprd18.prod.outlook.com ([fe80::ac83:47c9:cebd:9f0]) by DM6PR18MB2489.namprd18.prod.outlook.com ([fe80::ac83:47c9:cebd:9f0%7]) with mapi id 15.20.2115.005; Tue, 30 Jul 2019 08:16:05 +0000 From: "Gary Lin" To: "devel@edk2.groups.io" CC: Zailiang Sun , Yi Qian , Michael D Kinney Subject: [edk2-platforms] [PATCH v2 0/6] Fix the boot order, SMBIOS, and capsule GUIDs of Minnowboard Thread-Topic: [edk2-platforms] [PATCH v2 0/6] Fix the boot order, SMBIOS, and capsule GUIDs of Minnowboard Thread-Index: AQHVRq8IkgwNEj0QbUCqOgBW+vbq+A== Date: Tue, 30 Jul 2019 08:16:05 +0000 Message-ID: <20190730081518.16349-1-glin@suse.com> Accept-Language: zh-TW, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: DB6PR1001CA0031.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:4:55::17) To DM6PR18MB2489.namprd18.prod.outlook.com (2603:10b6:5:184::16) authentication-results: spf=none (sender IP is ) smtp.mailfrom=GLin@suse.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.22.0 x-originating-ip: [202.47.205.198] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f83c3654-70fc-4933-eace-08d714c62ae6 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:DM6PR18MB3068; x-ms-traffictypediagnostic: DM6PR18MB3068: x-ms-exchange-purlcount: 1 x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 0114FF88F6 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(4636009)(376002)(136003)(346002)(39860400002)(396003)(366004)(189003)(199004)(5660300002)(6436002)(52116002)(25786009)(2351001)(3846002)(14444005)(53936002)(71200400001)(26005)(6916009)(486006)(476003)(71190400001)(6306002)(4326008)(6486002)(68736007)(8676002)(5640700003)(186003)(2616005)(2501003)(316002)(86362001)(66446008)(66066001)(478600001)(50226002)(966005)(81156014)(14454004)(1730700003)(19627235002)(256004)(6116002)(64756008)(36756003)(66556008)(81166006)(54906003)(102836004)(6512007)(66946007)(2906002)(80792005)(7736002)(99286004)(6506007)(386003)(305945005)(1076003)(8936002)(66476007);DIR:OUT;SFP:1102;SCL:1;SRVR:DM6PR18MB3068;H:DM6PR18MB2489.namprd18.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: suse.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: GCqqvft2dnvXtOHajr39Or3CcUFI/4GnNbpWyRrinD36qyzFZTlSgcyuDRp1PjgnfvKhZ6iigXmpRcLp4AWn/hTpLdXzjFSHfmSPIkRsHitTrij8KEUZMfAOC9+MT3IhyMD8DFSd7nwL4rAWa/s5gbVal+KtEM3KKp6P9+EUTVD245ApcOdQbsl8F7V8A8tLsgk1BIruo08F6667BviyjiePKFNuUTO3qSOBWEZK2Y6DPBOpBsgOy6VfFK7DUM0YNsP3zgC+Asm7NvC/SL+zBVphX3E3C8ylc4sETRCdNUfDKzGRPXfMm0MP80t1l+VseUPzxlXLr+FgSnjWRuc6qi3DiiEAX9cMby/x+gj+OeJRlSr60UIhG0JhvfuVzTXtT1D2zNnxv+Ia4G8FA09M8wSlyaxhDCphgxgphhT/43E= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: f83c3654-70fc-4933-eace-08d714c62ae6 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jul 2019 08:16:05.5709 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 856b813c-16e5-49a5-85ec-6f081e13b527 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: GLin@suse.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR18MB3068 Return-Path: GLin@suse.com X-OriginatorOrg: suse.com Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable After switching to MdeModulePkg BdsDxe, the boot option created by OS was always put at the end of BootOrder after reboot. Besides, the PXE boot options were always the first boot options. The 1st to 3rd patches fix the priority of boot options and stop sorting the boot options after the first boot. The missing BootManagerMenuApp is also added back. The 4th patch cleans up PlatformBootOption.c to remove the unused variables and function. The 5th patch adds some missing bits of BIOS Characteristics Extension in SMBIOS, so that fwupd can detect the system correctly. The 6th patch converts the device GUIDs in metainfo.xml to lowercase to be compatible with LVFS/fwupd.=20 The patches are also available in my github branch: https://github.com/lcp/edk2-platforms/tree/fix-minnowboard-bds-v2 v2: * Add the missing MSG_URI_DP to BootOptionPriority() * Update the descriptioins of 2nd and 4th patches * Add the 5th and 6th patches Cc: Zailiang Sun Cc: Yi Qian Cc: Michael D Kinney Gary Lin (6): Vlv2TbltDevicePkg: Adjust the device priority Vlv2TbltDevicePkg: Add the missing BootManagerMenuApp Vlv2TbltDevicePkg: Only sort boot options when necessary Vlv2TbltDevicePkg: Clean up the unused variables and function Vlv2TbltDevicePkg: Add the missing SMBIOS bits Vlv2TbltDevicePkg: Convert the device GUIDs of capsules to lowercase Platform/Intel/Vlv2TbltDevicePkg/Feature/Capsule/GenerateCapsule/GenCapsul= eAll.py | 24 +++--- Platform/Intel/Vlv2TbltDevicePkg/Library/DxePlatformBootManagerLib/BdsPlat= form.c | 9 +- Platform/Intel/Vlv2TbltDevicePkg/Library/DxePlatformBootManagerLib/Platfor= mBootOption.c | 86 ++++++-------------- Platform/Intel/Vlv2TbltDevicePkg/PlatformPkg.fdf = | 3 +- Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc = | 1 + Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgX64.dsc = | 1 + Platform/Intel/Vlv2TbltDevicePkg/SmBiosMiscDxe/DataHubRecords.h = | 5 +- Platform/Intel/Vlv2TbltDevicePkg/SmBiosMiscDxe/MiscBiosVendorData.c = | 5 +- 8 files changed, 54 insertions(+), 80 deletions(-) --=20 2.22.0