temporarily add 8G memory support

need to use automatic detection

Signed-off-by: BigfootACA <bigfoot@classfun.cn>
This commit is contained in:
BigfootACA 2021-08-22 13:26:05 +08:00
parent cb2c86d191
commit 0afdf1d167
6 changed files with 48 additions and 0 deletions

View File

@ -24,7 +24,9 @@ jobs:
- dipper
- enchilada
- fajita
- fajita-8g
- polaris
- polaris-8g
- beryllium
- perseus
- nx616j

View File

@ -5,7 +5,9 @@ DEVICES=(
dipper
enchilada
fajita
fajita-8g
polaris
polaris-8g
beryllium
perseus
nx616j

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,22 @@
[Defines]
PLATFORM_NAME = sdm845Pkg
PLATFORM_GUID = 28f1a3bf-193a-47e3-a7b9-5a435eaab2ee
PLATFORM_VERSION = 0.1
DSC_SPECIFICATION = 0x00010019
OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME)
SUPPORTED_ARCHITECTURES = AARCH64
BUILD_TARGETS = DEBUG|RELEASE
SKUID_IDENTIFIER = DEFAULT
FLASH_DEFINITION = sdm845Pkg/Devices/fajita.fdf
!include sdm845Pkg/sdm845Pkg.dsc
[BuildOptions.common]
GCC:*_*_AARCH64_CC_FLAGS = -DMEMORY_8G=1
[PcdsFixedAtBuild.common]
# System Memory (7GB)
gArmTokenSpaceGuid.PcdSystemMemorySize|0x1E0000000
gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1080
gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|2340

View File

@ -0,0 +1,22 @@
[Defines]
PLATFORM_NAME = sdm845Pkg
PLATFORM_GUID = 28f1a3bf-193a-47e3-a7b9-5a435eaab2ee
PLATFORM_VERSION = 0.1
DSC_SPECIFICATION = 0x00010019
OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME)
SUPPORTED_ARCHITECTURES = AARCH64
BUILD_TARGETS = DEBUG|RELEASE
SKUID_IDENTIFIER = DEFAULT
FLASH_DEFINITION = sdm845Pkg/Devices/polaris.fdf
!include sdm845Pkg/sdm845Pkg.dsc
[BuildOptions.common]
GCC:*_*_AARCH64_CC_FLAGS = -DXIAOMI_PIL_FIXED=1 -DMEMORY_8G=1
[PcdsFixedAtBuild.common]
# System Memory (7GB)
gArmTokenSpaceGuid.PcdSystemMemorySize|0x1E0000000
gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1080
gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|2160