public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Piotr Król" <piotr.krol@3mdeb.com>
To: edk2-devel@lists.01.org
Subject: CorebootPayloadPkg: redirect UEFI Shell to serial
Date: Mon, 10 Jul 2017 23:31:29 +0200	[thread overview]
Message-ID: <721bf59b-166b-7a67-a1e7-b3e30d2487d3@3mdeb.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1466 bytes --]

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 Shell:

[Bds]Booting UEFI Shell
[Bds] Expand
MemoryMapped(0xB,0x830000,0xC0FFFF)/FvFile(7C04A583-9E3E-4F1C-AD65-E05268D0B4D1)
->
MemoryMapped(0xB,0x830000,0xC0FFFF)/FvFile(7C04A583-9E3E-4F1C-AD65-E05268D0B4D1)
PROGRESS CODE: V03058000 I0
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B CF8FBD40
Loading driver at 0x000CF54D000 EntryPoint=0x000CF556CCF 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,
-- 
Piotr Król
Embedded Systems Consultant
https://3mdeb.com | @3mdeb_com


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

             reply	other threads:[~2017-07-10 21:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-10 21:31 Piotr Król [this message]
2017-07-11 18:01 ` CorebootPayloadPkg: redirect UEFI Shell to serial Laszlo Ersek
2017-07-13 23:53   ` Piotr Król
2017-07-14  1:06     ` Laszlo Ersek
2017-07-15 13:00       ` Piotr Król
2017-07-25  9:16         ` Laszlo Ersek
2017-08-05  0:13           ` Piotr Król

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=721bf59b-166b-7a67-a1e7-b3e30d2487d3@3mdeb.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox