temporarily add 8G memory support
need to use automatic detection Signed-off-by: BigfootACA <bigfoot@classfun.cn>
This commit is contained in:
parent
cb2c86d191
commit
0afdf1d167
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -24,7 +24,9 @@ jobs:
|
||||
- dipper
|
||||
- enchilada
|
||||
- fajita
|
||||
- fajita-8g
|
||||
- polaris
|
||||
- polaris-8g
|
||||
- beryllium
|
||||
- perseus
|
||||
- nx616j
|
||||
|
2
build.sh
2
build.sh
@ -5,7 +5,9 @@ DEVICES=(
|
||||
dipper
|
||||
enchilada
|
||||
fajita
|
||||
fajita-8g
|
||||
polaris
|
||||
polaris-8g
|
||||
beryllium
|
||||
perseus
|
||||
nx616j
|
||||
|
BIN
device_specific/fajita-8g.dtb
Normal file
BIN
device_specific/fajita-8g.dtb
Normal file
Binary file not shown.
BIN
device_specific/polaris-8g.dtb
Normal file
BIN
device_specific/polaris-8g.dtb
Normal file
Binary file not shown.
22
sdm845Pkg/Devices/fajita-8g.dsc
Normal file
22
sdm845Pkg/Devices/fajita-8g.dsc
Normal 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
|
22
sdm845Pkg/Devices/polaris-8g.dsc
Normal file
22
sdm845Pkg/Devices/polaris-8g.dsc
Normal 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
|
Loading…
Reference in New Issue
Block a user