[edk2-devel] Cannot access SerialPortPoll function

2024-04-25 Thread Ba Gia Bao Phan
Hello Everyone, I'm working on a project with edk2, and these guys are trying to port edk2 to STM32MP25 platforms. I have a problem with the module SerialPortLib, specifically the function *SerialPortPoll*. I made a test that adds a line of debug in this function and adds a MmioWrite8 to a

Re: [edk2-devel] Synchronous Exception at ArmGicDxe

2024-04-25 Thread Ba Gia Bao Phan
STM32MP25? > > Thanks, > > Andrew Fish > > On Apr 21, 2024, at 10:07 PM, Ba Gia Bao Phan > wrote: > > Hi Everyone, > > I'm working on a project with edk2, and these guys are trying to port edk2 > to STM32MP25 platforms. I had no issue compiling and booting the image o

[edk2-devel] Synchronous Exception at ArmGicDxe

2024-04-24 Thread Ba Gia Bao Phan
Hi Everyone, I'm working on a project with edk2, and these guys are trying to port edk2 to STM32MP25 platforms. I had no issue compiling and booting the image on my device. Then I've come across an issue at very early stages of booting. I was given a Synchronous Exception listed briefly below.

[edk2-devel] UART Driver for STM32MP25 with EDK2

2024-03-26 Thread Ba Gia Bao Phan
I want to write a driver UART for my platform in EDK2-platform. I made a change at https://github.com/tianocore/edk2/blob/master/ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.c with the address of my platform and used