Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asus x00td #373

Merged
merged 1 commit into from Jan 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Binary file added Platform/Asus/sdm660/FdtBlob_compat/x00td.dtb
Binary file not shown.
28 changes: 28 additions & 0 deletions Platform/Asus/sdm660/x00td.dsc
@@ -0,0 +1,28 @@
[Defines]
VENDOR_NAME = ASUS
PLATFORM_NAME = x00td
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/sdm660/sdm660.fdf
DEVICE_DXE_FV_COMPONENTS = Platform/Asus/sdm660/x00td.fdf.inc

!include Platform/Qualcomm/sdm660/sdm660.dsc

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

[PcdsFixedAtBuild.common]
gQcomTokenSpaceGuid.PcdMipiFrameBufferWidth|1080
gQcomTokenSpaceGuid.PcdMipiFrameBufferHeight|2160

# Simple Init
gSimpleInitTokenSpaceGuid.PcdGuiDefaultDPI|420

gRenegadePkgTokenSpaceGuid.PcdDeviceVendor|"Asus"
gRenegadePkgTokenSpaceGuid.PcdDeviceProduct|"MaxProM1"
gRenegadePkgTokenSpaceGuid.PcdDeviceCodeName|"X00TD"
16 changes: 16 additions & 0 deletions Platform/Asus/sdm660/x00td.fdf.inc
@@ -0,0 +1,16 @@
// per-device BSP DXEs

// ACPI Tables
FILE FREEFORM = 7E374E25-8E01-4FEE-87F2-390C23C606CD {
SECTION RAW = Silicon/Qualcomm/sdm660/AcpiTables/DSDT/DSDT.aml
SECTION RAW = Silicon/Qualcomm/sdm660/AcpiTables/BuiltIn/CSRT.aml
SECTION RAW = Silicon/Qualcomm/sdm660/AcpiTables/BuiltIn/DBG2.aml
SECTION RAW = Silicon/Qualcomm/sdm660/AcpiTables/BuiltIn/FACS.aml
SECTION RAW = Silicon/Qualcomm/sdm660/AcpiTables/BuiltIn/FADT.aml
SECTION RAW = Silicon/Qualcomm/sdm660/AcpiTables/BuiltIn/GTDT.aml
SECTION RAW = Silicon/Qualcomm/sdm660/AcpiTables/BuiltIn/MADT.aml
SECTION RAW = Silicon/Qualcomm/sdm660/AcpiTables/BuiltIn/MCFG.aml
SECTION UI = "AcpiTables"
}

// Mainline device tree blob
7 changes: 7 additions & 0 deletions configs/devices/x00td.conf
@@ -0,0 +1,7 @@
SOC_PLATFORM="SDM660"
VENDOR_NAME="Asus"
PLATFORM_NAME="x00td"

# mkbootimg config
BOOTIMG_OS_PATCH_LEVEL="2023-03"
BOOTIMG_OS_VERSION=13.0.0