diff --git a/.github/workflows/all_platforms.yml b/.github/workflows/all_platforms.yml index d307dda8e..86c3a8cde 100644 --- a/.github/workflows/all_platforms.yml +++ b/.github/workflows/all_platforms.yml @@ -70,6 +70,7 @@ jobs: matrix: target: [ + { platform: "NapaliPkg", codename: "napali", chipname: "sdm845" }, { platform: "RennellPkg", codename: "rennell", chipname: "sm7125" }, { platform: "KailuaPkg", codename: "kailua", chipname: "sm8550" }, { platform: "KodiakPkg", codename: "kodiak", chipname: "sm7325" }, diff --git a/.github/workflows/sdm845.yml b/.github/workflows/sdm845.yml new file mode 100644 index 000000000..d5a06d22a --- /dev/null +++ b/.github/workflows/sdm845.yml @@ -0,0 +1,56 @@ +# This is a basic workflow to help you get started with Actions + +name: Build uefi for all SDM845 devices. + +# Controls when the workflow will run +on: + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# Indicate that we are running in CI +env: + WM_CI_BUILD: true + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains two jobs called "build" and "package" + build: + uses: Project-Aloha/mu_aloha_platforms/.github/workflows/build_platform.yml@main + with: + platform: NapaliPkg + secrets: inherit + + package: + strategy: + matrix: + target: + [ + { + platform: "NapaliPkg", + codename: "napali", + chipname: "sdm845", + }, + ] + + # The type of runner that the job will run on + runs-on: ubuntu-22.04 + + needs: build + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v4 + + - name: Download Build Artifacts + uses: actions/download-artifact@v4 + with: + path: Build + merge-multiple: true + + - name: Upload ${{ matrix.target.codename }}'s Artifact + uses: actions/upload-artifact@v4 + with: + name: uefi-images-${{ matrix.target.codename }}-${{ matrix.target.chipname }} + path: Build/${{ matrix.target.platform }}/ci_artifacts + compression-level: 9 diff --git a/.github/workflows/sdm845_oneplus_enchilada.yml b/.github/workflows/sdm845_oneplus_enchilada.yml new file mode 100644 index 000000000..757528e9f --- /dev/null +++ b/.github/workflows/sdm845_oneplus_enchilada.yml @@ -0,0 +1,38 @@ +# This is a basic workflow to help you get started with Actions + +name: SDM845 OnePlus 6 + +# Controls when the workflow will run +on: +# # Triggers the workflow on push or pull request events but only for the "main" branch + push: + branches: [ "main" ] + paths: + - 'Platforms/NapaliPkg/Device/oneplus-enchilada/**' + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# Indicate that we are running in CI +env: + WM_CI_BUILD: true + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-22.04 + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v4 + - name: Build SB/NOSB uefi for OnePlus 6. + run: bash scripts/ci_setup.sh && ./build_uefi.py -d oneplus-enchilada + + - name: Upload Artifact + uses: actions/upload-artifact@v4 + with: + name: uefi-images-enchilada + path: Build/*/ci_artifacts + compression-level: 9 diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/ACPI/DSDT.aml b/Platforms/NapaliPkg/Device/oneplus-enchilada/ACPI/DSDT.aml new file mode 100644 index 000000000..c9a3712b4 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/ACPI/DSDT.aml differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/APRIORI.inc b/Platforms/NapaliPkg/Device/oneplus-enchilada/APRIORI.inc new file mode 100644 index 000000000..d27db1b4a --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/APRIORI.inc @@ -0,0 +1,152 @@ +APRIORI DXE { + # First, install the PCD driver and call DxeInit + INF MdeModulePkg/Core/Dxe/DxeMain.inf + INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf + + INF MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf + INF MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf + INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf + + # Next, install cpu protocol and enable the interrupt controller + INF ArmPkg/Drivers/CpuDxe/CpuDxe.inf + INF ArmPkg/Drivers/ArmGic/ArmGicDxe.inf + + # Core Drivers + INF EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf + INF ArmPkg/Drivers/TimerDxe/TimerDxe.inf + INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/EnvDxe/EnvDxe.inf + INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/SmemDxe/SmemDxe.inf + + INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/DALSYSDxe/DALSYSDxe.inf + INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/HWIODxe/HWIODxe.inf + INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/ChipInfoDxe/ChipInfoDxe.inf + INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/PlatformInfoDxe/PlatformInfoDxe.inf + INF QcomPkg/PatchedBinaries/HALIOMMUDxe.inf +# INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/HALIOMMUDxe/HALIOMMUDxe.inf + INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/ULogDxe/ULogDxe.inf + INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/CmdDbDxe/CmdDbDxe.inf + INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/NpaDxe/NpaDxe.inf + INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/RpmhDxe/RpmhDxe.inf + INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/PdcDxe/PdcDxe.inf + INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/ClockDxe/ClockDxe.inf + INF Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/ShmBridgeDxe/ShmBridgeDxe.inf +# INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/TzDxe/ScmDxeLA.inf + + FILE DRIVER = 6b38f7b4-ad98-40e9-9093-aca2b5a253c4 { + SECTION PE32 = Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/DiskIoDxe/DiskIoDxe.efi + SECTION UI = "DiskIoDxe" + } + + FILE DRIVER = 1fa1f39e-feff-4aae-bd7b-38a070a3b609 { + SECTION PE32 = Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/PartitionDxe/PartitionDxe.efi + SECTION UI = "PartitionDxe" + } + + INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf + INF MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystemDxe.inf + INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/SdccDxe/SdccDxe.inf + INF Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/UFSDxe/UFSDxe.inf + INF FatPkg/EnhancedFatDxe/Fat.inf + INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf + + INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/TzDxe/TzDxeLA.inf + INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/TLMMDxe/TLMMDxe.inf + INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/SPMIDxe/SPMIDxe.inf + INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/DDRInfoDxe/DDRInfoDxe.inf + INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/ResetRuntimeDxe/ResetRuntimeDxe.inf + INF Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/I2CDxe/I2CDxe.inf + INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/PmicDxe/PmicDxeLa.inf + INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf +# INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/DisplayDxe/DisplayDxe.inf + + INF Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/CPRDxe/CPRDxe.inf + INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf + INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf + INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf + INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf + INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf + INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf + INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf + INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/FontDxe/FontDxe.inf + INF MdeModulePkg/Universal/BdsDxe/BdsDxe.inf + + FILE DRIVER = 32C71E68-83A8-46ED-AED1-094E71B12057 { + SECTION PE32 = NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/SecRSADxe/SecRSADxe.efi + SECTION UI = "SecRSADxe" + } + + FILE DRIVER = C2F9A4F5-F7B4-43E7-BA99-5EA804CC103A { + SECTION PE32 = NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/ASN1X509Dxe/ASN1X509Dxe.inf + SECTION UI = "ASN1X509Dxe" + } + + INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/AdcDxe/AdcDxe.inf + INF Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/UsbPwrCtrlDxe/UsbPwrCtrlDxe.inf + INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/QcomChargerDxe/QcomChargerDxeLA.inf + INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/ChargerExDxe/ChargerExDxe.inf + INF Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/UsbfnDwc3Dxe/UsbfnDwc3Dxe.inf + INF Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/XhciPciEmulationDxe/XhciPciEmulationDxe.inf + + # INF Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/XhciDxe/XhciDxe.inf + FILE DRIVER = B7F50E91-A759-412C-ADE4-DCD03E7F7C28 { + SECTION PE32 = Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/XhciDxe/XhciDxe.efi + SECTION UI = "XhciDxe" + } + + # INF Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/UsbBusDxe/UsbBusDxe.inf + FILE DRIVER = 240612B7-A063-11D4-9A3A-0090273FC14D { + SECTION PE32 = Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/UsbBusDxe/UsbBusDxe.efi + SECTION UI = "UsbBusDxe" + } + + # INF Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/UsbKbDxe/UsbKbDxe.inf + FILE DRIVER = 2D2E62CF-9ECF-43B7-8219-94E7FC713DFE { + SECTION PE32 = Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/UsbKbDxe/UsbKbDxe.efi + SECTION UI = "UsbKbDxe" + } + + # INF Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/UsbMassStorageDxe/UsbMassStorageDxe.inf + FILE DRIVER = 9FB4B4A7-42C0-4BCD-8540-9BCC6711F83E { + SECTION PE32 = Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/UsbMassStorageDxe/UsbMassStorageDxe.efi + SECTION UI = "UsbMassStorageDxe" + } + +# INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/UsbConfigDxe/UsbConfigDxe.inf + INF Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/UsbConfigDxe/UsbConfigDxe.inf + INF Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/UsbInitDxe/UsbInitDxe.inf + INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/UsbDeviceDxe/UsbDeviceDxe.inf + INF NapaliPkg/Device/$(TARGET_DEVICE)/PatchedBinaries/ButtonsDxe.inf + INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/TsensDxe/TsensDxe.inf + +# INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/LimitsDxe/LimitsDxe.inf + FILE DRIVER = f09ad92e-4e91-490f-ab99-e69939b840b2 { + SECTION UI = "LimitsDxe" + SECTION PE32 = Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/LimitsDxe/LimitsDxe.efi + } + INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/GpiDxe/GpiDxe.inf + +# INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/HashDxe/HashDxe.inf + FILE DRIVER = 3adf8dda-1850-44c5-8c63-bb991849bc6f { + SECTION UI = "HashDxe" + SECTION PE32 = Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/HashDxe/HashDxe.efi + } + +# INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/RNGDxe/RngDxe.inf + FILE DRIVER = b0d3689e-11f8-43c6-8ece-023a29cec35b { + SECTION UI = "RngDxe" + SECTION PE32 = Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/RNGDxe/RngDxe.efi + } + + INF Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/AdapterInformationDxe/AdapterInformationDxe.inf + + INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf + INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf + +# INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf + FILE DRIVER = cccb0c28-4b24-11d5-9a5a-0090273fc14d { + SECTION PE32 = NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.efi + SECTION UI = "GraphicsConsoleDxe" + } + + INF SurfaceDuoFamilyPkg/Driver/SimpleFbDxe/SimpleFbDxe.inf +} diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/APRIORI.inc b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/APRIORI.inc new file mode 100644 index 000000000..a99bd4f94 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/APRIORI.inc @@ -0,0 +1,68 @@ +APRIORI DXE { + INF MdeModulePkg/Core/Dxe/DxeMain.inf + INF ArmPkg/Drivers/CpuDxe/CpuDxe.inf + INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf + INF QcomPkg/Drivers/SecurityDxe/SecurityDxe.inf + INF QcomPkg/Drivers/SecRSADxe/SecRSADxe.inf + INF QcomPkg/Drivers/ASN1X509Dxe/ASN1X509Dxe.inf + INF QcomPkg/Drivers/VerifiedBootDxe/VerifiedBootDxe.inf + INF QcomPkg/Drivers/TzDxe/TzDxeLA.inf + INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf + INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf + INF MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf + INF MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf + INF MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf + INF QcomPkg/Drivers/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf + INF QcomPkg/Drivers/ResetRuntimeDxe/ResetRuntimeDxe.inf + INF EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf + INF EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf + INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf + INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf + INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf + INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf + INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf + INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf + INF QcomPkg/Drivers/FontDxe/FontDxe.inf + INF QcomPkg/Drivers/EnvDxe/EnvDxe.inf + INF ArmPkg/Drivers/ArmGic/ArmGicDxe.inf + INF ArmPkg/Drivers/TimerDxe/TimerDxe.inf + INF QcomPkg/Drivers/ChipInfoDxe/ChipInfoDxe.inf + INF QcomPkg/Drivers/SmemDxe/SmemDxe.inf + INF QcomPkg/Drivers/ULogDxe/ULogDxe.inf + INF QcomPkg/Drivers/NpaDxe/NpaDxe.inf + INF QcomPkg/Drivers/CmdDbDxe/CmdDbDxe.inf + INF QcomPkg/Drivers/RpmhDxe/RpmhDxe.inf + INF QcomPkg/Drivers/CPRDxe/CPRDxe.inf + INF QcomPkg/Drivers/PdcDxe/PdcDxe.inf + INF QcomPkg/Drivers/DiskIoDxe/DiskIoDxe.inf + INF QcomPkg/Drivers/PartitionDxe/PartitionDxe.inf + INF FatPkg/EnhancedFatDxe/Fat.inf + INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf + INF MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystemDxe.inf + INF QcomPkg/Drivers/DALSYSDxe/DALSYSDxe.inf + INF QcomPkg/Drivers/ClockDxe/ClockDxe.inf + INF QcomPkg/Drivers/HALIOMMUDxe/HALIOMMUDxe.inf + INF QcomPkg/Drivers/HWIODxe/HWIODxe.inf + INF QcomPkg/Drivers/GpiDxe/GpiDxe.inf + INF QcomPkg/Drivers/I2CDxe/I2CDxe.inf + INF QcomPkg/Drivers/SPMIDxe/SPMIDxe.inf + INF QcomPkg/Drivers/SdccDxe/SdccDxe.inf + INF QcomPkg/Drivers/UFSDxe/UFSDxe.inf + INF QcomPkg/Drivers/TLMMDxe/TLMMDxe.inf + INF QcomPkg/Drivers/DisplayDxe/DisplayDxe.inf + INF QcomPkg/Drivers/PlatformInfoDxe/PlatformInfoDxe.inf + INF QcomPkg/Drivers/ButtonsDxe/ButtonsDxe.inf + INF QcomPkg/Drivers/PmicDxe/PmicDxeLa.inf + INF QcomPkg/Drivers/ChargerExDxe/ChargerExDxe.inf + INF QcomPkg/Drivers/QcomChargerDxe/QcomChargerDxeLA.inf + INF QcomPkg/Drivers/UsbPwrCtrlDxe/UsbPwrCtrlDxe.inf + INF QcomPkg/Drivers/AdcDxe/AdcDxe.inf + INF QcomPkg/Drivers/TsensDxe/TsensDxe.inf + INF QcomPkg/Drivers/LimitsDxe/LimitsDxe.inf + INF QcomPkg/Drivers/DDRInfoDxe/DDRInfoDxe.inf + INF QcomPkg/Drivers/UsbfnDwc3Dxe/UsbfnDwc3Dxe.inf + INF QcomPkg/Drivers/UsbConfigDxe/UsbConfigDxe.inf + INF QcomPkg/Drivers/HashDxe/HashDxe.inf + INF QcomPkg/Drivers/RNGDxe/RngDxe.inf + INF QcomPkg/Drivers/QcomBds/QcomBds.inf +} diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/ArmPkg/Drivers/ArmGic/ArmGicDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/ArmPkg/Drivers/ArmGic/ArmGicDxe.depex new file mode 100644 index 000000000..f506d2943 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/ArmPkg/Drivers/ArmGic/ArmGicDxe.depex differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/ArmPkg/Drivers/ArmGic/ArmGicDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/ArmPkg/Drivers/ArmGic/ArmGicDxe.efi new file mode 100644 index 000000000..3a2c77221 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/ArmPkg/Drivers/ArmGic/ArmGicDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/ArmPkg/Drivers/ArmGic/ArmGicDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/ArmPkg/Drivers/ArmGic/ArmGicDxe.inf new file mode 100644 index 000000000..24a3ce70c --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/ArmPkg/Drivers/ArmGic/ArmGicDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS ArmGicDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = ArmGicDxe + FILE_GUID = DE371F7C-DEC4-4D21-ADF1-593ABCC15882 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|ArmGicDxe.depex|* + PE32|ArmGicDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/ArmPkg/Drivers/CpuDxe/CpuDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/ArmPkg/Drivers/CpuDxe/CpuDxe.depex new file mode 100644 index 000000000..2a47cc229 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/ArmPkg/Drivers/CpuDxe/CpuDxe.depex @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/ArmPkg/Drivers/CpuDxe/CpuDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/ArmPkg/Drivers/CpuDxe/CpuDxe.efi new file mode 100644 index 000000000..82efd4200 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/ArmPkg/Drivers/CpuDxe/CpuDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/ArmPkg/Drivers/CpuDxe/CpuDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/ArmPkg/Drivers/CpuDxe/CpuDxe.inf new file mode 100644 index 000000000..13d761197 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/ArmPkg/Drivers/CpuDxe/CpuDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS CpuDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = ArmCpuDxe + FILE_GUID = B8D9777E-D72A-451F-9BDB-BAFB52A68415 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|CpuDxe.depex|* + PE32|CpuDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/ArmPkg/Drivers/TimerDxe/TimerDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/ArmPkg/Drivers/TimerDxe/TimerDxe.depex new file mode 100644 index 000000000..ac7d7371a --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/ArmPkg/Drivers/TimerDxe/TimerDxe.depex @@ -0,0 +1 @@ +곐(=C H? \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/ArmPkg/Drivers/TimerDxe/TimerDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/ArmPkg/Drivers/TimerDxe/TimerDxe.efi new file mode 100644 index 000000000..2c4b80e42 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/ArmPkg/Drivers/TimerDxe/TimerDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/ArmPkg/Drivers/TimerDxe/TimerDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/ArmPkg/Drivers/TimerDxe/TimerDxe.inf new file mode 100644 index 000000000..1a32f2bd5 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/ArmPkg/Drivers/TimerDxe/TimerDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS TimerDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = ArmTimerDxe + FILE_GUID = 49EA041E-6752-42CA-B0B1-7344FE2546B7 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|TimerDxe.depex|* + PE32|TimerDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/DXE.dsc.inc b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/DXE.dsc.inc new file mode 100644 index 000000000..1183cfc69 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/DXE.dsc.inc @@ -0,0 +1,70 @@ +QcomPkg/XBLCore/XBLCore.inf +MdeModulePkg/Core/Dxe/DxeMain.inf +ArmPkg/Drivers/CpuDxe/CpuDxe.inf +MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf +QcomPkg/Drivers/SecurityDxe/SecurityDxe.inf +QcomPkg/Drivers/SecRSADxe/SecRSADxe.inf +QcomPkg/Drivers/ASN1X509Dxe/ASN1X509Dxe.inf +QcomPkg/Drivers/VerifiedBootDxe/VerifiedBootDxe.inf +QcomPkg/Drivers/TzDxe/TzDxeLA.inf +MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf +MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf +MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf +MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf +MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf +QcomPkg/Drivers/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf +QcomPkg/Drivers/ResetRuntimeDxe/ResetRuntimeDxe.inf +EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf +EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf +MdeModulePkg/Universal/PrintDxe/PrintDxe.inf +MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf +MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf +MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf +MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf +MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf +QcomPkg/Drivers/FontDxe/FontDxe.inf +QcomPkg/Drivers/EnvDxe/EnvDxe.inf +ArmPkg/Drivers/ArmGic/ArmGicDxe.inf +ArmPkg/Drivers/TimerDxe/TimerDxe.inf +QcomPkg/Drivers/ChipInfoDxe/ChipInfoDxe.inf +QcomPkg/Drivers/SmemDxe/SmemDxe.inf +QcomPkg/Drivers/ULogDxe/ULogDxe.inf +QcomPkg/Drivers/NpaDxe/NpaDxe.inf +QcomPkg/Drivers/CmdDbDxe/CmdDbDxe.inf +QcomPkg/Drivers/RpmhDxe/RpmhDxe.inf +QcomPkg/Drivers/CPRDxe/CPRDxe.inf +QcomPkg/Drivers/PdcDxe/PdcDxe.inf +QcomPkg/Drivers/DiskIoDxe/DiskIoDxe.inf +QcomPkg/Drivers/PartitionDxe/PartitionDxe.inf +FatPkg/EnhancedFatDxe/Fat.inf +MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf +MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystemDxe.inf +QcomPkg/Drivers/DALSYSDxe/DALSYSDxe.inf +QcomPkg/Drivers/ClockDxe/ClockDxe.inf +QcomPkg/Drivers/HALIOMMUDxe/HALIOMMUDxe.inf +QcomPkg/Drivers/HWIODxe/HWIODxe.inf +QcomPkg/Drivers/GpiDxe/GpiDxe.inf +QcomPkg/Drivers/I2CDxe/I2CDxe.inf +QcomPkg/Drivers/SPMIDxe/SPMIDxe.inf +QcomPkg/Drivers/SdccDxe/SdccDxe.inf +QcomPkg/Drivers/UFSDxe/UFSDxe.inf +QcomPkg/Drivers/TLMMDxe/TLMMDxe.inf +QcomPkg/Drivers/DisplayDxe/DisplayDxe.inf +QcomPkg/Drivers/PlatformInfoDxe/PlatformInfoDxe.inf +QcomPkg/Drivers/ButtonsDxe/ButtonsDxe.inf +QcomPkg/Drivers/PmicDxe/PmicDxeLa.inf +QcomPkg/Drivers/ChargerExDxe/ChargerExDxe.inf +QcomPkg/Drivers/QcomChargerDxe/QcomChargerDxeLA.inf +QcomPkg/Drivers/UsbPwrCtrlDxe/UsbPwrCtrlDxe.inf +QcomPkg/Drivers/AdcDxe/AdcDxe.inf +QcomPkg/Drivers/TsensDxe/TsensDxe.inf +QcomPkg/Drivers/LimitsDxe/LimitsDxe.inf +QcomPkg/Drivers/DDRInfoDxe/DDRInfoDxe.inf +QcomPkg/Drivers/UsbfnDwc3Dxe/UsbfnDwc3Dxe.inf +QcomPkg/Drivers/UsbMsdDxe/UsbMsdDxe.inf +QcomPkg/Drivers/UsbDeviceDxe/UsbDeviceDxe.inf +QcomPkg/Drivers/UsbConfigDxe/UsbConfigDxe.inf +QcomPkg/Drivers/HashDxe/HashDxe.inf +QcomPkg/Drivers/RNGDxe/RngDxe.inf +QcomPkg/Drivers/QcomBds/QcomBds.inf +QcomPkg/Application/QcomChargerApp/QcomChargerApp.inf diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/DXE.inc b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/DXE.inc new file mode 100644 index 000000000..ad39076f8 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/DXE.inc @@ -0,0 +1,160 @@ +INF QcomPkg/XBLCore/XBLCore.inf + +FILE FREEFORM = DDE58710-41CD-4306-DBFB-3FA90BB1D2DD { + SECTION UI = "uefiplat.cfg" + SECTION RAW = RawFiles/uefiplat.cfg +} + +INF MdeModulePkg/Core/Dxe/DxeMain.inf +INF ArmPkg/Drivers/CpuDxe/CpuDxe.inf +INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf +INF QcomPkg/Drivers/SecurityDxe/SecurityDxe.inf +INF QcomPkg/Drivers/SecRSADxe/SecRSADxe.inf +INF QcomPkg/Drivers/ASN1X509Dxe/ASN1X509Dxe.inf +INF QcomPkg/Drivers/VerifiedBootDxe/VerifiedBootDxe.inf +INF QcomPkg/Drivers/TzDxe/TzDxeLA.inf +INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf +INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf +INF MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf +INF MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf +INF MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf +INF QcomPkg/Drivers/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf +INF QcomPkg/Drivers/ResetRuntimeDxe/ResetRuntimeDxe.inf +INF EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf +INF EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf +INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf +INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf +INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf +INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf +INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf +INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf +INF QcomPkg/Drivers/FontDxe/FontDxe.inf +INF QcomPkg/Drivers/EnvDxe/EnvDxe.inf +INF ArmPkg/Drivers/ArmGic/ArmGicDxe.inf +INF ArmPkg/Drivers/TimerDxe/TimerDxe.inf +INF QcomPkg/Drivers/ChipInfoDxe/ChipInfoDxe.inf +INF QcomPkg/Drivers/SmemDxe/SmemDxe.inf +INF QcomPkg/Drivers/ULogDxe/ULogDxe.inf +INF QcomPkg/Drivers/NpaDxe/NpaDxe.inf +INF QcomPkg/Drivers/CmdDbDxe/CmdDbDxe.inf +INF QcomPkg/Drivers/RpmhDxe/RpmhDxe.inf +INF QcomPkg/Drivers/CPRDxe/CPRDxe.inf +INF QcomPkg/Drivers/PdcDxe/PdcDxe.inf +INF QcomPkg/Drivers/DiskIoDxe/DiskIoDxe.inf +INF QcomPkg/Drivers/PartitionDxe/PartitionDxe.inf +INF FatPkg/EnhancedFatDxe/Fat.inf +INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf +INF MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystemDxe.inf +INF QcomPkg/Drivers/DALSYSDxe/DALSYSDxe.inf +INF QcomPkg/Drivers/ClockDxe/ClockDxe.inf +INF QcomPkg/Drivers/HALIOMMUDxe/HALIOMMUDxe.inf +INF QcomPkg/Drivers/HWIODxe/HWIODxe.inf +INF QcomPkg/Drivers/GpiDxe/GpiDxe.inf +INF QcomPkg/Drivers/I2CDxe/I2CDxe.inf +INF QcomPkg/Drivers/SPMIDxe/SPMIDxe.inf +INF QcomPkg/Drivers/SdccDxe/SdccDxe.inf +INF QcomPkg/Drivers/UFSDxe/UFSDxe.inf +INF QcomPkg/Drivers/TLMMDxe/TLMMDxe.inf +INF QcomPkg/Drivers/DisplayDxe/DisplayDxe.inf +INF QcomPkg/Drivers/PlatformInfoDxe/PlatformInfoDxe.inf +INF QcomPkg/Drivers/ButtonsDxe/ButtonsDxe.inf +INF QcomPkg/Drivers/PmicDxe/PmicDxeLa.inf +INF QcomPkg/Drivers/ChargerExDxe/ChargerExDxe.inf +INF QcomPkg/Drivers/QcomChargerDxe/QcomChargerDxeLA.inf +INF QcomPkg/Drivers/UsbPwrCtrlDxe/UsbPwrCtrlDxe.inf +INF QcomPkg/Drivers/AdcDxe/AdcDxe.inf +INF QcomPkg/Drivers/TsensDxe/TsensDxe.inf +INF QcomPkg/Drivers/LimitsDxe/LimitsDxe.inf +INF QcomPkg/Drivers/DDRInfoDxe/DDRInfoDxe.inf +INF QcomPkg/Drivers/UsbfnDwc3Dxe/UsbfnDwc3Dxe.inf +INF QcomPkg/Drivers/UsbMsdDxe/UsbMsdDxe.inf +INF QcomPkg/Drivers/UsbDeviceDxe/UsbDeviceDxe.inf +INF QcomPkg/Drivers/UsbConfigDxe/UsbConfigDxe.inf +INF QcomPkg/Drivers/HashDxe/HashDxe.inf +INF QcomPkg/Drivers/RNGDxe/RngDxe.inf +INF QcomPkg/Drivers/QcomBds/QcomBds.inf +INF QcomPkg/Application/QcomChargerApp/QcomChargerApp.inf + +FILE FREEFORM = A91D838E-A5FA-4138-825D-455E2303079E { + SECTION UI = "BDS_Menu.cfg" + SECTION RAW = RawFiles/BDS_Menu.cfg +} + + +FILE FREEFORM = A91D838E-A5FA-4138-825D-455E23030794 { + SECTION UI = "logo1.bmp" + SECTION RAW = RawFiles/logo1.bmp +} + + +FILE FREEFORM = 3E5584ED-05D4-4267-9048-0D47F76F4248 { + SECTION UI = "battery_symbol_Soc10.bmp" + SECTION RAW = RawFiles/battery_symbol_Soc10.bmp +} + + +FILE FREEFORM = 4753E815-DDD8-402D-BF69-9B8C4EB7573E { + SECTION UI = "battery_symbol_NoBattery.bmp" + SECTION RAW = RawFiles/battery_symbol_NoBattery.bmp +} + + +FILE FREEFORM = 03DED53E-BECD-428F-9F79-5ABA64C58445 { + SECTION UI = "battery_symbol_Nocharger.bmp" + SECTION RAW = RawFiles/battery_symbol_Nocharger.bmp +} + + +FILE FREEFORM = 8B86CD38-C772-4FCF-85AA-345B2B3C1AB4 { + SECTION UI = "battery_symbol_LowBatteryCharging.bmp" + SECTION RAW = RawFiles/battery_symbol_LowBatteryCharging.bmp +} + + +FILE FREEFORM = 3FD97907-93F1-4349-AF3C-3B68B0A5E626 { + SECTION UI = "battery_symbol_LowBattery.bmp" + SECTION RAW = RawFiles/battery_symbol_LowBattery.bmp +} + + +FILE FREEFORM = E2EA5A4F-98BD-4203-AB49-399505DDFB7D { + SECTION UI = "tsens_thermal_symbol.bmp" + SECTION RAW = RawFiles/tsens_thermal_symbol.bmp +} + + +FILE FREEFORM = C72FB1A9-5527-4E13-BAC4-F671D0330145 { + SECTION UI = "tsens_thermal_err_symbol.bmp" + SECTION RAW = RawFiles/tsens_thermal_err_symbol.bmp +} + + +FILE FREEFORM = B0F8D1BE-5353-4812-B1F6-07E7768204CC { + SECTION UI = "battery_symbol_DebugBoot.bmp" + SECTION RAW = RawFiles/battery_symbol_DebugBoot.bmp +} + + +FILE FREEFORM = F9E8F683-E065-4E09-B4F9-0230D7CECD08 { + SECTION UI = "battery_symbol_DebugStay.bmp" + SECTION RAW = RawFiles/battery_symbol_DebugStay.bmp +} + + +FILE FREEFORM = A1E235DE-E825-4591-9623-C43175811826 { + SECTION UI = "SecParti.cfg" + SECTION RAW = RawFiles/SecParti.cfg +} + + +FILE FREEFORM = 45FE4B7C-150C-45DA-A021-4BEB2048EC6F { + SECTION UI = "QcomChargerCfg.cfg" + SECTION RAW = RawFiles/QcomChargerCfg.cfg +} + + +FILE FREEFORM = F780C779-DD7C-47CD-BD1A-5EB414C51704 { + SECTION UI = "BATTERY.PROVISION" + SECTION RAW = RawFiles/BATTERY.PROVISION +} + diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/EmbeddedPkg/MetronomeDxe/MetronomeDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/EmbeddedPkg/MetronomeDxe/MetronomeDxe.depex new file mode 100644 index 000000000..2a47cc229 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/EmbeddedPkg/MetronomeDxe/MetronomeDxe.depex @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/EmbeddedPkg/MetronomeDxe/MetronomeDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/EmbeddedPkg/MetronomeDxe/MetronomeDxe.efi new file mode 100644 index 000000000..5d7b6fa2e Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/EmbeddedPkg/MetronomeDxe/MetronomeDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf new file mode 100644 index 000000000..828de0b16 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS MetronomeDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = MetronomeDxe + FILE_GUID = 4C6E0267-C77D-410D-8100-1495911A989D + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|MetronomeDxe.depex|* + PE32|MetronomeDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.depex new file mode 100644 index 000000000..2a47cc229 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.depex @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.efi new file mode 100644 index 000000000..47d0606fa Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf new file mode 100644 index 000000000..bed90dd77 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS RealTimeClockRuntimeDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = RealTimeClock + FILE_GUID = B336F62D-4135-4A55-AE4E-4971BBF0885D + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|RealTimeClockRuntimeDxe.depex|* + PE32|RealTimeClockRuntimeDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/FatPkg/EnhancedFatDxe/Fat.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/FatPkg/EnhancedFatDxe/Fat.efi new file mode 100644 index 000000000..76a31372a Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/FatPkg/EnhancedFatDxe/Fat.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/FatPkg/EnhancedFatDxe/Fat.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/FatPkg/EnhancedFatDxe/Fat.inf new file mode 100644 index 000000000..f149ba6d7 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/FatPkg/EnhancedFatDxe/Fat.inf @@ -0,0 +1,18 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS Fat.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = Fat + FILE_GUID = 961578FE-B6B7-44C3-AF35-6BC705CD2B1F + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + +[Binaries.AARCH64] + PE32|Fat.efi|* + +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Core/Dxe/DxeMain.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Core/Dxe/DxeMain.efi new file mode 100644 index 000000000..e1d474271 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Core/Dxe/DxeMain.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Core/Dxe/DxeMain.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Core/Dxe/DxeMain.inf new file mode 100644 index 000000000..6649a7ac4 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Core/Dxe/DxeMain.inf @@ -0,0 +1,18 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS DxeMain.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = DxeCore + FILE_GUID = D6A2CB7F-6A18-4E2F-B43B-9920A733700A + MODULE_TYPE = DXE_CORE + VERSION_STRING = 1.0 + +[Binaries.AARCH64] + PE32|DxeMain.efi|* + +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.depex new file mode 100644 index 000000000..2a47cc229 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.depex @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.efi new file mode 100644 index 000000000..6de69587f Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf new file mode 100644 index 000000000..5a0385ea7 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS RuntimeDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = RuntimeDxe + FILE_GUID = B601F8C4-43B7-4784-95B1-F4226CB40CEE + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|RuntimeDxe.depex|* + PE32|RuntimeDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.depex new file mode 100644 index 000000000..f1f3873fc --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.depex @@ -0,0 +1 @@ +AdbcDNp}1$S \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.efi new file mode 100644 index 000000000..d484dca77 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf new file mode 100644 index 000000000..183665198 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS CapsuleRuntimeDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = CapsuleRuntimeDxe + FILE_GUID = 42857F0A-13F2-4B21-8A23-53D3F714B840 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|CapsuleRuntimeDxe.depex|* + PE32|CapsuleRuntimeDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.efi new file mode 100644 index 000000000..d2937ac34 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf new file mode 100644 index 000000000..a358f4edd --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf @@ -0,0 +1,18 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS ConPlatformDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = ConPlatformDxe + FILE_GUID = 51CCF399-4FDF-4E55-A45B-E123F84D456A + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + +[Binaries.AARCH64] + PE32|ConPlatformDxe.efi|* + +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.efi new file mode 100644 index 000000000..b572a92d1 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf new file mode 100644 index 000000000..9836675d9 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf @@ -0,0 +1,18 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS ConSplitterDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = ConSplitterDxe + FILE_GUID = 408EDCEC-CF6D-477C-A5A8-B4844E3DE281 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + +[Binaries.AARCH64] + PE32|ConSplitterDxe.efi|* + +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.efi new file mode 100644 index 000000000..06d9debc9 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf new file mode 100644 index 000000000..064510c92 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf @@ -0,0 +1,18 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS GraphicsConsoleDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = GraphicsConsoleDxe + FILE_GUID = CCCB0C28-4B24-11D5-9A5A-0090273FC14D + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + +[Binaries.AARCH64] + PE32|GraphicsConsoleDxe.efi|* + +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.depex new file mode 100644 index 000000000..2a47cc229 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.depex @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.efi new file mode 100644 index 000000000..e41c44826 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf new file mode 100644 index 000000000..3f37932f8 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS DevicePathDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = DevicePathDxe + FILE_GUID = 9B680FCE-AD6B-4F3A-B60B-F59899003443 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|DevicePathDxe.depex|* + PE32|DevicePathDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.efi new file mode 100644 index 000000000..a4156b3ea Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf new file mode 100644 index 000000000..faadba771 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf @@ -0,0 +1,18 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS EnglishDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = EnglishDxe + FILE_GUID = CD3BAFB6-50FB-4FE8-8E4E-AB74D2C1A600 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + +[Binaries.AARCH64] + PE32|EnglishDxe.efi|* + +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystemDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystemDxe.efi new file mode 100644 index 000000000..13d28b618 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystemDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystemDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystemDxe.inf new file mode 100644 index 000000000..6da958eea --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystemDxe.inf @@ -0,0 +1,18 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS FvSimpleFileSystemDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = FvSimpleFileSystem + FILE_GUID = 907125C0-A5F1-11E3-A3FE-A3198B49350C + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + +[Binaries.AARCH64] + PE32|FvSimpleFileSystemDxe.efi|* + +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.depex new file mode 100644 index 000000000..2a47cc229 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.depex @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.efi new file mode 100644 index 000000000..674b6568a Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf new file mode 100644 index 000000000..993e74c40 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS HiiDatabaseDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = HiiDatabase + FILE_GUID = 348C4D62-BFBD-4882-9ECE-C80BB1C4783B + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|HiiDatabaseDxe.depex|* + PE32|HiiDatabaseDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/PrintDxe/PrintDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/PrintDxe/PrintDxe.depex new file mode 100644 index 000000000..2a47cc229 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/PrintDxe/PrintDxe.depex @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/PrintDxe/PrintDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/PrintDxe/PrintDxe.efi new file mode 100644 index 000000000..472e39a89 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/PrintDxe/PrintDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/PrintDxe/PrintDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/PrintDxe/PrintDxe.inf new file mode 100644 index 000000000..b37102beb --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/PrintDxe/PrintDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS PrintDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = PrintDxe + FILE_GUID = 79E4A61C-ED73-4312-94FE-E3E7563362A9 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|PrintDxe.depex|* + PE32|PrintDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.depex new file mode 100644 index 000000000..2a47cc229 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.depex @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.efi new file mode 100644 index 000000000..c11265cf7 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf new file mode 100644 index 000000000..4dcc32183 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS ReportStatusCodeRouterRuntimeDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = ReportStatusCodeRouterRuntimeDxe + FILE_GUID = D93CE3D8-A7EB-4730-8C8E-CC466A9ECC3C + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|ReportStatusCodeRouterRuntimeDxe.depex|* + PE32|ReportStatusCodeRouterRuntimeDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.depex new file mode 100644 index 000000000..0ae54384f --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.depex @@ -0,0 +1 @@ +6)!vA:*9 \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.efi new file mode 100644 index 000000000..4528e0df0 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf new file mode 100644 index 000000000..9e9af401f --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS StatusCodeHandlerRuntimeDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = StatusCodeHandlerRuntimeDxe + FILE_GUID = 6C2004EF-4E0E-4BE4-B14C-340EB4AA5891 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|StatusCodeHandlerRuntimeDxe.depex|* + PE32|StatusCodeHandlerRuntimeDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.depex new file mode 100644 index 000000000..2a47cc229 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.depex @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.efi new file mode 100644 index 000000000..cf28677a8 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf new file mode 100644 index 000000000..e3ba98567 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS EmuVariableRuntimeDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = EmuVariableRuntimeDxe + FILE_GUID = 02B01AD5-7E59-43E8-A6D8-238180613A5A + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|EmuVariableRuntimeDxe.depex|* + PE32|EmuVariableRuntimeDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.depex new file mode 100644 index 000000000..03d5718dd Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.depex differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.efi new file mode 100644 index 000000000..2ad39de21 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf new file mode 100644 index 000000000..76314b047 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS WatchdogTimer.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = WatchdogTimer + FILE_GUID = F099D67F-71AE-4C36-B2A3-DCEB0EB2B7D8 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|WatchdogTimer.depex|* + PE32|WatchdogTimer.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Application/QcomChargerApp/QcomChargerApp.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Application/QcomChargerApp/QcomChargerApp.efi new file mode 100644 index 000000000..e80fbe5e6 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Application/QcomChargerApp/QcomChargerApp.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Application/QcomChargerApp/QcomChargerApp.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Application/QcomChargerApp/QcomChargerApp.inf new file mode 100644 index 000000000..f4273434e --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Application/QcomChargerApp/QcomChargerApp.inf @@ -0,0 +1,18 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS QcomChargerApp.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = QcomChargerApp + FILE_GUID = EEE9C2B1-16CA-4F34-87EA-2E6D1E160CC4 + MODULE_TYPE = UEFI_APPLICATION + VERSION_STRING = 1.0 + +[Binaries.AARCH64] + PE32|QcomChargerApp.efi|* + +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ASN1X509Dxe/ASN1X509Dxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ASN1X509Dxe/ASN1X509Dxe.efi new file mode 100644 index 000000000..74964eac3 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ASN1X509Dxe/ASN1X509Dxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ASN1X509Dxe/ASN1X509Dxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ASN1X509Dxe/ASN1X509Dxe.inf new file mode 100644 index 000000000..14ca74d9a --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ASN1X509Dxe/ASN1X509Dxe.inf @@ -0,0 +1,18 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS ASN1X509Dxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = ASN1X509Dxe + FILE_GUID = C2F9A4F5-F7B4-43E7-BA99-5EA804CC103A + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + +[Binaries.AARCH64] + PE32|ASN1X509Dxe.efi|* + +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/AdcDxe/AdcDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/AdcDxe/AdcDxe.depex new file mode 100644 index 000000000..743af2983 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/AdcDxe/AdcDxe.depex @@ -0,0 +1 @@ +B7ELfGk0_}J}/0 \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/AdcDxe/AdcDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/AdcDxe/AdcDxe.efi new file mode 100644 index 000000000..911358ad7 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/AdcDxe/AdcDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/AdcDxe/AdcDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/AdcDxe/AdcDxe.inf new file mode 100644 index 000000000..d19f57eab --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/AdcDxe/AdcDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS AdcDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = AdcDxe + FILE_GUID = 5A5CB8CA-9382-4E0C-B383-77FB517CD9EB + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|AdcDxe.depex|* + PE32|AdcDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ButtonsDxe/ButtonsDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ButtonsDxe/ButtonsDxe.depex new file mode 100644 index 000000000..f943d352a Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ButtonsDxe/ButtonsDxe.depex differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ButtonsDxe/ButtonsDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ButtonsDxe/ButtonsDxe.efi new file mode 100644 index 000000000..172d73277 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ButtonsDxe/ButtonsDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ButtonsDxe/ButtonsDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ButtonsDxe/ButtonsDxe.inf new file mode 100644 index 000000000..a8019b104 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ButtonsDxe/ButtonsDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS ButtonsDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = ButtonsDxe + FILE_GUID = 5BD181DB-0487-4F1A-AE73-820E165611B3 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|ButtonsDxe.depex|* + PE32|ButtonsDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/CPRDxe/CPRDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/CPRDxe/CPRDxe.depex new file mode 100644 index 000000000..d24065d0a --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/CPRDxe/CPRDxe.depex @@ -0,0 +1 @@ +B7ELfG \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/CPRDxe/CPRDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/CPRDxe/CPRDxe.efi new file mode 100644 index 000000000..33c601170 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/CPRDxe/CPRDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/CPRDxe/CPRDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/CPRDxe/CPRDxe.inf new file mode 100644 index 000000000..662a65373 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/CPRDxe/CPRDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS CPRDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = CPRDxe + FILE_GUID = 1B52138D-3FA3-4E50-B958-20887353F809 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|CPRDxe.depex|* + PE32|CPRDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ChargerExDxe/ChargerExDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ChargerExDxe/ChargerExDxe.depex new file mode 100644 index 000000000..2a47cc229 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ChargerExDxe/ChargerExDxe.depex @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ChargerExDxe/ChargerExDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ChargerExDxe/ChargerExDxe.efi new file mode 100644 index 000000000..245d46762 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ChargerExDxe/ChargerExDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ChargerExDxe/ChargerExDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ChargerExDxe/ChargerExDxe.inf new file mode 100644 index 000000000..fe6c63c89 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ChargerExDxe/ChargerExDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS ChargerExDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = ChargerExDxe + FILE_GUID = 2E3042F3-2BB9-463F-8866-56D75B7C4AB0 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|ChargerExDxe.depex|* + PE32|ChargerExDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ChipInfoDxe/ChipInfoDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ChipInfoDxe/ChipInfoDxe.depex new file mode 100644 index 000000000..26bd57d16 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ChipInfoDxe/ChipInfoDxe.depex @@ -0,0 +1 @@ +B7ELfG|a'(O=2 \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ChipInfoDxe/ChipInfoDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ChipInfoDxe/ChipInfoDxe.efi new file mode 100644 index 000000000..0f35b7ba8 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ChipInfoDxe/ChipInfoDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ChipInfoDxe/ChipInfoDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ChipInfoDxe/ChipInfoDxe.inf new file mode 100644 index 000000000..f7c641993 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ChipInfoDxe/ChipInfoDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS ChipInfoDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = ChipInfo + FILE_GUID = 10E193DF-9966-44E7-B17C-59DD831E20FC + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|ChipInfoDxe.depex|* + PE32|ChipInfoDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ClockDxe/ClockDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ClockDxe/ClockDxe.depex new file mode 100644 index 000000000..14cd96a5f --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ClockDxe/ClockDxe.depex @@ -0,0 +1 @@ +B7ELfGiv zH({E \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ClockDxe/ClockDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ClockDxe/ClockDxe.efi new file mode 100644 index 000000000..5f4da0bea Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ClockDxe/ClockDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ClockDxe/ClockDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ClockDxe/ClockDxe.inf new file mode 100644 index 000000000..1071f44f6 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ClockDxe/ClockDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS ClockDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = ClockDxe + FILE_GUID = 4DB5DEA6-5302-4D1A-8A82-677A683B0D29 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|ClockDxe.depex|* + PE32|ClockDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/CmdDbDxe/CmdDbDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/CmdDbDxe/CmdDbDxe.depex new file mode 100644 index 000000000..2a47cc229 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/CmdDbDxe/CmdDbDxe.depex @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/CmdDbDxe/CmdDbDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/CmdDbDxe/CmdDbDxe.efi new file mode 100644 index 000000000..c278e5dc0 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/CmdDbDxe/CmdDbDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/CmdDbDxe/CmdDbDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/CmdDbDxe/CmdDbDxe.inf new file mode 100644 index 000000000..0c5fdc3c9 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/CmdDbDxe/CmdDbDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS CmdDbDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = CmdDbDxe + FILE_GUID = ABA01FF8-2CCB-4E12-8B2E-CD3F4A742993 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|CmdDbDxe.depex|* + PE32|CmdDbDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/DALSYSDxe/DALSYSDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/DALSYSDxe/DALSYSDxe.depex new file mode 100644 index 000000000..098cfdc1c --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/DALSYSDxe/DALSYSDxe.depex @@ -0,0 +1 @@ +9Gfv28 \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/DALSYSDxe/DALSYSDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/DALSYSDxe/DALSYSDxe.efi new file mode 100644 index 000000000..bdf131a68 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/DALSYSDxe/DALSYSDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/DALSYSDxe/DALSYSDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/DALSYSDxe/DALSYSDxe.inf new file mode 100644 index 000000000..13aada848 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/DALSYSDxe/DALSYSDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS DALSYSDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = DALSys + FILE_GUID = 8E9BD160-B184-11DF-94E2-0800200C9A66 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|DALSYSDxe.depex|* + PE32|DALSYSDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/DDRInfoDxe/DDRInfoDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/DDRInfoDxe/DDRInfoDxe.depex new file mode 100644 index 000000000..2a47cc229 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/DDRInfoDxe/DDRInfoDxe.depex @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/DDRInfoDxe/DDRInfoDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/DDRInfoDxe/DDRInfoDxe.efi new file mode 100644 index 000000000..20defa2a7 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/DDRInfoDxe/DDRInfoDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/DDRInfoDxe/DDRInfoDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/DDRInfoDxe/DDRInfoDxe.inf new file mode 100644 index 000000000..13e283b5a --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/DDRInfoDxe/DDRInfoDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS DDRInfoDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = DDRInfoDxe + FILE_GUID = 7DB0793A-4402-4BE1-906E-D0FABAD2707E + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|DDRInfoDxe.depex|* + PE32|DDRInfoDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/DiskIoDxe/DiskIoDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/DiskIoDxe/DiskIoDxe.efi new file mode 100644 index 000000000..3bca6d328 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/DiskIoDxe/DiskIoDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/DiskIoDxe/DiskIoDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/DiskIoDxe/DiskIoDxe.inf new file mode 100644 index 000000000..1c699171b --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/DiskIoDxe/DiskIoDxe.inf @@ -0,0 +1,18 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS DiskIoDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = DiskIoDxe + FILE_GUID = 6B38F7B4-AD98-40E9-9093-ACA2B5A253C4 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + +[Binaries.AARCH64] + PE32|DiskIoDxe.efi|* + +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/DisplayDxe/DisplayDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/DisplayDxe/DisplayDxe.depex new file mode 100644 index 000000000..ed9d9a535 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/DisplayDxe/DisplayDxe.depex @@ -0,0 +1 @@ +E\z!C|/_iv zH({EA|[`[C[<>+Q-lHUBOflMBbӵGoUiB(. 욭{ H00=z>M\m ݮ&DkI$_lOŽy \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/DisplayDxe/DisplayDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/DisplayDxe/DisplayDxe.efi new file mode 100644 index 000000000..f7035c341 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/DisplayDxe/DisplayDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/DisplayDxe/DisplayDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/DisplayDxe/DisplayDxe.inf new file mode 100644 index 000000000..80e0e0c88 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/DisplayDxe/DisplayDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS DisplayDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = DisplayDxe + FILE_GUID = 4138022F-06C7-4F79-9C94-7E33B511A4E7 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|DisplayDxe.depex|* + PE32|DisplayDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.depex new file mode 100644 index 000000000..2a47cc229 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.depex @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.efi new file mode 100644 index 000000000..7acf3fdd3 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf new file mode 100644 index 000000000..0e0f1fbd7 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS EmbeddedMonotonicCounter.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = EmbeddedMonotonicCounter + FILE_GUID = 37795BA0-E1CF-4ED5-BD8B-16DF6BCB1E1A + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|EmbeddedMonotonicCounter.depex|* + PE32|EmbeddedMonotonicCounter.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/EnvDxe/EnvDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/EnvDxe/EnvDxe.depex new file mode 100644 index 000000000..2a47cc229 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/EnvDxe/EnvDxe.depex @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/EnvDxe/EnvDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/EnvDxe/EnvDxe.efi new file mode 100644 index 000000000..aaddcac29 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/EnvDxe/EnvDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/EnvDxe/EnvDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/EnvDxe/EnvDxe.inf new file mode 100644 index 000000000..71a6b562d --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/EnvDxe/EnvDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS EnvDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = EnvDxe + FILE_GUID = 90A49AFD-422F-08AE-9611-E788D3804845 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|EnvDxe.depex|* + PE32|EnvDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/FontDxe/FontDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/FontDxe/FontDxe.depex new file mode 100644 index 000000000..2520e659f --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/FontDxe/FontDxe.depex @@ -0,0 +1 @@ +ti#L˘wP2*rﲡF'm2A`Br~XPyO ) \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/FontDxe/FontDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/FontDxe/FontDxe.efi new file mode 100644 index 000000000..e279991cc Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/FontDxe/FontDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/FontDxe/FontDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/FontDxe/FontDxe.inf new file mode 100644 index 000000000..4d4cd45e7 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/FontDxe/FontDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS FontDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = FontDxe + FILE_GUID = ED15FFD5-BC96-4107-9118-95366600188E + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|FontDxe.depex|* + PE32|FontDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/GpiDxe/GpiDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/GpiDxe/GpiDxe.depex new file mode 100644 index 000000000..1a5bc1e18 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/GpiDxe/GpiDxe.depex differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/GpiDxe/GpiDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/GpiDxe/GpiDxe.efi new file mode 100644 index 000000000..44adce41b Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/GpiDxe/GpiDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/GpiDxe/GpiDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/GpiDxe/GpiDxe.inf new file mode 100644 index 000000000..a8cd0f18a --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/GpiDxe/GpiDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS GpiDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = GpiDxe + FILE_GUID = 569EA0DE-B557-4043-84CF-01103FE516E5 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|GpiDxe.depex|* + PE32|GpiDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/HALIOMMUDxe/HALIOMMUDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/HALIOMMUDxe/HALIOMMUDxe.depex new file mode 100644 index 000000000..1a5bc1e18 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/HALIOMMUDxe/HALIOMMUDxe.depex differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/HALIOMMUDxe/HALIOMMUDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/HALIOMMUDxe/HALIOMMUDxe.efi new file mode 100644 index 000000000..a9d818837 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/HALIOMMUDxe/HALIOMMUDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/HALIOMMUDxe/HALIOMMUDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/HALIOMMUDxe/HALIOMMUDxe.inf new file mode 100644 index 000000000..e771aedf3 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/HALIOMMUDxe/HALIOMMUDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS HALIOMMUDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = HALIOMMU + FILE_GUID = 9A00771F-36D4-4DD5-8916-C48ED9B16B86 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|HALIOMMUDxe.depex|* + PE32|HALIOMMUDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/HWIODxe/HWIODxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/HWIODxe/HWIODxe.depex new file mode 100644 index 000000000..d24065d0a --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/HWIODxe/HWIODxe.depex @@ -0,0 +1 @@ +B7ELfG \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/HWIODxe/HWIODxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/HWIODxe/HWIODxe.efi new file mode 100644 index 000000000..b36ed461c Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/HWIODxe/HWIODxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/HWIODxe/HWIODxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/HWIODxe/HWIODxe.inf new file mode 100644 index 000000000..a16182dd3 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/HWIODxe/HWIODxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS HWIODxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = HWIODxeDriver + FILE_GUID = AF9763A2-033B-4109-8E17-56A98D380C92 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|HWIODxe.depex|* + PE32|HWIODxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/HashDxe/HashDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/HashDxe/HashDxe.efi new file mode 100644 index 000000000..dcbe78bbe Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/HashDxe/HashDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/HashDxe/HashDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/HashDxe/HashDxe.inf new file mode 100644 index 000000000..c88b568dd --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/HashDxe/HashDxe.inf @@ -0,0 +1,18 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS HashDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = HashDxe + FILE_GUID = 3ADF8DDA-1850-44C5-8C63-BB991849BC6F + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + +[Binaries.AARCH64] + PE32|HashDxe.efi|* + +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/I2CDxe/I2CDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/I2CDxe/I2CDxe.depex new file mode 100644 index 000000000..11fe8cca7 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/I2CDxe/I2CDxe.depex differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/I2CDxe/I2CDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/I2CDxe/I2CDxe.efi new file mode 100644 index 000000000..79d476306 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/I2CDxe/I2CDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/I2CDxe/I2CDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/I2CDxe/I2CDxe.inf new file mode 100644 index 000000000..5fd19be14 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/I2CDxe/I2CDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS I2CDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = I2C + FILE_GUID = 04DE8591-D2B3-4077-BBBE-B12070094EB6 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|I2CDxe.depex|* + PE32|I2CDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/LimitsDxe/LimitsDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/LimitsDxe/LimitsDxe.efi new file mode 100644 index 000000000..4b629a535 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/LimitsDxe/LimitsDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/LimitsDxe/LimitsDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/LimitsDxe/LimitsDxe.inf new file mode 100644 index 000000000..0f6629d8c --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/LimitsDxe/LimitsDxe.inf @@ -0,0 +1,18 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS LimitsDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = LimitsDxe + FILE_GUID = F09AD92E-4E91-490F-AB99-E69939B840B2 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + +[Binaries.AARCH64] + PE32|LimitsDxe.efi|* + +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/NpaDxe/NpaDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/NpaDxe/NpaDxe.depex new file mode 100644 index 000000000..2a47cc229 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/NpaDxe/NpaDxe.depex @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/NpaDxe/NpaDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/NpaDxe/NpaDxe.efi new file mode 100644 index 000000000..cb43fefbc Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/NpaDxe/NpaDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/NpaDxe/NpaDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/NpaDxe/NpaDxe.inf new file mode 100644 index 000000000..c14d305a3 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/NpaDxe/NpaDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS NpaDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = NpaDxe + FILE_GUID = CB29F4D1-7F37-4692-A416-93E82E219711 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|NpaDxe.depex|* + PE32|NpaDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/PartitionDxe/PartitionDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/PartitionDxe/PartitionDxe.efi new file mode 100644 index 000000000..cff9bf113 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/PartitionDxe/PartitionDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/PartitionDxe/PartitionDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/PartitionDxe/PartitionDxe.inf new file mode 100644 index 000000000..3b4f42986 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/PartitionDxe/PartitionDxe.inf @@ -0,0 +1,18 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS PartitionDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = PartitionDxe + FILE_GUID = 1FA1F39E-FEFF-4AAE-BD7B-38A070A3B609 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + +[Binaries.AARCH64] + PE32|PartitionDxe.efi|* + +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/PdcDxe/PdcDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/PdcDxe/PdcDxe.depex new file mode 100644 index 000000000..2a47cc229 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/PdcDxe/PdcDxe.depex @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/PdcDxe/PdcDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/PdcDxe/PdcDxe.efi new file mode 100644 index 000000000..65d4640ca Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/PdcDxe/PdcDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/PdcDxe/PdcDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/PdcDxe/PdcDxe.inf new file mode 100644 index 000000000..1a96aa525 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/PdcDxe/PdcDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS PdcDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = PdcDxe + FILE_GUID = B43C22DB-6333-490C-872D-0A73439059FD + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|PdcDxe.depex|* + PE32|PdcDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/PlatformInfoDxe/PlatformInfoDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/PlatformInfoDxe/PlatformInfoDxe.depex new file mode 100644 index 000000000..d24065d0a --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/PlatformInfoDxe/PlatformInfoDxe.depex @@ -0,0 +1 @@ +B7ELfG \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/PlatformInfoDxe/PlatformInfoDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/PlatformInfoDxe/PlatformInfoDxe.efi new file mode 100644 index 000000000..be9e3022a Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/PlatformInfoDxe/PlatformInfoDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/PlatformInfoDxe/PlatformInfoDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/PlatformInfoDxe/PlatformInfoDxe.inf new file mode 100644 index 000000000..e3c5e774c --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/PlatformInfoDxe/PlatformInfoDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS PlatformInfoDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = PlatformInfoDxeDriver + FILE_GUID = B105211B-BBBD-4ADD-A3B0-D1CF4A52154C + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|PlatformInfoDxe.depex|* + PE32|PlatformInfoDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/PmicDxe/PmicDxeLa.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/PmicDxe/PmicDxeLa.depex new file mode 100644 index 000000000..743af2983 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/PmicDxe/PmicDxeLa.depex @@ -0,0 +1 @@ +B7ELfGk0_}J}/0 \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/PmicDxe/PmicDxeLa.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/PmicDxe/PmicDxeLa.efi new file mode 100644 index 000000000..4e8006f86 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/PmicDxe/PmicDxeLa.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/PmicDxe/PmicDxeLa.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/PmicDxe/PmicDxeLa.inf new file mode 100644 index 000000000..71fa4066b --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/PmicDxe/PmicDxeLa.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS PmicDxeLa.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = PmicDxe + FILE_GUID = 5776232E-082D-4B75-9A0E-FE1D13F7A5D9 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|PmicDxeLa.depex|* + PE32|PmicDxeLa.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/QcomBds/QcomBds.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/QcomBds/QcomBds.depex new file mode 100644 index 000000000..2520e659f --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/QcomBds/QcomBds.depex @@ -0,0 +1 @@ +ti#L˘wP2*rﲡF'm2A`Br~XPyO ) \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/QcomBds/QcomBds.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/QcomBds/QcomBds.efi new file mode 100644 index 000000000..5b2292db2 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/QcomBds/QcomBds.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/QcomBds/QcomBds.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/QcomBds/QcomBds.inf new file mode 100644 index 000000000..16fd2f265 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/QcomBds/QcomBds.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS QcomBds.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = QcomBds + FILE_GUID = 5A50AA81-C3AE-4608-A0E3-41A2E69BAF94 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|QcomBds.depex|* + PE32|QcomBds.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/QcomChargerDxe/QcomChargerDxeLA.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/QcomChargerDxe/QcomChargerDxeLA.depex new file mode 100644 index 000000000..2a47cc229 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/QcomChargerDxe/QcomChargerDxeLA.depex @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/QcomChargerDxe/QcomChargerDxeLA.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/QcomChargerDxe/QcomChargerDxeLA.efi new file mode 100644 index 000000000..effce71ef Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/QcomChargerDxe/QcomChargerDxeLA.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/QcomChargerDxe/QcomChargerDxeLA.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/QcomChargerDxe/QcomChargerDxeLA.inf new file mode 100644 index 000000000..d5d56e9a1 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/QcomChargerDxe/QcomChargerDxeLA.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS QcomChargerDxeLA.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = QcomChargerDxeLA + FILE_GUID = 4BCE7F36-428E-4393-99E3-7E0844404DBA + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|QcomChargerDxeLA.depex|* + PE32|QcomChargerDxeLA.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/RNGDxe/RngDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/RNGDxe/RngDxe.efi new file mode 100644 index 000000000..18050339d Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/RNGDxe/RngDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/RNGDxe/RngDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/RNGDxe/RngDxe.inf new file mode 100644 index 000000000..6bdb12b61 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/RNGDxe/RngDxe.inf @@ -0,0 +1,18 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS RngDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = RngDxe + FILE_GUID = B0D3689E-11F8-43C6-8ECE-023A29CEC35B + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + +[Binaries.AARCH64] + PE32|RngDxe.efi|* + +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ResetRuntimeDxe/ResetRuntimeDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ResetRuntimeDxe/ResetRuntimeDxe.depex new file mode 100644 index 000000000..2a47cc229 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ResetRuntimeDxe/ResetRuntimeDxe.depex @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ResetRuntimeDxe/ResetRuntimeDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ResetRuntimeDxe/ResetRuntimeDxe.efi new file mode 100644 index 000000000..a21184f87 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ResetRuntimeDxe/ResetRuntimeDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ResetRuntimeDxe/ResetRuntimeDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ResetRuntimeDxe/ResetRuntimeDxe.inf new file mode 100644 index 000000000..29aa7d1e8 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ResetRuntimeDxe/ResetRuntimeDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS ResetRuntimeDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = ResetRuntimeDxe + FILE_GUID = 3AE17DB7-3CC5-4B89-9304-9549211057EF + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|ResetRuntimeDxe.depex|* + PE32|ResetRuntimeDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/RpmhDxe/RpmhDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/RpmhDxe/RpmhDxe.depex new file mode 100644 index 000000000..d24065d0a --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/RpmhDxe/RpmhDxe.depex @@ -0,0 +1 @@ +B7ELfG \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/RpmhDxe/RpmhDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/RpmhDxe/RpmhDxe.efi new file mode 100644 index 000000000..0fd604781 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/RpmhDxe/RpmhDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/RpmhDxe/RpmhDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/RpmhDxe/RpmhDxe.inf new file mode 100644 index 000000000..7fecde543 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/RpmhDxe/RpmhDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS RpmhDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = RpmhDxe + FILE_GUID = CB29F4D1-7F37-4692-A416-93E82E219766 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|RpmhDxe.depex|* + PE32|RpmhDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/SPMIDxe/SPMIDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/SPMIDxe/SPMIDxe.depex new file mode 100644 index 000000000..2a47cc229 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/SPMIDxe/SPMIDxe.depex @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/SPMIDxe/SPMIDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/SPMIDxe/SPMIDxe.efi new file mode 100644 index 000000000..7ec4a317a Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/SPMIDxe/SPMIDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/SPMIDxe/SPMIDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/SPMIDxe/SPMIDxe.inf new file mode 100644 index 000000000..3a9914d2d --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/SPMIDxe/SPMIDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS SPMIDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = SPMI + FILE_GUID = 2A7B4BEF-80CD-49E1-B473-374BA4D673FC + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|SPMIDxe.depex|* + PE32|SPMIDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/SdccDxe/SdccDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/SdccDxe/SdccDxe.depex new file mode 100644 index 000000000..265ee7cb4 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/SdccDxe/SdccDxe.depex differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/SdccDxe/SdccDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/SdccDxe/SdccDxe.efi new file mode 100644 index 000000000..e04493c34 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/SdccDxe/SdccDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/SdccDxe/SdccDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/SdccDxe/SdccDxe.inf new file mode 100644 index 000000000..3ddcdd46e --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/SdccDxe/SdccDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS SdccDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = SdccDxe + FILE_GUID = F10F76DB-42C1-533F-34A8-69BE24653110 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|SdccDxe.depex|* + PE32|SdccDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/SecRSADxe/SecRSADxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/SecRSADxe/SecRSADxe.efi new file mode 100644 index 000000000..d53b7a106 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/SecRSADxe/SecRSADxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/SecRSADxe/SecRSADxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/SecRSADxe/SecRSADxe.inf new file mode 100644 index 000000000..de0a47342 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/SecRSADxe/SecRSADxe.inf @@ -0,0 +1,18 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS SecRSADxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = SecRSADxe + FILE_GUID = 32C71E68-83A8-46ED-AED1-094E71B12057 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + +[Binaries.AARCH64] + PE32|SecRSADxe.efi|* + +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/SecurityDxe/SecurityDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/SecurityDxe/SecurityDxe.efi new file mode 100644 index 000000000..20ed028b6 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/SecurityDxe/SecurityDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/SecurityDxe/SecurityDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/SecurityDxe/SecurityDxe.inf new file mode 100644 index 000000000..47999ce1e --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/SecurityDxe/SecurityDxe.inf @@ -0,0 +1,18 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS SecurityDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = SecurityDxe + FILE_GUID = 5E0EAE60-EAED-4D75-B8BF-EDBBAABC3F09 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + +[Binaries.AARCH64] + PE32|SecurityDxe.efi|* + +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/SmemDxe/SmemDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/SmemDxe/SmemDxe.depex new file mode 100644 index 000000000..2a47cc229 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/SmemDxe/SmemDxe.depex @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/SmemDxe/SmemDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/SmemDxe/SmemDxe.efi new file mode 100644 index 000000000..6b9c32349 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/SmemDxe/SmemDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/SmemDxe/SmemDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/SmemDxe/SmemDxe.inf new file mode 100644 index 000000000..98770fa61 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/SmemDxe/SmemDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS SmemDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = SmemDxe + FILE_GUID = F541D663-4A48-40AA-AABF-FF158CCAE34C + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|SmemDxe.depex|* + PE32|SmemDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/TLMMDxe/TLMMDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/TLMMDxe/TLMMDxe.depex new file mode 100644 index 000000000..d24065d0a --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/TLMMDxe/TLMMDxe.depex @@ -0,0 +1 @@ +B7ELfG \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/TLMMDxe/TLMMDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/TLMMDxe/TLMMDxe.efi new file mode 100644 index 000000000..9c7e8792a Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/TLMMDxe/TLMMDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/TLMMDxe/TLMMDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/TLMMDxe/TLMMDxe.inf new file mode 100644 index 000000000..6d655b7c4 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/TLMMDxe/TLMMDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS TLMMDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = DALTLMM + FILE_GUID = 8681CC5A-0DF6-441E-B4B8-E915C538F067 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|TLMMDxe.depex|* + PE32|TLMMDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/TsensDxe/TsensDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/TsensDxe/TsensDxe.depex new file mode 100644 index 000000000..d24065d0a --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/TsensDxe/TsensDxe.depex @@ -0,0 +1 @@ +B7ELfG \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/TsensDxe/TsensDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/TsensDxe/TsensDxe.efi new file mode 100644 index 000000000..6400d1a0f Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/TsensDxe/TsensDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/TsensDxe/TsensDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/TsensDxe/TsensDxe.inf new file mode 100644 index 000000000..90b542318 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/TsensDxe/TsensDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS TsensDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = TsensDxe + FILE_GUID = F09AD92E-485C-9CDB-3E05-3385C38F94CC + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|TsensDxe.depex|* + PE32|TsensDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/TzDxe/TzDxeLA.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/TzDxe/TzDxeLA.depex new file mode 100644 index 000000000..430b43818 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/TzDxe/TzDxeLA.depex differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/TzDxe/TzDxeLA.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/TzDxe/TzDxeLA.efi new file mode 100644 index 000000000..5ca6482c4 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/TzDxe/TzDxeLA.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/TzDxe/TzDxeLA.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/TzDxe/TzDxeLA.inf new file mode 100644 index 000000000..11b0ce9ff --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/TzDxe/TzDxeLA.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS TzDxeLA.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = TzDxe + FILE_GUID = 6925FAD3-E243-4B69-AD61-3F978C8ABC60 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|TzDxeLA.depex|* + PE32|TzDxeLA.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UFSDxe/UFSDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UFSDxe/UFSDxe.depex new file mode 100644 index 000000000..098cfdc1c --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UFSDxe/UFSDxe.depex @@ -0,0 +1 @@ +9Gfv28 \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UFSDxe/UFSDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UFSDxe/UFSDxe.efi new file mode 100644 index 000000000..adec7a515 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UFSDxe/UFSDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UFSDxe/UFSDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UFSDxe/UFSDxe.inf new file mode 100644 index 000000000..493f3f156 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UFSDxe/UFSDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS UFSDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = UFSDxe + FILE_GUID = 0D35CD8E-97EA-4F9A-96AF-0F0D89F76567 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|UFSDxe.depex|* + PE32|UFSDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ULogDxe/ULogDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ULogDxe/ULogDxe.depex new file mode 100644 index 000000000..2a47cc229 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ULogDxe/ULogDxe.depex @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ULogDxe/ULogDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ULogDxe/ULogDxe.efi new file mode 100644 index 000000000..a5fce9bc6 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ULogDxe/ULogDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ULogDxe/ULogDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ULogDxe/ULogDxe.inf new file mode 100644 index 000000000..cd8277d1f --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/ULogDxe/ULogDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS ULogDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = ULogDxe + FILE_GUID = E43128A8-8692-42B6-8AFA-676158578D18 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|ULogDxe.depex|* + PE32|ULogDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbConfigDxe/UsbConfigDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbConfigDxe/UsbConfigDxe.depex new file mode 100644 index 000000000..8f72e31c0 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbConfigDxe/UsbConfigDxe.depex @@ -0,0 +1 @@ +iv zH({E9Gfv28E\z!C|/_IK \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbConfigDxe/UsbConfigDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbConfigDxe/UsbConfigDxe.efi new file mode 100644 index 000000000..5466b8270 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbConfigDxe/UsbConfigDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbConfigDxe/UsbConfigDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbConfigDxe/UsbConfigDxe.inf new file mode 100644 index 000000000..edab2ecab --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbConfigDxe/UsbConfigDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS UsbConfigDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = UsbConfigDxe + FILE_GUID = CD823A4D-7DEC-4531-AE5D-4134FA4127B8 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|UsbConfigDxe.depex|* + PE32|UsbConfigDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbDeviceDxe/UsbDeviceDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbDeviceDxe/UsbDeviceDxe.depex new file mode 100644 index 000000000..2a47cc229 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbDeviceDxe/UsbDeviceDxe.depex @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbDeviceDxe/UsbDeviceDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbDeviceDxe/UsbDeviceDxe.efi new file mode 100644 index 000000000..371f8dd36 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbDeviceDxe/UsbDeviceDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbDeviceDxe/UsbDeviceDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbDeviceDxe/UsbDeviceDxe.inf new file mode 100644 index 000000000..66d9fae98 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbDeviceDxe/UsbDeviceDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS UsbDeviceDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = UsbDeviceDxe + FILE_GUID = 3299A266-15F0-4346-8318-716336736D3E + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|UsbDeviceDxe.depex|* + PE32|UsbDeviceDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbMsdDxe/UsbMsdDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbMsdDxe/UsbMsdDxe.depex new file mode 100644 index 000000000..2a47cc229 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbMsdDxe/UsbMsdDxe.depex @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbMsdDxe/UsbMsdDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbMsdDxe/UsbMsdDxe.efi new file mode 100644 index 000000000..83dfa61ad Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbMsdDxe/UsbMsdDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbMsdDxe/UsbMsdDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbMsdDxe/UsbMsdDxe.inf new file mode 100644 index 000000000..7517112b7 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbMsdDxe/UsbMsdDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS UsbMsdDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = UsbMsdDxe + FILE_GUID = 5AF77F10-90DF-4E7E-8325-A17EC09D5443 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|UsbMsdDxe.depex|* + PE32|UsbMsdDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbPwrCtrlDxe/UsbPwrCtrlDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbPwrCtrlDxe/UsbPwrCtrlDxe.depex new file mode 100644 index 000000000..2a47cc229 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbPwrCtrlDxe/UsbPwrCtrlDxe.depex @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbPwrCtrlDxe/UsbPwrCtrlDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbPwrCtrlDxe/UsbPwrCtrlDxe.efi new file mode 100644 index 000000000..9e2f98592 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbPwrCtrlDxe/UsbPwrCtrlDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbPwrCtrlDxe/UsbPwrCtrlDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbPwrCtrlDxe/UsbPwrCtrlDxe.inf new file mode 100644 index 000000000..08c936561 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbPwrCtrlDxe/UsbPwrCtrlDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS UsbPwrCtrlDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = UsbPwrCtrlDxe + FILE_GUID = 11FAED4C-B21F-4D88-8E48-C4C28A1E50DF + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|UsbPwrCtrlDxe.depex|* + PE32|UsbPwrCtrlDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbfnDwc3Dxe/UsbfnDwc3Dxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbfnDwc3Dxe/UsbfnDwc3Dxe.depex new file mode 100644 index 000000000..43d06b2d1 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbfnDwc3Dxe/UsbfnDwc3Dxe.depex differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbfnDwc3Dxe/UsbfnDwc3Dxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbfnDwc3Dxe/UsbfnDwc3Dxe.efi new file mode 100644 index 000000000..678b682f7 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbfnDwc3Dxe/UsbfnDwc3Dxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbfnDwc3Dxe/UsbfnDwc3Dxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbfnDwc3Dxe/UsbfnDwc3Dxe.inf new file mode 100644 index 000000000..6b3ca7797 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/UsbfnDwc3Dxe/UsbfnDwc3Dxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS UsbfnDwc3Dxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = UsbfnDwc3Dxe + FILE_GUID = 94F8A6A7-DC34-4101-88C1-99179CCEAE83 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|UsbfnDwc3Dxe.depex|* + PE32|UsbfnDwc3Dxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/VerifiedBootDxe/VerifiedBootDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/VerifiedBootDxe/VerifiedBootDxe.depex new file mode 100644 index 000000000..2a47cc229 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/VerifiedBootDxe/VerifiedBootDxe.depex @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/VerifiedBootDxe/VerifiedBootDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/VerifiedBootDxe/VerifiedBootDxe.efi new file mode 100644 index 000000000..4a7337047 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/VerifiedBootDxe/VerifiedBootDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/VerifiedBootDxe/VerifiedBootDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/VerifiedBootDxe/VerifiedBootDxe.inf new file mode 100644 index 000000000..07a9dbb94 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/Drivers/VerifiedBootDxe/VerifiedBootDxe.inf @@ -0,0 +1,22 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS VerifiedBootDxe.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = VerifiedBootDxe + FILE_GUID = A25F5839-4D55-428F-8F0B-5CE1D565F53E + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|VerifiedBootDxe.depex|* + PE32|VerifiedBootDxe.efi|* + +[Depex] + TRUE +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/XBLCore/XBLCore.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/XBLCore/XBLCore.inf new file mode 100644 index 000000000..daa0bafed --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/XBLCore/XBLCore.inf @@ -0,0 +1,19 @@ +# **************************************************************************** +# AUTOGENERATED BY UEFIReader +# AUTOGENED AS XBLCore.inf +# DO NOT MODIFY +# GENERATED ON: 2024-11-02 20:31:15Z + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = XBLCore + FILE_GUID = 8AF09F13-44C5-96EC-1437-DD899CB5EE5D + MODULE_TYPE = SEC + VERSION_STRING = 1.0 + +[Binaries.AARCH64] + RAW|XBLCore.raw|* + TE|XBLCore.te|* + +# AUTOGEN ENDS +# **************************************************************************** diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/XBLCore/XBLCore.raw b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/XBLCore/XBLCore.raw new file mode 100644 index 000000000..a44bcb109 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/XBLCore/XBLCore.raw differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/XBLCore/XBLCore.te b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/XBLCore/XBLCore.te new file mode 100644 index 000000000..25975d8f8 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/QcomPkg/XBLCore/XBLCore.te differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/BATTERY.PROVISION b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/BATTERY.PROVISION new file mode 100644 index 000000000..bbc4ecae9 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/BATTERY.PROVISION @@ -0,0 +1,952 @@ +[BATTERY_PROFILE] +GUI Version: PMI8998GUI - 2.0.0.54 +Checksum,0110 +#1/11/2017 1:52:49 PM + +#Ascent_860_82912_0000_2800mAh_averaged_MasterSlave_Jan11th2017 +Float_Voltage,4350 +Profile_Revision,24 +Nom_Batt_capacity,2800 +Batt_id,20000 +Therm_B,3450 +Battery_name,Ascent_860_82912_0000_2800mAh_averaged_MasterSlave_Jan11th2017 +Address, Address2, Offset, Data +018, 018, 0, 21 +018, 018, 1, 21 +018, 018, 2, F5 +018, 018, 3, 0D +019, 019, 0, 82 +019, 019, 1, 0B +019, 019, 2, 6E +019, 019, 3, 05 +01A, 01A, 0, 0C +01A, 01A, 1, 1D +01A, 01A, 2, 5F +01A, 01A, 3, FA +01B, 01B, 0, 74 +01B, 01B, 1, 06 +01B, 01B, 2, 97 +01B, 01B, 3, 01 +01C, 01C, 0, 0E +01C, 01C, 1, 18 +01C, 01C, 2, F7 +01C, 01C, 3, 22 +01D, 01D, 0, A8 +01D, 01D, 1, 45 +01D, 01D, 2, B1 +01D, 01D, 3, 52 +01E, 01E, 0, 76 +01E, 01E, 1, 00 +01E, 01E, 2, 00 +01E, 01E, 3, 00 +01F, 01F, 0, 0E +01F, 01F, 1, 00 +01F, 01F, 2, 00 +01F, 01F, 3, 00 +020, 020, 0, 00 +020, 020, 1, 00 +020, 020, 2, 3D +020, 020, 3, C4 +021, 021, 0, 6E +021, 021, 1, CD +021, 021, 2, 2A +021, 021, 3, CB +022, 022, 0, 21 +022, 022, 1, 00 +022, 022, 2, 08 +022, 022, 3, 00 +023, 023, 0, 28 +023, 023, 1, D3 +023, 023, 2, 2E +023, 023, 3, E5 +024, 024, 0, 0E +024, 024, 1, 06 +024, 024, 2, BA +024, 024, 3, F3 +025, 025, 0, 59 +025, 025, 1, E3 +025, 025, 2, 22 +025, 025, 3, 12 +026, 026, 0, 08 +026, 026, 1, E5 +026, 026, 2, 54 +026, 026, 3, 32 +027, 027, 0, 22 +027, 027, 1, 06 +027, 027, 2, 09 +027, 027, 3, 20 +028, 028, 0, 27 +028, 028, 1, 00 +028, 028, 2, 14 +028, 028, 3, 00 +029, 029, 0, 4B +029, 029, 1, 20 +029, 029, 2, F6 +029, 029, 3, 04 +02A, 02A, 0, CF +02A, 02A, 1, 0A +02A, 02A, 2, 04 +02A, 02A, 3, 06 +02B, 02B, 0, 25 +02B, 02B, 1, 1D +02B, 02B, 2, B7 +02B, 02B, 3, FA +02C, 02C, 0, DD +02C, 02C, 1, F4 +02C, 02C, 2, BB +02C, 02C, 3, 06 +02D, 02D, 0, FE +02D, 02D, 1, 18 +02D, 02D, 2, E1 +02D, 02D, 3, 22 +02E, 02E, 0, 73 +02E, 02E, 1, 45 +02E, 02E, 2, 32 +02E, 02E, 3, 53 +02F, 02F, 0, 5F +02F, 02F, 1, 00 +02F, 02F, 2, 00 +02F, 02F, 3, 00 +030, 030, 0, 0E +030, 030, 1, 00 +030, 030, 2, 00 +030, 030, 3, 00 +031, 031, 0, 00 +031, 031, 1, 00 +031, 031, 2, D5 +031, 031, 3, D5 +032, 032, 0, 9C +032, 032, 1, CC +032, 032, 2, 8E +032, 032, 3, D3 +033, 033, 0, 1A +033, 033, 1, 00 +033, 033, 2, 00 +033, 033, 3, 00 +034, 034, 0, 6E +034, 034, 1, EA +034, 034, 2, 2E +034, 034, 3, E5 +035, 035, 0, 6E +035, 035, 1, 06 +035, 035, 2, A9 +035, 035, 3, 00 +036, 036, 0, 6D +036, 036, 1, F5 +036, 036, 2, 73 +036, 036, 3, 0B +037, 037, 0, 2A +037, 037, 1, 02 +037, 037, 2, 61 +037, 037, 3, 1B +038, 038, 0, B1 +038, 038, 1, 33 +038, 038, 2, CC +038, 038, 3, FF +039, 039, 0, 07 +039, 039, 1, 10 +039, 039, 2, 00 +039, 039, 3, 00 +03A, 03A, 0, 14 +03A, 03A, 1, 0B +03A, 03A, 2, 99 +03A, 03A, 3, 45 +03B, 03B, 0, 1A +03B, 03B, 1, 00 +03B, 03B, 2, 40 +03B, 03B, 3, 00 +03C, 03C, 0, 7D +03C, 03C, 1, 01 +03C, 03C, 2, 0A +03C, 03C, 3, FA +03D, 03D, 0, FF +03D, 03D, 1, 00 +03D, 03D, 2, 00 +03D, 03D, 3, 00 +03E, 03E, 0, 00 +03E, 03E, 1, 00 +03E, 03E, 2, 00 +03E, 03E, 3, 00 +03F, 03F, 0, 00 +03F, 03F, 1, 00 +03F, 03F, 2, 00 +03F, 03F, 3, 00 +040, 040, 0, 00 +040, 040, 1, 00 +040, 040, 2, 00 +040, 040, 3, 00 +041, 041, 0, 00 +041, 041, 1, 00 +041, 041, 2, 00 +041, 041, 3, 00 +042, 042, 0, 00 +042, 042, 1, 00 +042, 042, 2, 00 +042, 042, 3, 00 +043, 043, 0, 00 +043, 043, 1, 00 +043, 043, 2, 00 +043, 043, 3, 00 +044, 044, 0, 00 +044, 044, 1, 00 +044, 044, 2, 00 +044, 044, 3, 00 +045, 045, 0, 00 +045, 045, 1, 00 +045, 045, 2, 00 +045, 045, 3, 00 +046, 046, 0, 00 +046, 046, 1, 00 +046, 046, 2, 00 +046, 046, 3, 00 +047, 047, 0, 00 +047, 047, 1, 00 +047, 047, 2, 00 +047, 047, 3, 00 +048, 048, 0, 00 +048, 048, 1, 00 +048, 048, 2, 00 +048, 048, 3, 00 +049, 049, 0, 00 +049, 049, 1, 00 +049, 049, 2, 00 +049, 049, 3, 00 +04A, 04A, 0, 00 +04A, 04A, 1, 00 +04A, 04A, 2, 00 +04A, 04A, 3, 00 +04B, 04B, 0, 00 +04B, 04B, 1, 00 +04B, 04B, 2, 00 +04B, 04B, 3, 00 +04C, 04C, 0, 00 +04C, 04C, 1, 00 +04C, 04C, 2, 00 +04C, 04C, 3, 00 +04D, 04D, 0, 00 +04D, 04D, 1, 00 +04D, 04D, 2, 00 +04D, 04D, 3, 00 +04E, 04E, 0, 00 +04E, 04E, 1, 00 +04E, 04E, 2, 00 +04E, 04E, 3, 00 +04F, 04F, 0, 00 +04F, 04F, 1, 00 +04F, 04F, 2, 00 +04F, 04F, 3, 00 + +[BATTERY_PROFILE] +GUI Version: PMI8998GUI - 2.0.0.58 +Checksum,AAE2 +#11/3/2017 11:35:25 AM + +#Ascent_wConn_Aging_3450mAh_Fresh_averaged_MasterSlave_Oct30th2017 +Float_Voltage,4350 +Profile_Revision,24 +Nom_Batt_capacity,3450 +Batt_id,60000 +Therm_B,3435 +Battery_name,Ascent_wConn_Aging_3450mAh_Fresh_averaged_MasterSlave_Oct30th2017 +Address, Address2, Offset, Data +018, 018, 0, 8F +018, 018, 1, 1F +018, 018, 2, 94 +018, 018, 3, 05 +019, 019, 0, 73 +019, 019, 1, 0A +019, 019, 2, 4A +019, 019, 3, 06 +01A, 01A, 0, 27 +01A, 01A, 1, 1D +01A, 01A, 2, 21 +01A, 01A, 3, EA +01B, 01B, 0, 16 +01B, 01B, 1, 0A +01B, 01B, 2, 3A +01B, 01B, 3, 0C +01C, 01C, 0, 07 +01C, 01C, 1, 18 +01C, 01C, 2, 97 +01C, 01C, 3, 22 +01D, 01D, 0, A5 +01D, 01D, 1, 3C +01D, 01D, 2, EC +01D, 01D, 3, 4A +01E, 01E, 0, 5C +01E, 01E, 1, 00 +01E, 01E, 2, 00 +01E, 01E, 3, 00 +01F, 01F, 0, 10 +01F, 01F, 1, 00 +01F, 01F, 2, 00 +01F, 01F, 3, 00 +020, 020, 0, 00 +020, 020, 1, 00 +020, 020, 2, 43 +020, 020, 3, C5 +021, 021, 0, 92 +021, 021, 1, BC +021, 021, 2, 89 +021, 021, 3, BB +022, 022, 0, 11 +022, 022, 1, 00 +022, 022, 2, 08 +022, 022, 3, 00 +023, 023, 0, 69 +023, 023, 1, DA +023, 023, 2, AD +023, 023, 3, 07 +024, 024, 0, 4B +024, 024, 1, FD +024, 024, 2, 19 +024, 024, 3, FA +025, 025, 0, 7E +025, 025, 1, 01 +025, 025, 2, 49 +025, 025, 3, 13 +026, 026, 0, EB +026, 026, 1, F3 +026, 026, 2, 78 +026, 026, 3, 3B +027, 027, 0, 24 +027, 027, 1, 06 +027, 027, 2, 09 +027, 027, 3, 20 +028, 028, 0, 27 +028, 028, 1, 00 +028, 028, 2, 14 +028, 028, 3, 00 +029, 029, 0, 7E +029, 029, 1, 1F +029, 029, 2, F2 +029, 029, 3, 05 +02A, 02A, 0, 19 +02A, 02A, 1, 0A +02A, 02A, 2, AB +02A, 02A, 3, 06 +02B, 02B, 0, 6C +02B, 02B, 1, 1D +02B, 02B, 2, B9 +02B, 02B, 3, 07 +02C, 02C, 0, 1A +02C, 02C, 1, 12 +02C, 02C, 2, FF +02C, 02C, 3, 1D +02D, 02D, 0, 6F +02D, 02D, 1, 18 +02D, 02D, 2, EB +02D, 02D, 3, 22 +02E, 02E, 0, B9 +02E, 02E, 1, 45 +02E, 02E, 2, 6F +02E, 02E, 3, 52 +02F, 02F, 0, 55 +02F, 02F, 1, 00 +02F, 02F, 2, 00 +02F, 02F, 3, 00 +030, 030, 0, 0E +030, 030, 1, 00 +030, 030, 2, 00 +030, 030, 3, 00 +031, 031, 0, 00 +031, 031, 1, 00 +031, 031, 2, 33 +031, 031, 3, CC +032, 032, 0, 72 +032, 032, 1, CA +032, 032, 2, B3 +032, 032, 3, C4 +033, 033, 0, 0F +033, 033, 1, 00 +033, 033, 2, 00 +033, 033, 3, 00 +034, 034, 0, 93 +034, 034, 1, 00 +034, 034, 2, AD +034, 034, 3, 07 +035, 035, 0, 8D +035, 035, 1, FD +035, 035, 2, F6 +035, 035, 3, 00 +036, 036, 0, 6F +036, 036, 1, E3 +036, 036, 2, 44 +036, 036, 3, 0B +037, 037, 0, AB +037, 037, 1, FC +037, 037, 2, F9 +037, 037, 3, 1B +038, 038, 0, C3 +038, 038, 1, 33 +038, 038, 2, CC +038, 038, 3, FF +039, 039, 0, 07 +039, 039, 1, 10 +039, 039, 2, 00 +039, 039, 3, 00 +03A, 03A, 0, A4 +03A, 03A, 1, 0D +03A, 03A, 2, 99 +03A, 03A, 3, 45 +03B, 03B, 0, 0F +03B, 03B, 1, 00 +03B, 03B, 2, 40 +03B, 03B, 3, 00 +03C, 03C, 0, A4 +03C, 03C, 1, 01 +03C, 03C, 2, 0A +03C, 03C, 3, FA +03D, 03D, 0, FF +03D, 03D, 1, 00 +03D, 03D, 2, 00 +03D, 03D, 3, 00 +03E, 03E, 0, 00 +03E, 03E, 1, 00 +03E, 03E, 2, 00 +03E, 03E, 3, 00 +03F, 03F, 0, 00 +03F, 03F, 1, 00 +03F, 03F, 2, 00 +03F, 03F, 3, 00 +040, 040, 0, 00 +040, 040, 1, 00 +040, 040, 2, 00 +040, 040, 3, 00 +041, 041, 0, 00 +041, 041, 1, 00 +041, 041, 2, 00 +041, 041, 3, 00 +042, 042, 0, 00 +042, 042, 1, 00 +042, 042, 2, 00 +042, 042, 3, 00 +043, 043, 0, 00 +043, 043, 1, 00 +043, 043, 2, 00 +043, 043, 3, 00 +044, 044, 0, 00 +044, 044, 1, 00 +044, 044, 2, 00 +044, 044, 3, 00 +045, 045, 0, 00 +045, 045, 1, 00 +045, 045, 2, 00 +045, 045, 3, 00 +046, 046, 0, 00 +046, 046, 1, 00 +046, 046, 2, 00 +046, 046, 3, 00 +047, 047, 0, 00 +047, 047, 1, 00 +047, 047, 2, 00 +047, 047, 3, 00 +048, 048, 0, 00 +048, 048, 1, 00 +048, 048, 2, 00 +048, 048, 3, 00 +049, 049, 0, 00 +049, 049, 1, 00 +049, 049, 2, 00 +049, 049, 3, 00 +04A, 04A, 0, 00 +04A, 04A, 1, 00 +04A, 04A, 2, 00 +04A, 04A, 3, 00 +04B, 04B, 0, 00 +04B, 04B, 1, 00 +04B, 04B, 2, 00 +04B, 04B, 3, 00 +04C, 04C, 0, 00 +04C, 04C, 1, 00 +04C, 04C, 2, 00 +04C, 04C, 3, 00 +04D, 04D, 0, 00 +04D, 04D, 1, 00 +04D, 04D, 2, 00 +04D, 04D, 3, 00 +04E, 04E, 0, 00 +04E, 04E, 1, 00 +04E, 04E, 2, 00 +04E, 04E, 3, 00 +04F, 04F, 0, 00 +04F, 04F, 1, 00 +04F, 04F, 2, 00 +04F, 04F, 3, 00 + +[BATTERY_PROFILE] +GUI Version: PMI8998GUI - 2.0.0.54 +Checksum,FB8F +#1/10/2017 5:04:37 PM + +#Itech_B00826LF_3000mAh_ver1660_averaged_MasterSlave_Jan10th2017 +Float_Voltage,4350 +Profile_Revision,24 +Nom_Batt_capacity,3000 +Batt_id,100000 +Therm_B,3435 +Battery_name,Itech_B00826LF_3000mAh_ver1660_averaged_MasterSlave_Jan10th2017 +Address, Address2, Offset, Data +018, 018, 0, A4 +018, 018, 1, 1F +018, 018, 2, 6E +018, 018, 3, 05 +019, 019, 0, 9C +019, 019, 1, 0A +019, 019, 2, 2B +019, 019, 3, FC +01A, 01A, 0, 32 +01A, 01A, 1, 1D +01A, 01A, 2, 23 +01A, 01A, 3, E5 +01B, 01B, 0, 60 +01B, 01B, 1, 0B +01B, 01B, 2, 1B +01B, 01B, 3, 15 +01C, 01C, 0, AD +01C, 01C, 1, 17 +01C, 01C, 2, 8C +01C, 01C, 3, 22 +01D, 01D, 0, EA +01D, 01D, 1, 3C +01D, 01D, 2, 89 +01D, 01D, 3, 4A +01E, 01E, 0, 5B +01E, 01E, 1, 00 +01E, 01E, 2, 00 +01E, 01E, 3, 00 +01F, 01F, 0, 12 +01F, 01F, 1, 00 +01F, 01F, 2, 00 +01F, 01F, 3, 00 +020, 020, 0, 00 +020, 020, 1, 00 +020, 020, 2, 62 +020, 020, 3, C2 +021, 021, 0, 0C +021, 021, 1, CD +021, 021, 2, D8 +021, 021, 3, C2 +022, 022, 0, 19 +022, 022, 1, 00 +022, 022, 2, 08 +022, 022, 3, 00 +023, 023, 0, 85 +023, 023, 1, EA +023, 023, 2, C7 +023, 023, 3, EC +024, 024, 0, E2 +024, 024, 1, 05 +024, 024, 2, 2F +024, 024, 3, 01 +025, 025, 0, 9B +025, 025, 1, F5 +025, 025, 2, 12 +025, 025, 3, 12 +026, 026, 0, 5E +026, 026, 1, 05 +026, 026, 2, 88 +026, 026, 3, 3B +027, 027, 0, 22 +027, 027, 1, 06 +027, 027, 2, 09 +027, 027, 3, 20 +028, 028, 0, 27 +028, 028, 1, 00 +028, 028, 2, 14 +028, 028, 3, 00 +029, 029, 0, 7D +029, 029, 1, 1F +029, 029, 2, DD +029, 029, 3, 05 +02A, 02A, 0, 3F +02A, 02A, 1, 0A +02A, 02A, 2, E5 +02A, 02A, 3, FC +02B, 02B, 0, 72 +02B, 02B, 1, 1D +02B, 02B, 2, E3 +02B, 02B, 3, F5 +02C, 02C, 0, 6F +02C, 02C, 1, 12 +02C, 02C, 2, C0 +02C, 02C, 3, 1D +02D, 02D, 0, 88 +02D, 02D, 1, 18 +02D, 02D, 2, FB +02D, 02D, 3, 22 +02E, 02E, 0, 8D +02E, 02E, 1, 45 +02E, 02E, 2, C6 +02E, 02E, 3, 52 +02F, 02F, 0, 54 +02F, 02F, 1, 00 +02F, 02F, 2, 00 +02F, 02F, 3, 00 +030, 030, 0, 0F +030, 030, 1, 00 +030, 030, 2, 00 +030, 030, 3, 00 +031, 031, 0, 00 +031, 031, 1, 00 +031, 031, 2, BD +031, 031, 3, CD +032, 032, 0, 55 +032, 032, 1, C2 +032, 032, 2, 5D +032, 032, 3, C5 +033, 033, 0, 14 +033, 033, 1, 00 +033, 033, 2, 00 +033, 033, 3, 00 +034, 034, 0, 7E +034, 034, 1, 00 +034, 034, 2, C7 +034, 034, 3, EC +035, 035, 0, 60 +035, 035, 1, 06 +035, 035, 2, BB +035, 035, 3, 00 +036, 036, 0, 59 +036, 036, 1, 06 +036, 036, 2, 61 +036, 036, 3, 03 +037, 037, 0, D9 +037, 037, 1, FC +037, 037, 2, 75 +037, 037, 3, 1B +038, 038, 0, B3 +038, 038, 1, 33 +038, 038, 2, CC +038, 038, 3, FF +039, 039, 0, 07 +039, 039, 1, 10 +039, 039, 2, 00 +039, 039, 3, 00 +03A, 03A, 0, 3E +03A, 03A, 1, 0B +03A, 03A, 2, 99 +03A, 03A, 3, 45 +03B, 03B, 0, 14 +03B, 03B, 1, 00 +03B, 03B, 2, 40 +03B, 03B, 3, 00 +03C, 03C, 0, AE +03C, 03C, 1, 01 +03C, 03C, 2, 0A +03C, 03C, 3, FA +03D, 03D, 0, FF +03D, 03D, 1, 00 +03D, 03D, 2, 00 +03D, 03D, 3, 00 +03E, 03E, 0, 00 +03E, 03E, 1, 00 +03E, 03E, 2, 00 +03E, 03E, 3, 00 +03F, 03F, 0, 00 +03F, 03F, 1, 00 +03F, 03F, 2, 00 +03F, 03F, 3, 00 +040, 040, 0, 00 +040, 040, 1, 00 +040, 040, 2, 00 +040, 040, 3, 00 +041, 041, 0, 00 +041, 041, 1, 00 +041, 041, 2, 00 +041, 041, 3, 00 +042, 042, 0, 00 +042, 042, 1, 00 +042, 042, 2, 00 +042, 042, 3, 00 +043, 043, 0, 00 +043, 043, 1, 00 +043, 043, 2, 00 +043, 043, 3, 00 +044, 044, 0, 00 +044, 044, 1, 00 +044, 044, 2, 00 +044, 044, 3, 00 +045, 045, 0, 00 +045, 045, 1, 00 +045, 045, 2, 00 +045, 045, 3, 00 +046, 046, 0, 00 +046, 046, 1, 00 +046, 046, 2, 00 +046, 046, 3, 00 +047, 047, 0, 00 +047, 047, 1, 00 +047, 047, 2, 00 +047, 047, 3, 00 +048, 048, 0, 00 +048, 048, 1, 00 +048, 048, 2, 00 +048, 048, 3, 00 +049, 049, 0, 00 +049, 049, 1, 00 +049, 049, 2, 00 +049, 049, 3, 00 +04A, 04A, 0, 00 +04A, 04A, 1, 00 +04A, 04A, 2, 00 +04A, 04A, 3, 00 +04B, 04B, 0, 00 +04B, 04B, 1, 00 +04B, 04B, 2, 00 +04B, 04B, 3, 00 +04C, 04C, 0, 00 +04C, 04C, 1, 00 +04C, 04C, 2, 00 +04C, 04C, 3, 00 +04D, 04D, 0, 00 +04D, 04D, 1, 00 +04D, 04D, 2, 00 +04D, 04D, 3, 00 +04E, 04E, 0, 00 +04E, 04E, 1, 00 +04E, 04E, 2, 00 +04E, 04E, 3, 00 +04F, 04F, 0, 00 +04F, 04F, 1, 00 +04F, 04F, 2, 00 +04F, 04F, 3, 00 + +[BATTERY_PROFILE] +GUI Version: PMI8998GUI - 2.0.0.57 +Checksum,DF27 +#5/11/2017 1:08:02 PM + +#860_86152_0000_2900mAh_averaged_MasterSlave_May11th2017 +Float_Voltage,4350 +Profile_Revision,24 +Nom_Batt_capacity,2900 +Batt_id,121000 +Therm_B,3435 +Battery_name,860_86152_0000_2900mAh_averaged_MasterSlave_May11th2017 +Address, Address2, Offset, Data +018, 018, 0, C9 +018, 018, 1, 1F +018, 018, 2, 44 +018, 018, 3, 05 +019, 019, 0, A5 +019, 019, 1, 0A +019, 019, 2, 27 +019, 019, 3, 06 +01A, 01A, 0, F0 +01A, 01A, 1, 1C +01A, 01A, 2, 07 +01A, 01A, 3, 01 +01B, 01B, 0, 49 +01B, 01B, 1, F2 +01B, 01B, 2, 91 +01B, 01B, 3, 05 +01C, 01C, 0, C3 +01C, 01C, 1, 17 +01C, 01C, 2, 42 +01C, 01C, 3, 23 +01D, 01D, 0, 69 +01D, 01D, 1, 45 +01D, 01D, 2, E8 +01D, 01D, 3, 52 +01E, 01E, 0, 58 +01E, 01E, 1, 00 +01E, 01E, 2, 00 +01E, 01E, 3, 00 +01F, 01F, 0, 0E +01F, 01F, 1, 00 +01F, 01F, 2, 00 +01F, 01F, 3, 00 +020, 020, 0, 00 +020, 020, 1, 00 +020, 020, 2, DF +020, 020, 3, A2 +021, 021, 0, 12 +021, 021, 1, CD +021, 021, 2, 0C +021, 021, 3, C3 +022, 022, 0, 19 +022, 022, 1, 00 +022, 022, 2, 08 +022, 022, 3, 00 +023, 023, 0, 89 +023, 023, 1, C2 +023, 023, 2, A5 +023, 023, 3, ED +024, 024, 0, DF +024, 024, 1, 05 +024, 024, 2, 1A +024, 024, 3, 01 +025, 025, 0, C0 +025, 025, 1, 05 +025, 025, 2, 10 +025, 025, 3, 12 +026, 026, 0, 03 +026, 026, 1, CA +026, 026, 2, C2 +026, 026, 3, 32 +027, 027, 0, 32 +027, 027, 1, 06 +027, 027, 2, 09 +027, 027, 3, 20 +028, 028, 0, 27 +028, 028, 1, 00 +028, 028, 2, 14 +028, 028, 3, 00 +029, 029, 0, 69 +029, 029, 1, 20 +029, 029, 2, CD +029, 029, 3, 04 +02A, 02A, 0, F1 +02A, 02A, 1, 0A +02A, 02A, 2, E3 +02A, 02A, 3, 05 +02B, 02B, 0, 12 +02B, 02B, 1, 1D +02B, 02B, 2, 59 +02B, 02B, 3, 01 +02C, 02C, 0, A3 +02C, 02C, 1, ED +02C, 02C, 2, D1 +02C, 02C, 3, 05 +02D, 02D, 0, 95 +02D, 02D, 1, 18 +02D, 02D, 2, 27 +02D, 02D, 3, 23 +02E, 02E, 0, 35 +02E, 02E, 1, 45 +02E, 02E, 2, 6D +02E, 02E, 3, 53 +02F, 02F, 0, 5F +02F, 02F, 1, 00 +02F, 02F, 2, 00 +02F, 02F, 3, 00 +030, 030, 0, 0E +030, 030, 1, 00 +030, 030, 2, 00 +030, 030, 3, 00 +031, 031, 0, 00 +031, 031, 1, 00 +031, 031, 2, 0A +031, 031, 3, D5 +032, 032, 0, A6 +032, 032, 1, B5 +032, 032, 2, D0 +032, 032, 3, D2 +033, 033, 0, 14 +033, 033, 1, 00 +033, 033, 2, 00 +033, 033, 3, 00 +034, 034, 0, 52 +034, 034, 1, F2 +034, 034, 2, A5 +034, 034, 3, ED +035, 035, 0, 57 +035, 035, 1, 06 +035, 035, 2, AA +035, 035, 3, F2 +036, 036, 0, 29 +036, 036, 1, F4 +036, 036, 2, A5 +036, 036, 3, 0B +037, 037, 0, 4D +037, 037, 1, FD +037, 037, 2, FA +037, 037, 3, 1A +038, 038, 0, AD +038, 038, 1, 33 +038, 038, 2, CC +038, 038, 3, FF +039, 039, 0, 07 +039, 039, 1, 10 +039, 039, 2, 00 +039, 039, 3, 00 +03A, 03A, 0, 27 +03A, 03A, 1, 0B +03A, 03A, 2, 99 +03A, 03A, 3, 45 +03B, 03B, 0, 14 +03B, 03B, 1, 00 +03B, 03B, 2, 40 +03B, 03B, 3, 00 +03C, 03C, 0, 26 +03C, 03C, 1, 02 +03C, 03C, 2, 0A +03C, 03C, 3, FA +03D, 03D, 0, FF +03D, 03D, 1, 00 +03D, 03D, 2, 00 +03D, 03D, 3, 00 +03E, 03E, 0, 00 +03E, 03E, 1, 00 +03E, 03E, 2, 00 +03E, 03E, 3, 00 +03F, 03F, 0, 00 +03F, 03F, 1, 00 +03F, 03F, 2, 00 +03F, 03F, 3, 00 +040, 040, 0, 00 +040, 040, 1, 00 +040, 040, 2, 00 +040, 040, 3, 00 +041, 041, 0, 00 +041, 041, 1, 00 +041, 041, 2, 00 +041, 041, 3, 00 +042, 042, 0, 00 +042, 042, 1, 00 +042, 042, 2, 00 +042, 042, 3, 00 +043, 043, 0, 00 +043, 043, 1, 00 +043, 043, 2, 00 +043, 043, 3, 00 +044, 044, 0, 00 +044, 044, 1, 00 +044, 044, 2, 00 +044, 044, 3, 00 +045, 045, 0, 00 +045, 045, 1, 00 +045, 045, 2, 00 +045, 045, 3, 00 +046, 046, 0, 00 +046, 046, 1, 00 +046, 046, 2, 00 +046, 046, 3, 00 +047, 047, 0, 00 +047, 047, 1, 00 +047, 047, 2, 00 +047, 047, 3, 00 +048, 048, 0, 00 +048, 048, 1, 00 +048, 048, 2, 00 +048, 048, 3, 00 +049, 049, 0, 00 +049, 049, 1, 00 +049, 049, 2, 00 +049, 049, 3, 00 +04A, 04A, 0, 00 +04A, 04A, 1, 00 +04A, 04A, 2, 00 +04A, 04A, 3, 00 +04B, 04B, 0, 00 +04B, 04B, 1, 00 +04B, 04B, 2, 00 +04B, 04B, 3, 00 +04C, 04C, 0, 00 +04C, 04C, 1, 00 +04C, 04C, 2, 00 +04C, 04C, 3, 00 +04D, 04D, 0, 00 +04D, 04D, 1, 00 +04D, 04D, 2, 00 +04D, 04D, 3, 00 +04E, 04E, 0, 00 +04E, 04E, 1, 00 +04E, 04E, 2, 00 +04E, 04E, 3, 00 +04F, 04F, 0, 00 +04F, 04F, 1, 00 +04F, 04F, 2, 00 +04F, 04F, 3, 00 + diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/BDS_Menu.cfg b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/BDS_Menu.cfg new file mode 100644 index 000000000..07980c386 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/BDS_Menu.cfg @@ -0,0 +1,136 @@ +# +# Configure the BDS Menu entries +# +[BDS Menu] + +Indent = 1 +FirstRow = 1 +# DefaultSelect = 2 + +# +# First Label and App should be for Exit option +# Menu code will just exit on selection of 0 option +# So do NOT change this option +# +Label = "Exit BDS Menu" +App = Exit + +# +# Enable Secure Boot +# This option writes the PK UEFI Secure variable with the +# available configured PK key value. This enables UEFI Security +# +Label = "Enable Secure Boot" +App = SecurityToggleApp +Arg = "/SecureBootEnable" + +# +# Disable Secure Boot +# This option writes the Clear PK UEFI Secure variable that +# can clear the previously written PK to disable UEFI Security +# +Label = "Disable Secure Boot" +App = SecurityToggleApp +Arg = /SecureBootDisable + +# +# Enable Debug Policy +# This option writes the Debug policy variable to enable HLOS debug +# +Label = "Enable Debug Policy" +App = DebugPolicyToggleApp +Arg = "/DebugPolicyEnable" + +# +# Disable Debug Policy +# This option clears the Debug policy variable to disble HLOS debug +# +Label = "Disable Debug Policy" +App = DebugPolicyToggleApp +Arg = "/DebugPolicyDisable" + +# +# Configure PPI Display +# This option writes the DisplayPpiFlag variable to configure PPI display +# +Label = "Config PPI display" +App = DebugPolicyToggleApp +Arg = "/ConfigPpiDisplay" + + +# +# Provision RPMB +# This option provisions RPMB with the Key provided by TZ. If the +# device is intended to be used with Fuses blown, this operation +# should be avoided until the fuses are blown. Since the Key Generated +# by TZ would change once the fuses are blown. Once key provisioned +# will NOT be able to change. Making any exception will brick the device +# +Label = "Provision RPMB" +App = RPMBProvision +Arg = "-Prompt" + + +# +# Enter Shell +# Launch the Shell, no startup script is run +# +Label = "Enter Shell" +App = Shell +Arg = "-nomap -nostartup" + + +# +# Toggle BootFromUSB First +# Toggle the variable value AttemptUSBFirst variable +# +Label = "Boot USB First" +App = Cmd +Arg = "BootUSBFirst" + +# +# MassStorage +# Put the device into Mass Storage mode to access from PC. Only USER partition +# of eMMC is available +# +Label = "MassStorage" +App = UsbfnMsdApp +Arg = "MassStorage" + +# +# Reboot the device +# +Label = "Reboot" +App = Cmd +Arg = "Reboot" + + +# USB Menu +Label = "USB Menu" +App = Menu +Arg = "Usb_Menu.cfg" + +# Pmic Menu +Label = "PMIC Menu" +App = Menu +Arg = "Pmic_Menu.cfg" + +# UEFI Menu +Label = "UEFI Menu" +App = Menu +Arg = "Uefi_Menu.cfg" + +# Clock Menu +Label = "CLOCK Menu" +App = Menu +Arg = "Clock_Menu.cfg" + +Label = "EDL Mode" +App = Cmd +Arg = "edl" + +# +# If BDS Menu should show some platform specific help string at the bottom of the +# menu, add it here as value for MenuHelp +# MenuHelp = "Platform has specific help need?" + diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/QcomChargerCfg.cfg b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/QcomChargerCfg.cfg new file mode 100644 index 000000000..f284deaa8 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/QcomChargerCfg.cfg @@ -0,0 +1,339 @@ +# +# Default Charger App Config settings +# +# CHARGER Config file + +# +# Version/Information: +# file QcomChargerConfig_VbattTh_SDM845.cfg +# +# Implements the Qualcomm's Charger application config parameters +# +# Copyright (c) 2016-2017, Qualcomm Technologies Inc. All rights reserved. +# +# 1 : Initial revision +# 2 : Deleting not needed config params and removing dummy battery2 support +# 3: Adding Jeita Compensation params +# 4 : Adding parameters for different battery types and QC 3.0 and QC 2.0 chargergers +# 5 : Added parameter to support enabling watchdog when charging is enabled +# 6 : Adding parameters for Aux Coffes, SkinHot and Charger Hot settings +# 7 : Update for Battery profile load +# 8 : Added SupportHostMode +# 9 : Adding Thermal configs +# 10 : Adding support for Charger Fg Peripheral dumps +# 11 : Adding HVDCP Enable control +# 12 : Adding WIPOWER configs +# 13 : Removed config item for setting IUSB_MAX in case of SDP +# 14 : Adding Restarting FG flag +# 15 : Adding Charger led indication config, rasing skin hot to 70-80C, disabling watchdog as default +# 16 : Added changes for supporting different platforms, MTP, QRD, etc. +# 17 : Removed SupportHostMode config (hostmode settings will be done in USB driver) and other unused config parameters +# 18 : Enable battery profile loading by default +# 19 : Added VBattEstDiffThreshold configuration +# 20 : Add aux coffs +# 21 : Removed HVDCP Enable control config parameter +# 22 : Adding Config VBatEmpty threshold +# 23 : Adding PBS triggered APF temperature threshold +# 24 : Adding Rconn configuration +# 25 : Adding thermal source configuration to enable/disable INOV +# 26 : Updated config file to platform based sections. +# 27 : Adding debug level mask for file logging +# 28 : ABL min battery voltage config +# 29 : Adding ship mode for factor use case +# 30 : Adding delay before enable batt missing detection +# 31 : Adding Platform HW configuration Override +# +[PlatformCommon] + +CfgVersion = 32 + +#Override default HW configuration assignment +# 0 - None +# 1 - PMIC +#PlatHWCfgOverrdie = 0 + + +#Enable/Disable Ship Mode - when enabled durign factory mode if persistant ShipMode variable is set then perform shipmode +EnShipMode = FALSE + +#shipmode string to query variable status +ShipModeVarStr = ShipMode + +#Minimum Battery Voltage to allow SW Flash Image +SWFlashMinBattVoltageMv = 3600 + +# Configure Battery Voltage and Current limit +#david.liu@oneplus.tw, 20170123 Fix 4.4v reboot loop (ori = 30) +BattVoltLimHighDelta = 650 + +#Enable SW thermal mitigation during charging by default FALSE +# Mitigation is based on MSM Tsens max avg temp reading +SWThermalMitigationEnable = FALSE + +# Print Charger DEBUG Messages +PrintChargerAppDbgMsg = FALSE + +#Print Charger DEBUG Messages to ULOG File..Default is false +PrintChargerAppDbgMsgToFile = FALSE + +#Debug level mask (in hex)for file logging.. refer to DebugLib.h +FileLoggingDbgLevelMask = 80000042 + +#Charging termination current in milliamps +ChargingTermCurrent = 200 + +#Battery ID Tolerance Percentage 8% +BatteryIdTolerance = 8 + +#Debug board ID range, value in Ohms +DebugBoardBatteryIdMin = 2000 +DebugBoardBatteryIdMax = 14000 + +#Regular battery ID range, value in Ohms +RegularBatteryIdMin = 15000 +RegularBatteryIdMax = 137000 + +#Smart battery ID range, value in Ohms +SmartBatteryIdMin = 240000 +SmartBatteryIdMax = 450000 + +# Voltage (in mV) to be reduced from FV_MAX during conservative charging +ConservChgFvDelta = 200 + +#Support unknown battery charging behavior +# 0: Shuts down device, 1: Boot to HLOS if battery more than threshold else shutdown +# 2: Conservative Charging 3: Regular charging +UnknownBatteryBehavior = 3 + +#Debug board behavior +# 0: Show red debug icon if vbatt is low, disable PON1/USBIN trigger to prevent reboot and shutdown +# 1: Show red debug icon and stay on until until vbatt is high enough to boot. +# 2: Boot to HLOS regardless of vbatt +DebugBoardBehavior = 2 + +#Boot device to HLOS in case of unsupported battery or battery emulator. In millivolt*/ +#david.liu@oneplus.tw, 20161202 Move DBC to QcomChargerApp (ori = 3600) +BootToHLOSThresholdInMv = 3400 + +#Minimum SOC Threshold before allowing to boot to HLOS +#below param is considered only when SocBasedBoot = TRUE and LoadBatteryProfile = TRUE +OsStandardBootSocThreshold = 7 + +#device behaviour if temp is outside charging range but within operational range +# 1= Disable charging and wait. 0 = Shutdown device is temp outside +NoChargeAndWait = TRUE + +#Lowest Voltage at which device should shutdown gracefully +#value in mV +EmergencyShutdownVbatt = 1000; #yangfb,20180607,origin value 3200 + +#Battery missing config +# 0 = using batt id 1 = using batt therm 3 = both +BattMissingCfg = 0 + +#Charger WDOG Support options +# 0: Do not enable Charger WDOG +# 1: Enable Charger WDOG during charging and Disable before exiting +# 2: Enable Charger WDOG during charging and leave enabled when exiting +EnableChargerWdog = 0 #yangfb,20180606,disable WD + +#Program THERM coeffs .. +#Picked up as per ThermB value per device/battery and initial values are given in HALF encoded +ProgramAuxThermCoeffs = TRUE +AuxThermC1 = BF +AuxThermC2 = 36 +AuxThermC3 = FF + +#Program BATT_THERM configs +#BiasWait 0 = 0 ms; 1 = 1 ms; 2 = 4 ms; 3 = 12 ms; 4 = 20 ms; 5 = 40 ms; 6 = 60 ms; 7 = 80 ms +#GndSel TRUE = thermistor is located on the battery pack, FALSE = thermistor on the PCB(skin temp) +BattThermBiasWait = 4 +BattThermGndSel = TRUE + +ProgramBattThermCoeffs = TRUE +BattThermC1 = A1 +BattThermC2 = 50 +BattThermC3 = FF + +#Program AUX_THERM configs +AuxThermBiasWait = 4 +AuxThermGndSel = FALSE + +#Program device Skin and Charger Hot threhsolds +ProgramSkinAndChargerHotThreshold = TRUE +DeviceSkinHotInC = 80 +DeviceSkinTooHotInC = 90 +ChargerHotInC = 80 +ChargerTooHotInC = 90 + +#enable/disable charger therm source +SkinTempSrc = TRUE +DieTempSrc = TRUE +DieTempCompSrc = TRUE + +#Use Battery SOC or voltage based threshold charging criteria +#FALSE: Voltage threshold based boot-up; TRUE: SOC threshold based boot-up +SocBasedBoot = FALSE + +#Load Fuel Gauge Battery Profile profile for SOC estimation and accuracy +LoadBatteryProfile = TRUE + +#Below VBAT threhsold is used to decide on showing sign of life first before FG Module Initialization and continuing with threshold charging +DispSignOfLifeMaxThresholdMv = 3700 + +#dump SRAM contents default value is FALSE +DumpSram = FALSE + +#dump SRAM Start and End Address in Hex Format +#SRAM Block SRAM Address +#System 0x00 - 0x17 +#Profile 0x18 - 0x3C +#Scratchpad 0x50 - 0x7C +#values in decimal +DumpSramStartAddr = 0 +#values in decimal +DumpSramEndAddr = 124 + +#dump SRAM contents timer Duration in s +DumpSramDuration = 30 + +## TSENS ## +#High Temperature limit for thermal wait +TsensHighTemp = 85 +#High Temperature limit for battey and device safety (battery disconnect) +TsensExtremeTemp = 90 +#Low Temperature limit for end of thermal wait +TsensLowTemp = 75 +# Give up time in thermal wait for battery disconnect - support up to 60min +TsensTimeoutMins = 90 + +#Enable/disable Charger/FG Dump support +EnableChargerFgDump = FALSE + +#support wipower or not +WiPowerSupported = TRUE + +#Boot device to HLOS in case of wipower charging. In millivolt +#yangfb@oneplus, 20171120 modify DCInBootToHLOSThresholdInMv(ori = 3800) +DCInBootToHLOSThresholdInMv = 3400 + +#suspend DCIn or not after exiting UEFI +SuspendDCIn = FALSE + +# FG Conditional Restart on Device reset +FgCondRestart = TRUE + +# VBat Threshold value for conditional restart check, value in mV +VBattEstDiffThreshold = 30 + +# Charging status indication via led +# 0 = Disable 1 = solid during charging 2 = led blinks during charging +# if turned on LED will be turned off after threhsold charging is completed i.e. when device boot to HLOS +ChargerLedConfig = 1 + +#Rconn compensation Resistance, value in mOhms - range is +/- 100 mOhms +RconnComp = 0 + +#Continue charging/shutdown with CC lines floating +# 1 = Continue charging (Default) +# 0 = Shutdown +CCFloatCharging = 1 + +[PlatformMTP] +## Parameter values with respect to MTP Platform (Platform 1) +# Configure FVMax and Fcc values +ChgFvMax = 4350 +#david.liu@oneplus.tw, 20170112 Modify ibat_max (ori = 2000) +Platform1_ChgFccMax = 500 + +# Configure limits for Battery Temperature (For negative values, use negative sign. Ex: -30) +JeitaCriticalTempLowLimit = -20 +JeitaHardColdLimit = 0 +JeitaSoftColdLimit = 10 +JeitaSoftHotLimit = 45 +JeitaHardHotLimit = 60 +JeitaCriticalTempHighLimit = 68 + +# Configure battery temperature limits in deg Cfor PBS temperature monitoring if SW is stuck, +# when battery temperature goes out of bound, pbs will trigger AFP (shutdown device). +# setting cold to -273 to disablecold shutdown +HwAfpHotLimit = 71 +HwAfpColdLimit = -273 + +#JEITA Charge Current Compensation when in battery temperature soft-limit +#JEITA CC = min is 0 ma and max is 1575 ma - stpe size is 25mA +JeitaCcCompCfg = 1000 + +#JEITA Float Voltage Compensation when in battery temperature soft-limit +#min is 0 and max .4725 V step size is 7.5 mV - unit is in mV +JeitaFvCompCfg = 105 + +#JEITA Float Voltage compensation during soft cold +JeitaSoftColdFvCompEnable = FALSE + +#JEITA Float Voltage compensation during soft hot +JeitaSoftHotFvCompEnable = TRUE + +#JEITA Charge Current compensation during soft cold +JeitaSoftColdCcCompEnable = TRUE + +#JEITA Charge Current compensation during soft hot +JeitaSoftHotCcCompEnable = TRUE + +#Vbat Empty threshold in mv +VBatEmpty = 2850 + +#BATT missing delay in msec +BattMissingDelay = 0 + +[PlatformQRD] +## Parameter values with respect to QRD Platform (Platform 2) +# Configure VddMax and IbatMax values +# Set to 0 to configure through API +ChgFvMax = 4350 +ChgFccMax = 2000 + +# Configure limits for Battery Temperature (For negative values, use negative sign. Ex: -30) +JeitaCriticalTempLowLimit = -20 +JeitaHardColdLimit = 0 +JeitaSoftColdLimit = 10 +JeitaSoftHotLimit = 40 +JeitaHardHotLimit = 45 +JeitaCriticalTempHighLimit = 60 + +# Configure battery temperature limits in deg Cfor PBS temperature monitoring if SW is stuck, +# when battery temperature goes out of bound, pbs will trigger AFP (shutdown device). +# setting cold to -273 to disablecold shutdown +HwAfpHotLimit = 71 +HwAfpColdLimit = -273 + +#JEITA Charge Current Compensation when in battery temperature soft-limit +#JEITA CC = min is 0 ma and max is 1575 ma - stpe size is 25mA +JeitaCcCompCfg = 1000 + +#JEITA Float Voltage Compensation when in battery temperature soft-limit +#min is 0 and max .4725 V step size is 7.5 mV - unit is in mV +JeitaFvCompCfg = 105 + +#JEITA Float Voltage compensation during soft cold +JeitaSoftColdFvCompEnable = FALSE + +#JEITA Float Voltage compensation during soft hot +JeitaSoftHotFvCompEnable = TRUE + +#JEITA Charge Current compensation during soft cold +JeitaSoftColdCcCompEnable = TRUE + +#JEITA Charge Current compensation during soft hot +JeitaSoftHotCcCompEnable = TRUE + +#Vbat Empty threshold in mv +VBatEmpty = 2850 + +#BATT missing delay in msec +BattMissingDelay = 100 + +# +# End of config +# Blank line needed after the last config +# diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/SecParti.cfg b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/SecParti.cfg new file mode 100644 index 000000000..6fbf16ef6 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/SecParti.cfg @@ -0,0 +1,183 @@ +## +## RPMB/GPT Partition configuration file +## + +## This version number needs to match the partition table version in TZ +[VersionNum] +Version = 0x0100 + +######################################################################## +## +## List of Device IDs +## 0 = User Partition +## 1 = Boot1 Partition +## 2 = Boot2 Partition +## 3 = RPMB Partition +## 4 = GPP1 Partition +## 5 = GPP2 Partition +## 6 = GPP3 Partition +## 7 = GPP4 Partition +## 8 = All Partitions (GPT only; we will search all the GPT partitions +## and find the physical partition that contains +## the partition GUID specified) +## +######################################################################## + +######################################################################## +## +## For RPMB partitions, the section chosen will be based off the RPMB +## size. So, a eMMC that has a RPMB of size 128KB will use section +## [RPMB.128KB]. +## +## Each section should look like the following: +## +## The first line of the RPMB section should contain the device ID. +## Example first line: +## DevId = 3 +## +## The subsequent lines for the RPMB section will contain information about +## the partitions to be added. For each partition added, you will provide the +## following: +## AppName: The application that will use the partition +## AppPartitionId: Partition type (values are up to the user) +## SizeInSectors: Size of the partition in sectors +## +## Example new partition: +## AppNameId = qcom.tz.sampleapp +## AppPartitionId = 9 +## SizeInSectors = 4 +## +## Repeat the step above for all partitions to be added. +## +######################################################################## +## Example of a RPMB section for RPMB partition of size 128KB with 2 +## partitions: +## +## [RPMB.128KB] +## DevId = 3 +## +## AppNameId = qcom.tz.sampleapp +## AppPartitionId = 9 +## SizeInSectors = 4 +## +## AppNameId = qcom.tz.sampleapp +## AppPartitionId = 11 +## SizeInSectors = 6 +## +###############################################################################\ + +## RPMB Partitions + +## RPMB Size = 128KB +[RPMB.128KB] +DevId = 3 + +## UEFI RT_S_NV +AppNameId = qcom.tz.uefisecapp +AppPartitionId = 3 +SizeInSectors = 160 + +## UEFI_RT_NS_NV +AppNameId = qcom.tz.uefisecapp +AppPartitionId = 4 +SizeInSectors = 48 + +## fTPM +AppNameId = qcom.tz.winsecapp +AppPartitionId = 5 +SizeInSectors = 40 + + +## RPMB Size = 256KB +[RPMB.256KB] +DevId = 3 + +## UEFI RT_S_NV +AppNameId = qcom.tz.uefisecapp +AppPartitionId = 3 +SizeInSectors = 184 + +## UEFI_RT_NS_NV +AppNameId = qcom.tz.uefisecapp +AppPartitionId = 4 +SizeInSectors = 208 + +## fTPM +AppNameId = qcom.tz.winsecapp +AppPartitionId = 5 +SizeInSectors = 80 + + +######################################################################## +## +## For GPT partitions, there will be one section only. The section name +## must be [GPT]. +## +## Each section should look like the following: +## +## The first part of the GPT section should contain the device ID and +## the partition GUID +## Example: +## DevId = 4 +## PartitionGuid = "2275A3E4 6727 4D06 9EF1 EEE2ABDD38E1" +## +## The next part of the GPT section will contain information about the +## partitions to be added. For each partition added, you will provide +## the following: +## AppPartitionId: Partition type (values are up to the user) +## SizeInBytes: Partition size in bytes +## +## Example new partition: +## AppPartitionId = 9 +## SizeInBytes = 2048 +## +## Repeat all the steps above for each subsequent device (i.e. whenever +## there is a different device ID or partition GUID) to be added. Keep +## everything in one section; don't create a new one. +## +######################################################################## +## Example of a GPT section with 2 partitions +## +## [GPT] +## DevId = 8 +## PartitionGuid = "5F85FC54 55DE 4D8B 9C81 99B464F39DEC" +## +## AppPartitionId = 1 +## SizeInSectors = 12 +## +## AppPartitionId = 2 +## SizeInSectors = 16 +## +#######################################################################\ + +## GPT Partitions + +## Note: GUID should not have "-" char, instead replace them with spaces + +[GPT] +DevId = 8 +PartitionGuid = "8BF4B4F0 BAAE CF4E 9142 5DC30CDC3E77" + +## UEFI BS_S_NV +AppPartitionId = 1 +SizeInBytes = 65536 + +## UEFI BS_NS_NV +AppPartitionId = 2 +SizeInBytes = 131072 + + + + + + + + + + + + + + + + diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/battery_symbol_DebugBoot.bmp b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/battery_symbol_DebugBoot.bmp new file mode 100644 index 000000000..e6ccf21ca Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/battery_symbol_DebugBoot.bmp differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/battery_symbol_DebugStay.bmp b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/battery_symbol_DebugStay.bmp new file mode 100644 index 000000000..7a09fae1e Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/battery_symbol_DebugStay.bmp differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/battery_symbol_LowBattery.bmp b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/battery_symbol_LowBattery.bmp new file mode 100644 index 000000000..c195b569f Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/battery_symbol_LowBattery.bmp differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/battery_symbol_LowBatteryCharging.bmp b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/battery_symbol_LowBatteryCharging.bmp new file mode 100644 index 000000000..80f05f751 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/battery_symbol_LowBatteryCharging.bmp differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/battery_symbol_NoBattery.bmp b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/battery_symbol_NoBattery.bmp new file mode 100644 index 000000000..d89cb76a4 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/battery_symbol_NoBattery.bmp differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/battery_symbol_Nocharger.bmp b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/battery_symbol_Nocharger.bmp new file mode 100644 index 000000000..24fe90098 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/battery_symbol_Nocharger.bmp differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/battery_symbol_Soc10.bmp b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/battery_symbol_Soc10.bmp new file mode 100644 index 000000000..04a667b69 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/battery_symbol_Soc10.bmp differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/logo1.bmp b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/logo1.bmp new file mode 100644 index 000000000..10e6089f2 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/logo1.bmp differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/tsens_thermal_err_symbol.bmp b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/tsens_thermal_err_symbol.bmp new file mode 100644 index 000000000..710e1a2c7 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/tsens_thermal_err_symbol.bmp differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/tsens_thermal_symbol.bmp b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/tsens_thermal_symbol.bmp new file mode 100644 index 000000000..259276d7b Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/tsens_thermal_symbol.bmp differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/uefiplat.cfg b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/uefiplat.cfg new file mode 100644 index 000000000..293f2b7df --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Binaries/RawFiles/uefiplat.cfg @@ -0,0 +1,173 @@ +[Config] +Version = 3 +MaxMemoryRegions = 76 + +[MemoryMap] +# EFI_RESOURCE_ EFI_RESOURCE_ATTRIBUTE_ EFI_MEMORY_TYPE ARM_MEMORY_REGION_ATTRIBUTE_ +#MemBase, MemSize, MemLabel(32 Char.), BuildHob, ResourceType, ResourceAttribute, MemoryType, CacheAttributes +#--------------------- DDR ----- +0x80000000, 0x05700000, "Kernel", AddMem, SYS_MEM, SYS_MEM_CAP, Reserv, WRITE_BACK_XN +0x85F00000, 0x000C0000, "HLOS1", AddMem, SYS_MEM, SYS_MEM_CAP, BsData, WRITE_BACK_XN +0x85FE0000, 0x00020000, "AOP CMD DB", AddMem, SYS_MEM, SYS_MEM_CAP, BsData, WRITE_BACK_XN +0x86000000, 0x00200000, "SMEM", AddMem, MEM_RES, UNCACHEABLE, Reserv, UNCACHED_UNBUFFERED_XN +0x97C00000, 0x05730000, "DXE Heap", AddMem, SYS_MEM, SYS_MEM_CAP, Conv, WRITE_BACK_XN +0x9D330000, 0x000D0000, "DBI Dump", NoHob, MMAP_IO, INITIALIZED, Conv, NS_DEVICE +0x9D400000, 0x02400000, "Display Reserved", AddMem, MEM_RES, SYS_MEM_CAP, Reserv, WRITE_BACK_XN +0x9F800000, 0x00200000, "FV Region", AddMem, SYS_MEM, SYS_MEM_CAP, BsData, WRITE_BACK_XN +0x9FA00000, 0x00200000, "ABOOT FV", AddMem, SYS_MEM, SYS_MEM_CAP, Reserv, WRITE_BACK_XN +0x9FC00000, 0x00300000, "UEFI FD", AddMem, SYS_MEM, SYS_MEM_CAP, BsData, WRITE_BACK +0x9FF00000, 0x0008C000, "SEC Heap", AddMem, SYS_MEM, SYS_MEM_CAP, BsData, WRITE_BACK_XN +0x9FF8C000, 0x00001000, "CPU Vectors", AddMem, SYS_MEM, SYS_MEM_CAP, BsData, WRITE_BACK +0x9FF8D000, 0x00003000, "MMU PageTables", AddMem, SYS_MEM, SYS_MEM_CAP, BsData, WRITE_BACK_XN +0x9FF90000, 0x00040000, "UEFI Stack", AddMem, SYS_MEM, SYS_MEM_CAP, BsData, WRITE_BACK_XN +0x9FFD0000, 0x00027000, "HLOS2", AddMem, SYS_MEM, SYS_MEM_CAP, BsData, WRITE_BACK_XN +0x9FFF7000, 0x00008000, "Log Buffer", AddMem, SYS_MEM, SYS_MEM_CAP, RtData, WRITE_BACK_XN +0x9FFFF000, 0x00001000, "Info Blk", AddMem, SYS_MEM, SYS_MEM_CAP, RtData, WRITE_BACK_XN + +[RegisterMap] +#--------------------- Other ----- +0x0C300000, 0x00100000, "AOP_SS_MSG_RAM", NoHob, MMAP_IO, INITIALIZED, Conv, NS_DEVICE +0x14680000, 0x0003F000, "IMEM Base", NoHob, MMAP_IO, INITIALIZED, Conv, NS_DEVICE +0x146BF000, 0x00001000, "IMEM Cookie Base", AddDev, MMAP_IO, INITIALIZED, Conv, NS_DEVICE +#--------------------- Register -- +0x00100000, 0x000B0000, "GCC CLK CTL", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x00780000, 0x00007000, "SECURITY CONTROL", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x00790000, 0x00010000, "PRNG_CFG_PRNG", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x00800000, 0x000D0000, "QUPV3_0_GSI", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x00A00000, 0x000D0000, "QUPV3_1_GSI", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x01D80000, 0x00020000, "UFS UFS REGS", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x01DC0000, 0x00040000, "CRYPTO0 CRYPTO", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x01FC0000, 0x00030000, "TCSR_TCSR_REGS", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x03500000, 0x00300000, "TLMM_EAST", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x03900000, 0x00300000, "TLMM_NORTH", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x03D00000, 0x00300000, "TLMM_SOUTH", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x0509A000, 0x00004000, "GPU_CPR", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x0C200000, 0x0000F000, "RPMH_CPRF", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x0506A000, 0x00001000, "GPU_GMU_GX_BLK", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x0507D000, 0x0000C000, "GPU_GMU_CX_BLK", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x05090000, 0x00010000, "GPU_CC", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x0508B000, 0x00002000, "GPU_ISENSE", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x05A00000, 0x000D0000, "QUPV3_SSC_GSI", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x08800000, 0x00200000, "PERIPH_SS", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x0A600000, 0x0011B000, "USB30_PRIM", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x0AB00000, 0x00010000, "VIDEO_CC", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x0AD00000, 0x00010000, "TITAN_CAM_CC", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x0AE00000, 0x00134000, "MDSS", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x0AF00000, 0x00020000, "DISP_CC", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x0B290000, 0x00010000, "PDC_DISPLAY", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x0B490000, 0x00010000, "PDC_DISP_SEQ", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x0BA00000, 0x00200000, "RPMH_BCM_BCM_TOP", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x0C221000, 0x00001000, "SLP_CNTR", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x0C222000, 0x00001000, "TSENS0", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x0C223000, 0x00001000, "TSENS1", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x0C263000, 0x00001000, "TSENS0_TM", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x0C264000, 0x00001000, "PSHOLD", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x0C265000, 0x00001000, "TSENS1_TM", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x0C400000, 0x02800000, "PMIC_ARB_SPMI", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x15000000, 0x000D0000, "SMMU", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x17830000, 0x00001000, "GOLD_SAW4_SRM", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x17840000, 0x00001000, "SILVER_SAW4_SRM", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x178B0000, 0x00001000, "GOLD_CLK_CTL", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x178C0000, 0x00001000, "SILVER_CLK_CTL", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x178D0000, 0x00001000, "L3_CLK_CTL", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x17980000, 0x00001000, "APSS_WDT_TMR1", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x17990000, 0x00001000, "APSS_IPC_INT", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x179C0000, 0x00030000, "APSS_RSC_RSCCR", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x17A00000, 0x00010000, "APSS_GIC500_GICD", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x17A60000, 0x00100000, "APSS_GIC500_GICR", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x17C00000, 0x00110000, "QTIMER", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +0x17D20000, 0x000B0000, "OSM", AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE +#Please keep list sorted + +[ConfigParameters] +# Update count if more than default 30 entries # +ConfigParameterCount = 60 + +## UEFI CORE ## +PlatConfigFileName = "uefiplatLA.cfg" +OsTypeString = "LA" +NumCpusFuseAddr = 0x5C04C + +# Force booting to shell whilst in pre-silicon phase +EnableShell = 0x1 + +## Shared IMEM (Cookies, Offsets) +SharedIMEMBaseAddr = 0x146BF000 + +DloadCookieAddr = 0x01FD3000 +DloadCookieValue = 0x10 + +## MPPark ## +## NumCpus - max number of cores +## NumActiveCores - number of cores used +NumCpus = 8 +NumActiveCores = 8 + +## ULogFile ## +SpecialLogPartition = "LOGFS:\" +MaxLogFileSize = 0x400000 + +# UEFI memory use # +UefiMemUseThreshold = 0x94 + +## USB ## +USBHS1_Config = 0x0 +UsbFnIoRevNum = 0x00010001 + +## Buttons / KeyPad ## +PwrBtnShutdownFlag = 0x0 + +## SDCC ## +Sdc1GpioConfigOn = 0x1E92 +Sdc2GpioConfigOn = 0x1E92 +Sdc1GpioConfigOff = 0xA00 +Sdc2GpioConfigOff = 0xA00 + +## SDHC Mode 0:Legacy Mode, Non-zero: SDHC Mode ## +EnableSDHCSwitch = 0x1 + + +## PCIE ## +#PCIeRPNumber BIT 7:0 -> number of RPs to be enabled +#PCIeRPNumber BIT 15:8 -> BIT mask to identify which RPs are enabled +#Eg. value: 0x0502 -> Total two numbers of RPs, RP0 and RP2 are enabled +#Total RPs supported 8 numbers and bits allocated are 16 bits + +#PCIeRPNumber=0x0101 + +## Security flag ## +SecurityFlag = 0xC4 +# SecBootEnableFlag = 0x1 i.e. 0b00000001 +# TreeTpmEnableFlag = 0x2 i.e. 0b00000010 +# CommonMbnLoadFlag = 0x4 i.e. 0b00000100 +# DxHdcp2LoadFlag = 0x8 i.e. 0b00001000 +# VariableServicesFlag = 0x10 i.e. 0b00010000 +# WinsecappFlag = 0x20 i.e. 0b00100000 +# LoadSecAppFlag = 0x40 i.e. 0b01000000 +# LoadKeymasterFlag = 0x80 i.e. 0b10000000 +# EnableQseeLogsFlag = 0x100 i.e. 0b 00000001 00000000 +# EnableQseeDiagLogsFlag = 0x200 i.e. 0b 00000010 00000000 + +## TZ ApPs Notification parameters +TzAppsRegnAddr = 0x86D00000 +## enlarge TA memory size from 34M to 62M on 2018/09/03 +TzAppsRegnSize = 0x03E00000 + +## Default app to boot in platform BDS init +DefaultChargerApp = "QcomChargerApp" +DefaultBDSBootApp = "LinuxLoader" +## Once the META changes to flash imagefv.elf are available, +## remove below flag and related code +ImageFVFlashed = 0x0 + +## LogFs partition ## +## NOTE: Ensure logs 8MB bin is flashed from /Tools/binaries ## +EnableLogFsSyncInRetail = 0x0 + +## NOTE: Enabling splash partition is a security risk ## +EnableSecurityHoleForSplashPartition = 0x0 + + +## NOTE: Do not remove last newline, required by parser ## + + diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/DXE.dsc.inc b/Platforms/NapaliPkg/Device/oneplus-enchilada/DXE.dsc.inc new file mode 100644 index 000000000..755cd0139 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/DXE.dsc.inc @@ -0,0 +1,85 @@ +[Components.common] +Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/AdapterInformationDxe/AdapterInformationDxe.inf +Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/CPRDxe/CPRDxe.inf +Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/OSConfigDxe/OSConfigDxe.inf +Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/ShmBridgeDxe/ShmBridgeDxe.inf +Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/UsbInitDxe/UsbInitDxe.inf +Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/UsbMsdDxe/UsbMsdDxe.inf +Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/UsbPwrCtrlDxe/UsbPwrCtrlDxe.inf +Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/XhciPciEmulationDxe/XhciPciEmulationDxe.inf +Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/I2CDxe/I2CDxe.inf +Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/UsbConfigDxe/UsbConfigDxe.inf +SurfaceDuoFamilyPkg/Driver/SimpleFbDxe/SimpleFbDxe.inf + +#MdeModulePkg/Core/Dxe/DxeMain.inf +#ArmPkg/Drivers/CpuDxe/CpuDxe.inf +#MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf +#MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf +NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/UsbDeviceDxe/UsbDeviceDxe.inf +#NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/SecRSADxe/SecRSADxe.inf +#NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/ASN1X509Dxe/ASN1X509Dxe.inf +#QcomPkg/Drivers/VerifiedBootDxe/VerifiedBootDxe.inf +#NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/TzDxe/ScmDxeLA.inf +NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/TzDxe/TzDxeLA.inf +#MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf +#MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf +#MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/RscRtDxe.inf +#MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/SCHandlerRtDxe.inf +#NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/VariableDxe/VariableDxe.inf +#EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf +#EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf +#MdeModulePkg/Universal/PrintDxe/PrintDxe.inf +#MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf +#MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf +#MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf +#MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf +#MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf +NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/FontDxe/FontDxe.inf +#NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/QcomWDogDxe/QcomWDogDxe.inf +#NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/QcomMpmTimerDxe/QcomMpmTimerDxe.inf +#ArmPkg/Drivers/ArmGic/ArmGicDxe.inf +#ArmPkg/Drivers/TimerDxe/TimerDxe.inf +NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/ChipInfoDxe/ChipInfoDxe.inf +NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/SmemDxe/SmemDxe.inf +NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/ULogDxe/ULogDxe.inf +NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/NpaDxe/NpaDxe.inf +NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/CmdDbDxe/CmdDbDxe.inf +NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/RpmhDxe/RpmhDxe.inf +#QcomPkg/Drivers/CPRDxe/CPRDxe.inf +NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/PdcDxe/PdcDxe.inf +#MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf +#NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf +#FatPkg/EnhancedFatDxe/Fat.inf +#MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf +#MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystemDxe.inf + +NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/DALSYSDxe/DALSYSDxe.inf + +NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/ClockDxe/ClockDxe.inf +NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/HWIODxe/HWIODxe.inf +NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/GpiDxe/GpiDxe.inf +NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/SPMIDxe/SPMIDxe.inf +NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/SdccDxe/SdccDxe.inf +NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/TLMMDxe/TLMMDxe.inf +NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/PlatformInfoDxe/PlatformInfoDxe.inf +NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/PmicDxe/PmicDxeLa.inf +NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/ChargerExDxe/ChargerExDxe.inf +NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/QcomChargerDxe/QcomChargerDxeLA.inf +#NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/UsbPwrCtrlDxe/UsbPwrCtrlDxe.inf +NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/AdcDxe/AdcDxe.inf +NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/TsensDxe/TsensDxe.inf +#QcomPkg/Drivers/LimitsDxe/LimitsDxe.inf +NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/DDRInfoDxe/DDRInfoDxe.inf +NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/UsbfnDwc3Dxe/UsbfnDwc3Dxe.inf +#QcomPkg/Drivers/UsbMsdDxe/UsbMsdDxe.inf +#QcomPkg/Drivers/UsbDeviceDxe/UsbDeviceDxe.inf +#QcomPkg/Drivers/HashDxe/HashDxe.inf +#QcomPkg/Drivers/CipherDxe/CipherDxe.inf +#QcomPkg/Drivers/RNGDxe/RngDxe.inf +#QcomPkg/Drivers/QcomBds/QcomBds.inf +NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Application/QcomChargerApp/QcomChargerApp.inf +QcomPkg/PatchedBinaries/HALIOMMUDxe.inf +#QcomPkg/Drivers/ShmBridgeDxe/ShmBridgeDxeLA.inf + +Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/UFSDxe/UFSDxe.inf +NapaliPkg/Device/$(TARGET_DEVICE)/PatchedBinaries/ButtonsDxe.inf \ No newline at end of file diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/DXE.inc b/Platforms/NapaliPkg/Device/oneplus-enchilada/DXE.inc new file mode 100644 index 000000000..2960089b1 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/DXE.inc @@ -0,0 +1,240 @@ +# INF QcomPkg/XBLCore/XBLCore.inf + +#FILE FREEFORM = DDE58710-41CD-4306-DBFB-3FA90BB1D2DD { +# SECTION UI = "uefiplat.cfg" +# SECTION RAW = NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/RawFiles/uefiplat.cfg +#} + +INF Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/AdapterInformationDxe/AdapterInformationDxe.inf +INF Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/CPRDxe/CPRDxe.inf +INF Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/OSConfigDxe/OSConfigDxe.inf +INF Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/ShmBridgeDxe/ShmBridgeDxe.inf +INF Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/UsbMsdDxe/UsbMsdDxe.inf +INF Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/XhciPciEmulationDxe/XhciPciEmulationDxe.inf +INF Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/UsbPwrCtrlDxe/UsbPwrCtrlDxe.inf +#INF Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/PmicDxe/PmicDxeWp.inf +INF SurfaceDuoFamilyPkg/Driver/SimpleFbDxe/SimpleFbDxe.inf + +#INF MdeModulePkg/Core/Dxe/DxeMain.inf +#INF ArmPkg/Drivers/CpuDxe/CpuDxe.inf +#INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf +#INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf +#INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/SecRSADxe/SecRSADxe.inf +#INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/ASN1X509Dxe/ASN1X509Dxe.inf +#INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/TzDxe/ScmDxeLA.inf +INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/TzDxe/TzDxeLA.inf +#INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf +#INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf +#INF MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/RscRtDxe.inf +#INF MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/SCHandlerRtDxe.inf +#INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/VariableDxe/VariableDxe.inf +INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf +INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/ResetRuntimeDxe/ResetRuntimeDxe.inf +#INF EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf +#INF EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf +#INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf +#INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf +#INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf +#INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf +##INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf +#INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf +INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/FontDxe/FontDxe.inf +INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/EnvDxe/EnvDxe.inf +#INF ArmPkg/Drivers/ArmGic/ArmGicDxe.inf +#INF ArmPkg/Drivers/TimerDxe/TimerDxe.inf +INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/ChipInfoDxe/ChipInfoDxe.inf +INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/SmemDxe/SmemDxe.inf +INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/ULogDxe/ULogDxe.inf +INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/NpaDxe/NpaDxe.inf +INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/CmdDbDxe/CmdDbDxe.inf +INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/RpmhDxe/RpmhDxe.inf +#INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/CPRDxe/CPRDxe.inf +INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/PdcDxe/PdcDxe.inf +#INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf +#INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf +#INF FatPkg/EnhancedFatDxe/Fat.inf +#INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf +#INF MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystemDxe.inf + +INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/DALSYSDxe/DALSYSDxe.inf +INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/ClockDxe/ClockDxe.inf +#INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/HALIOMMUDxe/HALIOMMUDxe.inf +INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/HWIODxe/HWIODxe.inf +INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/GpiDxe/GpiDxe.inf +INF Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/I2CDxe/I2CDxe.inf +INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/SPMIDxe/SPMIDxe.inf +INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/SdccDxe/SdccDxe.inf +#INF QcomPkg/Drivers/UFSDxe/UFSDxe.inf +INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/TLMMDxe/TLMMDxe.inf +#INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/DisplayDxe/DisplayDxe.inf +INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/PlatformInfoDxe/PlatformInfoDxe.inf +#INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/ButtonsDxe/ButtonsDxe.inf +INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/PmicDxe/PmicDxeLa.inf +INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/ChargerExDxe/ChargerExDxe.inf +INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/QcomChargerDxe/QcomChargerDxeLA.inf +#INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/UsbPwrCtrlDxe/UsbPwrCtrlDxe.inf +INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/AdcDxe/AdcDxe.inf +INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/TsensDxe/TsensDxe.inf +#INF QcomPkg/Drivers/LimitsDxe/LimitsDxe.inf +INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/DDRInfoDxe/DDRInfoDxe.inf +INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/UsbfnDwc3Dxe/UsbfnDwc3Dxe.inf +#INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/UsbMsdDxe/UsbMsdDxe.inf +INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/UsbDeviceDxe/UsbDeviceDxe.inf +#INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/UsbConfigDxe/UsbConfigDxe.inf +#INF QcomPkg/Drivers/HashDxe/HashDxe.inf +#INF QcomPkg/Drivers/CipherDxe/CipherDxe.inf +#INF QcomPkg/Drivers/RNGDxe/RngDxe.inf +#INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/QcomBds/QcomBds.inf +INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Application/QcomChargerApp/QcomChargerApp.inf +#INF NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/ShmBridgeDxe/ShmBridgeDxeLA.inf + +# Patched Binaries +INF QcomPkg/PatchedBinaries/HALIOMMUDxe.inf +INF Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/UFSDxe/UFSDxe.inf +INF Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/UsbConfigDxe/UsbConfigDxe.inf +INF NapaliPkg/Device/$(TARGET_DEVICE)/PatchedBinaries/ButtonsDxe.inf + +# DXE without depex +FILE DRIVER = 6b38f7b4-ad98-40e9-9093-aca2b5a253c4 { + SECTION PE32 = Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/DiskIoDxe/DiskIoDxe.efi + SECTION UI = "DiskIoDxe" +} + +FILE DRIVER = 1fa1f39e-feff-4aae-bd7b-38a070a3b609 { + SECTION PE32 = Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/PartitionDxe/PartitionDxe.efi + SECTION UI = "PartitionDxe" +} + +FILE DRIVER = f09ad92e-4e91-490f-ab99-e69939b840b2 { + SECTION UI = "LimitsDxe" + SECTION PE32 = Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/LimitsDxe/LimitsDxe.efi +} + +FILE DRIVER = 3adf8dda-1850-44c5-8c63-bb991849bc6f { + SECTION UI = "HashDxe" + SECTION PE32 = Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/HashDxe/HashDxe.efi +} + +FILE DRIVER = b0d3689e-11f8-43c6-8ece-023a29cec35b { + SECTION UI = "RngDxe" + SECTION PE32 = Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/RNGDxe/RngDxe.efi +} + +FILE DRIVER = cccb0c28-4b24-11d5-9a5a-0090273fc14d { + SECTION PE32 = NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.efi + SECTION UI = "GraphicsConsoleDxe" +} + +FILE DRIVER = 32C71E68-83A8-46ED-AED1-094E71B12057 { + SECTION PE32 = NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/SecRSADxe/SecRSADxe.efi + SECTION UI = "SecRSADxe" +} + +FILE DRIVER = C2F9A4F5-F7B4-43E7-BA99-5EA804CC103A { + SECTION PE32 = NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/ASN1X509Dxe/ASN1X509Dxe.inf + SECTION UI = "ASN1X509Dxe" +} + +FILE DRIVER = B7F50E91-A759-412C-ADE4-DCD03E7F7C28 { + SECTION PE32 = Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/XhciDxe/XhciDxe.efi + SECTION UI = "XhciDxe" +} + +FILE DRIVER = 240612B7-A063-11D4-9A3A-0090273FC14D { + SECTION PE32 = Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/UsbBusDxe/UsbBusDxe.efi + SECTION UI = "UsbBusDxe" +} + +FILE DRIVER = 2D2E62CF-9ECF-43B7-8219-94E7FC713DFE { + SECTION PE32 = Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/UsbKbDxe/UsbKbDxe.efi + SECTION UI = "UsbKbDxe" +} + +FILE DRIVER = 9FB4B4A7-42C0-4BCD-8540-9BCC6711F83E { + SECTION PE32 = Hoya/BOOT.XF.2.2-00101-SDM845WZB-1/QcomPkg/Drivers/UsbMassStorageDxe/UsbMassStorageDxe.efi + SECTION UI = "UsbMassStorageDxe" +} + +# Raw Files +FILE FREEFORM = A91D838E-A5FA-4138-825D-455E2303079E { + SECTION UI = "BDS_Menu.cfg" + SECTION RAW = NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/RawFiles/BDS_Menu.cfg +} + + +FILE FREEFORM = A91D838E-A5FA-4138-825D-455E23030794 { + SECTION UI = "logo1.bmp" + SECTION RAW = NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/RawFiles/logo1.bmp +} + + +FILE FREEFORM = 3E5584ED-05D4-4267-9048-0D47F76F4248 { + SECTION UI = "battery_symbol_Soc10.bmp" + SECTION RAW = NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/RawFiles/battery_symbol_Soc10.bmp +} + + +FILE FREEFORM = 4753E815-DDD8-402D-BF69-9B8C4EB7573E { + SECTION UI = "battery_symbol_NoBattery.bmp" + SECTION RAW = NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/RawFiles/battery_symbol_NoBattery.bmp +} + + +FILE FREEFORM = 03DED53E-BECD-428F-9F79-5ABA64C58445 { + SECTION UI = "battery_symbol_Nocharger.bmp" + SECTION RAW = NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/RawFiles/battery_symbol_Nocharger.bmp +} + + +FILE FREEFORM = 8B86CD38-C772-4FCF-85AA-345B2B3C1AB4 { + SECTION UI = "battery_symbol_LowBatteryCharging.bmp" + SECTION RAW = NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/RawFiles/battery_symbol_LowBatteryCharging.bmp +} + + +FILE FREEFORM = 3FD97907-93F1-4349-AF3C-3B68B0A5E626 { + SECTION UI = "battery_symbol_LowBattery.bmp" + SECTION RAW = NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/RawFiles/battery_symbol_LowBattery.bmp +} + + +FILE FREEFORM = E2EA5A4F-98BD-4203-AB49-399505DDFB7D { + SECTION UI = "tsens_thermal_symbol.bmp" + SECTION RAW = NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/RawFiles/tsens_thermal_symbol.bmp +} + + +FILE FREEFORM = C72FB1A9-5527-4E13-BAC4-F671D0330145 { + SECTION UI = "tsens_thermal_err_symbol.bmp" + SECTION RAW = NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/RawFiles/tsens_thermal_err_symbol.bmp +} + + +FILE FREEFORM = B0F8D1BE-5353-4812-B1F6-07E7768204CC { + SECTION UI = "battery_symbol_DebugBoot.bmp" + SECTION RAW = NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/RawFiles/battery_symbol_DebugBoot.bmp +} + + +FILE FREEFORM = F9E8F683-E065-4E09-B4F9-0230D7CECD08 { + SECTION UI = "battery_symbol_DebugStay.bmp" + SECTION RAW = NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/RawFiles/battery_symbol_DebugStay.bmp +} + + +FILE FREEFORM = A1E235DE-E825-4591-9623-C43175811826 { + SECTION UI = "SecParti.cfg" + SECTION RAW = NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/RawFiles/SecParti.cfg +} + + +FILE FREEFORM = 45FE4B7C-150C-45DA-A021-4BEB2048EC6F { + SECTION UI = "QcomChargerCfg.cfg" + SECTION RAW = NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/RawFiles/QcomChargerCfg.cfg +} + + +FILE FREEFORM = F780C779-DD7C-47CD-BD1A-5EB414C51704 { + SECTION UI = "BATTERY.PROVISION" + SECTION RAW = NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/RawFiles/BATTERY.PROVISION +} diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Defines.dsc.inc b/Platforms/NapaliPkg/Device/oneplus-enchilada/Defines.dsc.inc new file mode 100644 index 000000000..e69de29bb diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/DeviceTreeBlob/Android/android-enchilada.dtb b/Platforms/NapaliPkg/Device/oneplus-enchilada/DeviceTreeBlob/Android/android-enchilada.dtb new file mode 100644 index 000000000..b944da3d8 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/DeviceTreeBlob/Android/android-enchilada.dtb differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/DeviceTreeBlob/Linux/linux-enchilada.dtb b/Platforms/NapaliPkg/Device/oneplus-enchilada/DeviceTreeBlob/Linux/linux-enchilada.dtb new file mode 100644 index 000000000..826a910f1 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/DeviceTreeBlob/Linux/linux-enchilada.dtb differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Library/PlatformConfigurationMapLib/PlatformConfigurationMapLib.c b/Platforms/NapaliPkg/Device/oneplus-enchilada/Library/PlatformConfigurationMapLib/PlatformConfigurationMapLib.c new file mode 100644 index 000000000..fe4baee04 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Library/PlatformConfigurationMapLib/PlatformConfigurationMapLib.c @@ -0,0 +1,59 @@ +#include +#include + +static CONFIGURATION_DESCRIPTOR_EX gDeviceConfigurationDescriptorEx[] = { + {"AbnormalResetOccurredOffset", 0x24}, + {"BootConfigRegAddr", 0x00786070}, + {"BootConfigRegMask", 0x0000003E}, + {"BootConfigRegOfset", 0x01}, + {"DBIDumpDDRBase", 0x82A00000}, + {"DDRThroughput", 6000000000}, + {"DetectRetailUserAttentionHotkey", 0x00}, + {"DetectRetailUserAttentionHotkeyCode", 0x17}, + {"DloadCookieAddr", 0x01FD3000}, + {"DloadCookieValue", 0x10}, + {"EarlyInitCoreCnt", 1}, + {"EnableACPIFallback", 0x0}, + {"EnableDisplayImageFv", 0x0}, + {"EnableDisplayThread", 0}, + {"EnableMultiThreading", 0}, + {"EnableOEMSetupAppInRetail", 0x0}, + {"EnablePXE", 0x0}, + {"EnableSDHCSwitch", 0x1}, + {"EnableSecondaryUFSforHLOS", 0}, + {"EnableShell", 0x1}, + {"EnableUfsIOC", 1}, + {"EnableVariablePolicyEngine", 7}, + {"GccCe1ClkCntlReg", 0x00152004}, + {"GccCe1ClkCntlVal", 0x00000038}, + {"MaxCoreCnt", 8}, + {"MaxLogFileSize", 0x800000}, + {"MemoryCaptureModeOffset", 0x1C}, + {"NumActiveCores", 8}, + {"NumCpus", 8}, + {"NumCpusFuseAddr", 0x5C04C}, + {"PSHoldOffset", 0xC000}, + {"PSHoldSHFT", 0x0}, + {"PwrBtnShutdownFlag", 0x0}, + {"Sdc1GpioConfigOff", 0xA00}, + {"Sdc1GpioConfigOn", 0x1E92}, + {"Sdc2GpioConfigOff", 0xA00}, + {"Sdc2GpioConfigOn", 0x1E92}, + {"SecurityFlag", 0x1C77}, + {"SerialPortBufferSize", 0x8000}, + {"SharedIMEMBaseAddr", 0x146BF000}, + {"ShmBridgememSize", 0xA00000}, + {"TzAppsRegnAddr", 0x87900000}, + {"TzAppsRegnSize", 0x02200000}, + {"TzDiagOffset", 0x720}, + {"TzDiagSize", 0x2000}, + {"UfsSmmuConfigForOtherBootDev", 1}, + {"UsbFnIoRevNum", 0x00010001}, + {"USBHS1_Config", 0x0}, + /* Terminator */ + {"Terminator", 0xFFFFFFFF}}; + +CONFIGURATION_DESCRIPTOR_EX *GetPlatformConfigurationMap() +{ + return gDeviceConfigurationDescriptorEx; +} diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Library/PlatformConfigurationMapLib/PlatformConfigurationMapLib.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Library/PlatformConfigurationMapLib/PlatformConfigurationMapLib.inf new file mode 100644 index 000000000..0efc6de6d --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Library/PlatformConfigurationMapLib/PlatformConfigurationMapLib.inf @@ -0,0 +1,20 @@ +[Defines] + INF_VERSION = 0x00010005 + BASE_NAME = PlatformConfigurationMapLib + FILE_GUID = 59C11815-F8DA-3E51-B4FB-EC1E41ED1F01 + MODULE_TYPE = BASE + VERSION_STRING = 1.0 + LIBRARY_CLASS = PlatformConfigurationMapLib + +[Sources] + PlatformConfigurationMapLib.c + +[Packages] + ArmPkg/ArmPkg.dec + MdePkg/MdePkg.dec + MdeModulePkg/MdeModulePkg.dec + EmbeddedPkg/EmbeddedPkg.dec + SurfaceDuoFamilyPkg/SurfaceDuoFamilyPkg.dec + +[LibraryClasses] + BaseLib diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Library/PlatformMemoryMapLib/PlatformMemoryMapLib.c b/Platforms/NapaliPkg/Device/oneplus-enchilada/Library/PlatformMemoryMapLib/PlatformMemoryMapLib.c new file mode 100644 index 000000000..d14198212 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Library/PlatformMemoryMapLib/PlatformMemoryMapLib.c @@ -0,0 +1,112 @@ +#include +#include + +static ARM_MEMORY_REGION_DESCRIPTOR_EX gDeviceMemoryDescriptorEx[] = { + /* Name Address Length HobOption ResourceAttribute ArmAttributes + ResourceType MemoryType */ + + /* DDR Regions */ + {"Kernel", 0x80000000, 0x01AC0000, AddMem, SYS_MEM, SYS_MEM_CAP, Reserv, WRITE_BACK_XN}, + {"HLOS 1", 0x81AC0000, 0x03B40000, AddMem, SYS_MEM, SYS_MEM_CAP, BsData, WRITE_BACK_XN}, + {"Runtime Data", 0x85600000, 0x00080000, AddMem, SYS_MEM, SYS_MEM_CAP, RtData, WRITE_BACK_XN}, + {"Runtime Code", 0x85680000, 0x00080000, AddMem, SYS_MEM, SYS_MEM_CAP, RtCode, WRITE_BACK_XN}, + {"Hypervisor", 0x85700000, 0x00600000, AddMem, SYS_MEM, SYS_MEM_CAP, Reserv, WRITE_BACK_XN}, + {"MPSS_EFS", 0x85D00000, 0x00200000, AddMem, SYS_MEM, SYS_MEM_CAP, Reserv, UNCACHED_UNBUFFERED_XN}, + {"GPU PRR", 0x85F00000, 0x00010000, AddMem, MEM_RES, WRITE_COMBINEABLE, Reserv, UNCACHED_UNBUFFERED_XN}, + {"HLOS 2", 0x85F10000, 0x000B0000, AddMem, SYS_MEM, SYS_MEM_CAP, BsData, WRITE_BACK_XN}, + {"AOP", 0x85FC0000, 0x00020000, AddMem, SYS_MEM, SYS_MEM_CAP, Reserv, WRITE_BACK_XN}, + {"AOP CMD DB", 0x85FE0000, 0x00020000, AddMem, MEM_RES, WRITE_COMBINEABLE, Reserv, UNCACHED_UNBUFFERED_XN}, + {"SMEM", 0x86000000, 0x00200000, AddMem, MEM_RES, WRITE_COMBINEABLE, Reserv, UNCACHED_UNBUFFERED}, + {"TZ", 0x86200000, 0x00B00000, AddMem, SYS_MEM, SYS_MEM_CAP, Reserv, NS_DEVICE}, + {"TZApps", 0x86D00000, 0x03C00000, NoHob, SYS_MEM, SYS_MEM_CAP, Reserv, NS_DEVICE}, + {"HLOS 3", 0x8A900000, 0x00200000, AddMem, SYS_MEM, SYS_MEM_CAP, BsData, WRITE_BACK_XN}, + {"TGCM", 0x8AB00000, 0x01400000, AddMem, MEM_RES, WRITE_COMBINEABLE, Reserv, UNCACHED_UNBUFFERED_XN}, + {"PIL_REGION", 0x8BF00000, 0x0D200000, AddMem, SYS_MEM, SYS_MEM_CAP, Reserv, UNCACHED_UNBUFFERED_XN}, + {"HLOS 4", 0x99100000, 0x04230000, AddMem, SYS_MEM, SYS_MEM_CAP, Conv, WRITE_BACK_XN}, + {"DBI Dump", 0x9D330000, 0x000D0000, NoHob, MMAP_IO, INITIALIZED, Reserv, UNCACHED_UNBUFFERED_XN}, + {"Display Reserved", 0x9D400000, 0x02400000, AddMem, MEM_RES, SYS_MEM_CAP, Reserv, WRITE_THROUGH_XN}, + {"FV Region", 0x9F800000, 0x00400000, AddMem, SYS_MEM, SYS_MEM_CAP, BsData, WRITE_BACK_XN}, + {"UEFI FD", 0x9FC00000, 0x00300000, AddMem, SYS_MEM, SYS_MEM_CAP, BsData, WRITE_BACK}, + {"SEC Heap", 0x9FF00000, 0x0008C000, AddMem, SYS_MEM, SYS_MEM_CAP, BsData, WRITE_BACK_XN}, + {"CPU Vectors", 0x9FF8C000, 0x00001000, AddMem, SYS_MEM, SYS_MEM_CAP, BsData, WRITE_BACK}, + {"MMU PageTables", 0x9FF8D000, 0x00003000, AddMem, SYS_MEM, SYS_MEM_CAP, BsData, WRITE_BACK_XN}, + {"UEFI Stack", 0x9FF90000, 0x00040000, AddMem, SYS_MEM, SYS_MEM_CAP, BsData, WRITE_BACK_XN}, + {"RSRV1", 0x9FFD0000, 0x0000A000, AddMem, SYS_MEM, SYS_MEM_CAP, Reserv, WRITE_BACK_XN}, + {"TPMControl", 0x9FFDA000, 0x00003000, AddMem, MEM_RES, WRITE_COMBINEABLE, Reserv, UNCACHED_UNBUFFERED_XN}, + {"Reset Data", 0x9FFDD000, 0x00004000, AddMem, SYS_MEM, SYS_MEM_CAP, Reserv, UNCACHED_UNBUFFERED_XN}, + {"RSRV3", 0x9FFE1000, 0x00001000, AddMem, SYS_MEM, SYS_MEM_CAP, Reserv, WRITE_BACK_XN}, + {"Capsule Header", 0x9FFE2000, 0x00001000, AddMem, SYS_MEM, SYS_MEM_CAP, Reserv, UNCACHED_UNBUFFERED_XN}, + {"RSRV2", 0x9FFE3000, 0x00014000, AddMem, SYS_MEM, SYS_MEM_CAP, Reserv, WRITE_BACK_XN}, + {"Log Buffer", 0x9FFF7000, 0x00008000, AddMem, SYS_MEM, SYS_MEM_CAP, Reserv, WRITE_BACK_XN}, + {"Info Blk", 0x9FFFF000, 0x00001000, AddMem, SYS_MEM, SYS_MEM_CAP, Reserv, WRITE_BACK_XN}, + {"DXE Heap", 0xA0000000, 0x2E000000, AddMem, SYS_MEM, SYS_MEM_CAP, Conv, WRITE_BACK_XN}, + {"UEFI FD", 0xCE000000, 0x02000000, AddMem, SYS_MEM, SYS_MEM_CAP, BsData, WRITE_BACK}, + + /* Other memory regions */ + {"AOP_SS_MSG_RAM", 0x0C300000, 0x00100000, NoHob, MMAP_IO, INITIALIZED, Conv, NS_DEVICE}, + {"IMEM Base", 0x14680000, 0x0003F000, NoHob, MMAP_IO, INITIALIZED, Conv, NS_DEVICE}, + {"IMEM Cookie Base", 0x146BF000, 0x00001000, AddDev, MMAP_IO, INITIALIZED, Conv, NS_DEVICE}, + + /* Register regions */ + {"GCC_CLK_CTL", 0x00100000, 0x000B0000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"SECURITY CONTROL", 0x00780000, 0x00007000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"PRNG_CFG_PRNG", 0x00790000, 0x00010000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"QUPV3_0_GSI", 0x00800000, 0x000D0000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"QUPV3_1_GSI", 0x00A00000, 0x000D0000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"UFS UFS REGS", 0x01D80000, 0x00020000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"CRYPTO0 CRYPTO", 0x01DC0000, 0x00040000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"TCSR_TCSR_REGS", 0x01FC0000, 0x00030000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"TLMM_EAST", 0x03500000, 0x00300000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"TLMM_NORTH", 0x03900000, 0x00300000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"TLMM_SOUTH", 0x03D00000, 0x00300000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"GPU_CPR", 0x0509A000, 0x00004000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"RPMH_CPRF", 0x0C200000, 0x0000F000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"GPU_GMU_GX_BLK", 0x0506A000, 0x00001000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"GPU_GMU_CX_BLK", 0x0507D000, 0x0000C000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"GPU_CC", 0x05090000, 0x00010000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"GPU_ISENSE", 0x0508B000, 0x00002000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"QUPV3_SSC_GSI", 0x05A00000, 0x000D0000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"PERIPH_SS", 0x08800000, 0x00200000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"USB30_PRIM", 0x0A600000, 0x0011B000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"VIDEO_CC", 0x0AB00000, 0x00010000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"TITAN_SS_TITAN_1", 0x0AC00000, 0x0004A000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"TITAN_A_CCI", 0x0AC4A000, 0x00004000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"TITAN_SS_TITAN_2", 0x0AC4E000, 0x000B2000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"TITAN_CAM_CC", 0x0AD00000, 0x00010000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"MDSS", 0x0AE00000, 0x00134000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"DISP_CC", 0x0AF00000, 0x00020000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"PDC_DISPLAY", 0x0B290000, 0x00010000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"PDC_DISP_SEQ", 0x0B490000, 0x00010000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"RPMH_BCM_BCM_TOP", 0x0BA00000, 0x00200000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"SLP_CNTR", 0x0C221000, 0x00001000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"TSENS0", 0x0C222000, 0x00001000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"TSENS1", 0x0C223000, 0x00001000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"TSENS0_TM", 0x0C263000, 0x00001000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"PSHOLD", 0x0C264000, 0x00001000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"TSENS1_TM", 0x0C265000, 0x00001000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"PMIC ARB SPMI", 0x0C400000, 0x02800000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"SMMU", 0x15000000, 0x000D0000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"GOLD_SAW4_SRM", 0x17830000, 0x00001000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"SILVER_SAW4_SRM", 0x17840000, 0x00001000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"GOLD_CLK_CTL", 0x178B0000, 0x00001000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"SILVER_CLK_CTL", 0x178C0000, 0x00001000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"L3_CLK_CTL", 0x178D0000, 0x00001000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"APSS_WDT_TMR1", 0x17980000, 0x00001000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"APSS_IPC_INT", 0x17990000, 0x00001000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"APSS_RSC_RSCCR", 0x179C0000, 0x00030000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"APSS_GIC500_GICD", 0x17A00000, 0x00010000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"APSS_GIC500_GICR", 0x17A60000, 0x00100000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"QTIMER", 0x17C00000, 0x00110000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"OSM", 0x17D20000, 0x000B0000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"PCIE_0_WRAPPER_AXI",0x60000000, 0x02000000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"PCIE_1_WRAPPER_AXI",0x40000000, 0x02000000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"PCIE_0_WRAPPER_AHB",0x01C00000, 0x00008000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + {"PCIE_1_WRAPPER_AHB",0x01C08000, 0x00008000, AddDev, MMAP_IO, UNCACHEABLE, MmIO, NS_DEVICE}, + + /* Terminator for MMU */ + {"Terminator", 0, 0, 0, 0, 0, 0, 0}}; + +ARM_MEMORY_REGION_DESCRIPTOR_EX *GetPlatformMemoryMap() +{ + return gDeviceMemoryDescriptorEx; +} diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/Library/PlatformMemoryMapLib/PlatformMemoryMapLib.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/Library/PlatformMemoryMapLib/PlatformMemoryMapLib.inf new file mode 100644 index 000000000..3748e60a2 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/Library/PlatformMemoryMapLib/PlatformMemoryMapLib.inf @@ -0,0 +1,20 @@ +[Defines] + INF_VERSION = 0x00010005 + BASE_NAME = PlatformMemoryMapLib + FILE_GUID = 59C11815-F8DA-4F49-B4FB-EC1E41ED1F01 + MODULE_TYPE = BASE + VERSION_STRING = 1.0 + LIBRARY_CLASS = PlatformMemoryMapLib + +[Sources] + PlatformMemoryMapLib.c + +[Packages] + ArmPkg/ArmPkg.dec + MdePkg/MdePkg.dec + MdeModulePkg/MdeModulePkg.dec + EmbeddedPkg/EmbeddedPkg.dec + SurfaceDuoFamilyPkg/SurfaceDuoFamilyPkg.dec + +[LibraryClasses] + BaseLib diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/PatchedBinaries/ButtonsDxe.depex b/Platforms/NapaliPkg/Device/oneplus-enchilada/PatchedBinaries/ButtonsDxe.depex new file mode 100644 index 000000000..f943d352a Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/PatchedBinaries/ButtonsDxe.depex differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/PatchedBinaries/ButtonsDxe.efi b/Platforms/NapaliPkg/Device/oneplus-enchilada/PatchedBinaries/ButtonsDxe.efi new file mode 100644 index 000000000..a1aba6ea8 Binary files /dev/null and b/Platforms/NapaliPkg/Device/oneplus-enchilada/PatchedBinaries/ButtonsDxe.efi differ diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/PatchedBinaries/ButtonsDxe.inf b/Platforms/NapaliPkg/Device/oneplus-enchilada/PatchedBinaries/ButtonsDxe.inf new file mode 100644 index 000000000..34e1f4ba3 --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/PatchedBinaries/ButtonsDxe.inf @@ -0,0 +1,14 @@ +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = ButtonsDxe + FILE_GUID = 5BD181DB-0487-4F1A-AE73-820E165611B3 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = EfiEntry + +[Binaries.AARCH64] + DXE_DEPEX|ButtonsDxe.depex|* + PE32|ButtonsDxe.efi|* + +[Depex] + TRUE diff --git a/Platforms/NapaliPkg/Device/oneplus-enchilada/PcdsFixedAtBuild.dsc.inc b/Platforms/NapaliPkg/Device/oneplus-enchilada/PcdsFixedAtBuild.dsc.inc new file mode 100644 index 000000000..13543f8ed --- /dev/null +++ b/Platforms/NapaliPkg/Device/oneplus-enchilada/PcdsFixedAtBuild.dsc.inc @@ -0,0 +1,14 @@ +[PcdsFixedAtBuild.common] +gSurfaceDuoFamilyPkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1080 +gSurfaceDuoFamilyPkgTokenSpaceGuid.PcdMipiFrameBufferHeight|2280 +#gSurfaceDuoFamilyPkgTokenSpaceGuid.PcdMipiFrameBufferPixelBpp|32 + +# Smbios Info +gSurfaceDuoFamilyPkgTokenSpaceGuid.PcdSmbiosSystemBrand|"OnePlus" +gSurfaceDuoFamilyPkgTokenSpaceGuid.PcdSmbiosSystemModel|"6" +gSurfaceDuoFamilyPkgTokenSpaceGuid.PcdSmbiosBoardModel|"17819" +gSurfaceDuoFamilyPkgTokenSpaceGuid.PcdSmbiosSystemRetailModel|"enchilada" +gSurfaceDuoFamilyPkgTokenSpaceGuid.PcdSmbiosSystemRetailSku|"A6003" + +gSurfaceDuoFamilyPkgTokenSpaceGuid.PcdABLProduct|"OnePlus 6" + diff --git a/Platforms/NapaliPkg/Include/ACPI.inc b/Platforms/NapaliPkg/Include/ACPI.inc new file mode 100644 index 000000000..ef53e8f4f --- /dev/null +++ b/Platforms/NapaliPkg/Include/ACPI.inc @@ -0,0 +1,16 @@ +FILE FREEFORM = 7E374E25-8E01-4FEE-87F2-390C23C606CD { + SECTION RAW = SurfaceDuoACPI/845/builtin/Csrt.acpi + SECTION RAW = SurfaceDuoACPI/845/builtin/Facp.acpi + SECTION RAW = SurfaceDuoACPI/845/builtin/Facs.acpi + SECTION RAW = SurfaceDuoACPI/845/builtin/Gtdt.acpi + SECTION RAW = SurfaceDuoACPI/845/builtin/IORT.acpi + SECTION RAW = SurfaceDuoACPI/845/builtin/Madt.acpi + SECTION RAW = SurfaceDuoACPI/845/builtin/Mcfg.acpi + SECTION RAW = SurfaceDuoACPI/845/builtin/Pptt.acpi + SECTION RAW = SurfaceDuoACPI/845/builtin/dbg2.acpi + SECTION RAW = NapaliPkg/Device/$(TARGET_DEVICE)/ACPI/DSDT.aml + SECTION RAW = SurfaceDuoACPI/QcomACPI/common/builtin/SSDT.aml + SECTION RAW = SurfaceDuoACPI/QcomACPI/common/builtin/TPMDev.dat + SECTION RAW = SurfaceDuoACPI/QcomACPI/common/builtin/SoftwareTpm2Table.aml + SECTION UI = "AcpiTables" +} diff --git a/Platforms/NapaliPkg/Include/FDT.inc b/Platforms/NapaliPkg/Include/FDT.inc new file mode 100644 index 000000000..62f00ed4b --- /dev/null +++ b/Platforms/NapaliPkg/Include/FDT.inc @@ -0,0 +1,4 @@ +FILE FREEFORM = 25462CDA-221F-47DF-AC1D-259CFAA4E326 { + SECTION RAW = NapaliPkg/Device/$(TARGET_DEVICE)/DeviceTreeBlob/Linux/linux-$(FDT) + SECTION UI = "FirmwareDeviceTree" +} diff --git a/Platforms/NapaliPkg/Include/Resources/License.txt b/Platforms/NapaliPkg/Include/Resources/License.txt new file mode 100644 index 000000000..ea151dcae --- /dev/null +++ b/Platforms/NapaliPkg/Include/Resources/License.txt @@ -0,0 +1,47 @@ +使用本软件,请您详细阅读以下信息并同意条款: +1. 本软件完全免费并开放源代码,开源项目地址: https://github.com/woa-msmnile +2. 本软件源代码遵循BSD 2-Clause开源许可证开源,部分代码遵循GPLv2许可证开源 +3. 使用本软件的源代码及其二进制编译文件,你必须遵循BSD 2-Clause: + +* Copyright (c) Andrei Warkentin + 著作权由Andrei Warkentin所有,著作权人保留一切权利。 +* Copyright (c) Apple Inc. + 著作权由Apple Inc所有,著作权人保留一切权利。 +* Copyright (c) ARM Limited. + 著作权由ARM Limited所有,著作权人保留一切权利。 +* Copyright (c) Bingxing Wang. + 著作权由Bingxing Wang所有,著作权人保留一切权利。 +* Copyright (c) DuoWoA authors. + 著作权由Bingxing Wang所有,著作权人保留一切权利。 +* Copyright (c) Intel Corporation. + 著作权由Intel Corporation所有,著作权人保留一切权利。 +* Copyright (c) Linaro Limited. + 著作权由Linaro Limited所有,著作权人保留一切权利。 +* Copyright (c) Microsoft Corporation. + 著作权由Microsoft Corporation所有,著作权人保留一切权利。 +* Copyright (c) Samuel Tulach. + 著作权由Samuel Tulach所有,著作权人保留一切权利。 +* Copyright (c) The Android Open Source Project. + 著作权由The Android Open Source Project所有,著作权人保留一切权利。 +* Copyright (c) The Linux Foundation. + 著作权由The Linux Foundation所有,著作权人保留一切权利。 +* Copyright (c) Travis Geiselbrecht. + 著作权由Travis Geiselbrecht所有,著作权人保留一切权利。 + +源代码形式或二进制形式的再分发和使用,无论是否修改,均需要满足以下条件: + +* 二进制形式的再分发必须在文档和/或其他提供的材料中复制上述版权声明、条件列表和以下免责声明。 +* 源代码的再发布必须保留上述版权声明、此条件列表和以下免责声明。 + +本软件由著作权人和贡献者提供,“原样”提供,不担保任何明示或暗示的担保,包括但不限于 +商品性和适用于特定用途的担保。在任何情况下,著作权人或贡献者均不对任何直接,间接, +偶然,特殊,惩罚性或后果性损害(包括但不限于采购替代商品或服务;使用,数据或利润 +的损失;或业务中断)负责,即使已被告知此类损害的可能性也是如此。使用本软件造成的 +任何损害,无论是在合同,严格责任或侵权(包括疏忽或其他)的基础上,均应由用户自行承担。 + +4. 如果您使用的是刷机工具,并且其未遵循协议要求在软件或其文档中附加本许可证和著作权人,我们有权对其警告并提起法律诉讼。 + +- - - - - - - - - - - - - - - - - - - - +>> 如果您不同意,请按音量下 +>> 如果您同意,请同时按下音量上和电源键 +- - - - - - - - - - - - - - - - - - - - diff --git a/Platforms/NapaliPkg/Include/Resources/RegulatoryLogos.png b/Platforms/NapaliPkg/Include/Resources/RegulatoryLogos.png new file mode 100644 index 000000000..cc270a04d Binary files /dev/null and b/Platforms/NapaliPkg/Include/Resources/RegulatoryLogos.png differ diff --git a/Platforms/NapaliPkg/Napali.dsc b/Platforms/NapaliPkg/Napali.dsc new file mode 100644 index 000000000..2f77ee9b0 --- /dev/null +++ b/Platforms/NapaliPkg/Napali.dsc @@ -0,0 +1,113 @@ +## @file +# +# Copyright (c) 2011-2015, ARM Limited. All rights reserved. +# Copyright (c) 2014, Linaro Limited. All rights reserved. +# Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved. +# Copyright (c) 2018, Bingxing Wang. All rights reserved. +# +# SPDX-License-Identifier: BSD-2-Clause-Patent +# +## + +!ifndef TARGET_DEVICE + !error "TARGET_DEVICE must be defined" +!endif + +################################################################################ +# +# Defines Section - statements that will be processed to create a Makefile. +# +################################################################################ +[Defines] + PLATFORM_NAME = Napali + PLATFORM_GUID = b6325ac2-9f3f-4b1d-b129-ac7b35ddde62 + PLATFORM_VERSION = 0.1 + DSC_SPECIFICATION = 0x00010005 + OUTPUT_DIRECTORY = Build/NapaliPkg + SUPPORTED_ARCHITECTURES = AARCH64 + BUILD_TARGETS = DEBUG|RELEASE + SKUID_IDENTIFIER = DEFAULT + FLASH_DEFINITION = NapaliPkg/Napali.fdf + SECURE_BOOT = 1 + USE_PHYSICAL_TIMER = 1 + USE_SCREEN_FOR_SERIAL_OUTPUT = 0 + USE_UART_FOR_SERIAL_OUTPUT = 0 + USE_MEMORY_FOR_SERIAL_OUTPUT = 0 + USE_SIMPLEFBDXE = 1 + + DEFAULT_KEYS = TRUE + PK_DEFAULT_FILE = SurfaceDuoFamilyPkg/Include/Resources/SecureBoot/keystore/WOAMSMNILE-PK.der + KEK_DEFAULT_FILE1 = SurfaceDuoFamilyPkg/Include/Resources/SecureBoot/keystore/KEK/Certificates/MicCorKEKCA2011_2011-06-24.der + KEK_DEFAULT_FILE2 = SurfaceDuoFamilyPkg/Include/Resources/SecureBoot/keystore/KEK/Certificates/microsoft_corporation_kek_2k_ca_2023.der + KEK_DEFAULT_FILE3 = SurfaceDuoFamilyPkg/Include/Resources/SecureBoot/keystore/WOAMSMNILE-KEK.der + DB_DEFAULT_FILE1 = SurfaceDuoFamilyPkg/Include/Resources/SecureBoot/keystore/DB/Certificates/MicWinProPCA2011_2011-10-19.der + DB_DEFAULT_FILE2 = SurfaceDuoFamilyPkg/Include/Resources/SecureBoot/keystore/DB/Certificates/windows_uefi_ca_2023.der + DB_DEFAULT_FILE3 = SurfaceDuoFamilyPkg/Include/Resources/SecureBoot/keystore/DB/Certificates/MicCorUEFCA2011_2011-06-27.der + DB_DEFAULT_FILE4 = SurfaceDuoFamilyPkg/Include/Resources/SecureBoot/keystore/DB/Certificates/microsoft_uefi_ca_2023.der + DB_DEFAULT_FILE5 = SurfaceDuoFamilyPkg/Include/Resources/SecureBoot/keystore/DB/Certificates/microsoft_option_rom_uefi_ca_2023.der + DBX_DEFAULT_FILE1 = SurfaceDuoFamilyPkg/Include/Resources/SecureBoot/Artifacts/Aarch64/DefaultDbx.bin + + DXE_CRYPTO_SERVICES = STANDARD + PEI_CRYPTO_SERVICES = NONE + RUNTIMEDXE_CRYPTO_SERVICES = NONE + SMM_CRYPTO_SERVICES = NONE + STANDALONEMM_CRYPTO_SERVICES = NONE + DXE_CRYPTO_ARCH = AARCH64 + RUNTIMEDXE_CRYPTO_ARCH = AARCH64 + PEI_CRYPTO_ARCH = NONE + SMM_CRYPTO_ARCH = NONE + STANDALONEMM_CRYPTO_ARCH = NONE + + PLATFORM_HAS_ACTLR_EL1_UNIMPLEMENTED_ERRATA = 0 + PLATFORM_HAS_AMCNTENSET0_EL0_UNIMPLEMENTED_ERRATA = 0 + PLATFORM_HAS_GIC_V3_WITHOUT_IRM_FLAG_SUPPORT_ERRATA = 0 + PLATFORM_HAS_PSCI_MEMPROTECT_FAILING_ERRATA = 1 + +!include NapaliPkg/Device/$(TARGET_DEVICE)/Defines.dsc.inc + +[BuildOptions.common] + +GCC:*_*_AARCH64_CC_FLAGS = -DSILICON_PLATFORM=845 + +[PcdsFixedAtBuild.common] + # Platform-specific + gArmTokenSpaceGuid.PcdSystemMemorySize|0x100000000 # 4GB + + gSurfaceDuoFamilyPkgTokenSpaceGuid.PcdABLProduct|"napali" + +[Components.common] + # Graphics Driver + !if $(USE_SIMPLEFBDXE) == TRUE + SurfaceDuoFamilyPkg/Driver/SimpleFbDxe/SimpleFbDxe.inf + !endif + SurfaceDuoFamilyPkg/Driver/GpioButtons/GpioButtons.inf + + # Auto Memory Adder + SurfaceDuoFamilyPkg/Driver/RamPartitionDxe/RamPartitionDxe.inf + +# Device Specific Drivers +!include NapaliPkg/Device/$(TARGET_DEVICE)/DXE.dsc.inc + +[LibraryClasses.common] + # Move PlatformMemoryMapLib to Device//Library + PlatformMemoryMapLib|NapaliPkg/Device/$(TARGET_DEVICE)/Library/PlatformMemoryMapLib/PlatformMemoryMapLib.inf + + # Move PlatformConfigurationMapLib to Device//Library + PlatformConfigurationMapLib|NapaliPkg/Device/$(TARGET_DEVICE)/Library/PlatformConfigurationMapLib/PlatformConfigurationMapLib.inf + + +# Suggest you updating them to your device's dsc.inc. +#[PcdsDynamicDefault.common] +# gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1080 +# gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|2248 +# gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|1080 +# gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|2248 +# gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutRow|120 # 94.73 +# gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutColumn|90 # 168.75 +# gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|120 # 94.73 +# gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|90 # 168.75 + +!include QcomPkg/QcomPkg.dsc.inc +!include NapaliPkg/Device/$(TARGET_DEVICE)/PcdsFixedAtBuild.dsc.inc +!include SurfaceDuoFamilyPkg/SurfaceDuoFamily.dsc.inc +!include SurfaceDuoFamilyPkg/Frontpage.dsc.inc diff --git a/Platforms/NapaliPkg/Napali.fdf b/Platforms/NapaliPkg/Napali.fdf new file mode 100644 index 000000000..473c149ff --- /dev/null +++ b/Platforms/NapaliPkg/Napali.fdf @@ -0,0 +1,213 @@ +## @file +# +# Copyright (c) 2018, Linaro Limited. All rights reserved. +# +# SPDX-License-Identifier: BSD-2-Clause-Patent +# +## + +################################################################################ +# +# FD Section +# The [FD] Section is made up of the definition statements and a +# description of what goes into the Flash Device Image. Each FD section +# defines one flash "device" image. A flash device image may be one of +# the following: Removable media bootable image (like a boot floppy +# image,) an Option ROM image (that would be "flashed" into an add-in +# card,) a System "Flash" image (that would be burned into a system's +# flash) or an Update ("Capsule") image that will be used to update and +# existing system flash. +# +################################################################################ + +[FD.SDM845_EFI] +BaseAddress = 0xCE000000|gArmTokenSpaceGuid.PcdFdBaseAddress #The base address of the FLASH Device. +Size = 0x02000000|gArmTokenSpaceGuid.PcdFdSize #The size in bytes of the FLASH Device +ErasePolarity = 1 +BlockSize = 0x2000 +NumBlocks = 0x1000 + +################################################################################ +# +# Following are lists of FD Region layout which correspond to the locations of different +# images within the flash device. +# +# Regions must be defined in ascending order and may not overlap. +# +# A Layout Region start with a eight digit hex offset (leading "0x" required) followed by +# the pipe "|" character, followed by the size of the region, also in hex with the leading +# "0x" characters. Like: +# Offset|Size +# PcdOffsetCName|PcdSizeCName +# RegionType +# +################################################################################ +0x00000000|0x00300000 +gArmTokenSpaceGuid.PcdFvBaseAddress|gArmTokenSpaceGuid.PcdFvSize +FV = FVMAIN_COMPACT + +################################################################################ +# +# FV Section +# +# [FV] section is used to define what components or modules are placed within a flash +# device file. This section also defines order the components and modules are positioned +# within the image. The [FV] section consists of define statements, set statements and +# module statements. +# +################################################################################ + +[FV.FvMain] +FvNameGuid = 631008B0-B2D1-410A-8B49-2C5C4D8ECC7E +BlockSize = 0x40 +NumBlocks = 0 # This FV gets compressed so make it just big enough +FvAlignment = 8 # FV alignment and FV attributes setting. +ERASE_POLARITY = 1 +MEMORY_MAPPED = TRUE +STICKY_WRITE = TRUE +LOCK_CAP = TRUE +LOCK_STATUS = TRUE +WRITE_DISABLED_CAP = TRUE +WRITE_ENABLED_CAP = TRUE +WRITE_STATUS = TRUE +WRITE_LOCK_CAP = TRUE +WRITE_LOCK_STATUS = TRUE +READ_DISABLED_CAP = TRUE +READ_ENABLED_CAP = TRUE +READ_STATUS = TRUE +READ_LOCK_CAP = TRUE +READ_LOCK_STATUS = TRUE + + !include NapaliPkg/Device/$(TARGET_DEVICE)/APRIORI.inc + !include NapaliPkg/Device/$(TARGET_DEVICE)/DXE.inc + + # Secure Boot Key Enroll + INF SurfaceDuoFamilyPkg/Driver/SecureBootProvisioningDxe/SecureBootProvisioningDxe.inf + + INF EmbeddedPkg/Drivers/VirtualKeyboardDxe/VirtualKeyboardDxe.inf + + # BDS + INF SurfaceDuoFamilyPkg/Driver/RamPartitionDxe/RamPartitionDxe.inf + INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf + INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf + INF MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf + INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf + # HID Support + INF HidPkg/HidKeyboardDxe/HidKeyboardDxe.inf + INF HidPkg/HidMouseAbsolutePointerDxe/HidMouseAbsolutePointerDxe.inf + INF HidPkg/UsbKbHidDxe/UsbKbHidDxe.inf + INF HidPkg/UsbMouseHidDxe/UsbMouseHidDxe.inf + + # Disk IO + INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf + INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf + + # ACPI and SMBIOS + INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf + INF MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf + INF SurfaceDuoFamilyPkg/Driver/SmBiosTableDxe/SmBiosTableDxe.inf + + # ACPI Tables + !include NapaliPkg/Include/ACPI.inc + + # DT + INF EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformDxe.inf + !include NapaliPkg/Include/FDT.inc + + INF MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmpDxe.inf + + !include SurfaceDuoFamilyPkg/Frontpage.fdf.inc + + FILE FREEFORM = PCD(gMsCorePkgTokenSpaceGuid.PcdRegulatoryGraphicFileGuid) { + SECTION RAW = NapaliPkg/Include/Resources/RegulatoryLogos.png + } + + INF SurfaceDuoFamilyPkg/Driver/GpioButtons/GpioButtons.inf + + INF AdvLoggerPkg/AdvancedFileLogger/AdvancedFileLogger.inf + INF ArmPkg/Drivers/ArmGic/ArmGicDxe.inf + INF ArmPkg/Drivers/CpuDxe/CpuDxe.inf + INF ArmPkg/Drivers/TimerDxe/TimerDxe.inf + INF EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf + INF EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf + INF FatPkg/EnhancedFatDxe/Fat.inf +# INF MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf +# INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf + INF MdeModulePkg/Bus/Usb/UsbMouseAbsolutePointerDxe/UsbMouseAbsolutePointerDxe.inf + INF MdeModulePkg/Core/Dxe/DxeMain.inf + INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf + INF MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf + INF MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.inf + INF MdeModulePkg/Universal/BdsDxe/BdsDxe.inf + INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf + INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf + INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf + INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf + INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf + INF MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystemDxe.inf + INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf + INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf + INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf + INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf + INF MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf +# INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf + INF MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf + INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf + + INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf + # INF NetworkPkg/ArpDxe/ArpDxe.inf + # INF NetworkPkg/Dhcp4Dxe/Dhcp4Dxe.inf + # INF NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf + # INF NetworkPkg/DnsDxe/DnsDxe.inf + # INF NetworkPkg/DpcDxe/DpcDxe.inf + # INF NetworkPkg/HttpDxe/HttpDxe.inf + # INF NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf + # INF NetworkPkg/Ip4Dxe/Ip4Dxe.inf + # INF NetworkPkg/Ip6Dxe/Ip6Dxe.inf + # INF NetworkPkg/MnpDxe/MnpDxe.inf + # INF NetworkPkg/Mtftp4Dxe/Mtftp4Dxe.inf + # INF NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf + # INF NetworkPkg/SnpDxe/SnpDxe.inf + # INF NetworkPkg/TcpDxe/TcpDxe.inf + # INF NetworkPkg/TlsDxe/TlsDxe.inf + # INF NetworkPkg/Udp4Dxe/Udp4Dxe.inf + # INF NetworkPkg/Udp6Dxe/Udp6Dxe.inf + # INF NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf + # INF NetworkPkg/VlanConfigDxe/VlanConfigDxe.inf + + INF SurfaceDuoFamilyPkg/UFP/ufpdevicefw.inf + + INF QcomModulePkg/Application/LinuxLoader/LinuxLoader.inf + +[FV.FVMAIN_COMPACT] +FvAlignment = 8 +ERASE_POLARITY = 1 +MEMORY_MAPPED = TRUE +STICKY_WRITE = TRUE +LOCK_CAP = TRUE +LOCK_STATUS = TRUE +WRITE_DISABLED_CAP = TRUE +WRITE_ENABLED_CAP = TRUE +WRITE_STATUS = TRUE +WRITE_LOCK_CAP = TRUE +WRITE_LOCK_STATUS = TRUE +READ_DISABLED_CAP = TRUE +READ_ENABLED_CAP = TRUE +READ_STATUS = TRUE +READ_LOCK_CAP = TRUE +READ_LOCK_STATUS = TRUE + + INF SurfaceDuoFamilyPkg/PrePi/PeiUniCore.inf + + FILE FREEFORM = dde58710-41cd-4306-dbfb-3fa90bb1d2dd { + SECTION UI = "uefiplat.cfg" + SECTION RAW = NapaliPkg/Device/$(TARGET_DEVICE)/Binaries/RawFiles/uefiplat.cfg + } + + FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 { + SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE { + SECTION FV_IMAGE = FVMAIN + } + } + + !include SurfaceDuoFamilyPkg/SurfaceDuoFamily.fdf.inc diff --git a/Platforms/NapaliPkg/NapaliNoSb.dsc b/Platforms/NapaliPkg/NapaliNoSb.dsc new file mode 100644 index 000000000..8577fa6f3 --- /dev/null +++ b/Platforms/NapaliPkg/NapaliNoSb.dsc @@ -0,0 +1,113 @@ +## @file +# +# Copyright (c) 2011-2015, ARM Limited. All rights reserved. +# Copyright (c) 2014, Linaro Limited. All rights reserved. +# Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved. +# Copyright (c) 2018, Bingxing Wang. All rights reserved. +# +# SPDX-License-Identifier: BSD-2-Clause-Patent +# +## + +!ifndef TARGET_DEVICE + !error "TARGET_DEVICE must be defined" +!endif + +################################################################################ +# +# Defines Section - statements that will be processed to create a Makefile. +# +################################################################################ +[Defines] + PLATFORM_NAME = Napali + PLATFORM_GUID = b6325ac2-9f3f-4b1d-b129-ac7b35ddde62 + PLATFORM_VERSION = 0.1 + DSC_SPECIFICATION = 0x00010005 + OUTPUT_DIRECTORY = Build/NapaliPkg + SUPPORTED_ARCHITECTURES = AARCH64 + BUILD_TARGETS = DEBUG|RELEASE + SKUID_IDENTIFIER = DEFAULT + FLASH_DEFINITION = NapaliPkg/Napali.fdf + SECURE_BOOT = 0 + USE_PHYSICAL_TIMER = 1 + USE_SCREEN_FOR_SERIAL_OUTPUT = 0 + USE_UART_FOR_SERIAL_OUTPUT = 0 + USE_MEMORY_FOR_SERIAL_OUTPUT = 0 + USE_SIMPLEFBDXE = 1 + + DEFAULT_KEYS = FALSE + PK_DEFAULT_FILE = SurfaceDuoFamilyPkg/Include/Resources/SecureBoot/keystore/WOAMSMNILE-PK.der + KEK_DEFAULT_FILE1 = SurfaceDuoFamilyPkg/Include/Resources/SecureBoot/keystore/KEK/Certificates/MicCorKEKCA2011_2011-06-24.der + KEK_DEFAULT_FILE2 = SurfaceDuoFamilyPkg/Include/Resources/SecureBoot/keystore/KEK/Certificates/microsoft_corporation_kek_2k_ca_2023.der + KEK_DEFAULT_FILE3 = SurfaceDuoFamilyPkg/Include/Resources/SecureBoot/keystore/WOAMSMNILE-KEK.der + DB_DEFAULT_FILE1 = SurfaceDuoFamilyPkg/Include/Resources/SecureBoot/keystore/DB/Certificates/MicWinProPCA2011_2011-10-19.der + DB_DEFAULT_FILE2 = SurfaceDuoFamilyPkg/Include/Resources/SecureBoot/keystore/DB/Certificates/windows_uefi_ca_2023.der + DB_DEFAULT_FILE3 = SurfaceDuoFamilyPkg/Include/Resources/SecureBoot/keystore/DB/Certificates/MicCorUEFCA2011_2011-06-27.der + DB_DEFAULT_FILE4 = SurfaceDuoFamilyPkg/Include/Resources/SecureBoot/keystore/DB/Certificates/microsoft_uefi_ca_2023.der + DB_DEFAULT_FILE5 = SurfaceDuoFamilyPkg/Include/Resources/SecureBoot/keystore/DB/Certificates/microsoft_option_rom_uefi_ca_2023.der + DBX_DEFAULT_FILE1 = SurfaceDuoFamilyPkg/Include/Resources/SecureBoot/Artifacts/Aarch64/DefaultDbx.bin + + DXE_CRYPTO_SERVICES = STANDARD + PEI_CRYPTO_SERVICES = NONE + RUNTIMEDXE_CRYPTO_SERVICES = NONE + SMM_CRYPTO_SERVICES = NONE + STANDALONEMM_CRYPTO_SERVICES = NONE + DXE_CRYPTO_ARCH = AARCH64 + RUNTIMEDXE_CRYPTO_ARCH = AARCH64 + PEI_CRYPTO_ARCH = NONE + SMM_CRYPTO_ARCH = NONE + STANDALONEMM_CRYPTO_ARCH = NONE + + PLATFORM_HAS_ACTLR_EL1_UNIMPLEMENTED_ERRATA = 0 + PLATFORM_HAS_AMCNTENSET0_EL0_UNIMPLEMENTED_ERRATA = 0 + PLATFORM_HAS_GIC_V3_WITHOUT_IRM_FLAG_SUPPORT_ERRATA = 0 + PLATFORM_HAS_PSCI_MEMPROTECT_FAILING_ERRATA = 1 + +!include NapaliPkg/Device/$(TARGET_DEVICE)/Defines.dsc.inc + +[BuildOptions.common] + +GCC:*_*_AARCH64_CC_FLAGS = -DSILICON_PLATFORM=845 + +[PcdsFixedAtBuild.common] + # Platform-specific + gArmTokenSpaceGuid.PcdSystemMemorySize|0x100000000 # 4GB + + gSurfaceDuoFamilyPkgTokenSpaceGuid.PcdABLProduct|"napali" + +[Components.common] + # Graphics Driver + !if $(USE_SIMPLEFBDXE) == TRUE + SurfaceDuoFamilyPkg/Driver/SimpleFbDxe/SimpleFbDxe.inf + !endif + SurfaceDuoFamilyPkg/Driver/GpioButtons/GpioButtons.inf + + # Auto Memory Adder + SurfaceDuoFamilyPkg/Driver/RamPartitionDxe/RamPartitionDxe.inf + +# Device Specific Drivers +!include NapaliPkg/Device/$(TARGET_DEVICE)/DXE.dsc.inc + +[LibraryClasses.common] + # Move PlatformMemoryMapLib to Device//Library + PlatformMemoryMapLib|NapaliPkg/Device/$(TARGET_DEVICE)/Library/PlatformMemoryMapLib/PlatformMemoryMapLib.inf + + # Move PlatformConfigurationMapLib to Device//Library + PlatformConfigurationMapLib|NapaliPkg/Device/$(TARGET_DEVICE)/Library/PlatformConfigurationMapLib/PlatformConfigurationMapLib.inf + + +# Suggest you updating them to your device's dsc.inc. +#[PcdsDynamicDefault.common] +# gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1080 +# gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|2248 +# gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|1080 +# gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|2248 +# gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutRow|120 # 94.73 +# gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutColumn|90 # 168.75 +# gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|120 # 94.73 +# gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|90 # 168.75 + +!include QcomPkg/QcomPkg.dsc.inc +!include NapaliPkg/Device/$(TARGET_DEVICE)/PcdsFixedAtBuild.dsc.inc +!include SurfaceDuoFamilyPkg/SurfaceDuoFamily.dsc.inc +!include SurfaceDuoFamilyPkg/Frontpage.dsc.inc diff --git a/Platforms/NapaliPkg/NapaliPkg.dec b/Platforms/NapaliPkg/NapaliPkg.dec new file mode 100644 index 000000000..455976e24 --- /dev/null +++ b/Platforms/NapaliPkg/NapaliPkg.dec @@ -0,0 +1,11 @@ +[Defines] + DEC_SPECIFICATION = 0x00010005 + PACKAGE_NAME = NapaliPkg + PACKAGE_GUID = 5fd522a5-b671-429f-957f-75113dd02435 + PACKAGE_VERSION = 0.1 + +[Includes.common] + Include # Root include for the package + +[Guids.common] + gRennellPkgTokenSpaceGuid = { 0x4c59628e, 0x0a8a, 0x4099, { 0x8d, 0xe5, 0xf2, 0x08, 0xff, 0x80, 0xc4, 0xbf } } diff --git a/Platforms/NapaliPkg/PlatformBuild.py b/Platforms/NapaliPkg/PlatformBuild.py new file mode 100644 index 000000000..f06969a23 --- /dev/null +++ b/Platforms/NapaliPkg/PlatformBuild.py @@ -0,0 +1,320 @@ +# @file +# Script to Build UEFI firmware +# +# Copyright (c) Microsoft Corporation. +# SPDX-License-Identifier: BSD-2-Clause-Patent +## +import datetime +import logging +import os +import uuid +from io import StringIO +from pathlib import Path + +## woa-msmnile patch start +SiliconName = "Sdm845" +PlatformName = "Napali" +PackageName = PlatformName+"Pkg" +import sys +sys.path.append(os.path.join(os.path.dirname(__file__), 'PythonLibs')) +import PostBuild +## woa-msmnile patch end + +from edk2toolext.environment import shell_environment +from edk2toolext.environment.uefi_build import UefiBuilder +from edk2toolext.invocables.edk2_platform_build import BuildSettingsManager +from edk2toolext.invocables.edk2_pr_eval import PrEvalSettingsManager +from edk2toolext.invocables.edk2_setup import (RequiredSubmodule, + SetupSettingsManager) +from edk2toolext.invocables.edk2_update import UpdateSettingsManager +from edk2toolext.invocables.edk2_parse import ParseSettingsManager +from edk2toollib.utility_functions import RunCmd + + # ####################################################################################### # + # Common Configuration # + # ####################################################################################### # +class CommonPlatform(): + ''' Common settings for this platform. Define static data here and use + for the different parts of stuart + ''' +## woa-msmnile patch start + PackagesSupported = (PackageName,) +## woa-msmnile patch end + ArchSupported = ("AARCH64",) + TargetsSupported = ("DEBUG", "RELEASE", "NOOPT") + Scopes = (PlatformName, 'gcc_aarch64_linux', 'edk2-build', 'cibuild', 'configdata') + WorkspaceRoot = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) + PackagesPath = ( + "Platforms", + "MU_BASECORE", + "Common/MU", + "Common/MU_TIANO", + "Common/MU_OEM_SAMPLE", + "Silicon/Arm/MU_TIANO", + "Features/DFCI", + "Features/CONFIG", + "Binaries", +## woa-msmnile patch start + "Silicon/QC/"+SiliconName +## woa-msmnile patch end + ) + + + # ####################################################################################### # + # Configuration for Update & Setup # + # ####################################################################################### # +class SettingsManager(UpdateSettingsManager, SetupSettingsManager, PrEvalSettingsManager, ParseSettingsManager): + + def GetPackagesSupported(self): + ''' return iterable of edk2 packages supported by this build. + These should be edk2 workspace relative paths ''' + return CommonPlatform.PackagesSupported + + def GetArchitecturesSupported(self): + ''' return iterable of edk2 architectures supported by this build ''' + return CommonPlatform.ArchSupported + + def GetTargetsSupported(self): + ''' return iterable of edk2 target tags supported by this build ''' + return CommonPlatform.TargetsSupported + + def GetRequiredSubmodules(self): + """Return iterable containing RequiredSubmodule objects. + + !!! note + If no RequiredSubmodules return an empty iterable + """ + return [ + RequiredSubmodule("Binaries", True), + RequiredSubmodule("Common/MU_OEM_SAMPLE", True), + RequiredSubmodule("Common/MU_TIANO", True), + RequiredSubmodule("Common/MU", True), + RequiredSubmodule("Features/CONFIG", True), + RequiredSubmodule("Features/DFCI", True), + RequiredSubmodule("MU_BASECORE", True), + RequiredSubmodule("Platforms/OpensslPkg/Library/OpensslLib/openssl", True), + RequiredSubmodule("Platforms/SurfaceDuoACPI", True), + RequiredSubmodule("Silicon/Arm/MU_TIANO", True), + ] + + def SetArchitectures(self, list_of_requested_architectures): + ''' Confirm the requests architecture list is valid and configure SettingsManager + to run only the requested architectures. + + Raise Exception if a list_of_requested_architectures is not supported + ''' + unsupported = set(list_of_requested_architectures) - \ + set(self.GetArchitecturesSupported()) + if(len(unsupported) > 0): + errorString = ( + "Unsupported Architecture Requested: " + " ".join(unsupported)) + logging.critical( errorString ) + raise Exception( errorString ) + self.ActualArchitectures = list_of_requested_architectures + + def GetWorkspaceRoot(self): + ''' get WorkspacePath ''' + return CommonPlatform.WorkspaceRoot + + def GetActiveScopes(self): + ''' return tuple containing scopes that should be active for this process ''' + return CommonPlatform.Scopes + + def FilterPackagesToTest(self, changedFilesList: list, potentialPackagesList: list) -> list: + ''' Filter other cases that this package should be built + based on changed files. This should cover things that can't + be detected as dependencies. ''' + build_these_packages = [] + possible_packages = potentialPackagesList.copy() + for f in changedFilesList: + # BaseTools files that might change the build + if "BaseTools" in f: + if os.path.splitext(f) not in [".txt", ".md"]: + build_these_packages = possible_packages + break + + # if the azure pipeline platform template file changed + if "platform-build-run-steps.yml" in f: + build_these_packages = possible_packages + break + + return build_these_packages + + def GetPlatformDscAndConfig(self) -> tuple: + ''' If a platform desires to provide its DSC then Policy 4 will evaluate if + any of the changes will be built in the dsc. + + The tuple should be (, ) + ''' +## woa-msmnile patch start + return (PackageName+"/"+PlatfromName+".dsc", {}) + + def GetName(self): + return PackageName +## woa-msmnile patch end + + def GetPackagesPath(self): + ''' Return a list of paths that should be mapped as edk2 PackagesPath ''' + return CommonPlatform.PackagesPath + + # ####################################################################################### # + # Actual Configuration for Platform Build # + # ####################################################################################### # +class PlatformBuilder(UefiBuilder, BuildSettingsManager): + def __init__(self): + UefiBuilder.__init__(self) + + def AddCommandLineOptions(self, parserObj): + ''' Add command line options to the argparser ''' + + # In an effort to support common server based builds this parameter is added. It is + # checked for correctness but is never uses as this platform only supports a single set of + # architectures. + parserObj.add_argument('-a', "--arch", dest="build_arch", type=str, default="AARCH64", + help="Optional - CSV of architecture to build. AARCH64 is used for PEI and " + "DXE and is the only valid option for this platform.") + + def RetrieveCommandLineOptions(self, args): + ''' Retrieve command line options from the argparser ''' + if args.build_arch.upper() != "AARCH64": + raise Exception("Invalid Arch Specified. Please see comments in PlatformBuild.py::PlatformBuilder::AddCommandLineOptions") + + def GetWorkspaceRoot(self): + ''' get WorkspacePath ''' + return CommonPlatform.WorkspaceRoot + + def GetPackagesPath(self): + ''' Return a list of paths that should be mapped as edk2 PackagesPath ''' + result = [ + shell_environment.GetBuildVars().GetValue("FEATURE_CONFIG_PATH", "") + ] + for a in CommonPlatform.PackagesPath: + result.append(a) + return result + + def GetActiveScopes(self): + ''' return tuple containing scopes that should be active for this process ''' + return CommonPlatform.Scopes + +## woa-msmnile patch start + def GetOutputDirectory(self): + ''' Return the output directory for this platform ''' + return self.env.GetValue("OUTPUT_DIRECTORY") + + def GetOutputBinDirectory(self): + ''' Return the output directory with binaries ''' + toolchain_tag = self.env.GetValue("TOOL_CHAIN_TAG") + target = self.env.GetValue("TARGET") + out_dir = self.env.GetValue("OUTPUT_DIRECTORY") + return os.path.join(out_dir, f"{target}_{toolchain_tag}") + + def GetDTBName(self): + ''' Return the name of device's dtb ''' + target_device = self.env.GetValue("TARGET_DEVICE") + linenum = target_device.find('-') + 1 + dtbname = target_device[(linenum):] + '.dtb' + return dtbname +## woa-msmnile patch end + + def GetName(self): + ''' Get the name of the repo, platform, or product being build ''' + ''' Used for naming the log file, among others ''' +## woa-msmnile patch start + return PackageName +## woa-msmnile patch end + + def GetLoggingLevel(self, loggerType): + """Get the logging level depending on logger type. + + Args: + loggerType (str): type of logger being logged to + + Returns: + (Logging.Level): The logging level + + !!! note "loggerType possible values" + "base": lowest logging level supported + + "con": logs to screen + + "txt": logs to plain text file + """ + return logging.INFO + return super().GetLoggingLevel(loggerType) + + def SetPlatformEnv(self): + logging.debug("PlatformBuilder SetPlatformEnv") +## woa-msmnile patch start + self.env.SetValue("PRODUCT_NAME", PlatformName, "Platform Hardcoded") + self.env.SetValue("ACTIVE_PLATFORM", PackageName+"/"+PlatformName+".dsc", "Platform Hardcoded") +## woa-msmnile patch end + self.env.SetValue("TARGET_ARCH", "AARCH64", "Platform Hardcoded") + self.env.SetValue("TOOL_CHAIN_TAG", "CLANGPDB", "set default to clangpdb") + self.env.SetValue("EMPTY_DRIVE", "FALSE", "Default to false") + self.env.SetValue("RUN_TESTS", "FALSE", "Default to false") + self.env.SetValue("SHUTDOWN_AFTER_RUN", "FALSE", "Default to false") + # needed to make FV size build report happy + self.env.SetValue("BLD_*_BUILDID_STRING", "Unknown", "Default") + # Default turn on build reporting. + self.env.SetValue("BUILDREPORTING", "TRUE", "Enabling build report") + self.env.SetValue("BUILDREPORT_TYPES", "PCD DEPEX FLASH BUILD_FLAGS LIBRARY FIXED_ADDRESS HASH", "Setting build report types") + self.env.SetValue("BLD_*_MEMORY_PROTECTION", "TRUE", "Default") + # Include the MFCI test cert by default, override on the commandline with "BLD_*_SHIP_MODE=TRUE" if you want the retail MFCI cert + self.env.SetValue("BLD_*_SHIP_MODE", "FALSE", "Default") + self.env.SetValue("CONF_AUTOGEN_INCLUDE_PATH", self.edk2path.GetAbsolutePathOnThisSystemFromEdk2RelativePath("Platforms", "SurfaceDuoFamilyPkg", "Include"), "Platform Defined") + self.env.SetValue("MU_SCHEMA_DIR", self.edk2path.GetAbsolutePathOnThisSystemFromEdk2RelativePath("Platforms", "SurfaceDuoFamilyPkg", "CfgData"), "Platform Defined") + self.env.SetValue("MU_SCHEMA_FILE_NAME", "SurfaceDuoFamilyPkgCfgData.xml", "Platform Hardcoded") +## woa-msmnile patch start + # Ship Device Name + self.env.SetValue("BLD_*_TARGET_DEVICE", self.env.GetValue("TARGET_DEVICE"), "Default") + # Ship DTB Name + self.env.SetValue("BLD_*_FDT", self.GetDTBName(), "Default") +## woa-msmnile patch end + return 0 + + def PlatformPreBuild(self): + return 0 + + def PlatformPostBuild(self): +## woa-msmnile patch start + logging.info("Building Android Boot Image.") + PostBuild.makeAndroidImage(self.GetOutputBinDirectory(), self.GetOutputDirectory(), self.GetWorkspaceRoot(), self.env.GetValue("TARGET_DEVICE"), self.GetDTBName()) +## woa-msmnile patch end + return 0 + + def FlashRomImage(self): + return 0 + +if __name__ == "__main__": + import argparse + import sys + + from edk2toolext.invocables.edk2_platform_build import Edk2PlatformBuild + from edk2toolext.invocables.edk2_setup import Edk2PlatformSetup + from edk2toolext.invocables.edk2_update import Edk2Update + print("Invoking Stuart") + print(" ) _ _") + print(" ( (^)-~-(^)") + print("__,-.\_( 0 0 )__,-.___") + print(" 'W' \ / 'W'") + print(" >o<") + SCRIPT_PATH = os.path.relpath(__file__) + parser = argparse.ArgumentParser(add_help=False) + parse_group = parser.add_mutually_exclusive_group() + parse_group.add_argument("--update", "--UPDATE", + action='store_true', help="Invokes stuart_update") + parse_group.add_argument("--setup", "--SETUP", + action='store_true', help="Invokes stuart_setup") + args, remaining = parser.parse_known_args() + new_args = ["stuart", "-c", SCRIPT_PATH] + new_args = new_args + remaining + sys.argv = new_args + if args.setup: + print("Running stuart_setup -c " + SCRIPT_PATH) + Edk2PlatformSetup().Invoke() + elif args.update: + print("Running stuart_update -c " + SCRIPT_PATH) + Edk2Update().Invoke() + else: + print("Running stuart_build -c " + SCRIPT_PATH) + Edk2PlatformBuild().Invoke() diff --git a/Platforms/NapaliPkg/PlatformBuildNoSb.py b/Platforms/NapaliPkg/PlatformBuildNoSb.py new file mode 100644 index 000000000..6dd817a52 --- /dev/null +++ b/Platforms/NapaliPkg/PlatformBuildNoSb.py @@ -0,0 +1,320 @@ +# @file +# Script to Build UEFI firmware +# +# Copyright (c) Microsoft Corporation. +# SPDX-License-Identifier: BSD-2-Clause-Patent +## +import datetime +import logging +import os +import uuid +from io import StringIO +from pathlib import Path + +## woa-msmnile patch start +SiliconName = "Sdm845" +PlatformName = "Napali" +PackageName = PlatformName+"Pkg" +import sys +sys.path.append(os.path.join(os.path.dirname(__file__), 'PythonLibs')) +import PostBuild +## woa-msmnile patch end + +from edk2toolext.environment import shell_environment +from edk2toolext.environment.uefi_build import UefiBuilder +from edk2toolext.invocables.edk2_platform_build import BuildSettingsManager +from edk2toolext.invocables.edk2_pr_eval import PrEvalSettingsManager +from edk2toolext.invocables.edk2_setup import (RequiredSubmodule, + SetupSettingsManager) +from edk2toolext.invocables.edk2_update import UpdateSettingsManager +from edk2toolext.invocables.edk2_parse import ParseSettingsManager +from edk2toollib.utility_functions import RunCmd + + # ####################################################################################### # + # Common Configuration # + # ####################################################################################### # +class CommonPlatform(): + ''' Common settings for this platform. Define static data here and use + for the different parts of stuart + ''' +## woa-msmnile patch start + PackagesSupported = (PackageName,) +## woa-msmnile patch end + ArchSupported = ("AARCH64",) + TargetsSupported = ("DEBUG", "RELEASE", "NOOPT") + Scopes = (PlatformName, 'gcc_aarch64_linux', 'edk2-build', 'cibuild', 'configdata') + WorkspaceRoot = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) + PackagesPath = ( + "Platforms", + "MU_BASECORE", + "Common/MU", + "Common/MU_TIANO", + "Common/MU_OEM_SAMPLE", + "Silicon/Arm/MU_TIANO", + "Features/DFCI", + "Features/CONFIG", + "Binaries", +## woa-msmnile patch start + "Silicon/QC/"+SiliconName +## woa-msmnile patch end + ) + + + # ####################################################################################### # + # Configuration for Update & Setup # + # ####################################################################################### # +class SettingsManager(UpdateSettingsManager, SetupSettingsManager, PrEvalSettingsManager, ParseSettingsManager): + + def GetPackagesSupported(self): + ''' return iterable of edk2 packages supported by this build. + These should be edk2 workspace relative paths ''' + return CommonPlatform.PackagesSupported + + def GetArchitecturesSupported(self): + ''' return iterable of edk2 architectures supported by this build ''' + return CommonPlatform.ArchSupported + + def GetTargetsSupported(self): + ''' return iterable of edk2 target tags supported by this build ''' + return CommonPlatform.TargetsSupported + + def GetRequiredSubmodules(self): + """Return iterable containing RequiredSubmodule objects. + + !!! note + If no RequiredSubmodules return an empty iterable + """ + return [ + RequiredSubmodule("Binaries", True), + RequiredSubmodule("Common/MU_OEM_SAMPLE", True), + RequiredSubmodule("Common/MU_TIANO", True), + RequiredSubmodule("Common/MU", True), + RequiredSubmodule("Features/CONFIG", True), + RequiredSubmodule("Features/DFCI", True), + RequiredSubmodule("MU_BASECORE", True), + RequiredSubmodule("Platforms/OpensslPkg/Library/OpensslLib/openssl", True), + RequiredSubmodule("Platforms/SurfaceDuoACPI", True), + RequiredSubmodule("Silicon/Arm/MU_TIANO", True), + ] + + def SetArchitectures(self, list_of_requested_architectures): + ''' Confirm the requests architecture list is valid and configure SettingsManager + to run only the requested architectures. + + Raise Exception if a list_of_requested_architectures is not supported + ''' + unsupported = set(list_of_requested_architectures) - \ + set(self.GetArchitecturesSupported()) + if(len(unsupported) > 0): + errorString = ( + "Unsupported Architecture Requested: " + " ".join(unsupported)) + logging.critical( errorString ) + raise Exception( errorString ) + self.ActualArchitectures = list_of_requested_architectures + + def GetWorkspaceRoot(self): + ''' get WorkspacePath ''' + return CommonPlatform.WorkspaceRoot + + def GetActiveScopes(self): + ''' return tuple containing scopes that should be active for this process ''' + return CommonPlatform.Scopes + + def FilterPackagesToTest(self, changedFilesList: list, potentialPackagesList: list) -> list: + ''' Filter other cases that this package should be built + based on changed files. This should cover things that can't + be detected as dependencies. ''' + build_these_packages = [] + possible_packages = potentialPackagesList.copy() + for f in changedFilesList: + # BaseTools files that might change the build + if "BaseTools" in f: + if os.path.splitext(f) not in [".txt", ".md"]: + build_these_packages = possible_packages + break + + # if the azure pipeline platform template file changed + if "platform-build-run-steps.yml" in f: + build_these_packages = possible_packages + break + + return build_these_packages + + def GetPlatformDscAndConfig(self) -> tuple: + ''' If a platform desires to provide its DSC then Policy 4 will evaluate if + any of the changes will be built in the dsc. + + The tuple should be (, ) + ''' +## woa-msmnile patch start + return (PackageName+"/"+PlatfromName+"NoSb.dsc", {}) + + def GetName(self): + return PackageName +## woa-msmnile patch end + + def GetPackagesPath(self): + ''' Return a list of paths that should be mapped as edk2 PackagesPath ''' + return CommonPlatform.PackagesPath + + # ####################################################################################### # + # Actual Configuration for Platform Build # + # ####################################################################################### # +class PlatformBuilder(UefiBuilder, BuildSettingsManager): + def __init__(self): + UefiBuilder.__init__(self) + + def AddCommandLineOptions(self, parserObj): + ''' Add command line options to the argparser ''' + + # In an effort to support common server based builds this parameter is added. It is + # checked for correctness but is never uses as this platform only supports a single set of + # architectures. + parserObj.add_argument('-a', "--arch", dest="build_arch", type=str, default="AARCH64", + help="Optional - CSV of architecture to build. AARCH64 is used for PEI and " + "DXE and is the only valid option for this platform.") + + def RetrieveCommandLineOptions(self, args): + ''' Retrieve command line options from the argparser ''' + if args.build_arch.upper() != "AARCH64": + raise Exception("Invalid Arch Specified. Please see comments in PlatformBuild.py::PlatformBuilder::AddCommandLineOptions") + + def GetWorkspaceRoot(self): + ''' get WorkspacePath ''' + return CommonPlatform.WorkspaceRoot + + def GetPackagesPath(self): + ''' Return a list of paths that should be mapped as edk2 PackagesPath ''' + result = [ + shell_environment.GetBuildVars().GetValue("FEATURE_CONFIG_PATH", "") + ] + for a in CommonPlatform.PackagesPath: + result.append(a) + return result + + def GetActiveScopes(self): + ''' return tuple containing scopes that should be active for this process ''' + return CommonPlatform.Scopes + +## woa-msmnile patch start + def GetOutputDirectory(self): + ''' Return the output directory for this platform ''' + return self.env.GetValue("OUTPUT_DIRECTORY") + + def GetOutputBinDirectory(self): + ''' Return the output directory with binaries ''' + toolchain_tag = self.env.GetValue("TOOL_CHAIN_TAG") + target = self.env.GetValue("TARGET") + out_dir = self.env.GetValue("OUTPUT_DIRECTORY") + return os.path.join(out_dir, f"{target}_{toolchain_tag}") + + def GetDTBName(self): + ''' Return the name of device's dtb ''' + target_device = self.env.GetValue("TARGET_DEVICE") + linenum = target_device.find('-') + 1 + dtbname = target_device[(linenum):] + '.dtb' + return dtbname +## woa-msmnile patch end + + def GetName(self): + ''' Get the name of the repo, platform, or product being build ''' + ''' Used for naming the log file, among others ''' +## woa-msmnile patch start + return PackageName +## woa-msmnile patch end + + def GetLoggingLevel(self, loggerType): + """Get the logging level depending on logger type. + + Args: + loggerType (str): type of logger being logged to + + Returns: + (Logging.Level): The logging level + + !!! note "loggerType possible values" + "base": lowest logging level supported + + "con": logs to screen + + "txt": logs to plain text file + """ + return logging.INFO + return super().GetLoggingLevel(loggerType) + + def SetPlatformEnv(self): + logging.debug("PlatformBuilder SetPlatformEnv") +## woa-msmnile patch start + self.env.SetValue("PRODUCT_NAME", PlatformName, "Platform Hardcoded") + self.env.SetValue("ACTIVE_PLATFORM", PackageName+"/"+PlatformName+"NoSb.dsc", "Platform Hardcoded") +## woa-msmnile patch end + self.env.SetValue("TARGET_ARCH", "AARCH64", "Platform Hardcoded") + self.env.SetValue("TOOL_CHAIN_TAG", "CLANGPDB", "set default to clangpdb") + self.env.SetValue("EMPTY_DRIVE", "FALSE", "Default to false") + self.env.SetValue("RUN_TESTS", "FALSE", "Default to false") + self.env.SetValue("SHUTDOWN_AFTER_RUN", "FALSE", "Default to false") + # needed to make FV size build report happy + self.env.SetValue("BLD_*_BUILDID_STRING", "Unknown", "Default") + # Default turn on build reporting. + self.env.SetValue("BUILDREPORTING", "TRUE", "Enabling build report") + self.env.SetValue("BUILDREPORT_TYPES", "PCD DEPEX FLASH BUILD_FLAGS LIBRARY FIXED_ADDRESS HASH", "Setting build report types") + self.env.SetValue("BLD_*_MEMORY_PROTECTION", "TRUE", "Default") + # Include the MFCI test cert by default, override on the commandline with "BLD_*_SHIP_MODE=TRUE" if you want the retail MFCI cert + self.env.SetValue("BLD_*_SHIP_MODE", "FALSE", "Default") + self.env.SetValue("CONF_AUTOGEN_INCLUDE_PATH", self.edk2path.GetAbsolutePathOnThisSystemFromEdk2RelativePath("Platforms", "SurfaceDuoFamilyPkg", "Include"), "Platform Defined") + self.env.SetValue("MU_SCHEMA_DIR", self.edk2path.GetAbsolutePathOnThisSystemFromEdk2RelativePath("Platforms", "SurfaceDuoFamilyPkg", "CfgData"), "Platform Defined") + self.env.SetValue("MU_SCHEMA_FILE_NAME", "SurfaceDuoFamilyPkgCfgData.xml", "Platform Hardcoded") +## woa-msmnile patch start + # Ship Device Name + self.env.SetValue("BLD_*_TARGET_DEVICE", self.env.GetValue("TARGET_DEVICE"), "Default") + # Ship DTB Name + self.env.SetValue("BLD_*_FDT", self.GetDTBName(), "Default") +## woa-msmnile patch end + return 0 + + def PlatformPreBuild(self): + return 0 + + def PlatformPostBuild(self): +## woa-msmnile patch start + logging.info("Building Android Boot Image.") + PostBuild.makeAndroidImage(self.GetOutputBinDirectory(), self.GetOutputDirectory(), self.GetWorkspaceRoot(), self.env.GetValue("TARGET_DEVICE"), self.GetDTBName()) +## woa-msmnile patch end + return 0 + + def FlashRomImage(self): + return 0 + +if __name__ == "__main__": + import argparse + import sys + + from edk2toolext.invocables.edk2_platform_build import Edk2PlatformBuild + from edk2toolext.invocables.edk2_setup import Edk2PlatformSetup + from edk2toolext.invocables.edk2_update import Edk2Update + print("Invoking Stuart") + print(" ) _ _") + print(" ( (^)-~-(^)") + print("__,-.\_( 0 0 )__,-.___") + print(" 'W' \ / 'W'") + print(" >o<") + SCRIPT_PATH = os.path.relpath(__file__) + parser = argparse.ArgumentParser(add_help=False) + parse_group = parser.add_mutually_exclusive_group() + parse_group.add_argument("--update", "--UPDATE", + action='store_true', help="Invokes stuart_update") + parse_group.add_argument("--setup", "--SETUP", + action='store_true', help="Invokes stuart_setup") + args, remaining = parser.parse_known_args() + new_args = ["stuart", "-c", SCRIPT_PATH] + new_args = new_args + remaining + sys.argv = new_args + if args.setup: + print("Running stuart_setup -c " + SCRIPT_PATH) + Edk2PlatformSetup().Invoke() + elif args.update: + print("Running stuart_update -c " + SCRIPT_PATH) + Edk2Update().Invoke() + else: + print("Running stuart_build -c " + SCRIPT_PATH) + Edk2PlatformBuild().Invoke() diff --git a/Platforms/NapaliPkg/PythonLibs/PostBuild.py b/Platforms/NapaliPkg/PythonLibs/PostBuild.py new file mode 100644 index 000000000..ccd3adabc --- /dev/null +++ b/Platforms/NapaliPkg/PythonLibs/PostBuild.py @@ -0,0 +1,50 @@ +import logging +import gzip +import os +import sys +import mkbootimg + +def makeAndroidImage(outputbin_dir, output_dir, root_dir, device_name, dtb_name) : + bootpayload_path = os.path.join(output_dir, 'bootpayload.bin') + output_path = os.path.join(output_dir, device_name + '.img') + fd_path = os.path.join(outputbin_dir, 'FV', 'SDM845_EFI.fd') + bootshim_path = os.path.join(root_dir, 'BootShim', 'BootShim.bin') + dtb_path = os.path.join(root_dir, "Platforms", "NapaliPkg", "Device", device_name, 'DeviceTreeBlob', 'Android', 'android-' + dtb_name) + + logging.info("Generating bootpayload.bin") + + ''' + Payload: + | BootShim.bin | SDM845_EFI.fd | + ''' + with open(bootpayload_path, 'wb') as f: + logging.info("Writing UEFI...") + data = bytes() + + with open(bootshim_path, 'rb') as bootshim_file: + data += bootshim_file.read() + + with open(fd_path, 'rb') as fd: + data += fd.read() + data = gzip.compress(data, 9) + f.write(data) + + logging.info("Writing DTB...") + with open(dtb_path, 'rb') as dtb: + data = dtb.read() + f.write(data) + + + logging.info("Writing " + device_name + '.img') + + mkbootimg.main([ + "--kernel", bootpayload_path, + "-o", output_path, + "--ramdisk", "./ImageResources/emptyramdisk", + "--pagesize", "4096", + "--header_version", "0", + "--cmdline", "", + "--base", "0x0", + "--os_version", "11.0.0", + "--os_patch_level", "2023-04-01" + ]) diff --git a/Platforms/NapaliPkg/PythonLibs/mkbootimg.py b/Platforms/NapaliPkg/PythonLibs/mkbootimg.py new file mode 100644 index 000000000..250f22f13 --- /dev/null +++ b/Platforms/NapaliPkg/PythonLibs/mkbootimg.py @@ -0,0 +1,323 @@ +#!/usr/bin/env python +# Copyright 2015, The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +from __future__ import print_function +from argparse import ArgumentParser, FileType, Action +from hashlib import sha1 +from os import fstat +import re +from struct import pack + + +def filesize(f): + if f is None: + return 0 + try: + return fstat(f.fileno()).st_size + except OSError: + return 0 + + +def update_sha(sha, f): + if f: + sha.update(f.read()) + f.seek(0) + sha.update(pack('I', filesize(f))) + else: + sha.update(pack('I', 0)) + + +def pad_file(f, padding): + pad = (padding - (f.tell() & (padding - 1))) & (padding - 1) + f.write(pack(str(pad) + 'x')) + + +def get_number_of_pages(image_size, page_size): + """calculates the number of pages required for the image""" + return (image_size + page_size - 1) / page_size + + +def get_recovery_dtbo_offset(args): + """calculates the offset of recovery_dtbo image in the boot image""" + num_header_pages = 1 # header occupies a page + num_kernel_pages = get_number_of_pages( + filesize(args.kernel), args.pagesize) + num_ramdisk_pages = get_number_of_pages( + filesize(args.ramdisk), args.pagesize) + num_second_pages = get_number_of_pages( + filesize(args.second), args.pagesize) + dtbo_offset = args.pagesize * (num_header_pages + num_kernel_pages + + num_ramdisk_pages + num_second_pages) + return dtbo_offset + + +def write_header_v3(args): + BOOT_IMAGE_HEADER_V3_SIZE = 1596 + BOOT_MAGIC = 'ANDROID!'.encode() + args.output.write(pack('8s', BOOT_MAGIC)) + args.output.write(pack( + '4I', + filesize(args.kernel), # kernel size in bytes + filesize(args.ramdisk), # ramdisk size in bytes + # os version and patch level + (args.os_version << 11) | args.os_patch_level, + BOOT_IMAGE_HEADER_V3_SIZE)) + args.output.write(pack('4I', 0, 0, 0, 0)) # reserved + # version of bootimage header + args.output.write(pack('I', args.header_version)) + args.output.write(pack('1536s', args.cmdline.encode())) + pad_file(args.output, args.pagesize) + + +def write_vendor_boot_header(args): + VENDOR_BOOT_IMAGE_HEADER_V3_SIZE = 2108 + BOOT_MAGIC = 'VNDRBOOT'.encode() + args.vendor_boot.write(pack('8s', BOOT_MAGIC)) + if filesize(args.vendor_ramdisk) == 0: + raise ValueError("Vendor ramdisk image must not be empty.") + args.vendor_boot.write(pack( + '5I', + args.header_version, # version of header + args.pagesize, # flash page size we assume + args.base + args.kernel_offset, # kernel physical load addr + args.base + args.ramdisk_offset, # ramdisk physical load addr + filesize(args.vendor_ramdisk))) # vendor ramdisk size in bytes + args.vendor_boot.write(pack('2048s', args.vendor_cmdline.encode())) + # physical addr for kernel tags + args.vendor_boot.write(pack('I', args.base + args.tags_offset)) + # asciiz product name + args.vendor_boot.write(pack('16s', args.board.encode())) + # header size in bytes + args.vendor_boot.write(pack('I', VENDOR_BOOT_IMAGE_HEADER_V3_SIZE)) + if filesize(args.dtb) == 0: + raise ValueError("DTB image must not be empty.") + args.vendor_boot.write(pack('I', filesize(args.dtb))) # size in bytes + # dtb physical load address + args.vendor_boot.write(pack('Q', args.base + args.dtb_offset)) + pad_file(args.vendor_boot, args.pagesize) + + +def write_header(args): + BOOT_IMAGE_HEADER_V1_SIZE = 1648 + BOOT_IMAGE_HEADER_V2_SIZE = 1660 + BOOT_MAGIC = 'ANDROID!'.encode() + if args.header_version > 3: + raise ValueError('Boot header version %d not supported' % + args.header_version) + elif args.header_version == 3: + return write_header_v3(args) + args.output.write(pack('8s', BOOT_MAGIC)) + final_ramdisk_offset = ( + args.base + args.ramdisk_offset) if filesize(args.ramdisk) > 0 else 0 + final_second_offset = ( + args.base + args.second_offset) if filesize(args.second) > 0 else 0 + args.output.write(pack( + '10I', + filesize(args.kernel), # size in bytes + args.base + args.kernel_offset, # physical load addr + filesize(args.ramdisk), # size in bytes + final_ramdisk_offset, # physical load addr + filesize(args.second), # size in bytes + final_second_offset, # physical load addr + args.base + args.tags_offset, # physical addr for kernel tags + args.pagesize, # flash page size we assume + args.header_version, # version of bootimage header + (args.os_version << 11) | args.os_patch_level)) # os version and patch level + args.output.write(pack('16s', args.board.encode())) # asciiz product name + args.output.write(pack('512s', args.cmdline[:512].encode())) + sha = sha1() + update_sha(sha, args.kernel) + update_sha(sha, args.ramdisk) + update_sha(sha, args.second) + if args.header_version > 0: + update_sha(sha, args.recovery_dtbo) + if args.header_version > 1: + update_sha(sha, args.dtb) + img_id = pack('32s', sha.digest()) + args.output.write(img_id) + args.output.write(pack('1024s', args.cmdline[512:].encode())) + if args.header_version > 0: + # size in bytes + args.output.write(pack('I', filesize(args.recovery_dtbo))) + if args.recovery_dtbo: + # recovery dtbo offset + args.output.write(pack('Q', get_recovery_dtbo_offset(args))) + else: + # Will be set to 0 for devices without a recovery dtbo + args.output.write(pack('Q', 0)) + # Populate boot image header size for header versions 1 and 2. + if args.header_version == 1: + args.output.write(pack('I', BOOT_IMAGE_HEADER_V1_SIZE)) + elif args.header_version == 2: + args.output.write(pack('I', BOOT_IMAGE_HEADER_V2_SIZE)) + if args.header_version > 1: + if filesize(args.dtb) == 0: + raise ValueError("DTB image must not be empty.") + args.output.write(pack('I', filesize(args.dtb))) # size in bytes + # dtb physical load address + args.output.write(pack('Q', args.base + args.dtb_offset)) + pad_file(args.output, args.pagesize) + return img_id + + +class ValidateStrLenAction(Action): + def __init__(self, option_strings, dest, nargs=None, **kwargs): + if 'maxlen' not in kwargs: + raise ValueError('maxlen must be set') + self.maxlen = int(kwargs['maxlen']) + del kwargs['maxlen'] + super(ValidateStrLenAction, self).__init__( + option_strings, dest, **kwargs) + + def __call__(self, parser, namespace, values, option_string=None): + if len(values) > self.maxlen: + raise ValueError( + 'String argument too long: max {0:d}, got {1:d}'.format(self.maxlen, len(values))) + setattr(namespace, self.dest, values) + + +def write_padded_file(f_out, f_in, padding): + if f_in is None: + return + f_out.write(f_in.read()) + pad_file(f_out, padding) + + +def parse_int(x): + return int(x, 0) + + +def parse_os_version(x): + match = re.search(r'^(\d{1,3})(?:\.(\d{1,3})(?:\.(\d{1,3}))?)?', x) + if match: + a = int(match.group(1)) + b = c = 0 + if match.lastindex >= 2: + b = int(match.group(2)) + if match.lastindex == 3: + c = int(match.group(3)) + # 7 bits allocated for each field + assert a < 128 + assert b < 128 + assert c < 128 + return (a << 14) | (b << 7) | c + return 0 + + +def parse_os_patch_level(x): + match = re.search(r'^(\d{4})-(\d{2})-(\d{2})', x) + if match: + y = int(match.group(1)) - 2000 + m = int(match.group(2)) + # 7 bits allocated for the year, 4 bits for the month + assert 0 <= y < 128 + assert 0 < m <= 12 + return (y << 4) | m + return 0 + + +def parse_cmdline(args): + parser = ArgumentParser() + parser.add_argument( + '--kernel', help='path to the kernel', type=FileType('rb')) + parser.add_argument( + '--ramdisk', help='path to the ramdisk', type=FileType('rb')) + parser.add_argument( + '--second', help='path to the 2nd bootloader', type=FileType('rb')) + parser.add_argument('--dtb', help='path to dtb', type=FileType('rb')) + recovery_dtbo_group = parser.add_mutually_exclusive_group() + recovery_dtbo_group.add_argument('--recovery_dtbo', help='path to the recovery DTBO', + type=FileType('rb')) + recovery_dtbo_group.add_argument('--recovery_acpio', help='path to the recovery ACPIO', + type=FileType('rb'), metavar='RECOVERY_ACPIO', + dest='recovery_dtbo') + parser.add_argument('--cmdline', help='extra arguments to be passed on the ' + 'kernel command line', default='', action=ValidateStrLenAction, maxlen=1536) + parser.add_argument('--vendor_cmdline', + help='kernel command line arguments contained in vendor boot', + default='', action=ValidateStrLenAction, maxlen=2048) + parser.add_argument('--base', help='base address', + type=parse_int, default=0x10000000) + parser.add_argument('--kernel_offset', help='kernel offset', + type=parse_int, default=0x00008000) + parser.add_argument('--ramdisk_offset', help='ramdisk offset', type=parse_int, + default=0x01000000) + parser.add_argument('--second_offset', help='2nd bootloader offset', type=parse_int, + default=0x00f00000) + parser.add_argument('--dtb_offset', help='dtb offset', + type=parse_int, default=0x01f00000) + parser.add_argument('--os_version', help='operating system version', type=parse_os_version, + default=0) + parser.add_argument('--os_patch_level', help='operating system patch level', + type=parse_os_patch_level, default=0) + parser.add_argument('--tags_offset', help='tags offset', + type=parse_int, default=0x00000100) + parser.add_argument('--board', help='board name', default='', action=ValidateStrLenAction, + maxlen=16) + parser.add_argument('--pagesize', help='page size', type=parse_int, + choices=[2**i for i in range(11, 15)], default=2048) + parser.add_argument('--id', help='print the image ID on standard output', + action='store_true') + parser.add_argument('--header_version', help='boot image header version', type=parse_int, + default=0) + parser.add_argument( + '-o', '--output', help='output file name', type=FileType('wb')) + parser.add_argument( + '--vendor_boot', help='vendor boot output file name', type=FileType('wb')) + parser.add_argument('--vendor_ramdisk', + help='path to the vendor ramdisk', type=FileType('rb')) + return parser.parse_args(args) + + +def write_data(args): + write_padded_file(args.output, args.kernel, args.pagesize) + write_padded_file(args.output, args.ramdisk, args.pagesize) + write_padded_file(args.output, args.second, args.pagesize) + if args.header_version > 0 and args.header_version < 3: + write_padded_file(args.output, args.recovery_dtbo, args.pagesize) + if args.header_version == 2: + write_padded_file(args.output, args.dtb, args.pagesize) + + +def write_vendor_boot_data(args): + write_padded_file(args.vendor_boot, args.vendor_ramdisk, args.pagesize) + write_padded_file(args.vendor_boot, args.dtb, args.pagesize) + + +def main(args): + args = parse_cmdline(args) + if args.vendor_boot is not None: + if args.header_version < 3: + raise ValueError( + '--vendor_boot not compatible with given header version') + if args.vendor_ramdisk is None: + raise ValueError('--vendor_ramdisk missing or invalid') + write_vendor_boot_header(args) + write_vendor_boot_data(args) + return + if args.output is not None: + if args.kernel is None: + raise ValueError( + 'kernel must be supplied when creating a boot image') + img_id = write_header(args) + write_data(args) + if args.id and img_id is not None: + # Python 2's struct.pack returns a string, but py3 returns bytes. + if isinstance(img_id, str): + img_id = [ord(x) for x in img_id] + print('0x' + ''.join('{:02x}'.format(c) for c in img_id)) + + +if __name__ == '__main__': + main(None) diff --git a/README.md b/README.md index c736992c6..ac1373b46 100755 --- a/README.md +++ b/README.md @@ -90,6 +90,15 @@ sudo docker run -v $(pwd):/build/ -it mu:v1 ## Target list +### Snapdragon 845/850 (*SDM845*) + +#### OnePlus Devices + +| Device | Target name | DSDT Support | Maintainers | +|--------------------------------------|------------------------|-----------------|----------------------------------------------------| +| OnePlus 6 | oneplus-enchilada | ✅ | [Daniel224455](https://github.com/Daniel224455) | + + ### Snapdragon 855/855+/860 (*SM8150*) #### Qualcomm Technologies, Inc. Devices diff --git a/Silicon/QC/Sdm845/QcomPkg/Library/AcpiPlatformUpdateLib/AcpiPlatformUpdateLib.c b/Silicon/QC/Sdm845/QcomPkg/Library/AcpiPlatformUpdateLib/AcpiPlatformUpdateLib.c index 3b55766cd..58a098762 100644 --- a/Silicon/QC/Sdm845/QcomPkg/Library/AcpiPlatformUpdateLib/AcpiPlatformUpdateLib.c +++ b/Silicon/QC/Sdm845/QcomPkg/Library/AcpiPlatformUpdateLib/AcpiPlatformUpdateLib.c @@ -143,31 +143,31 @@ PlatformUpdateAcpiTables(VOID) DEBUG((EFI_D_WARN, "Chip Info Address: 0x%x\n", SOSI)); DEBUG((EFI_D_WARN, "Platform Subtype: %d\n", PLST)); -// UpdateNameAslCode(SIGNATURE_32('S', 'O', 'I', 'D'), &SOID, 4); -// UpdateNameAslCode(SIGNATURE_32('S', 'T', 'O', 'R'), &STOR, 4); -// UpdateNameAslCode(SIGNATURE_32('S', 'I', 'D', 'V'), &SIDV, 4); -// UpdateNameAslCode(SIGNATURE_32('S', 'V', 'M', 'J'), &SVMJ, 2); -// UpdateNameAslCode(SIGNATURE_32('S', 'V', 'M', 'I'), &SVMI, 2); -// UpdateNameAslCode(SIGNATURE_32('S', 'D', 'F', 'E'), &SDFE, 2); -// UpdateNameAslCode(SIGNATURE_32('S', 'I', 'D', 'M'), &SIDM, 2); -// UpdateNameAslCode(SIGNATURE_32('S', 'U', 'F', 'S'), &SUFS, 4); -// UpdateNameAslCode(SIGNATURE_32('P', 'U', 'S', '3'), &PUS3, 4); -// UpdateNameAslCode(SIGNATURE_32('S', 'U', 'S', '3'), &SUS3, 4); + UpdateNameAslCode(SIGNATURE_32('S', 'O', 'I', 'D'), &SOID, 4); + UpdateNameAslCode(SIGNATURE_32('S', 'T', 'O', 'R'), &STOR, 4); + UpdateNameAslCode(SIGNATURE_32('S', 'I', 'D', 'V'), &SIDV, 4); + UpdateNameAslCode(SIGNATURE_32('S', 'V', 'M', 'J'), &SVMJ, 2); + UpdateNameAslCode(SIGNATURE_32('S', 'V', 'M', 'I'), &SVMI, 2); + UpdateNameAslCode(SIGNATURE_32('S', 'D', 'F', 'E'), &SDFE, 2); + UpdateNameAslCode(SIGNATURE_32('S', 'I', 'D', 'M'), &SIDM, 2); + UpdateNameAslCode(SIGNATURE_32('S', 'U', 'F', 'S'), &SUFS, 4); + UpdateNameAslCode(SIGNATURE_32('P', 'U', 'S', '3'), &PUS3, 4); + UpdateNameAslCode(SIGNATURE_32('S', 'U', 'S', '3'), &SUS3, 4); //// UpdateNameAslCode(SIGNATURE_32('S', 'I', 'D', 'T'), &SIDT, 4); -// UpdateNameAslCode(SIGNATURE_32('S', 'O', 'S', 'N'), &SOSN, 8); -// UpdateNameAslCode(SIGNATURE_32('P', 'L', 'S', 'T'), &PLST, 4); -// UpdateNameAslCode(SIGNATURE_32('R', 'M', 'T', 'B'), &RMTB, 4); -// UpdateNameAslCode(SIGNATURE_32('R', 'M', 'T', 'X'), &RMTX, 4); -// UpdateNameAslCode(SIGNATURE_32('R', 'F', 'M', 'B'), &RFMB, 4); -// UpdateNameAslCode(SIGNATURE_32('R', 'F', 'M', 'S'), &RFMS, 4); -// UpdateNameAslCode(SIGNATURE_32('R', 'F', 'A', 'B'), &RFAB, 4); -// UpdateNameAslCode(SIGNATURE_32('R', 'F', 'A', 'S'), &RFAS, 4); -// UpdateNameAslCode(SIGNATURE_32('T', 'P', 'M', 'A'), &TPMA, 4); -// UpdateNameAslCode(SIGNATURE_32('T', 'D', 'T', 'V'), &TDTV, 4); -// UpdateNameAslCode(SIGNATURE_32('T', 'C', 'M', 'A'), &TCMA, 4); -// UpdateNameAslCode(SIGNATURE_32('T', 'C', 'M', 'L'), &TCML, 4); -// UpdateNameAslCode(SIGNATURE_32('S', 'O', 'S', 'I'), &SOSI, 8); -// UpdateNameAslCode(SIGNATURE_32('P', 'R', 'P', '0'), &PRP0, 4); -// UpdateNameAslCode(SIGNATURE_32('P', 'R', 'P', '1'), &PRP1, 4); -// UpdateNameAslCode(SIGNATURE_32('S', 'I', 'D', 'S'), &SIDS, EFICHIPINFO_MAX_ID_LENGTH); + UpdateNameAslCode(SIGNATURE_32('S', 'O', 'S', 'N'), &SOSN, 8); + UpdateNameAslCode(SIGNATURE_32('P', 'L', 'S', 'T'), &PLST, 4); + UpdateNameAslCode(SIGNATURE_32('R', 'M', 'T', 'B'), &RMTB, 4); + UpdateNameAslCode(SIGNATURE_32('R', 'M', 'T', 'X'), &RMTX, 4); + UpdateNameAslCode(SIGNATURE_32('R', 'F', 'M', 'B'), &RFMB, 4); + UpdateNameAslCode(SIGNATURE_32('R', 'F', 'M', 'S'), &RFMS, 4); + UpdateNameAslCode(SIGNATURE_32('R', 'F', 'A', 'B'), &RFAB, 4); + UpdateNameAslCode(SIGNATURE_32('R', 'F', 'A', 'S'), &RFAS, 4); + UpdateNameAslCode(SIGNATURE_32('T', 'P', 'M', 'A'), &TPMA, 4); + UpdateNameAslCode(SIGNATURE_32('T', 'D', 'T', 'V'), &TDTV, 4); + UpdateNameAslCode(SIGNATURE_32('T', 'C', 'M', 'A'), &TCMA, 4); + UpdateNameAslCode(SIGNATURE_32('T', 'C', 'M', 'L'), &TCML, 4); + UpdateNameAslCode(SIGNATURE_32('S', 'O', 'S', 'I'), &SOSI, 8); + UpdateNameAslCode(SIGNATURE_32('P', 'R', 'P', '0'), &PRP0, 4); + UpdateNameAslCode(SIGNATURE_32('P', 'R', 'P', '1'), &PRP1, 4); + UpdateNameAslCode(SIGNATURE_32('S', 'I', 'D', 'S'), &SIDS, EFICHIPINFO_MAX_ID_LENGTH); } diff --git a/build_cfg/sdm845.json b/build_cfg/sdm845.json new file mode 100644 index 000000000..3c7c60c09 --- /dev/null +++ b/build_cfg/sdm845.json @@ -0,0 +1,8 @@ +{ + "platform": "Sdm845", + "package" : "NapaliPkg", + "bootshim": { + "UEFI_BASE": "0xCE000000", + "UEFI_SIZE": "0x02000000" + } +}