From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-x244.google.com (mail-wm0-x244.google.com [IPv6:2a00:1450:400c:c09::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 0F9C681F1F for ; Wed, 16 Nov 2016 12:27:23 -0800 (PST) Received: by mail-wm0-x244.google.com with SMTP id u144so14806865wmu.0 for ; Wed, 16 Nov 2016 12:27:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:from:subject:message-id:date:user-agent:mime-version; bh=GzSZOT6RPEN1u3E7SylVXgC5NlcUhFuEpbElLE0pG90=; b=gk3uvtdAXy9ChHG88PtPoftMEdMs+duzGJEh2o3UNoIldeWL0AUHTALOGDOC4NvX1Y ytzxeLvjYtolDHIQ+KDdT/D4Gxdsf14fNIza0SkeoxWPELjREkN0wpxA9yP6HkQjEJcU Cjqy+EkFKT/Iq7mDCgXOqn7xqIwiXO74gXN2FsWbaDi2SJNqIV5h5HTdnt7GIJ2qmY1o bz6NhEg9THppa34/UxUkq85dk4fNOzwyl+UpOHlaI0cZ3e7dOc9aZWUSswXco0NS0+qq +diEnfQ4hqpIPjiZlEiXNZmjRqPJWE2oTBRpmfxM4G5t+g4ZerGQ7QtgUdFpRh8BwnPW W4Kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version; bh=GzSZOT6RPEN1u3E7SylVXgC5NlcUhFuEpbElLE0pG90=; b=iGlERWBAveURt6lC07A9MXg2bOQOGEwWMsWM/P3g1u4eFaK5cwQ+hzl8zcZaX+ENwn NiCG10T/YSVMAkhJT4ChWCZcF+m6qA0LE5tVp7PSPfF6l6rmQQnMMC5uSJPMZOhj3B/t WsY6TjFX3kv4BKFKakW+g/PSHDZ+5mpr7tzjOh9xJEB9ia6A/r/7SLYy3dC2wVpp+MdR mV7fEhBnZS82arySoS8bNSR6iAmZZtFCoMf7U+IBbDxAunrhhaLe7euRk7WAqZW2Ac3e p7In7gMkGRbO26AUMxbA71oVeTaU+MbBAsSHvK18iDzY0tiFhRadEwxSLFvk3Nod9iAk x4jg== X-Gm-Message-State: ABUngvcI9sbJm1EPvlsdDagDHkMVtooT/IxxqEWehn4jcLqgAO9cv8BT5J/BlfdIdRf88g== X-Received: by 10.28.137.81 with SMTP id l78mr11852518wmd.36.1479328046052; Wed, 16 Nov 2016 12:27:26 -0800 (PST) Received: from [10.0.0.50] (HSI-KBW-046-005-016-045.hsi8.kabel-badenwuerttemberg.de. [46.5.16.45]) by smtp.gmail.com with ESMTPSA id d10sm26444871wja.20.2016.11.16.12.27.24 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 16 Nov 2016 12:27:24 -0800 (PST) To: edk2-devel@lists.01.org From: =?UTF-8?Q?Janne_He=c3=9f?= Message-ID: <731f591b-599d-18ab-758c-221c0311bd3b@gmail.com> Date: Wed, 16 Nov 2016 21:27:21 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 Subject: Tianocore hangs on boot X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Nov 2016 20:27:23 -0000 X-Groupsio-MsgNum: 4922 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="OfDM8sXHnha26FTJPENNluAH29S6l27hw" --OfDM8sXHnha26FTJPENNluAH29S6l27hw From: =?UTF-8?Q?Janne_He=c3=9f?= To: edk2-devel@lists.01.org Message-ID: <731f591b-599d-18ab-758c-221c0311bd3b@gmail.com> Subject: Tianocore hangs on boot Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello everyone, I' currently trying to get CorebootPayloadPkg to work on QEMU. I turned on Tianocore debugging (see my previous message) and tried to run a coreboot with UEFIPAYLOAD.fd as ELF executable payload which resulted in the VM hanging. I also tried to add it as a payload of the "Tianocore" type (which seemed to be more logical but is not what the documentation says), but I got the same result. My QEMU command line: qemu-system-x86_64 -M pc -bios build/coreboot.rom -serial stdio -m 1G -vga qxl Log of Tianocore: PDB =3D /build/edk2/Build/CorebootPayloadPkgX64/DEBUG_GCC5/IA32/CorebootModulePkg= /SecCore/SecCore/DEBUG/SecCore.dll PDB =3D /build/edk2/Build/CorebootPayloadPkgX64/DEBUG_GCC5/IA32/MdeModulePkg/Core= /Pei/PeiMain/DEBUG/PeiCore.dll Register PPI Notify: DCD0BE23-9586-40F4-B643-06522CED4EDE Install PPI: 8C8CE578-8A3D-4F1C-9935-896185C32DD3 Install PPI: 5473C07A-3DCB-4DCA-BD6F-1E9689E7349A The 0th FV start address is 0x00000800000, size is 0x00030000, handle is = 0x0 Register PPI Notify: 49EDB1C1-BF21-4761-BB12-EB0031AABB39 Register PPI Notify: EA7CA24B-DED5-4DAD-A389-BF827E8F9B38 Install PPI: B9E0ABFE-5979-4914-977F-6DEE78C278A6 Install PPI: DBE23AA9-A345-4B97-85B6-B226F1617389 Evaluate PEI DEPEX for FFS(9B3ADA4F-AE56-4C24-8DEA-F03B7558AE50) TRUE END RESULT =3D TRUE PDB =3D /build/edk2/Build/CorebootPayloadPkgX64/DEBUG_GCC5/IA32/MdeModulePkg/Univ= ersal/PCD/Pei/Pcd/DEBUG/PcdPeim.dll Loading PEIM at 0x00000812140 EntryPoint=3D0x000008139D3 PcdPeim.efi Install PPI: 06E81C58-4AD7-44BC-8390-F10265F72480 Install PPI: 01F34D25-4DE2-23AD-3FF3-36353FF323F1 Install PPI: 4D8B155B-C059-4C8F-8926-06FD4331DB8A Install PPI: A60C6B59-E459-425D-9C69-0BCC9CB27D81 Evaluate PEI DEPEX for FFS(A3610442-E69F-4DF3-82CA-2360C4031A23) PUSH GUID(01F34D25-4DE2-23AD-3FF3-36353FF323F1) =3D TRUE END RESULT =3D TRUE PDB =3D /build/edk2/Build/CorebootPayloadPkgX64/DEBUG_GCC5/IA32/MdeModulePkg/Univ= ersal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei/DEBUG/ReportSt= atusCodeRouterPei.dll Loading PEIM at 0x00000817BC0 EntryPoint=3D0x00000819C2B ReportStatusCodeRouterPei.efi Install PPI: 0065D394-9951-4144-82A3-0AFC8579C251 Install PPI: 229832D3-7A30-4B36-B827-F40CB7D45436 Evaluate PEI DEPEX for FFS(9D225237-FA01-464C-A949-BAABC02D31D0) PUSH GUID(0065D394-9951-4144-82A3-0AFC8579C251) =3D TRUE PUSH GUID(01F34D25-4DE2-23AD-3FF3-36353FF323F1) =3D TRUE AND END RESULT =3D TRUE PDB =3D /build/edk2/Build/CorebootPayloadPkgX64/DEBUG_GCC5/IA32/MdeModulePkg/Univ= ersal/StatusCodeHandler/Pei/StatusCodeHandlerPei/DEBUG/StatusCodeHandlerP= ei.dll Loading PEIM at 0x0000081AEC0 EntryPoint=3D0x0000081CE7F StatusCodeHandlerPei.efi PROGRESS CODE: V03020003 I0 Evaluate PEI DEPEX for FFS(352C6AF8-315B-4BD6-B04F-31D4ED1EBE57) PUSH GUID(01F34D25-4DE2-23AD-3FF3-36353FF323F1) =3D TRUE END RESULT =3D TRUE PDB =3D /build/edk2/Build/CorebootPayloadPkgX64/DEBUG_GCC5/IA32/CorebootModulePkg= /CbSupportPei/CbSupportPei/DEBUG/CbSupportPeim.dll Loading PEIM at 0x0000081E1C0 EntryPoint=3D0x0000081F9B1 CbSupportPeim.ef= i PROGRESS CODE: V03020002 I0 0. 0000000000000000 - 0000000000000FFF [10] 1. 0000000000001000 - 000000000009FFFF [01] 2. 00000000000C0000 - 000000003FFAFFFF [01] 3. 000000003FFB0000 - 000000003FFFFFFF [10] 4. 00000000FF800000 - 00000000FFFFFFFF [02] Low memory 0x0 SystemLowMemTop 0x40000000 PeiMemBase: 0xFFFFFFFFFC000000. PeiMemSize: 0x4000000. PeiInstallPeiMemory MemoryBegin 0xFFFFFFFFFC000000, MemoryLength 0x400000= 0 MtrrSetMemoryAttribute() WB:0000000000100000-FFFFFFFFFFF00000 Status =3D Unsupported MtrrSetMemoryAttribute() WB:0000000000000000-00000000000A0000 Status =3D Success MTRR Settings =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D MTRR Default Type: 0000000000000C00 Fixed MTRR[00] : 0606060606060606 Fixed MTRR[01] : 0606060606060606 Fixed MTRR[02] : 0000000000000000 Fixed MTRR[03] : 0000000000000000 Fixed MTRR[04] : 0000000000000000 Fixed MTRR[05] : 0000000000000000 Fixed MTRR[06] : 0000000000000000 Fixed MTRR[07] : 0000000000000000 Fixed MTRR[08] : 0000000000000000 Fixed MTRR[09] : 0000000000000000 Fixed MTRR[10] : 0000000000000000 Variable MTRR[00]: Base=3D0000000000000000 Mask=3D0000000000000000 Variable MTRR[01]: Base=3D0000000000000000 Mask=3D0000000000000000 Variable MTRR[02]: Base=3D0000000000000000 Mask=3D0000000000000000 Variable MTRR[03]: Base=3D0000000000000000 Mask=3D0000000000000000 Variable MTRR[04]: Base=3D0000000000000000 Mask=3D0000000000000000 Variable MTRR[05]: Base=3D0000000000000000 Mask=3D0000000000000000 Variable MTRR[06]: Base=3D0000000000000000 Mask=3D0000000000000000 Variable MTRR[07]: Base=3D0000000000000000 Mask=3D0000000000000000 MTRR Ranges =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D WB:0000000000000000-000000000009FFFF UC:00000000000A0000-00000000000FFFFF UC:0000000000100000-000000FFFFFFFFFF Found one valid fv : 0x3E000000830000. Install PPI: 49EDB1C1-BF21-4761-BB12-EB0031AABB39 Notify: PPI Guid: 49EDB1C1-BF21-4761-BB12-EB0031AABB39, Peim notify entry point: 808000 The 1th FV start address is 0x00000830000, size is 0x003E0000, handle is 0x830000 Install PPI: 7408D748-FC8C-4EE6-9288-C4BEC092A410 Actual Coreboot header: 3FFD6000. Find CbMemTable Id 0x41435049, base 3FFB1000, size 0x24000 Find CbMemTable Id 0x534D4254, base 3FFB0000, size 0x800 Detected Acpi Table at 0x3FFB1000, length 0x24000 Detected Smbios Table at 0x3FFB0000, length 0x800 Create system table info guid hob Find CbMemTable Id 0x41435049, base 3FFB1000, size 0x24000 Find Rsdp at 3FFB1000 Find Rsdt 0x3FFB291D, Xsdt 0x0 PmCtrl Reg 0xE404 PmTimer Reg 0xE408 Reset Reg 0xC10100000078 Reset Value 0x0 PmEvt Reg 0xE400 PmGpeEn Reg 0xAFE2 Create acpi board info guid hob Found coreboot video frame buffer information physical_address: 0xF4000000 x_resolution: 0x320 y_resolution: 0x258 bits_per_pixel: 0x20 bytes_per_line: 0xC80 red_mask_size: 0x8 red_mask_pos: 0x10 green_mask_size: 0x8 green_mask_pos: 0x8 blue_mask_size: 0x8 blue_mask_pos: 0x0 reserved_mask_size: 0x8 reserved_mask_pos: 0x18 Create frame buffer info guid hob PROGRESS CODE: V03020003 I0 Temp Stack : BaseAddress=3D0x88000 Length=3D0x8000 Temp Heap : BaseAddress=3D0x80000 Length=3D0x8000 Total temporary memory: 65536 bytes. temporary memory stack ever used: 32768 bytes. temporary memory heap used: 3688 bytes. Old Stack size 32768, New stack size 131072 Stack Hob: BaseAddress=3D0xFFFFFFFFFC000000 Length=3D0x20000 Heap Offset =3D 0xFBFA0000 Stack Offset =3D 0xFBF90000 It just keeps hanging here. I'm sorry for just dumping the log here, but I really don't understand what the problem is and hope anybody here knows something so I can boot Tianocore with Coreboot. Thanks in advance. Regards Janne --OfDM8sXHnha26FTJPENNluAH29S6l27hw Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCAAGBQJYLMEpAAoJEGkWUVjwUmXfB7EP/3Niv75mjCXETMEY4npBPlGQ TuyxXmmBSuF03lAwaMNXz5tRaEpdpZrrq6Eoea++QjVr9TuOBLoiUQmwMExpDM/x R2vYyO1AkvVC+4eV80BYKop74mqkVS4S8/++NGRzX54WwvX9SXifW+fEPEhKv5UQ BbhEyCKZ9y0LYIGmvd5yhXLcO/ENnzUiXwga4cOHn5XG3fkS9haLC7l1IHk8VF7/ jGcojnk9F9/5IlZHriT5OKVRQIFN4MyxJGhQwkg8/XbVVR+hPHEoR++mfU74OOSK 0djpVz5GCFcMISLIiOchivIW+nWNV3IBTElXha1AbEIwJK/qmbixo9TnhCq28duO y0Jxg3MOKzhOGlMdC0hyuLSTckq1BLhyu+zuOpPIDxTJr4YmPEgX7PehvyQt5HPG BKOTqVJ9SZkO+D7TRu6XEf9s3naogX47PNaQ13dVcwG6UCb2ussdaD2PkDwDCO3J z24ZyUvK6lmdlQkbN5xJGONf+v+SfyNSKKbgv3QVr33vGETHR9S82xA3r5Ajg5aL xNehuPai0SSGxgUnDgqxOxJ4RCrEPiunlXnq4fYmeQFT24OJwmLuolWEgu3/7RHF XrHTccpWit53Ni9lui6ETC6LTKCc3RIaU2UhEz96+dgYyNLCvQFryk3z6qTpnuUv /lh74CD4m+u9EU1Zckfn =Op2l -----END PGP SIGNATURE----- --OfDM8sXHnha26FTJPENNluAH29S6l27hw--