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; Wed, 10 Jul 2019 00:12:31 -0700 Received: FROM m9a0003g.houston.softwaregrp.com (15.121.0.190) BY m9a0003g.houston.softwaregrp.com WITH ESMTP; Wed, 10 Jul 2019 07:12:29 +0000 Received: from M4W0335.microfocus.com (2002:f78:1193::f78:1193) 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; Wed, 10 Jul 2019 07:10:14 +0000 Received: from NAM01-BN3-obe.outbound.protection.outlook.com (15.124.8.10) by M4W0335.microfocus.com (15.120.17.147) 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; Wed, 10 Jul 2019 07:10:14 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Izt+nN4P5NGZ7TLAJ+aQVYqBsHKyHdlE1ncS36CRkqAMTrv+gK1e51dG5FibJZf/QgZB3VgJM/2SYQEGrIG1S+gTtfCfrjLwoSdSdZxT397NydWJiQ3RIB89zfOE3umguRbAszzDPMFkQjIoiPXC25aTgfi5uCJKEXXi1J7dsoxx3X2/vbsCB3rV4zin6LD5gRrbylZ3jpShdyx8tc5q5A05RuSgg9wjzx3r7LSZ8QW+RLc9vpTiZOLiH0q0hyVum07T2Q9n9eahwBUKiFXGobVI0I5bcJfjdvaoppuyz1hHMvxjSyT24W9+OOlN9E/+n07W/JF858RAhQiwFAT/HA== 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=lzGPc9uF4iVynJK7oYWVISJgo6sA3aP1XDwUUcWs5ik=; b=JcADdnWpUWkFTT33tHBFASegEWi4CvtdP+KFk0s9mUndkxTNMZvlrRuMCyl39yY1q78rpRpGH6K+Z8LOngSh9j+SWDBGDOPGFRs78ug5hY/E6u8pVLV9FIbGcp7Zr5iqzanloYqxuRD3MAB+8qSIxqjFF7bwrdYcl8NX51ZwY3EuAGWdTslPOaAqG9lRuJAQjBgI0AUi/FTvc+3Dd3FOqxeSBzU3dUg8+YLEy2zS97/TZ5lfDlW5gmr0lghegn1q/KV9aCEsgmin04urO0+HXPdUV71DYrhYoK2MES4xhka1cFL1xG81wwt9geqL4fmL0dsf63e2/xUNrY/myj2/Vg== 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 DM6PR18MB2554.namprd18.prod.outlook.com (20.179.105.218) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2073.10; Wed, 10 Jul 2019 07:10:12 +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.2052.020; Wed, 10 Jul 2019 07:10:12 +0000 From: "Gary Lin" To: "devel@edk2.groups.io" , "michael.d.kinney@intel.com" CC: Yi Qian , Zailiang Sun Subject: Re: [edk2-devel] [edk2-platforms Patch 00/14] Vlv2TbltDevicePkg: Remove Intel Framework dependencies Thread-Topic: [edk2-devel] [edk2-platforms Patch 00/14] Vlv2TbltDevicePkg: Remove Intel Framework dependencies Thread-Index: AQHVL7iX06GyMIyLl06arun+s2tcAqa1mg8AgADJVxCAASkWAIAAAA4QgABHQ+CAAOjugIAI9jzQgACbR4CAAPHvsIAAgZ0A//+XMvCAACSNgA== Date: Wed, 10 Jul 2019 07:10:12 +0000 Message-ID: <20190710071000.GH5004@GaryWorkstation> References: <20190702094812.GA32340@GaryWorkstation> <20190703035709.GB32340@GaryWorkstation> <20190709060418.GD5004@GaryWorkstation> <20190710041407.GG5004@GaryWorkstation> In-Reply-To: Accept-Language: zh-TW, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: DB8PR04CA0013.eurprd04.prod.outlook.com (2603:10a6:10:110::23) 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: c8ef4896-1415-41df-f17f-08d70505a664 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:DM6PR18MB2554; x-ms-traffictypediagnostic: DM6PR18MB2554: x-ms-exchange-purlcount: 5 x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-forefront-prvs: 0094E3478A x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(7916004)(4636009)(136003)(346002)(39860400002)(366004)(396003)(376002)(13464003)(199004)(189003)(51914003)(54906003)(8936002)(8676002)(81166006)(81156014)(110136005)(33716001)(71200400001)(19627235002)(486006)(71190400001)(3846002)(6116002)(30864003)(99286004)(5660300002)(229853002)(2906002)(80792005)(316002)(2501003)(186003)(6486002)(6506007)(386003)(53546011)(102836004)(6246003)(14444005)(26005)(256004)(305945005)(6436002)(33656002)(66066001)(7736002)(76176011)(966005)(45954011)(476003)(478600001)(446003)(14454004)(52116002)(4326008)(66946007)(53936002)(6306002)(1076003)(64756008)(66476007)(11346002)(66556008)(6512007)(25786009)(66446008)(86362001)(53946003)(68736007)(9686003)(21314003);DIR:OUT;SFP:1102;SCL:1;SRVR:DM6PR18MB2554;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: +NZo1f3gp/hUpV1TwyXTVxsuIcslwghjEYwvqdTkBgvj32jivnWtoPafLA10UTxUvZXGxnhrDdU0Hn6InXAKzhxeQ0dBsyGYn6NWhGYG0cTJSHj2Fa094xXIXGagNsRU553S8qv4sijgRSdqmAK1izmSk+TzP/ak5+WVR/ZIDdSg2Jsx/3WIqqqUg53xyrcp905dJmbC09KXNk4Nr4wu53Xgq3/l4veZtvdUmXKXrphhBnC7XIr7lFzc8rJMuEboo35jutHAKoVKCJvMT9lxmAmnZ/Hpsge3bxVRVLz/7b3sRMNt0YvHA/Q6ZFYoqvRHgkQA1e2Kxf2S0uFrM1TpiGBPGxypGxT8QKT9YA6w9cnoMJSWjCqOHtAMOaMsAvFxwBthKVYEKE2RlHxkGlvLNtVv4z6qupgEps48WY7Gvg0= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: c8ef4896-1415-41df-f17f-08d70505a664 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jul 2019 07:10:12.3231 (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: DM6PR18MB2554 Return-Path: GLin@suse.com X-OriginatorOrg: suse.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-ID: <6062E262B21B2B4191A8FE51D4860BC4@namprd18.prod.outlook.com> Content-Transfer-Encoding: quoted-printable On Wed, Jul 10, 2019 at 05:01:32AM +0000, Michael D Kinney wrote: > Hi Gary, >=20 > I have added 2 more patches. One to disable capsule generation > for IA32 builds. There are several places the output directory > is hard coded for X64. Will require converting the POST_BUILD > scripts to python to make this much better. >=20 > The second patch is for the Readme.md. Please review and > verify the instructions. I found some typos in the Readme.md: 1. The path to the capsules: - apt-get install libc:i386 +`Build\Vlv2TbltDevicePkgIA32\RELEASE_VS2015x86\FV\Vlv.ROM` + +The X64 CapsuleApp and generated UEFI Capsules are in the directory + +`Build/Vlv2TbltDevicePkg/Capsules` + +# Linux Pre-requisites =20 # Download and Build MinnowMax using Linux/GCC Since it's still in the section of windows, so the path needs the fix: Build/Vlv2TbltDevicePkg/Capsules =3D> Build\Vlv2TbltDevicePkg\Capsules 2. The name of gcc script: Once the environment is setup, the MinnowBoard MAX firmware and capsule= s can be rebuilt using the following commands. =20 +* Build X64 Debug Image with report file + +``` +cd edk2-platforms/Platform/Intel/Vlv2TbltDevicePkg +Build_IFWI.bat /m /y MNW2 Debug +``` =20 -* Build Debug Image +* Build X64 Release Image with build log =20 ``` -cd Vlv2TbltDevicePkg -./Build_IFWI.sh MNW2 Debug +cd edk2-platforms/Platform/Intel/Vlv2TbltDevicePkg +Build_IFWI.bat /m /l MNW2 Release ``` =20 -* Build Release Image +* Build IA32 Debug Image =20 ``` -cd Vlv2TbltDevicePkg -./Build_IFWI.sh MNW2 Release +cd edk2-platforms/Platform/Intel/Vlv2TbltDevicePkg +Build_IFWI.bat /m /IA32 MNW2 Debug ``` This is the section of Linux, so the build script is Build_IFWI.sh, not Build_IFWI.bat. Gary Lin >=20 > Thanks, >=20 > Mike >=20 > > -----Original Message----- > > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] > > On Behalf Of Gary Lin > > Sent: Tuesday, July 9, 2019 9:14 PM > > To: devel@edk2.groups.io; Kinney, Michael D > > > > Cc: Qian, Yi ; Sun, Zailiang > > > > Subject: Re: [edk2-devel] [edk2-platforms Patch 00/14] > > Vlv2TbltDevicePkg: Remove Intel Framework dependencies > >=20 > > On Wed, Jul 10, 2019 at 03:38:01AM +0000, Michael D > > Kinney wrote: > > > Hi Gary, > > > > > > I have pushed 2 more patches to my branch. One fixes > > the ASL issue > > > without removing the code. The second is a clean up to > > all the DSC > > > files and build scripts to make everything more > > consistent and remove > > > more unused content. > > > > > > https://github.com/mdkinney/edk2- > > platforms/tree/Bug_xxx_Vlv2_Linux_And > > > _Smbios_Fixes_V2 > > > > > > Please test this to make sure it still works. > > > > > It works great! I don't need to comment out the > > problematic line anymore. > >=20 > > > I will work on the Readme and will review the series to > > prepare for > > > sending the patch email review tomorrow. > > > > > > Thanks for all your help and testing. > > Thanks for fixing the gcc build :) > >=20 > > Gary Lin > >=20 > > > > > > Mike > > > > > > > -----Original Message----- > > > > From: devel@edk2.groups.io > > [mailto:devel@edk2.groups.io] On Behalf > > > > Of Gary Lin > > > > Sent: Monday, July 8, 2019 11:04 PM > > > > To: devel@edk2.groups.io; Kinney, Michael D > > > > > > > > Cc: Qian, Yi ; Sun, Zailiang > > > > > > > > Subject: Re: [edk2-devel] [edk2-platforms Patch > > 00/14] > > > > Vlv2TbltDevicePkg: Remove Intel Framework > > dependencies > > > > > > > > On Tue, Jul 09, 2019 at 03:52:37AM +0000, Michael D > > Kinney wrote: > > > > > Hi Gary, > > > > > > > > > Hi Mike, > > > > > > > > > I picked up the changes on your branch. I re- > > enabled > > > > the BIOS ID > > > > > Feature and added support for IA32 GCC builds, so > > the > > > > builds available > > > > > from Windows and Linux are matched now. > > > > > > > > > > I have posted my updated branch here: > > > > > > > > > > https://github.com/mdkinney/edk2- > > > > platforms/tree/Bug_xxx_Vlv2_Linux_And > > > > > _Smbios_Fixes_V2 > > > > > > > > > > I also verified that the SD Card support does work, > > so > > > > I am keeping > > > > > that change. > > > > > > > > > I tested the branch + my ASL workaround and booted > > into Linux > > > > successfully. > > > > > > > > > I agree the Readme is out of date. I will work on > > that > > > > and add to the > > > > > branch referenced above tomorrow. > > > > > > > > > Thanks! > > > > > > > > Gary Lin > > > > > > > > > Thanks, > > > > > > > > > > Mike > > > > > > > > > > > -----Original Message----- > > > > > > From: devel@edk2.groups.io > > > > [mailto:devel@edk2.groups.io] On Behalf > > > > > > Of Gary Lin > > > > > > Sent: Tuesday, July 2, 2019 8:57 PM > > > > > > To: Kinney, Michael D > > > > > > > > Cc: devel@edk2.groups.io; Qian, Yi > > > > ; Sun, > > > > > > Zailiang > > > > > > Subject: Re: [edk2-devel] [edk2-platforms Patch > > > > 00/14] > > > > > > Vlv2TbltDevicePkg: Remove Intel Framework > > > > dependencies > > > > > > > > > > > > On Tue, Jul 02, 2019 at 09:11:06PM +0000, > > Kinney, > > > > Michael D wrote: > > > > > > > Hi Gary, > > > > > > > > > > > > > Hi Mike, > > > > > > > > > > > > > I have posted an update to your patches the > > removes > > > > the > > > > > > setting of > > > > > > > WORKSPACE and accesses all files relative to > > > > WORKSPACE > > > > > > in the Linux shell scripts. > > > > > > > It also fixes null pointer bugs in the > > > > SmbiosMiscDxe > > > > > > module. > > > > > > > > > > > > > > https://github.com/mdkinney/edk2- > > > > > > platforms/tree/Bug_xxx_Vlv2_Linux_And > > > > > > > _Smbios_Fixes > > > > > > > > > > > > > > With these changes I can boot to the UEFI Shell > > and > > > > to > > > > > > Linux. Please > > > > > > > verify from your environments. > > > > > > > > > > > > > The fix for SmbiosMiscDxe works for me. Thanks > > for > > > > that! > > > > > > > > > > > > I pushed another commit to my branch to check > > > > WORKSPACE to notify > > > > > > the > > > > > > user: > > > > > > > > > > > > https://github.com/lcp/edk2- > > > > > > > > > > > > platforms/commit/fc530689e913e3de25ca2c553d616b9cef28901c > > > > > > > > > > > > We probably have to update Readme.md later. It's > > > > already dated. > > > > > > > > > > > > > I see you have added the SDMMC modules, but I > > do > > > > not > > > > > > see that peripheral yet. > > > > > > > That feature looks like it needs some more > > debug. > > > > We > > > > > > may need to back > > > > > > > out those changes for now. > > > > > > > > > > > > > I saw the SD card settings in the South Cluster > > > > Configuration menu > > > > > > even without those SDMMC modules, so they are > > > > probably from the > > > > > > edk2-non-osi drivers. However, the SD card didn't > > > > work until I added > > > > > > the drivers from MdeModulePkg, so I need those > > > > drivers at least for > > > > > > my Minnowboard Turbot. > > > > > > > > > > > > Thanks, > > > > > > > > > > > > Gary Lin > > > > > > > > > > > > > I agree there are ASL issues. The ASL code > > needs > > > > to be > > > > > > updated to the > > > > > > > latest ASL compiler. > > > > > > > > > > > > > > Thanks, > > > > > > > > > > > > > > Mike > > > > > > > > > > > > > > > -----Original Message----- > > > > > > > > From: Kinney, Michael D > > > > > > > > Sent: Tuesday, July 2, 2019 9:50 AM > > > > > > > > To: Gary Lin ; > > > > devel@edk2.groups.io; > > > > > > Kinney, Michael > > > > > > > > D > > > > > > > > Cc: Qian, Yi ; Sun, > > Zailiang > > > > > > > > > > > > > > > > Subject: RE: [edk2-devel] [edk2-platforms > > Patch > > > > > > 00/14] > > > > > > > > Vlv2TbltDevicePkg: Remove Intel Framework > > > > > > dependencies > > > > > > > > > > > > > > > > Hi Gary, > > > > > > > > > > > > > > > > Thanks for the branch. I have the build > > working > > > > and > > > > > > have reproduced > > > > > > > > the SMBIOS issue and am debugging that now. > > > > > > > > > > > > > > > > Mike > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > > > > > From: Gary Lin [mailto:GLin@suse.com] > > > > > > > > > Sent: Tuesday, July 2, 2019 2:48 AM > > > > > > > > > To: devel@edk2.groups.io; Kinney, Michael D > > > > > > > > > > > > > > > > > > Cc: Qian, Yi ; Sun, > > Zailiang > > > > > > > > > > > > > > > > > > Subject: Re: [edk2-devel] [edk2-platforms > > Patch > > > > > > 00/14] > > > > > > > > > Vlv2TbltDevicePkg: Remove Intel Framework > > > > > > dependencies > > > > > > > > > > > > > > > > > > On Mon, Jul 01, 2019 at 11:07:11PM +0000, > > > > Michael > > > > > > D > > > > > > > > Kinney wrote: > > > > > > > > > > Hi Gary, > > > > > > > > > > > > > > > > > > > > I recommend you rebase on top of this > > series. > > > > > > > > > > > > > > > > > > > > I have verified Linux boots and I have > > been > > > > > > working > > > > > > > > on > > > > > > > > > the GCC and > > > > > > > > > > Linux build scripts as well. > > > > > > > > > > > > > > > > > > > > Please let me know if you see any issues > > with > > > > > > this > > > > > > > > > series applied and > > > > > > > > > > I can help get them fixed. > > > > > > > > > > > > > > > > > > > Hi Mike, > > > > > > > > > > > > > > > > > > I'm rebasing my patches and they are > > available > > > > in > > > > > > my > > > > > > > > > branch: > > > > > > > > > > > > > > > > > > https://github.com/lcp/edk2- > > > > platforms/commits/vlv2- > > > > > > > > > fixes-wip > > > > > > > > > > > > > > > > > > It's based on > > > > > > > > > > > edk2(dcce9cbd48e07fcd11f7ef34cad48faf7bb61e6e) > > > > > > > > > and edk2-non- > > > > > > > > > > > osi(de0a6bc19c4ee0468f04e4d37035cdc59558137f). > > > > > > > > > > > > > > > > > > There are 3 problems I currently > > encountered, > > > > and > > > > > > maybe > > > > > > > > you can give > > > > > > > > > me some suggestions. > > > > > > > > > > > > > > > > > > 1. Missing DSDT > > > > > > > > > > > > > > > > > > When compiling DSDT, iasl failed with this > > > > error: > > > > > > > > > > > > > > > > > > DSDT.iiii 6077: > > > > > > > > > Or(ShiftLeft(Derefof(Index(CDCT, > > > > \_SB.PCI0.GFX0.MCHK.DCFE)), > > > > > > > > > 21),PARM, PARM) > > > > > > > > > Error 6163 - > > > > > > > > > ^ Object is created temporarily in another > > > > method > > > > > > and > > > > > > > > cannot be > > > > > > > > > accessed (\_SB.PCI0.GFX0. MCHK.DCFE) > > > > > > > > > > > > > > > > > > The code is from > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Silicon/Intel/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/IgdOGB > > > > > > > > > DA.ASL > > > > > > > > > > > > > > > > > > I have to comment out the line or iasl > > won't > > > > > > generate > > > > > > > > the aml file and > > > > > > > > > the OS would fail to get DSDT. > > > > > > > > > > > > > > > > > > My acpica version is 20190509, and I > > vaguely > > > > > > remember > > > > > > > > that the older > > > > > > > > > acpica seems to be more tolerant to this > > error. > > > > > > > > > > > > > > > > > > 2. Crash at SMBIOS driver > > > > > > > > > > > > > > > > > > When booting the system, I got the > > following > > > > error: > > > > > > > > > > > > > > > > > > Loading driver at 0x00078DBA000 > > > > > > > > EntryPoint=3D0x00078DBEC3C > > > > > > > > > MiscSubclass.efi > > > > > > > > > InstallProtocolInterface: BC62157E-3E33- > > 4FEC- > > > > 9920- > > > > > > > > 2D3B36D750DF > > > > > > > > > 78FE8D18 ProtectUefiImageCommon - > > > > > > > > > 0x78FE8040 > > > > > > > > > - 0x0000000078DBA000 - 0x0000000000007B80 > > > > > > > > > PlatformInfoHob->BoardId [0xB0] > > > > > > > > > GetBiosVersionDateTime > > :MNW2MAX1.X64.0084.D01 > > > > > > > > 01/01/2019 > > > > > > > > > 00:00 > > > > > > > > > SmbiosAdd: Smbios type 0 with size 0x48 is > > > > added to > > > > > > 32- > > > > > > > > bit table > > > > > > > > > SmbiosAdd: Smbios type 0 with size 0x48 is > > > > added to > > > > > > 64- > > > > > > > > bit table > > > > > > > > > SmbiosCreateTable: Initialize 32-bit entry > > > > point > > > > > > > > structure > > > > > > > > > SmbiosCreateTable() re-allocate SMBIOS 32- > > bit > > > > table > > > > > > > > > SmbiosCreateTable: Initialize 64-bit entry > > > > point > > > > > > > > structure > > > > > > > > > SmbiosCreate64BitTable() re-allocate SMBIOS > > 64- > > > > bit > > > > > > > > table Create Smbios > > > > > > > > > Manu callback. > > > > > > > > > !!!! X64 Exception Type - 06(#UD - Invalid > > > > Opcode) > > > > > > CPU > > > > > > > > Apic ID - > > > > > > > > > 00000000 !!!! > > > > > > > > > RIP - 0000000078DBEC26, CS - > > > > 0000000000000038, > > > > > > RFLAGS > > > > > > > > > - 0000000000010206 RAX - 0000000000000000, > > RCX > > > > - > > > > > > > > 000000007984A5A0, > > > > > > > > > RDX - 000000007A46E5FF RBX - > > 000000007A46E920, > > > > RSP > > > > > > - > > > > > > > > > 000000007A46E8B0, RBP - > > > > > > > > > 0000000078DC0EC0 RSI - 0000000000000012, > > RDI - > > > > > > > > > 0000000000000003 > > > > > > > > > R8 - 800000000000000E, R9 - > > > > 000000007A46E920, > > > > > > R10 - > > > > > > > > > 0000000078FE8398 > > > > > > > > > R11 - 0000000000000001, R12 - > > > > 0000000078FE8798, > > > > > > R13 - > > > > > > > > > 0000000078FE8898 > > > > > > > > > R14 - 0000000078FE8818, R15 - > > 000000007A46EC60 > > > > > > > > > DS - 0000000000000030, ES - > > > > 0000000000000030, FS > > > > > > - > > > > > > > > > 0000000000000030 > > > > > > > > > GS - 0000000000000030, SS - > > 0000000000000030 > > > > > > > > > CR0 - 0000000080010013, CR2 - > > > > 0000000000000000, > > > > > > CR3 - > > > > > > > > > 000000007A201000 > > > > > > > > > CR4 - 0000000000000628, CR8 - > > 0000000000000000 > > > > > > > > > DR0 - 0000000000000000, DR1 - > > > > 0000000000000000, > > > > > > DR2 - > > > > > > > > > 0000000000000000 > > > > > > > > > DR3 - 0000000000000000, DR6 - > > > > 00000000FFFF0FF8, > > > > > > DR7 - > > > > > > > > > 0000000000000400 GDTR - 0000000079FFDA98 > > > > > > > > 0000000000000047, LDTR - > > > > > > > > > 0000000000000000 > > > > > > > > > IDTR - 0000000079862018 0000000000000FFF, > > TR > > > > - > > > > > > > > > 0000000000000000 > > > > > > > > > FXSAVE_STATE - 000000007A46E510 !!!! Find > > image > > > > based on > > > > > > > > > IP(0x78DBEC26) > > > > > > > > > /home/gary/git/edk2- > > > > > > > > > > > > > > > > > > > > > > > > > > > > > workspace/Build/Vlv2TbltDevicePkg/DEBUG_GCC5/X64/Vlv2Tbl > > > > > > > > > > > > > > > > > > > > > > > > > > > > > tDevicePkg/SmBiosMiscDxe/SmBiosMiscDxe/DEBUG/MiscSubclas > > > > > > > > > s. > > > > > > > > > dll (ImageBase=3D0000000078DBA000, > > > > > > > > > EntryPoint=3D0000000078DBEC3C) !!!! > > > > > > > > > > > > > > > > > > I disaseembled MiscSubclass.debug and found > > > > that > > > > > > the > > > > > > > > address is a > > > > > > > > > "ud2" > > > > > > > > > instruction at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > SmBiosMiscDxe/MiscBaseBoardManufacturerFunction.c:MiscBa > > > > > > > > > seBoardManufacturer() > > > > > > > > > > > > > > > > > > After adding a few more debug messages, the > > > > system > > > > > > > > crashed at another > > > > > > > > > function: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > SmBiosMiscDxe/MiscSystemManufacturerFunction.c:AddSmbios > > > > > > > > > ManuCallback() > > > > > > > > > > > > > > > > > > If I added debug messages to both > > functions, > > > > the > > > > > > system > > > > > > > > booted > > > > > > > > > successfully. I currently didn't have any > > clue > > > > on > > > > > > this. > > > > > > > > > > > > > > > > > > 3. The firmware always booted into EFI > > shell. > > > > > > > > > > > > > > > > > > I guess something went wrong with BDS. I > > > > haven't > > > > > > looked > > > > > > > > into this > > > > > > > > > issue yet. > > > > > > > > > > > > > > > > > > Thanks, > > > > > > > > > > > > > > > > > > Gary Lin > > > > > > > > > > > > > > > > > > > Thanks, > > > > > > > > > > > > > > > > > > > > Mike > > > > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > > > > > > > From: Gary Lin [mailto:GLin@suse.com] > > > > > > > > > > > Sent: Sunday, June 30, 2019 9:04 PM > > > > > > > > > > > To: devel@edk2.groups.io; Kinney, > > Michael D > > > > > > > > > > > > > > > > > > > > > > Cc: Qian, Yi ; Sun, > > > > Zailiang > > > > > > > > > > > > > > > > > > > > > > Subject: Re: [edk2-devel] [edk2- > > platforms > > > > Patch > > > > > > > > > 00/14] > > > > > > > > > > > Vlv2TbltDevicePkg: Remove Intel > > Framework > > > > > > > > > dependencies > > > > > > > > > > > > > > > > > > > > > > On Sun, Jun 30, 2019 at 07:55:39PM - > > 0700, > > > > > > Michael > > > > > > > > D > > > > > > > > > Kinney wrote: > > > > > > > > > > > > The following changes remove all > > > > dependencies > > > > > > on > > > > > > > > > the > > > > > > > > > > > IntelFrameworkPkg > > > > > > > > > > > > and IntelFrameworkModulePkg from the > > > > > > > > > Vlv2TbltDevicePkg > > > > > > > > > > > platform > > > > > > > > > > > > builds. These changes do depend on > > > > updates > > > > > > > > > binaries > > > > > > > > > > > on the edk2-non-osi repository. > > > > > > > > > > > > > > > > > > > > > > > Hi Michael, > > > > > > > > > > > > > > > > > > > > > > I am amending the bash scripts for gcc. > > The > > > > > > > > firmware > > > > > > > > > I built is > > > > > > > > > > > using the binaries from > > Development190216 > > > > and > > > > > > could > > > > > > > > > boot into Linux > > > > > > > > > > > successfully with some workarounds for > > > > Wpce791, > > > > > > > > Bds, > > > > > > > > > and > > > > > > > > > > > InteFspWrapper. The patches you posted > > > > > > eliminate > > > > > > > > > those parts I have > > > > > > > > > > > to work around. > > > > > > > > > > > > > > > > > > > > > > Just want to know if you need any > > > > assistance > > > > > > for > > > > > > > > the > > > > > > > > > gcc build? I > > > > > > > > > > > could rebase my work upon your patches > > and > > > > send > > > > > > > > them > > > > > > > > > later. > > > > > > > > > > > > > > > > > > > > > > Thanks, > > > > > > > > > > > > > > > > > > > > > > Gary Lin > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >=20 > >=20 >=20 >=20 >=20 >=20 >=20