From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=212.61.153.67; helo=mail.prodrive-technologies.com; envelope-from=hristo.mihaylov@prodrive-technologies.com; receiver=edk2-devel@lists.01.org Received: from mail.prodrive-technologies.com (mail.prodrive-technologies.com [212.61.153.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 68837210E3DD1 for ; Thu, 9 Aug 2018 05:14:44 -0700 (PDT) Received: from mail.prodrive-technologies.com (localhost.localdomain [127.0.0.1]) by localhost (Email Security Appliance) with SMTP id 4036533061_B6C3033B for ; Thu, 9 Aug 2018 12:14:43 +0000 (GMT) Received: from mail.prodrive-technologies.com (exc03.bk.prodrive.nl [10.1.1.212]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.prodrive-technologies.com", Issuer "Prodrive Technologies B.V. OV SSL Issuing CA" (verified OK)) by mail.prodrive-technologies.com (Sophos Email Appliance) with ESMTPS id CB05B30E9D_B6C3032F for ; Thu, 9 Aug 2018 12:14:42 +0000 (GMT) Received: from EXC04.bk.prodrive.nl (10.1.1.213) by EXC03.bk.prodrive.nl (10.1.1.212) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Thu, 9 Aug 2018 14:14:39 +0200 Received: from EXC04.bk.prodrive.nl ([fe80::e001:9efb:bb02:1d15]) by EXC04.bk.prodrive.nl ([fe80::e001:9efb:bb02:1d15%15]) with mapi id 15.01.1261.035; Thu, 9 Aug 2018 14:14:39 +0200 From: Hristo Mihaylov To: "edk2-devel@lists.01.org" Thread-Topic: DxeIpl module cannot find DXE entry point Thread-Index: AdQv2nWb2G1pAdiURhmsQUjg9GkoiA== Date: Thu, 9 Aug 2018 12:14:39 +0000 Message-ID: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.1.2.1] MIME-Version: 1.0 X-SASI-RCODE: 200 X-Content-Filtered-By: Mailman/MimeDel 2.1.27 Subject: DxeIpl module cannot find DXE entry point X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Aug 2018 12:14:45 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, This is my first time posting to a mailing list. I am building a custom pla= tform that fails when handing off control from PEIM to DXE. Here's the error: ``` ASSERT_EFI_ERROR (Status =3D Not Found) ASSERT c:\users\hrimih\documents\work\scalable\bios\MdeModulePkg\Core\DxeIp= lPeim\DxeLoad.c(480): !EFI_ERROR (Status) ``` In the platform only the DXE phase is compressed, using LZMA. I suspect tha= t it's not being decompressed and the module cannot find the DXE entry poin= t. This is the relevant .FDF part. ``` [FV.FVMAIN] BlockSize =3D 0x10000 FvAlignment =3D 16 ERASE_POLARITY =3D 1 MEMORY_MAPPED =3D TRUE STICKY_WRITE =3D TRUE LOCK_CAP =3D TRUE LOCK_STATUS =3D TRUE WRITE_DISABLED_CAP =3D TRUE WRITE_ENABLED_CAP =3D TRUE WRITE_STATUS =3D TRUE WRITE_LOCK_CAP =3D TRUE WRITE_LOCK_STATUS =3D TRUE READ_DISABLED_CAP =3D TRUE READ_ENABLED_CAP =3D TRUE READ_STATUS =3D TRUE READ_LOCK_CAP =3D TRUE READ_LOCK_STATUS =3D TRUE FvNameGuid =3D CDBB7B35-6833-4ed6-9AB2-57D2ACDDF6F0 .... INF modules .... [FV.FVMAIN_COMPACT] FvAlignment =3D 16 ERASE_POLARITY =3D 1 MEMORY_MAPPED =3D TRUE STICKY_WRITE =3D TRUE LOCK_CAP =3D TRUE LOCK_STATUS =3D TRUE WRITE_DISABLED_CAP =3D TRUE WRITE_ENABLED_CAP =3D TRUE WRITE_STATUS =3D TRUE WRITE_LOCK_CAP =3D TRUE WRITE_LOCK_STATUS =3D TRUE READ_DISABLED_CAP =3D TRUE READ_ENABLED_CAP =3D TRUE READ_STATUS =3D TRUE READ_LOCK_CAP =3D TRUE READ_LOCK_STATUS =3D TRUE FvNameGuid =3D 27A72E80-3118-4c0c-8673-AA5B4EFA9613 FILE FV_IMAGE =3D 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 { SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = =3D TRUE { SECTION FV_IMAGE =3D FVMAIN } } ``` Then in the .DSC I have: ``` MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf { NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompres= sLib.inf } ``` And for the DXE Main: ``` MdeModulePkg/Core/Dxe/DxeMain.inf { DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32Gui= dedSectionExtractLib.inf NULL| MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompre= ssLib.inf gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0 } ``` I expect that this PEIM module will decompress the DXE partition and find t= he entry point: ``` DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf ``` Any advice on how I can debug/fix this? Regards, Hristo Mihaylov