From: Sophon Date: 星期一, 13 Sep 2021 10:48:33 +0000 (+0800) Subject: Enable SimpleInit on polaris X-Git-Tag: v1.0.4~13 X-Git-Url: https://git.renegade-project.org/?a=commitdiff_plain;h=664c55365c577a5f64d174db13533cfdeb645e03;p=edk2-sdm845.git Enable SimpleInit on polaris G0d BigfootACA and fxsheep Signed-off-by: Sophon --- diff --git a/sdm845Pkg/Devices/polaris-8g.dsc b/sdm845Pkg/Devices/polaris-8g.dsc index 5625c7c..f700d54 100644 --- a/sdm845Pkg/Devices/polaris-8g.dsc +++ b/sdm845Pkg/Devices/polaris-8g.dsc @@ -12,7 +12,7 @@ !include sdm845Pkg/sdm845Pkg.dsc [BuildOptions.common] - GCC:*_*_AARCH64_CC_FLAGS = -DXIAOMI_PIL_FIXED=1 -DMEMORY_8G=1 + GCC:*_*_AARCH64_CC_FLAGS = -DXIAOMI_PIL_FIXED=1 -DMEMORY_8G=1 -DDISPLAY_DPI=440 -DENABLE_SIMPLE_INIT [PcdsFixedAtBuild.common] # System Memory (7GB) diff --git a/sdm845Pkg/Devices/polaris.dsc b/sdm845Pkg/Devices/polaris.dsc index ac00694..23c184d 100644 --- a/sdm845Pkg/Devices/polaris.dsc +++ b/sdm845Pkg/Devices/polaris.dsc @@ -12,7 +12,7 @@ !include sdm845Pkg/sdm845Pkg.dsc [BuildOptions.common] - GCC:*_*_AARCH64_CC_FLAGS = -DXIAOMI_PIL_FIXED=1 + GCC:*_*_AARCH64_CC_FLAGS = -DXIAOMI_PIL_FIXED=1 -DDISPLAY_DPI=440 -DENABLE_SIMPLE_INIT [PcdsFixedAtBuild.common] # System Memory (5GB) diff --git a/sdm845Pkg/Devices/polaris.fdf b/sdm845Pkg/Devices/polaris.fdf index 554db1c..7639355 100644 --- a/sdm845Pkg/Devices/polaris.fdf +++ b/sdm845Pkg/Devices/polaris.fdf @@ -67,7 +67,7 @@ DATA = { 0x00, 0x00, 0x00, 0x00 # res5 } -0x00008000|0x001f8000 +0x00008000|0x004f8000 gArmTokenSpaceGuid.PcdFvBaseAddress|gArmTokenSpaceGuid.PcdFvSize FV = FVMAIN_COMPACT @@ -570,6 +570,11 @@ APRIORI DXE { INF MdeModulePkg/Application/UiApp/UiApp.inf INF sdm845Pkg/Drivers/LogoDxe/LogoDxe.inf + # + # Simple Init GUI + # + INF src/main/SimpleInitMain.inf + [FV.FVMAIN_COMPACT] FvAlignment = 8 ERASE_POLARITY = 1