From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cloudserver096301.home.net.pl (cloudserver096301.home.net.pl [79.96.179.35]) (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 0001E21CAD9AC for ; Mon, 10 Jul 2017 14:29:49 -0700 (PDT) Received: from 109241231046.gdansk.vectranet.pl (109.241.231.46) (HELO [192.168.0.106]) by serwer1539010.home.pl (79.96.179.35) with SMTP (IdeaSmtpServer 0.82) id 394449cb6cd1a111; Mon, 10 Jul 2017 23:31:30 +0200 To: edk2-devel@lists.01.org From: =?UTF-8?Q?Piotr_Kr=c3=b3l?= Message-ID: <721bf59b-166b-7a67-a1e7-b3e30d2487d3@3mdeb.com> Date: Mon, 10 Jul 2017 23:31:29 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 Subject: CorebootPayloadPkg: redirect UEFI Shell to serial X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jul 2017 21:29:50 -0000 X-Groupsio-MsgNum: 12343 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="k44pqK4Jcbv76iWraEWiBvaKoen3IFQ9N" --k44pqK4Jcbv76iWraEWiBvaKoen3IFQ9N Content-Type: multipart/mixed; boundary="1b0Fb29fXEg9VJU59vOdDmF7jBOX1uCOQ"; protected-headers="v1" From: =?UTF-8?Q?Piotr_Kr=c3=b3l?= To: edk2-devel@lists.01.org Message-ID: <721bf59b-166b-7a67-a1e7-b3e30d2487d3@3mdeb.com> Subject: CorebootPayloadPkg: redirect UEFI Shell to serial --1b0Fb29fXEg9VJU59vOdDmF7jBOX1uCOQ Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Hi all, I'm trying to enable CorebootPayloadPkg on PC Engines APU2 (AMD Embedded G series GX-412TC). I passed some asserts related to RTC and memory reservation for LAPIC/APIC/HPET. Now it looks like I'm starting UEFI Shel= l: [Bds]Booting UEFI Shell [Bds] Expand MemoryMapped(0xB,0x830000,0xC0FFFF)/FvFile(7C04A583-9E3E-4F1C-AD65-E05268= D0B4D1) -> MemoryMapped(0xB,0x830000,0xC0FFFF)/FvFile(7C04A583-9E3E-4F1C-AD65-E05268= D0B4D1) PROGRESS CODE: V03058000 I0 InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B CF8FBD40 Loading driver at 0x000CF54D000 EntryPoint=3D0x000CF556CCF Shell.efi InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF CF927818 ProtectUefiImageCommon - 0xCF8FBD40 - 0x00000000CF54D000 - 0x00000000000F4380 PROGRESS CODE: V03058001 I0 InstallProtocolInterface: 387477C2-69C7-11D2-8E39-00A0C969723B CF8DEBA0 InstallProtocolInterface: 752F3136-4E16-4FDC-A22A-E5F46812F4CA CF8DDF98 What's missing is UEFI Shell output on serial console. APU2 do not have wired video output. That's why I would like to enable UEFI Shell output to serial. I tried to replace DebugLib with MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf, but this lead to reboot after loading protocols. I believe this is well known problem, but cannot find information about that. Any pointers would be appreciated. Best Regards, --=20 Piotr Kr=C3=B3l Embedded Systems Consultant https://3mdeb.com | @3mdeb_com --1b0Fb29fXEg9VJU59vOdDmF7jBOX1uCOQ-- --k44pqK4Jcbv76iWraEWiBvaKoen3IFQ9N Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE4DCbLYWmfoRjKeNLsu5x6WeqnkwFAllj8jEACgkQsu5x6Weq nkyeig/+LD5IHwIqUbyS21OgRlhZBj/GXuaimhtIdZ2Rby2vuv6V3WsCzSlg6BeZ zUei1KXMCHaS2Wu9c+ZT1TBrzwKV6E9bXsGVlBKfrpv/YZ6nyU0RYtgqJF3+VNwk xdoLF6MTGKKtaYiw1NIeTW/7f2Vg6JkIatxcyfEAfOMulceriOlhhC/AYriy/sFz 9p4q6nj1WCA+AVTA24Zvnbh9pliTYSEpuwBcGJU486xrIT7GCuQ717vMx/8HQScp gGqKlMTvb6d0W5Lvpyqc9q3ZH3E/RuM/J7KtWmyeRCMA4C17S1H3jT+Lb55IyMys YsTcxBZham6OL9BdNq/S8y50NKfmSKyqcl0KJHmiqKMSoJeWEQLdgitK8AidRPZ/ AZFl+dfsmaI5SiZYZztPb5Sq7CIo31JG88M6fzPLeejZOWLvwUYZm7t2r05al1Gb McRTsJ3977B1DbDWG03xZHYjzCHNk8T0sAyQ3eYgedhC2Ec8x4h9dmWrwCg8H4QX 1NDDC4GtCl2g3+v2K/AXTkpF0O/dEkviQP2I10AMhk1UIXjrsQaKUaod5K3lL4MF Z2NocRRiLBGyV/ds2ctqVO07W2Y8CJS9HuPXxrWhlS0qx2CnoAScfzKoj8z07Md1 DtNSMRtfu4ZTOLOk9XWu4nUHYwVJLdEA3MHnwuD5Sh2LSJOl5m8= =5F+5 -----END PGP SIGNATURE----- --k44pqK4Jcbv76iWraEWiBvaKoen3IFQ9N--