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](https://proton.me/) secure email.

On Sunday, July 21st, 2024 at 12:01 PM, memristor2 <memrist...@proton.me> wrote:

> Any thoughts on this?
>
> On Sunday, June 30th, 2024 at 10:58 AM, memristor2 via groups.io 
> <memristor2=proton...@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|TRUEgEfiSourceLevelDebugPkgTokenSpaceGuid.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): https://edk2.groups.io/g/devel/message/120363
Mute This Topic: https://groups.io/mt/106956967/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to