Steps Build RPI4 UEFI:
1. Obtaining Source Code
git clone https://github.com/pftf/RPi4.git
cd RPi4
git checkout v1.36
cd edk2
git submodule update --init
cd edk2-platform
git submodule update --init
or
$ git clone https://github.com/tianocore/edk2.git
cd edk2
$ git submodule update --init
...
$ git clone https://github.com/tianocore/edk2-platforms.git
cd edk2-platform
$ git submodule update --init
...
$ git clone https://github.com/tianocore/edk2-non-osi.git
2. Setup Build Env
2.1 Set up the build environment (this will modify your environment variables)
export PACKAGES_PATH=$PWD/edk2:$PWD/edk2-platforms:$PWD/edk2-non-osi
source edk2/edksetup.sh
2.2 Build BaseTools
make -C edk2/BaseTools
3. Build
When cross-compiling, or building with a different version of the compiler than the default gcc or clang(/binutils), we additionally need to inform the build command which toolchain to use. We do this by setting the environment variable {TOOL_CHAIN_TAG}_{TARGET_ARCH}_PREFIX -
in the case above, GCC5_AARCH64_PREFIX
.
So, referring to the cross compiler toolchain table above, we should prepend the build command line with GCC5_AARCH64_PREFIX=aarch64-linux-gnu-
.
export GCC5_AARCH64_PREFIX=aarch64-linux-gnu-
build -a AARCH64 -t GCC5 -p Platform/RaspberryPi/RPi4/RPi4.dsc
You will find the build output file at: /projects/uefi/rpi4/RPi4/Build/RPi4/DEBUG_GCC5/FV/RPI_EFI.fd
4. Using uefi-tools helper scripts
uefi-tools
is a completely unofficial set of helper-scripts developed by Linaro. They automate figuring out all of the manual options above, and store the paths to platform description files in a separate configuration file. Additionally, they simplify bulk-building large numbers of platforms.
The (best effort) intent is to keep this configuration up to date with all platforms that exist in the edk2-platforms master branch.
The equivalent of the manual example above would be
git clone https://git.linaro.org/uefi/uefi-tools.git
...
./uefi-tools/edk2-build.sh juno
...
------------------------------------------------------------
aarch64 Juno (AARCH64) RELEASE pass
------------------------------------------------------------
pass 1
fail 0
The build finishes with a summary of which platforms/targets were built, which succeeded and which failed (and the total number of either).
Like the build
command itself, edk2-build.sh
it supports specifying multiple targets on a single command line, but it also lets you specify multiple platforms (or all
for building all known platforms).
So in order to build all platforms described by the configuration file, for both DEBUG and RELEASE targets:
./uefi-tools/edk2-build.sh -b DEBUG -b RELEASE
Read start4.elf bytes 2253088 hnd 0b
Read fixup4.dat bytes 5397 hnd 0x9798
0x00d03114 0x00000000 0x00001fff
MEM GPU: 76 ARM: 948 TOTAL: 1024
Starting start4.elf @ 0xfec00200 partition 0
XHCI-STOP
xHC ver: 256 HCS: 05000420 fc000031 00e70004 HCC: 002841eb
USBSTS 18
+
MESS:00:00:03.891321:0: arasan: arasan_emmc_open
MESS:00:00:03.892979:0: arasan: arasan_emmc_set_clock C0: 0x00800000 C1: 0x000e5
MESS:00:00:04.013201:0: arasan: arasan_emmc_set_clock C0: 0x00800000 C1: 0x000e5
MESS:00:00:04.026071:0: arasan: arasan_emmc_set_clock C0: 0x00800f00 C1: 0x000e5
MESS:00:00:04.060677:0: arasan: arasan_emmc_set_clock C0: 0x00800f06 C1: 0x000e1
MESS:00:00:04.082739:0: brfs: File read: /mfs/sd/config.txt
MESS:00:00:04.085543:0: brfs: File read: 243 bytes
MESS:00:00:04.111566:0: HDMI0:EDID error reading EDID block 0 attempt 0
MESS:00:00:04.116069:0: HDMI0:EDID giving up on reading EDID block 0
MESS:00:00:04.133034:0: HDMI1:EDID error reading EDID block 0 attempt 0
MESS:00:00:04.137541:0: HDMI1:EDID giving up on reading EDID block 0
MESS:00:00:04.144016:0: brfs: File read: /mfs/sd/config.txt
MESS:00:00:04.643483:0: gpioman: gpioman_get_pin_num: pin DISPLAY_DSI_PORT not d
MESS:00:00:04.650801:0: *** Restart logging
MESS:00:00:04.652207:0: brfs: File read: 243 bytes
MESS:00:00:04.662181:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 0
MESS:00:00:04.667206:0: hdmi: HDMI0:EDID giving up on reading EDID block 0
MESS:00:00:04.677829:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 0
MESS:00:00:04.682857:0: hdmi: HDMI0:EDID giving up on reading EDID block 0
MESS:00:00:04.688456:0: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_dd
MESS:00:00:04.702252:0: hdmi: HDMI1:EDID error reading EDID block 0 attempt 0
MESS:00:00:04.707281:0: hdmi: HDMI1:EDID giving up on reading EDID block 0
MESS:00:00:04.717902:0: hdmi: HDMI1:EDID error reading EDID block 0 attempt 0
MESS:00:00:04.722925:0: hdmi: HDMI1:EDID giving up on reading EDID block 0
MESS:00:00:04.728524:0: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_dd
MESS:00:00:04.737288:0: HDMI0: hdmi_pixel_encoding: 300000000
MESS:00:00:04.742756:0: HDMI1: hdmi_pixel_encoding: 300000000
MESS:00:00:04.748545:0: kernel=
MESS:00:00:04.756195:0: dtb_file 'bcm2711-rpi-4-b.dtb'
MESS:00:00:04.766020:0: brfs: File read: /mfs/sd/bcm2711-rpi-4-b.dtb
MESS:00:00:04.769267:0: Loaded 'bcm2711-rpi-4-b.dtb' to 0x1f0000 size 0xd474
MESS:00:00:04.789686:0: brfs: File read: 54388 bytes
MESS:00:00:04.817037:0: brfs: File read: /mfs/sd/config.txt
MESS:00:00:04.819605:0: brfs: File read: 243 bytes
MESS:00:00:04.825518:0: brfs: File read: /mfs/sd/overlays/miniuart-bt.dtbo
MESS:00:00:04.851090:0: Loaded overlay 'miniuart-bt'
MESS:00:00:04.895162:0: brfs: File read: 1566 bytes
MESS:00:00:04.898626:0: brfs: File read: /mfs/sd/overlays/upstream-pi4.dtbo
MESS:00:00:04.964722:0: Loaded overlay 'upstream-pi4'
MESS:00:00:05.126448:0: brfs: File read: 2775 bytes
MESS:00:00:05.132896:0: Failed to open command line file 'cmdline.txt'
MESS:00:00:05.468108:0: brfs: File read: /mfs/sd/RPI_EFI.fd
MESS:00:00:05.470569:0: Loaded 'RPI_EFI.fd' to 0x0 size 0x1f0000
MESS:00:00:05.476310:0: No compatible kernel found
MESS:00:00:05.480810:0: Device tree loaded to 0x1f0000 (size 0xd8ee)
MESS:00:00:05.488340:0: uart: Set PL011 baud rate to 103448.300000 Hz
MESS:00:00:05.495958:0: uart: Baud rate change done...
MESS:00:00:05.497981:0: uart: Baud rate change done...
MESS:00:00:05.504444:0: gpioman: gpioman_get_pin_num: pin SDCARD_CONTROL_POWER d
NOTICE: BL31: v2.9(release):v2.9
NOTICE: BL31: Built : 17:09:05, May 24 2023
UEFI firmware (version EDK2-DEV built at 11:36:22 on Mar 28 2024)
Board Rev: 0xD03114
RAM < 1GB: 0x00000000 (Size 0x3B400000)
VideoCore: 0x3B400000 (Size 0x04C00000)
Total RAM: 0x200000000
FD:
PhysicalBase: 0x0
VirtualBase: 0x0
Length: 0x1D0000
FD Variables:
PhysicalBase: 0x1D0000
VirtualBase: 0x1D0000
Length: 0x20000
Flattened Device Tree:
PhysicalBase: 0x1F0000
VirtualBase: 0x1F0000
Length: 0x10000
System RAM < 1GB:
PhysicalBase: 0x200000
VirtualBase: 0x200000
Length: 0x3B200000
GPU Reserved:
PhysicalBase: 0x3B400000
VirtualBase: 0x3B400000
Length: 0x4C00000
SoC Reserved (27xx):
PhysicalBase: 0xFC000000
VirtualBase: 0xFC000000
Length: 0x2000000
SoC Reserved (283x):
PhysicalBase: 0xFE000000
VirtualBase: 0xFE000000
Length: 0x2000000
Extended System RAM < 3GB:
PhysicalBase: 0x40000000
VirtualBase: 0x40000000
Length: 0x80000000
Extended System RAM < 4GB:
PhysicalBase: 0xC0000000
VirtualBase: 0xC0000000
Length: 0x3C000000
Extended System RAM >= 4GB:
PhysicalBase: 0x100000000
VirtualBase: 0x100000000
Length: 0x100000000
add-symbol-file /home/wangyijie/Documents/projects/uefi/rpi4/RPi4/Build/RPi4/DE0
Loading DxeCore at 0x003A42E000 EntryPoint=0x003A437AC8
CoreInitializeMemoryServices:
BaseAddress - 0x200000 Length - 0x37200000 MinimalMemorySizeNeeded - 0x34AE000
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B 3A4587F0
ProtectUefiImageCommon - 0x3A4587F0
- 0x000000003A42E000 - 0x0000000000048000
InstallProtocolInterface: C85D06BE-5F75-48CE-A80F-1236BA3B87B1 3A459060
DxeMain: MemoryBaseAddress=0x200000 MemoryLength=0x37200000
add-symbol-file /home/wangyijie/Documents/projects/uefi/rpi4/RPi4/Build/RPi4/DE0
HOBLIST address in DXE = 0x36E36018
Memory Allocation 0x00000004 0x3B3F8000 - 0x3B3F8FFF
Memory Allocation 0x00000000 0x0 - 0x1CFFFF
Memory Allocation 0x00000006 0x1D0000 - 0x1EFFFF
Memory Allocation 0x00000000 0x1F0000 - 0x1FFFFF
Memory Allocation 0x00000004 0x3B3F7000 - 0x3B3F7FFF
Memory Allocation 0x00000004 0x3B3F6000 - 0x3B3F6FFF
Memory Allocation 0x00000004 0x3B3F5000 - 0x3B3F5FFF
Memory Allocation 0x00000004 0x3B3F4000 - 0x3B3F4FFF
Memory Allocation 0x00000004 0x3B3F3000 - 0x3B3F3FFF
Memory Allocation 0x00000004 0x3B3F2000 - 0x3B3F2FFF
Memory Allocation 0x00000004 0x3B3F9000 - 0x3B3FFFFF
Memory Allocation 0x00000004 0x3B3E2000 - 0x3B3F1FFF
Memory Allocation 0x00000004 0x3AC2C000 - 0x3B3E1FFF
Memory Allocation 0x00000004 0x3A476000 - 0x3AC2BFFF
Memory Allocation 0x00000003 0x3A42E000 - 0x3A475FFF
Memory Allocation 0x00000003 0x3A42E000 - 0x3A475FFF
FV Hob 0x20000 - 0x1CFFFF
FV Hob 0x3A476000 - 0x3AC2A47F
FV2 Hob 0x3A476000 - 0x3AC2A47F
9A15AA37-D555-4A4E-B541-86391FF68164 - 9E21FD93-9C72-4C15-8C42
InstallProtocolInterface: D8117CFE-94A6-11D4-9A3A-0090273FC14D 3A4580B0
InstallProtocolInterface: 8F644FA9-E850-4DB1-9CE2-0B44698E8DA4 36E21430
InstallProtocolInterface: 09576E91-6D3F-11D2-8E39-00A0C969723B 36E21518
InstallProtocolInterface: 8F644FA9-E850-4DB1-9CE2-0B44698E8DA4 36E1EB30
InstallProtocolInterface: 09576E91-6D3F-11D2-8E39-00A0C969723B 36E1EE98
InstallProtocolInterface: 220E73B6-6BDB-4413-8405-B974B108619A 36E1E7B0
InstallProtocolInterface: 220E73B6-6BDB-4413-8405-B974B108619A 36E1E630
InstallProtocolInterface: FC1BCDB0-7D31-49AA-936A-A4600D9DD083 3A458958
Loading driver 80CF7257-87AB-47F9-A3FE-D50B76D89541
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B 3642F040
add-symbol-file /home/wangyijie/Documents/projects/uefi/rpi4/RPi4/Build/RPi4/DE0
Loading driver at 0x00037216000 EntryPoint=0x0003721B1E4 PcdDxe.efi
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF 3642FD18
ProtectUefiImageCommon - 0x3642F040
- 0x0000000037216000 - 0x000000000000A000
InstallProtocolInterface: 11B34006-D85B-4D0A-A290-D5A571310EF7 3721E198
InstallProtocolInterface: 13A3F0F6-264A-3EF0-F2E0-DEC512342F34 3721E0D8
InstallProtocolInterface: 5BE40F57-FA68-4610-BBBF-E9C5FCDAD365 3721E168
InstallProtocolInterface: FD0F4478-0EFD-461D-BA2D-E58C45FD5F5E 3721E0C8
Loading driver B601F8C4-43B7-4784-95B1-F4226CB40CEE
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B 3643AB40
add-symbol-file /home/wangyijie/Documents/projects/uefi/rpi4/RPi4/Build/RPi4/DE0
Loading driver at 0x00037260000 EntryPoint=0x00037271880 RuntimeDxe.efi
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF 3642F918
ProtectUefiImageCommon - 0x3643AB40
- 0x0000000037260000 - 0x0000000000040000
InstallProtocolInterface: B7DFB4E1-052F-449F-87BE-9818FC91B733 37280028
Loading driver F80697E9-7FD6-4665-8646-88E33EF71DFC
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B 36438040
add-symbol-file /home/wangyijie/Documents/projects/uefi/rpi4/RPi4/Build/RPi4/DE0
Loading driver at 0x0003720C000 EntryPoint=0x00037210E64 SecurityStubDxe.efi
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF 36438D98
ProtectUefiImageCommon - 0x36438040
- 0x000000003720C000 - 0x000000000000A000
InstallProtocolInterface: 94AB2F58-1438-4EF1-9152-18941A3A0E68 37214120
InstallProtocolInterface: A46423E3-4617-49F1-B9FF-D1BFA9115839 37214128
InstallProtocolInterface: 15853D7C-3DDF-43E0-A1CB-EBF85B8F872C 37214118
Loading driver 733CBAC2-B23F-4B92-BC8E-FB01CE5907B7
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B 36438540
add-symbol-file /home/wangyijie/Documents/projects/uefi/rpi4/RPi4/Build/RPi4/DE0
Loading driver at 0x00033EF0000 EntryPoint=0x00033F02948 VarBlockServiceDxe.efi
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF 36437B18
ProtectUefiImageCommon - 0x36438540
- 0x0000000033EF0000 - 0x0000000000040000
InstallProtocolInterface: 8F644FA9-E850-4DB1-9CE2-0B44698E8DA4 373DF9A0
InstallProtocolInterface: 09576E91-6D3F-11D2-8E39-00A0C969723B 36437A98
Loading driver CBD2E4D5-7068-4FF5-B462-9822B4AD8D60
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B 36437340
add-symbol-file /home/wangyijie/Documents/projects/uefi/rpi4/RPi4/Build/RPi4/DE0
Loading driver at 0x00033EA0000 EntryPoint=0x00033EB647C VariableRuntimeDxe.efi
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF 36436E18
ProtectUefiImageCommon - 0x36437340
- 0x0000000033EA0000 - 0x0000000000040000
InstallProtocolInterface: CD3D0A05-9E24-437C-A891-1EE053DB7638 33EC0948
InstallProtocolInterface: AF23B340-97B4-4685-8D4F-A3F28169B21D 33EC0818
InstallProtocolInterface: 1E5668E2-8481-11D4-BCF1-0080C73C8881 0
InstallProtocolInterface: 81D1675C-86F6-48DF-BD95-9A6E4F0925C3 33EC0950
Loading driver 16036A73-E8EF-46D0-953C-9B8E96527D13
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B 36436340
add-symbol-file /home/wangyijie/Documents/projects/uefi/rpi4/RPi4/Build/RPi4/DE0
Loading driver at 0x00037220000 EntryPoint=0x00037231668 Reset.efi
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF 36435E18
ProtectUefiImageCommon - 0x36436340
- 0x0000000037220000 - 0x0000000000030000
InstallProtocolInterface: 27CFAC88-46CC-11D4-9A38-0090273FC14D 0
Loading driver 4C6E0267-C77D-410D-8100-1495911A989D
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B 364351C0
add-symbol-file /home/wangyijie/Documents/projects/uefi/rpi4/RPi4/Build/RPi4/DE0
Loading driver at 0x00037207000 EntryPoint=0x000372091CC MetronomeDxe.efi
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF 36435A18
ProtectUefiImageCommon - 0x364351C0
- 0x0000000037207000 - 0x0000000000005000
InstallProtocolInterface: 26BACCB2-6F42-11D4-BCE7-0080C73C8881 3720A018
Loading driver 348C4D62-BFBD-4882-9ECE-C80BB1C4783B
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B 36434040
add-symbol-file /home/wangyijie/Documents/projects/uefi/rpi4/RPi4/Build/RPi4/DE0
Loading driver at 0x000371E6000 EntryPoint=0x000371EA9BC HiiDatabase.efi
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF 36434D18
ProtectUefiImageCommon - 0x36434040
- 0x00000000371E6000 - 0x0000000000021000
InstallProtocolInterface: E9CA4775-8657-47FC-97E7-7ED65A084324 37205160
InstallProtocolInterface: 0FD96974-23AA-4CDC-B9CB-98D17750322A 372051D8
InstallProtocolInterface: EF9FC172-A1B2-4693-B327-6D32FC416042 37205200
InstallProtocolInterface: 587E72D7-CC50-4F79-8209-CA291FC1A10F 37205258
InstallProtocolInterface: 0A8BADD5-03B8-4D19-B128-7B8F0EDAA596 37205288
InstallProtocolInterface: 31A6406A-6BDF-4E46-B2A2-EBAA89C40920 37205180
InstallProtocolInterface: 1A1241E6-8F19-41A9-BC0E-E8EF39E06546 372051A8
Loading driver 007AB472-DC4A-4DF8-A5C2-ABB4A327278C
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B 36433040
add-symbol-file /home/wangyijie/Documents/projects/uefi/rpi4/RPi4/Build/RPi4/DE0
Loading driver at 0x000371DA000 EntryPoint=0x000371DE794 ArmPsciMpServicesDxe.ei
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF 36433D18
ProtectUefiImageCommon - 0x36433040
- 0x00000000371DA000 - 0x000000000000C000
InstallProtocolInterface: 3FDDA605-A76E-4F46-AD29-12F4531B3D08 371E2078
Loading driver DE371F7C-DEC4-4D21-ADF1-593ABCC15882
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B 36432040
add-symbol-file /home/wangyijie/Documents/projects/uefi/rpi4/RPi4/Build/RPi4/DE0
Loading driver at 0x000371D3000 EntryPoint=0x000371D6470 ArmGicDxe.efi
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF 36432D98
ProtectUefiImageCommon - 0x36432040
- 0x00000000371D3000 - 0x0000000000007000
InstallProtocolInterface: 2890B3EA-053D-1643-AD0C-D64808DA3FF1 371D80A8
InstallProtocolInterface: 32898322-2DA1-474A-BAAA-F3F7CF569470 371D8028
Loading driver 13AC6DD0-73D0-11D4-B06B-00AA00BD6DE7
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B 36431BC0
add-symbol-file /home/wangyijie/Documents/projects/uefi/rpi4/RPi4/Build/RPi4/DE0
Loading driver at 0x000371C9000 EntryPoint=0x000371CEAEC EbcDxe.efi
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF 36432998
ProtectUefiImageCommon - 0x36431BC0
- 0x00000000371C9000 - 0x000000000000A000
InstallProtocolInterface: 13AC6DD1-73D0-11D4-B06B-00AA00BD6DE7 36432798
InstallProtocolInterface: 96F46153-97A7-4793-ACC1-FA19BF78EA97 371D1058
InstallProtocolInterface: 2755590C-6F3C-42FA-9EA4-A3BA543CDA25 36432698
InstallProtocolInterface: AAEACCFD-F27B-4C17-B610-75CA1F2DFB52 36430E98
Loading driver 9622E42C-8E38-4A08-9E8F-54F784652F6B
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B 364300C0
add-symbol-file /home/wangyijie/Documents/projects/uefi/rpi4/RPi4/Build/RPi4/DE0
Loading driver at 0x000371BE000 EntryPoint=0x000371C399C AcpiTableDxe.efi
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF 36430C98
ProtectUefiImageCommon - 0x364300C0
- 0x00000000371BE000 - 0x000000000000B000
InstallProtocolInterface: FFE06BDD-6107-46A6-7BB2-5A9C7EC5275C 364308A0
InstallProtocolInterface: EB97088E-CFDF-49C6-BE4B-D906A5B20E86 364308B0
Loading driver F9D88642-0737-49BC-81B5-6889CD57D9EA
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B 36020040
add-symbol-file /home/wangyijie/Documents/projects/uefi/rpi4/RPi4/Build/RPi4/DE0
Loading driver at 0x000371B5000 EntryPoint=0x000371B9314 SmbiosDxe.efi
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF 36430618
ProtectUefiImageCommon - 0x36020040
- 0x00000000371B5000 - 0x0000000000009000
InstallProtocolInterface: 03583FF6-CB36-4940-947E-B9B39F4AFAF7 371BC100
Loading driver 9B680FCE-AD6B-4F3A-B60B-F59899003443
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B 360209C0
add-symbol-file /home/wangyijie/Documents/projects/uefi/rpi4/RPi4/Build/RPi4/DE0
Loading driver at 0x000371A6000 EntryPoint=0x000371AF754 DevicePathDxe.efi
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF 36020798
ProtectUefiImageCommon - 0x360209C0
- 0x00000000371A6000 - 0x000000000000F000
InstallProtocolInterface: 0379BE4E-D706-437D-B037-EDB82FB772A4 371B21A8
InstallProtocolInterface: 8B843E20-8132-4852-90CC-551A4E4A7F1C 371B2198
InstallProtocolInterface: 05C99A21-C70F-4AD2-8A5F-35DF3343F51E 371B2188
Loading driver A210F973-229D-4F4D-AA37-9895E6C9EABA
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B 3602AB40
add-symbol-file /home/wangyijie/Documents/projects/uefi/rpi4/RPi4/Build/RPi4/DE0
Loading driver at 0x000371A0000 EntryPoint=0x000371A2590 DpcDxe.efi
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF 3602AE18
ProtectUefiImageCommon - 0x3602AB40
- 0x00000000371A0000 - 0x0000000000006000
InstallProtocolInterface: 480F8AE9-0C46-4AA9-BC89-DB9FBA619806 371A4018
Loading driver 22EA234F-E72A-11E4-91F9-28D2447C4829
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B 3602A140
add-symbol-file /home/wangyijie/Documents/projects/uefi/rpi4/RPi4/Build/RPi4/DE0
Loading driver at 0x00037199000 EntryPoint=0x0003719BE4C HttpUtilitiesDxe.efi
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF 3602A698
ProtectUefiImageCommon - 0x3602A140
- 0x0000000037199000 - 0x0000000000007000
InstallProtocolInterface: 3E35C163-4074-45DD-431E-23989DD86B32 3719E028
Loading driver 5EC564CE-B656-435C-A652-5CB719784542
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B 36029B40
add-symbol-file /home/wangyijie/Documents/projects/uefi/rpi4/RPi4/Build/RPi4/DE0
Loading driver at 0x00037193000 EntryPoint=0x000371954A0 Bcm2838RngDxe.efi
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF 36029E18
ProtectUefiImageCommon - 0x36029B40
- 0x0000000037193000 - 0x0000000000006000
InstallProtocolInterface: 3152BCA5-EADE-433D-862E-C01CDC291F44 37197028
Loading driver 168D1A6E-F4A5-448A-9E95-795661BB3067
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B 36029140
add-symbol-file /home/wangyijie/Documents/projects/uefi/rpi4/RPi4/Build/RPi4/DE0
Loading driver at 0x0003718D000 EntryPoint=0x0003718F6A4 ArmPciCpuIo2Dxe.efi
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF 36029398
ProtectUefiImageCommon - 0x36029140
- 0x000000003718D000 - 0x0000000000006000
InstallProtocolInterface: AD61F191-AE5F-4C0E-B9FA-E869D288C64F 37191018
Loading driver B6F44CC0-9E45-11DF-BE21-0002A5F5F51B
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B 36028040
add-symbol-file /home/wangyijie/Documents/projects/uefi/rpi4/RPi4/Build/RPi4/DE0
Loading driver at 0x00037181000 EntryPoint=0x0003718782C MmcDxe.efi
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF 36028D98
ProtectUefiImageCommon - 0x36028040
- 0x0000000037181000 - 0x000000000000C000
InstallProtocolInterface: 18A031AB-B443-4D1A-A5C0-0C09261E9F71 3718B098
InstallProtocolInterface: 107A772C-D5E1-11D4-9A46-0090273FC14D 3718B068
InstallProtocolInterface: 6A7A5CFF-E8D9-4F70-BADA-75AB3025CE14 3718B080
InstallProtocolInterface: 4D330321-025F-4AAC-90D8-5ED900173B63 3718B0C8
Loading driver B8D9777E-D72A-451F-9BDB-BAFB52A68415
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B 36028440
add-symbol-file /home/wangyijie/Documents/projects/uefi/rpi4/RPi4/Build/RPi4/DE0
Loading driver at 0x00037174000 EntryPoint=0x0003717846C ArmCpuDxe.efi
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF 36027018
ProtectUefiImageCommon - 0x36028440
- 0x0000000037174000 - 0x000000000000D000
InstallProtocolInterface: 26BACCB1-6F42-11D4-BCE7-0080C73C8881 3717D088
InstallProtocolInterface: F4560CF6-40EC-4B4A-A192-BF1D57D0B189 3717D0D0
MemoryProtectionCpuArchProtocolNotify:
ProtectUefiImageCommon - 0x3A4587F0
- 0x000000003A42E000 - 0x0000000000048000
SetUefiImageMemoryAttributes - 0x000000003A42E000 - 0x0000000000001000 (0x00000)
SetUefiImageMemoryAttributes - 0x000000003A42F000 - 0x0000000000029000 (0x00000)
SetUefiImageMemoryAttributes - 0x000000003A458000 - 0x000000000001E000 (0x00000)
ProtectUefiImageCommon - 0x3642F040
- 0x0000000037216000 - 0x000000000000A000
SetUefiImageMemoryAttributes - 0x0000000037216000 - 0x0000000000001000 (0x00000)
SetUefiImageMemoryAttributes - 0x0000000037217000 - 0x0000000000007000 (0x00000)
SetUefiImageMemoryAttributes - 0x000000003721E000 - 0x0000000000002000 (0x00000)
ProtectUefiImageCommon - 0x3643AB40
- 0x0000000037260000 - 0x0000000000040000
SetUefiImageMemoryAttributes - 0x0000000037260000 - 0x0000000000010000 (0x00000)
SetUefiImageMemoryAttributes - 0x0000000037270000 - 0x0000000000010000 (0x00000)
SetUefiImageMemoryAttributes - 0x0000000037280000 - 0x0000000000020000 (0x00000)
ProtectUefiImageCommon - 0x36438040
- 0x000000003720C000 - 0x000000000000A000
SetUefiImageMemoryAttributes - 0x000000003720C000 - 0x0000000000001000 (0x00000)
SetUefiImageMemoryAttributes - 0x000000003720D000 - 0x0000000000007000 (0x00000)
S