From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=40.92.72.77; helo=eur03-ve1-obe.outbound.protection.outlook.com; envelope-from=marvin.haeuser@outlook.com; receiver=edk2-devel@lists.01.org Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-oln040092072077.outbound.protection.outlook.com [40.92.72.77]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id E0B8C22364884 for ; Tue, 30 Jan 2018 09:48:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=ncxMI4BQVFZzkVMlRebF0rjJ+5ZF8ApYQHchyef1Lp0=; b=jmfYO6mDs0MAwdv7X/5Ra4Ljbk3OJa0CCkM7CZrO3wqwdUpGjCSjSpJ76XeTeMB+Gq50545k1XH2JPuWaepuj33CuZ9YtP0Ar1slWHZ3G68E8AaC+mBIRkSRmkHrDzylfejsfUAjenOKTSaVt3jBRG1ars5g+TNg24NMtJh1z2TNSvqLWFehzcM1PO01hsSKDk9XBcfCRA6g63BfvwW55+fmVXgMpy1b0tJZgZNc1n4ahO9L9moKuxrdliUvhORngZoktZskixxp31Xunc1hpw7N6KxSsufvR4DVbGpogXKzyyskIQlkVoNKpF5AixD62Sh7Ta6V/xqiBFxi0t2Qdw== Received: from VE1EUR03FT047.eop-EUR03.prod.protection.outlook.com (10.152.18.59) by VE1EUR03HT136.eop-EUR03.prod.protection.outlook.com (10.152.19.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.444.13; Tue, 30 Jan 2018 17:53:45 +0000 Received: from AM4PR06MB1491.eurprd06.prod.outlook.com (10.152.18.51) by VE1EUR03FT047.mail.protection.outlook.com (10.152.19.218) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.20.444.13 via Frontend Transport; Tue, 30 Jan 2018 17:53:45 +0000 Received: from AM4PR06MB1491.eurprd06.prod.outlook.com ([fe80::b596:356f:e561:d656]) by AM4PR06MB1491.eurprd06.prod.outlook.com ([fe80::b596:356f:e561:d656%13]) with mapi id 15.20.0444.016; Tue, 30 Jan 2018 17:53:45 +0000 From: Marvin H?user To: "edk2-devel@lists.01.org" , "Yao, Jiewen" Thread-Topic: MinPlatformPkg/PlatformInit: FV code Thread-Index: AdOZ7dDRJ47e1o0uT++5ldvAkWh9yA== Date: Tue, 30 Jan 2018 17:53:45 +0000 Message-ID: Accept-Language: de-DE, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:C28F37ADD57728240ABC382D47988873D279A74C2C4DDF0BD76AE82F9F708FFA; UpperCasedChecksum:A838FA4AC6FEB5E1894CA84621912DD8DBB4536F267CAB2D85456217B88E2DB4; SizeAsReceived:6878; Count:43 x-tmn: [Z0NY4w5280v7rocXHcTX37KMA6H6AoxB] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VE1EUR03HT136; 6:5xkht8a1qTvDHnWRvnxIao7Sh/0Q7NdbtPMEc9zvLoc8sZv+69UcignEwRG3DpUEKEk2j8F+qHLOC40FZvu/VpbwlB8I9mmIP3dHPclpfbyq/sOpzzyjTMvmpnahDttzgQunv0RlnG1TCpiBpcSOXqPESIu8E+YItefTel0lozN4mvxYbx8CVXbDt94P5WllGBJkIohcetXk2918oZcOREEgfStGMLgE6eMQ++ZtYFcePYNveWW3tQNO22vfzdT5LffqWBNVvYnjtbYtYrsM5/OopkF8HjBC7qF/Z20tDCFZeYORzspRE4fjVM3pXdrGZ/NELpmRQ1iYqIuKq4hNm+3c1jH14KYx5joNxNxacIE=; 5:9oQfQa5cDHZsBCMYRhs3OauFCieJC9/KexyEBS6b6xMuc1YLfV5TRg2tgegNy94Zxt9E+icAxUwngQS2xAvFqXbSIZaxuojDXoZXpMP5oOSZA8SkGqLaDeWwDmfjPsZBqPnYwXEKPIiYDjtp0K/rHq+NO+etGg1qyGXVuB6hLjg=; 24:bgtwTa/V2WlZneneo/Z1Vm59Kv2ojRUgPR/hpOCvgENaQuMmdec3xzOUy+yVsDZfS8gX76f2WBQd57zcaNLBDKEyzUqlgy04Yknjbg+Y188=; 7:deDbPlc9KKw54ke9uqyTTm62MaanJQOLNbyZQL2ruH6IOs7VCZPXfB+I2ylpKnKEZnmc8d3ZAC9Qr/abdjwsV39nsyROAL714keUmxmKxHPU+zmrIoi9YLHCGlP4mgGqF9VdY3GO6/uvj++/SHjUHXePMs5Dw917YlzNdy+/oPAQXndHPQEuR/8jtJATlrgK7mNXzamfg1t2+iUGMoofO8QigjEJ75LMbiEtR34E6x5ESUivX+Idwpp+Qn20wbZT x-incomingheadercount: 43 x-eopattributedmessage: 0 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1603101448)(1601125374)(1701031045); SRVR:VE1EUR03HT136; x-ms-traffictypediagnostic: VE1EUR03HT136: x-ms-office365-filtering-correlation-id: e6349cfd-45fe-4d22-d3e8-08d5680a6864 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(444000031); SRVR:VE1EUR03HT136; BCL:0; PCL:0; RULEID:; SRVR:VE1EUR03HT136; x-forefront-prvs: 0568F32D91 x-forefront-antispam-report: SFV:NSPM; SFS:(7070007)(98901004); DIR:OUT; SFP:1901; SCL:1; SRVR:VE1EUR03HT136; H:AM4PR06MB1491.eurprd06.prod.outlook.com; FPR:; SPF:None; LANG:; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e6349cfd-45fe-4d22-d3e8-08d5680a6864 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jan 2018 17:53:45.2724 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1EUR03HT136 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 Subject: MinPlatformPkg/PlatformInit: FV code X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jan 2018 17:48:17 -0000 Content-Language: de-DE Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Dear developers, dear Jiewen, I have been investigating the devel-MinPlatform branch of edk2-platforms fo= r educational purposes and got two questions regarding the Firmware Volume = code in PlatformInitPreMem, if you do not mind. I assume the tree was teste= d, so most likely I misunderstood some things. 1. Why is a Firmware Volume HOB built to cover the entire flash range (h= ttps://github.com/tianocore/edk2-platforms/blob/devel-MinPlatform/Platform/= Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformInitPreMem.c#L379= )? Am I correct that this implies a FV spanning through the entire flash MM= IO range, which would then imply all other FVs are contained within it? Thi= s would make sense, however that's not what I saw in the KabylakeOpenBoardP= kg Flash Map, which has the NV Storage first (https://github.com/tianocore/= edk2-platforms/blob/devel-MinPlatform/Platform/Intel/KabylakeOpenBoardPkg/I= nclude/Fdf/FlashMapInclude.fdf#L25). 2. Why are FV Info PPIs installed for the UefiBoot and the OsBoot FVs (h= ttps://github.com/tianocore/edk2-platforms/blob/devel-MinPlatform/Platform/= Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformInitPreMem.c#L344= )? If I checked correctly, installing this PPI type will trigger PeiCore to= dispatch PEIMs in the FVs, however there are only DXE drivers in these. Wh= y are no FV HOBs installed, which are gotten by DxeCore? Thanks in advance for your time! Best regards, Marvin.