Skip to content

Commit

Permalink
Add initial a71 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Icesito68 committed Sep 23, 2023
1 parent b782745 commit d66981a
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 0 deletions.
Binary file added Platform/Samsung/sm7150/FdtBlob_compat/a71.dtb
Binary file not shown.
29 changes: 29 additions & 0 deletions Platform/Samsung/sm7150/a71.dsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[Defines]
VENDOR_NAME = Samsung
PLATFORM_NAME = a71
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 = Platform/Qualcomm/sm7150/sm7150.fdf
DEVICE_DXE_FV_COMPONENTS = Platform/Samsung/sm7150/a71.fdf.inc

!include Platform/Qualcomm/sm7150/sm7150.dsc

[BuildOptions.common]
GCC:*_*_AARCH64_CC_FLAGS = -DENABLE_SIMPLE_INIT -DENABLE_LINUX_SIMPLE_MASS_STORAGE

[PcdsFixedAtBuild.common]
gQcomTokenSpaceGuid.PcdMipiFrameBufferWidth|1080
gQcomTokenSpaceGuid.PcdMipiFrameBufferHeight|2400
# gQcomTokenSpaceGuid.PcdMipiFrameBufferAddress|0x9c400000

# Simple Init
gSimpleInitTokenSpaceGuid.PcdGuiDefaultDPI|350

gRenegadePkgTokenSpaceGuid.PcdDeviceVendor|"Samsung"
gRenegadePkgTokenSpaceGuid.PcdDeviceProduct|"Galaxy A71"
gRenegadePkgTokenSpaceGuid.PcdDeviceCodeName|"a71"
5 changes: 5 additions & 0 deletions Platform/Samsung/sm7150/a71.fdf.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// per-device BSP DXEs

//FILE FREEFORM = 25462CDA-221F-47DF-AC1D-259CFAA4E326 {
//SECTION RAW = Platform/Samsung/sm7150/FdtBlob/a71.dtb
//}
7 changes: 7 additions & 0 deletions configs/devices/a71.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
SOC_PLATFORM="SM7150"
VENDOR_NAME="Samsung"
PLATFORM_NAME="a71"

# mkbootimg config
BOOTIMG_OS_PATCH_LEVEL="2022-10"
BOOTIMG_OS_VERSION=13.0.0

0 comments on commit d66981a

Please sign in to comment.