On 07/10/17 23:31, Piotr Król wrote:
> 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.

CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc seems to correctly
include the general SerialDxe driver:

  #
  # ISA Support
  #
  MdeModulePkg/Universal/SerialDxe/SerialDxe.inf

and on top of that, the terminal and console drivers:

  #
  # Console Support
  #
  MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
  MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
  MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
  MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf

I imagine SerialDxe is not configured correctly for the platform. Can
you look into the PCDs that SerialDxe consumes (see the INF file),
and/or whether
"CorebootModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf",
which SerialDxe depends on in the CorebootPayloadPkg build, is
appropriate for your hardware? (This lib instance also consumes a large
set of PCDs.)

Laszlo
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to