Integrate SimpleFbDxe

Doesn't work yet (seems to freeze?)
This commit is contained in:
Zhuowei Zhang 2019-02-22 21:13:17 -08:00
parent b2756dbb02
commit 49ca4eeb68
5 changed files with 21 additions and 6 deletions

View File

@ -27,3 +27,10 @@
################################################################################
[Guids.common]
gPixel3XLTokenSpaceGuid = { 0x99a14446, 0xaad7, 0xe460, {0xb4, 0xe5, 0x1f, 0x79, 0xaa, 0xa4, 0x93, 0xfd } }
[PcdsFixedAtBuild.common]
# Simple FrameBuffer
gPixel3XLTokenSpaceGuid.PcdMipiFrameBufferAddress|0x00400000|UINT32|0x0000a400
gPixel3XLTokenSpaceGuid.PcdMipiFrameBufferWidth|1080|UINT32|0x0000a401
gPixel3XLTokenSpaceGuid.PcdMipiFrameBufferHeight|1920|UINT32|0x0000a402
gPixel3XLTokenSpaceGuid.PcdMipiFrameBufferPixelBpp|32|UINT32|0x0000a403

View File

@ -127,6 +127,10 @@
#
gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvModeEnable|TRUE
gPixel3XLTokenSpaceGuid.PcdMipiFrameBufferAddress|0x9d400000
gPixel3XLTokenSpaceGuid.PcdMipiFrameBufferWidth|1440
gPixel3XLTokenSpaceGuid.PcdMipiFrameBufferHeight|2960
################################################################################
#
# Components Section - list of all EDK II Modules needed by this Platform
@ -183,6 +187,7 @@
EmbeddedPkg/Drivers/VirtualKeyboardDxe/VirtualKeyboardDxe.inf
Pixel3XL/Pixel3XLDxe/Pixel3XLDxe.inf
Pixel3XL/SimpleFbDxe/SimpleFbDxe.inf
#
# USB Host Support

View File

@ -146,6 +146,7 @@ READ_LOCK_STATUS = TRUE
INF EmbeddedPkg/Drivers/VirtualKeyboardDxe/VirtualKeyboardDxe.inf
INF Pixel3XL/Pixel3XLDxe/Pixel3XLDxe.inf
INF Pixel3XL/SimpleFbDxe/SimpleFbDxe.inf
#

View File

@ -16,7 +16,7 @@
MdeModulePkg/MdeModulePkg.dec
EmbeddedPkg/EmbeddedPkg.dec
ArmPkg/ArmPkg.dec
Lumia950XLPkg/Lumia950XLPkg.dec
Pixel3XL/Pixel3XL.dec
[LibraryClasses]
BaseLib
@ -26,7 +26,6 @@
UefiDriverEntryPoint
BaseMemoryLib
DebugLib
CompilerIntrinsicsLib
PcdLib
[Protocols]
@ -34,10 +33,9 @@
gEfiCpuArchProtocolGuid
[FixedPcd]
gLumia950XLPkgTokenSpaceGuid.PcdMipiFrameBufferAddress
gLumia950XLPkgTokenSpaceGuid.PcdMipiFrameBufferWidth
gLumia950XLPkgTokenSpaceGuid.PcdMipiFrameBufferHeight
gLumia950XLPkgTokenSpaceGuid.PcdEnableScreenSerial
gPixel3XLTokenSpaceGuid.PcdMipiFrameBufferAddress
gPixel3XLTokenSpaceGuid.PcdMipiFrameBufferWidth
gPixel3XLTokenSpaceGuid.PcdMipiFrameBufferHeight
[Guids]
gEfiMdeModulePkgTokenSpaceGuid

View File

@ -32,3 +32,7 @@ Also see [EDK2 website](https://github.com/tianocore/tianocore.github.io/wiki/Us
Finally, ./build.sh.
Then fastboot boot uefi.img.
# Credits
SimpleFbDxe screen driver is from imbushuo's [Lumia950XLPkg](https://github.com/WOA-Project/Lumia950XLPkg).