It seemed that the InitializeSio routine was incomplete and the AST2500 wasn't being programmed properly for serial logging. I have fixed this issue by completing the the SIO initialization.

Sent with Proton Mail secure email.

On Sunday, July 21st, 2024 at 12:01 PM, memristor2 <memristor2@proton.me> wrote:
Any thoughts on this?


On Sunday, June 30th, 2024 at 10:58 AM, memristor2 via groups.io <memristor2=proton.me@groups.io> wrote:

Hello everyone,
I'm trying to get the serial debug working on my platform but I don't know why i can't see the debug logs.
This is the library use3d for SerialPortLIb inside the platform's dsc:
SerialPortLib|WhitleyPkg/Library/SerialPortLib/SerialPortLib.inf
Also these are the values of the debug Pcds:
gEfiMdePkgTokenSpaceGuid.PcdFixedDebugPrintErrorLevel|0x802A00C7
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F     
gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE
gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
I don't know why I cant see the debug logs. Even though I'm sure the SerialPortInitialize function and all of its subroutines (this path SerialPortLib|WhitleyPkg/Library/SerialPortLib/SerialPortLib.inf ) are getting executed. I suspected that the ast2500 configuration isn't right (inside InitializeSio) but I double-checked it with the datasheet and everything seemed aligned to it.
This is getting frustrating since I need the debug for further development.
Any help is highly appreciated.
Memristor
  



_._,_._,_

Groups.io Links:

You receive all messages sent to this group.

View/Reply Online (#120363) | | Mute This Topic | New Topic
Your Subscription | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_