aaaaaaaaaaaa

This commit is contained in:
Leandro Friedrich 2022-12-10 19:41:57 +01:00
parent cc56d6edeb
commit 77f7c07180
5 changed files with 16 additions and 13 deletions

View File

@ -12,13 +12,13 @@
!include MSM8916Pkg/MSM8916Pkg.dsc
[PcdsFixedAtBuild.common]
# System Memory (1.5GB)
# System Memory (2GB)
gArmTokenSpaceGuid.PcdSystemMemoryBase|0x80000000
gArmTokenSpaceGuid.PcdSystemMemorySize|0x60000000
gArmTokenSpaceGuid.PcdSystemMemorySize|0x80000000
# Framebuffer (720x1280)
gMSM8916PkgTokenSpaceGuid.PcdMipiFrameBufferAddress|0x8e000000
# Framebuffer (720x1520)
gMSM8916PkgTokenSpaceGuid.PcdMipiFrameBufferAddress|0x0ec000000
gMSM8916PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|720
gMSM8916PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|1280
gMSM8916PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|1520
gMSM8916PkgTokenSpaceGuid.PcdMipiFrameBufferVisibleWidth|720
gMSM8916PkgTokenSpaceGuid.PcdMipiFrameBufferVisibleHeight|1280
gMSM8916PkgTokenSpaceGuid.PcdMipiFrameBufferVisibleHeight|1520

View File

@ -89,6 +89,8 @@ MSM8916PkgEntryPoint (
EFI_STATUS Status;
EFI_EVENT EndOfDxeEvent;
// MmioWrite32(0x10060000, 0);
Status = gBS->LocateProtocol (&gEfiCpuArchProtocolGuid, NULL, (VOID **)&gCpu);
ASSERT_EFI_ERROR(Status);

View File

@ -39,9 +39,9 @@
[PcdsFixedAtBuild.common]
# Simple FrameBuffer
gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvModeEnable|TRUE|BOOLEAN|1
gMSM8916PkgTokenSpaceGuid.PcdMipiFrameBufferAddress|0x00400000|UINT32|0x0000a400 # 0x7C400000
gMSM8916PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1080|UINT32|0x0000a401
gMSM8916PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|1920|UINT32|0x0000a402
gMSM8916PkgTokenSpaceGuid.PcdMipiFrameBufferPixelBpp|24|UINT32|0x0000a403
gMSM8916PkgTokenSpaceGuid.PcdMipiFrameBufferVisibleWidth|1080|UINT32|0x0000a404
gMSM8916PkgTokenSpaceGuid.PcdMipiFrameBufferVisibleHeight|1920|UINT32|0x0000a405
gMSM8916PkgTokenSpaceGuid.PcdMipiFrameBufferAddress|0x0ec000000|UINT32|0x0000a400 # 0x7C400000
gMSM8916PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|720|UINT32|0x0000a401
gMSM8916PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|1520|UINT32|0x0000a402
gMSM8916PkgTokenSpaceGuid.PcdMipiFrameBufferPixelBpp|32|UINT32|0x0000a403
gMSM8916PkgTokenSpaceGuid.PcdMipiFrameBufferVisibleWidth|720|UINT32|0x0000a404
gMSM8916PkgTokenSpaceGuid.PcdMipiFrameBufferVisibleHeight|1520|UINT32|0x0000a405

View File

@ -31,7 +31,8 @@
[LibraryClasses]
RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibNull.inf
VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
VariableFlashInfoLib|MdeModulePkg/Library/BaseVariableFlashInfoLib/BaseVariableFlashInfoLib.inf
[LibraryClasses.common.DXE_RUNTIME_DRIVER]
VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf

BIN
boot.img Normal file

Binary file not shown.