SP80-NV396-4 E Confidential and Proprietary – Qualcomm Technologies, Inc. 3
MAY CONTAIN U.S. AND INTERNATIONAL EXPORT CONTROLLED INFORMATION
Contents
1 Introduction ...................................................................................................... 6
1.1 Purpose.......................................................................................................................... 6
1.2 Conventions .................................................................................................................. 6
1.3 Technical assistance ...................................................................................................... 6
2 Installation and Setup ..................................................................................... 7
2.1 Required equipment and software ................................................................................ 7
2.2 LLVM compiler and tools ............................................................................................ 8
2.3 Install Ubuntu ............................................................................................................... 9
2.4 Configure Samba for Windows sharing (optional) ..................................................... 10
2.5 Install JDK .................................................................................................................. 10
2.6 Install repo .................................................................................................................. 11
2.7 Install the ARM compiler tools ................................................................................... 11
2.7.1 Install on a Linux host ..................................................................................... 12
2.7.2 Install on a Windows host ................................................................................ 12
2.8 Install the Hexagon toolchain ..................................................................................... 12
3 Download and Build the Software ................................................................ 13
3.1 Download QTI-proprietary software .......................................................................... 15
3.2 Download open source HLOS software ..................................................................... 15
3.3 Compile the non-HLOS software ............................................................................... 16
3.3.1 Set build Windows environment ...................................................................... 16
3.3.2 Build MPSS ..................................................................................................... 17
3.3.3 Build boot loaders ............................................................................................ 17
3.3.4 Build TrustZone and Hypervisor ..................................................................... 20
3.3.5 Build RPM ....................................................................................................... 20
3.3.6 Build aDSP ...................................................................................................... 21
3.3.7 Build CNSS ..................................................................................................... 21
3.3.8 Build SLPI ....................................................................................................... 21
3.3.9 Build CPE ........................................................................................................ 21
3.3.10 Update NON-HLOS.bin ................................................................................ 21
3.4 Build the apps processor Android HLOS ................................................................... 22
4 Firmware Programming ................................................................................ 23
4.1 Required software ....................................................................................................... 23
4.2 Install T32 ................................................................................................................... 24
4.3 Install the Android ADB, fastboot, and USB driver for Windows ............................. 24
4.4 Install ADB and fastboot in Linux .............................................................................. 28
4.5 Programming procedures ............................................................................................ 29