Hi Pete,<br /><br />I've submitted this patch because the mini UART serial console produces garbage since UEFI v1.25 (due to the wrong baud rate). <br />It has been tested on the firmware shipped with UEFI v1.24 and it works fine. I don't see any reason to test it on older versions than this.<br /><br />The core clock is not fixed. I've made PcdSerialClockRate patchable here:<br />
<blockquote><span style="white-space: pre-wrap;">@@ -465,6 +464,9 @@ [PcdsFixedAtBuild.common]</span><br style="white-space: pre-wrap;" /><span style="white-space: pre-wrap;"> gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor|L"EDK2"</span><br style="white-space: pre-wrap;" /><span style="white-space: pre-wrap;"> gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|TRUE</span><br style="white-space: pre-wrap;" /><br style="white-space: pre-wrap;" /><span style="white-space: pre-wrap;">+[PcdsPatchableInModule]</span><br style="white-space: pre-wrap;" /><span style="white-space: pre-wrap;">+ gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate|500000000</span><br style="white-space: pre-wrap;" /><span style="white-space: pre-wrap;">+<br /></span></blockquote>
500 MHz is the default clock rate (assuming it hasn't been changed in config.txt). <br />The PCD gets patched in both the PEI and DXE phases to the value read from mailbox. 


 <div width="1" style="color:white;clear:both">_._,_._,_</div> <hr> Groups.io Links:<p>   You receive all messages sent to this group.    <p> <a target="_blank" href="https://edk2.groups.io/g/devel/message/73668">View/Reply Online (#73668)</a> |    |  <a target="_blank" href="https://groups.io/mt/81808942/1813853">Mute This Topic</a>  | <a href="https://edk2.groups.io/g/devel/post">New Topic</a><br>    <a href="https://edk2.groups.io/g/devel/editsub/1813853">Your Subscription</a> | <a href="mailto:devel+owner@edk2.groups.io">Contact Group Owner</a> |  <a href="https://edk2.groups.io/g/devel/unsub">Unsubscribe</a>  [edk2-devel-archive@redhat.com]<br> <div width="1" style="color:white;clear:both">_._,_._,_</div>