* Re: [edk2-devel] Serial Debug not working in JunctionCity Whitley Platform
[not found] <17DDB7983E5988BE.20740@groups.io>
@ 2024-07-21 8:31 ` memristor2 via groups.io
2024-08-18 11:42 ` memristor2 via groups.io
0 siblings, 1 reply; 3+ messages in thread
From: memristor2 via groups.io @ 2024-07-21 8:31 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 1626 bytes --]
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|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 (#119997): https://edk2.groups.io/g/devel/message/119997
Mute This Topic: https://groups.io/mt/106956967/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-
[-- Attachment #2: Type: text/html, Size: 4297 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [edk2-devel] Serial Debug not working in JunctionCity Whitley Platform
2024-07-21 8:31 ` [edk2-devel] Serial Debug not working in JunctionCity Whitley Platform memristor2 via groups.io
@ 2024-08-18 11:42 ` memristor2 via groups.io
0 siblings, 0 replies; 3+ messages in thread
From: memristor2 via groups.io @ 2024-08-18 11:42 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 1981 bytes --]
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 <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|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/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-
[-- Attachment #2: Type: text/html, Size: 5440 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* [edk2-devel] Serial Debug not working in JunctionCity Whitley Platform
@ 2024-06-30 7:28 memristor2 via groups.io
0 siblings, 0 replies; 3+ messages in thread
From: memristor2 via groups.io @ 2024-06-30 7:28 UTC (permalink / raw)
To: devel@edk2.groups.io
[-- Attachment #1: Type: text/plain, Size: 1465 bytes --]
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 (#119730): https://edk2.groups.io/g/devel/message/119730
Mute This Topic: https://groups.io/mt/106956967/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-
[-- Attachment #2: Type: text/html, Size: 3854 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-08-18 11:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <17DDB7983E5988BE.20740@groups.io>
2024-07-21 8:31 ` [edk2-devel] Serial Debug not working in JunctionCity Whitley Platform memristor2 via groups.io
2024-08-18 11:42 ` memristor2 via groups.io
2024-06-30 7:28 memristor2 via groups.io
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox