This repository has been archived by the owner on Apr 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added build variant for 8Gb RAM model
- Loading branch information
Showing
9 changed files
with
59 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Build Script | ||
/uefi.img | ||
/boot-a72q.img | ||
/boot-a72q*.img | ||
/ramdisk | ||
/workspace | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[Defines] | ||
PLATFORM_NAME = GalaxyA72 | ||
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 = GalaxyA72/GalaxyA72.fdf | ||
|
||
!include GalaxyA72/GalaxyA72.dsc | ||
|
||
[PcdsFixedAtBuild.common] | ||
# System Memory (6GB) | ||
gArmTokenSpaceGuid.PcdSystemMemorySize|0x180000000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
[Defines] | ||
PLATFORM_NAME = GalaxyA72_8G | ||
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 = GalaxyA72/GalaxyA72.fdf | ||
|
||
!include GalaxyA72/GalaxyA72.dsc | ||
|
||
[BuildOptions.common] | ||
GCC:*_*_AARCH64_CC_FLAGS = -DMEMORY_8G | ||
|
||
[PcdsFixedAtBuild.common] | ||
# System Memory (8GB) | ||
gArmTokenSpaceGuid.PcdSystemMemorySize|0x200000000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
# based on the instructions from edk2-platform | ||
set -e | ||
. build_common.sh | ||
# not actually GCC5; it's GCC7 on Ubuntu 18.04. | ||
GCC5_AARCH64_PREFIX=aarch64-linux-gnu- build -s -n 0 -a AARCH64 -t GCC5 -p GalaxyA72/GalaxyA72_8G.dsc -b RELEASE | ||
gzip -c < workspace/Build/GalaxyA72_8G/RELEASE_GCC5/FV/GALAXYA72_UEFI.fd >uefi.img | ||
cat a72q.dtb >>uefi.img | ||
echo > ramdisk | ||
abootimg --create boot-a72q_8G.img -k uefi.img -r ramdisk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters