Skip to content

Commit

Permalink
sdm845: Include Reboot2PayloadApp and reduce FD size
Browse files Browse the repository at this point in the history
  • Loading branch information
Icesito68 committed Oct 1, 2023
1 parent a23d912 commit 7dd36e3
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
13 changes: 11 additions & 2 deletions Platform/Qualcomm/sdm845/sdm845.fdf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ ErasePolarity = 1

# This one is tricky, it must be: BlockSize * NumBlocks = Size
BlockSize = 0x00001000
NumBlocks = 0x2000
NumBlocks = 0x700

################################################################################
#
Expand All @@ -49,7 +49,7 @@ NumBlocks = 0x2000
#
################################################################################

0x00000000|0x02000000
0x00000000|0x00700000
gArmTokenSpaceGuid.PcdFvBaseAddress|gArmTokenSpaceGuid.PcdFvSize
FV = FVMAIN_COMPACT

Expand Down Expand Up @@ -214,6 +214,15 @@ READ_LOCK_STATUS = TRUE
INF GPLDrivers/Application/SwitchSlotsApp/SwitchSlotsApp.inf
!endif

!if $(ENABLE_LINUX_UTILS) == 1
FILE FREEFORM = 4b0364cf-1c5b-47aa-9073-d7b5039ce49b {
SECTION RAW = tools/simpleinit.static.uefi.cfg
SECTION UI = "simpleinit.static.uefi.cfg"
}

INF Platform/RenegadePkg/Application/Reboot2PayloadApp/Reboot2PayloadApp.inf
!endif

# Device specific fdf
!include $(DEVICE_DXE_FV_COMPONENTS)

Expand Down
10 changes: 10 additions & 0 deletions configs/devices/beryllium.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
SOC_PLATFORM="SDM845"
VENDOR_NAME="Xiaomi"
PLATFORM_NAME="beryllium"

# mkbootimg config
BOOTIMG_OS_PATCH_LEVEL="2020-09"
BOOTIMG_OS_VERSION=9.0.0

# ACPI config
SPLIT_DSDT=true
2 changes: 1 addition & 1 deletion configs/sdm845.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
FD_BASE=0xCE000000
FD_SIZE=0x02000000
FD_SIZE=0x00700000

0 comments on commit 7dd36e3

Please sign in to comment.