SDM850 build instructions

From ESS-WIKI
Revision as of 06:13, 30 April 2019 by Jerry.liao (talk | contribs)
Jump to: navigation, search

board support package source build

1. Unzip the SDM850 BSP package to D:\BSP

   RTENOTITLE


2. Copy ACPI compiler

    copy "D:\EWDK\Program Files\Windows Kits\10\Tools\arm64\ACPIVerify\asl.exe" to "WP\src\acpi\rel\10.4\bin\"

3. Modify "WP\src\acpi\rel\10.4\acpi.wp63.proj”

   add "<Target Name="Clean"> </Target>" after "<Target Name="Build"> </Target>"

4. Modify “WP\src\tools\rel\10.4\qcbuildwp63.cmd”

    Find all "ATTRIB +R" and replace to "ATTRIB -R"

5. Delete or Rename "WP\src\tools\rel\10.4\CrmParallelization.py" to skip this python script

6. Run administrator command shell

    A. D:\EWDK>LaunchBuildEnv.cmd

    B. D:\>setenv.bat

    RTENOTITLE


7. Compilation

    A. Build for all : run the following command in WP\src folder after setting environment

    .\tools\rel\10.4\qcpackbuild.cmd -p 850 -platform ARM64

    B. Build component

    .\tools\rel\10.4\qcpackbuild.cmd -p 850 -platform ARM64 -componentsinput %1

    C. If ACPI compile fail at first time. Please rebuild it again with below command

    .\tools\rel\10.4\qcpackbuild.cmd -p 850 -platform ARM64 -componentsinput acpi