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.67, mailfrom: glin@suse.com) Received: from m9a0002g.houston.softwaregrp.com (m9a0002g.houston.softwaregrp.com [15.124.64.67]) by groups.io with SMTP; Tue, 30 Jul 2019 00:56:31 -0700 Received: FROM m9a0002g.houston.softwaregrp.com (15.121.0.190) BY m9a0002g.houston.softwaregrp.com WITH ESMTP FOR devel@edk2.groups.io; Tue, 30 Jul 2019 07:56:30 +0000 Received: from M9W0067.microfocus.com (2002:f79:be::f79:be) by M9W0067.microfocus.com (2002:f79:be::f79:be) 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 07:55:38 +0000 Received: from NAM02-BL2-obe.outbound.protection.outlook.com (15.124.72.10) 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 07:55:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ek6tQyruzHEqnABlE3GgHKsfwPzqJajZHVweoy9CruZ4Ys0AVlCI2Cyv9C+RnOyqQs+/IkNj/tD9ka3/4OPVkeYtNwl6sbqjYbCSJBVhnbHGOmOyE8RojHu0Vb8aKnjbmzFKRU33nJ3LBHKJv+Xd7gGW2keQ6N8W0EEzwZKS0UzakqrU+43iXr00xD7nw358oey5ri09/81x7H6zQf6eq1MxZCKk/OxAvPhPc2rH35FPj+LnyqfZegGshw9HT9Cbi3lDPqrS4oni7gf7Ii48ytuKMyIweagatIbORCGzY076Yivll98t4ecx/zdZG/3KkwCRnE/wwF3VQCnWn5Fd5g== 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=O0soeAO7vGr7ZnlmRMfXijQSpQdJV5zEx7gbPgIOBqk=; b=Y6AS1+m4yANRqgbZZSiOJTReIXIBD9rTjNFYzJEQ23HWjND3/HGz9TpeKKuxYbyl2cqwoq+oEI3EjZoqbHt6SqTcNHQLzOjmDKcNqj9Ip9fGiv4I9Rq9s3DKca4MJoF4rndOY9SA/Y6B0NfWcnpFoguC7wSGxv+0ujs8GC6H2wS0uozhlpLs0KlveLSUJFqXhfwG/EYITL2838BPu4QGgQwfUNvKW971WRi35u2GKsAJVmodCo70SLf/PdOpQPPo6UjqkMTtlHEZjoOXTtmelj6CFNcAXU6/Fd4AT7Q9cXhh/3wU3DpnOosez+XsmaKrPKjAy5gMaLV7R0SFvXQDGA== 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 DM6PR18MB2841.namprd18.prod.outlook.com (20.179.51.217) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2115.10; Tue, 30 Jul 2019 07:55:36 +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 07:55:35 +0000 From: "Gary Lin" To: "devel@edk2.groups.io" Subject: Re: [edk2-devel] [PATCH edk2-platforms 0/4] Fix the boot order and the boot menu Thread-Topic: [edk2-devel] [PATCH edk2-platforms 0/4] Fix the boot order and the boot menu Thread-Index: AQHVQ4CpBRv2cFRYYESCEDyU07VyhKbi0UmA Date: Tue, 30 Jul 2019 07:55:35 +0000 Message-ID: <20190730075525.GF27677@GaryWorkstation> References: <15B4E348E62951A2.8182@groups.io> In-Reply-To: <15B4E348E62951A2.8182@groups.io> Accept-Language: zh-TW, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: DB6PR0501CA0015.eurprd05.prod.outlook.com (2603:10a6:4:8f::25) 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-originating-ip: [202.47.205.198] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ea2a4364-ef77-4d90-9472-08d714c34e14 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:DM6PR18MB2841; x-ms-traffictypediagnostic: DM6PR18MB2841: x-ms-exchange-purlcount: 4 x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3513; x-forefront-prvs: 0114FF88F6 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(4636009)(7916004)(346002)(366004)(376002)(136003)(39860400002)(396003)(199004)(189003)(2906002)(478600001)(76176011)(229853002)(8936002)(14454004)(52116002)(6436002)(99286004)(25786009)(19627235002)(6506007)(186003)(33656002)(66066001)(6486002)(256004)(81156014)(1730700003)(8676002)(80792005)(2351001)(81166006)(102836004)(966005)(6512007)(33716001)(5660300002)(6306002)(486006)(26005)(66446008)(66476007)(66556008)(64756008)(7736002)(386003)(53936002)(68736007)(86362001)(66946007)(71200400001)(2501003)(6246003)(1076003)(71190400001)(9686003)(6116002)(3846002)(305945005)(6916009)(5640700003)(11346002)(446003)(476003)(316002);DIR:OUT;SFP:1102;SCL:1;SRVR:DM6PR18MB2841;H:DM6PR18MB2489.namprd18.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX: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: aPOwsrOid1jalWFTdSjnpMqE3YzfjdyUsk8Yrn4MRaoBT7Cpe8MHoWNl+gXAn/AZu4sPoVlvzL/MU/XBi+3DaQQo4vKMdziZnouj+2mg3kqeGJ6CttL+RAF2qUYI4UYXDbVSlWbHzhqpQJyTKu6UvAgeqO3NCbAyNSCnvUcIFC4VJh32SBBoQ1tNAt1kTXET59FJ6aWrpvFJfjIDYQURAhDn5hMXCv9HHs207QOkGt2D8mSgxQIPNv0NjLIdoqZPaqXUJ6C76O6YXGR2mgJPH78yIzPA+yOHak9vYWKe7C+3uwctJJBvl7xuXwGH+UP6w+98PWsIK3/9eS/CCll2UL9FTEWRA4UznDGjNJR9vzW8Tb7TXYHfAqN/PuaQ9YuvE+n74jcmRpYLri82P3sto7Nu1wuXFsfk1kJfjCpB2TU= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: ea2a4364-ef77-4d90-9472-08d714c34e14 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jul 2019 07:55:35.8703 (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: DM6PR18MB2841 Return-Path: GLin@suse.com X-OriginatorOrg: suse.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable On Fri, Jul 26, 2019 at 07:06:35AM +0000, Gary Lin wrote: > 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. >=20 > This series fixes the priority of boot options and stops sorting the > boot options after the first boot. The missing BootManagerMenuApp is > also added back. >=20 > The last patch cleans up PlatformBootOption.c to remove the unused > variables and function. >=20 > The patches are also available in my github branch: > https://github.com/lcp/edk2-platforms/tree/fix-minnowboard-bds >=20 I found a missing fix in the first patch. Will send a v2 along with a few more fixes. Gary Lin > Gary Lin (4): > 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 >=20 > Platform/Intel/Vlv2TbltDevicePkg/Library/DxePlatformBootManagerLib/BdsP= latform.c | 9 +-- > Platform/Intel/Vlv2TbltDevicePkg/Library/DxePlatformBootManagerLib/Plat= formBootOption.c | 85 ++++++-------------- > Platform/Intel/Vlv2TbltDevicePkg/PlatformPkg.fdf = | 3 +- > Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc = | 1 + > Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgX64.dsc = | 1 + > 5 files changed, 33 insertions(+), 66 deletions(-) >=20 > --=20 > 2.22.0 >=20 >=20 >=20 >=20 >=20