Difference between revisions of "SDM850 build instructions"
Jerry.liao (talk | contribs) |
Jerry.liao (talk | contribs) |
||
Line 1: | Line 1: | ||
− | == <span style="font- | + | == <span style="font-size:large;">board support package source build</span><span style="font-size:small;"><br/></span> == |
− | <span style="font- | + | <span style="font-size:small;">'''1. Unzip the SDM850 BSP package to D:\BSP'''</span> |
− | <span style="font- | + | <span style="font-size:small;"> [[File:SDM850 BUILD 01.png|RTENOTITLE]]</span> |
− | <span style="font- | + | <span style="font-size:small;">'''2. Copy ACPI compiler'''</span> |
− | <span style="font- | + | <span style="font-size:small;"> copy "D:\EWDK\Program Files\Windows Kits\10\Tools\arm64\ACPIVerify\asl.exe" to "WP\src\acpi\rel\10.4\bin\"</span> |
− | <span style="font- | + | <span style="font-size:small;">'''3. Modify "WP\src\acpi\rel\10.4\acpi.wp63.proj”'''</span> |
− | <span style="font- | + | <span style="font-size:small;"> add "<Target Name="<span style="color:#FF0000;">Clean</span>"> </Target>" after "<Target Name="Build"> </Target>"</span> |
− | <span style="font- | + | <span style="font-size:small;">'''4. Modify “WP\src\tools\rel\10.4\qcbuildwp63.cmd”'''</span> |
− | <span style="font- | + | <span style="font-size:small;"> Find all "ATTRIB +R" and replace to "<span style="color:#FF0000;">ATTRIB -R</span>"</span> |
− | <span style="font- | + | <span style="font-size:small;">'''5. Delete or Rename "WP\src\tools\rel\10.4\<span style="color:#FF0000;">CrmParallelization.py</span>" to skip this python script'''</span> |
− | <span style="font- | + | <span style="font-size:small;">'''6. Run administrator command shell'''</span> |
− | <span style="font- | + | <span style="font-size:small;"> A. D:\EWDK>LaunchBuildEnv.cmd</span> |
− | <span style="font- | + | <span style="font-size:small;"> B. D:\>setenv.bat</span> |
− | <span style="font- | + | <span style="font-size:small;"> [[File:SDM850 BUILD 02.png|RTENOTITLE]]</span> |
− | <span style="font- | + | <span style="font-size:small;">'''7. Compilation'''</span> |
− | <span style="font- | + | <span style="font-size:small;"> A. Build for all : run the following command in WP\src folder after setting environment</span> |
− | <span style="font- | + | <span style="font-size:small;"><span style="color:#0000FF;"> .\tools\rel\10.4\qcpackbuild.cmd -p 850 -platform ARM64</span></span> |
− | <span style="font- | + | <span style="font-size:small;"> B. Build component</span> |
− | <span style="font- | + | <span style="font-size:small;"><span style="color:#0000FF;"> .\tools\rel\10.4\qcpackbuild.cmd -p 850 -platform ARM64 -componentsinput %1</span></span> |
− | <span style="font- | + | <span style="font-size:small;"> C. If ACPI compile fail at first time. Please rebuild it again with below command</span> |
− | <span style="font- | + | <span style="font-size:small;"><span style="color:#0000FF;"> .\tools\rel\10.4\qcpackbuild.cmd -p 850 -platform ARM64 -componentsinput acpi</span></span> |
− | == <span style="font- | + | == <span style="font-size:medium;">build WD image with adding drivers</span> == |
− | <span style="font- | + | <span style="font-size:small;">'''1. Copy D:\DesktopOS into D:\BSP\NP850\prebuilt\'''</span> |
− | |||
− |
Revision as of 06:17, 30 April 2019
board support package source build
1. Unzip the SDM850 BSP package to D:\BSP
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
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
build WD image with adding drivers
1. Copy D:\DesktopOS into D:\BSP\NP850\prebuilt\