Update README.md

Add a nicer-looking table to the README.md that describes the build components as well as their labels and their paths.
This commit is contained in:
David
2022-05-22 02:12:26 -05:00
committed by GitHub
parent eae4f89b11
commit e0718021af

View File

@@ -6,19 +6,23 @@ This is a repository which contains the source code for the firmware of the SoC
Build Components
==================
* LA.UM.8.2.1.R1: "LA.UM.8.2.1.r1-04200-sdm660.0-1" *(Unavailable in this repository, fetch it from CAF yourself if you wish to build android with this source.)*
* ADSP.VT.4.1.C1: "ADSP.VT.4.1.c1-00009-SDM660-1"
* BOOT.XF.1.4: "BOOT.XF.1.4-00280-S660LZB-1"
* BTFM.CHE.2.1.5.C5: "BTFM.CHE.2.1.5.c5-00007-QCACHROMZ-1"
* CDSP.VT.1.1.C1: "CDSP.VT.1.1.c1-00005-SDM660-1"
* SDM660.LA.3.0.2: "SDM660.LA.3.0.2-00008-STD.PROD-1"
* CPE.TSF.2.0: "CPE.TSF.2.0-00006-W9335AAAAAAAZQ-1"
* MPSS.AT.3.1.C27: "MPSS.AT.3.1.c27-00007-SDM660_GEN_PACK-1"
* RPM.BF.1.8: "RPM.BF.1.8-00067-SDM660AAAAANAZR-1"
* TZ.BF.4.0.7.1: "TZ.BF.4.0.7.1-00006-S660AAAAANAZT-2"
* VIDEO.VE.4.4: "VIDEO.VE.4.4-00066-PROD-1"
* WDSP.9340.1.0.C1: "WDSP.9340.1.0.c1-00008-W9340AAAAAAAZQ-1"
* WLAN.HL.3.3.5: "WLAN.HL.3.3.5-00149-QCAHLSWMTPLZ-1"
| Image | Build label | Path |
| ----------------------- | :--------------------------------------------|:----------------------|
| LA.UM.8.2.1.R1 | LA.UM.8.2.1.r1-04200-sdm660.0-1 | *Unavailable* |
| ADSP.VT.4.1.C1 | ADSP.VT.4.1.c1-00009-SDM660-1 | adsp_proc |
| BOOT.XF.1.4 | BOOT.XF.1.4-00280-S660LZB-1 | boot_images |
| BTFM.CHE.2.1.5.C5 | BTFM.CHE.2.1.5.c5-00007-QCACHROMZ-1 | btfm_proc |
| CDSP.VT.1.1.C1 | CDSP.VT.1.1.c1-00005-SDM660-1 | cdsp_proc |
| SDM660.LA.3.0.2 | SDM660.LA.3.0.2-00008-STD.PROD-1 | common, contents.xml |
| CPE.TSF.2.0 | CPE.TSF.2.0-00006-W9335AAAAAAAZQ-1 | cpe_proc |
| MPSS.AT.3.1.C27 | MPSS.AT.3.1.c27-00007-SDM660_GEN_PACK-1 | modem_proc |
| RPM.BF.1.8 | RPM.BF.1.8-00067-SDM660AAAAANAZR-1 | rpm_proc |
| TZ.BF.4.0.7.1 | TZ.BF.4.0.7.1-00006-S660AAAAANAZT-2 | trustzone_images |
| VIDEO.VE.4.4 | VIDEO.VE.4.4-00066-PROD-1 | venus_proc |
| WDSP.9340.1.0.C1 | WDSP.9340.1.0.c1-00008-W9340AAAAAAAZQ-1 | wdsp_proc |
| WLAN.HL.3.3.5 | WLAN.HL.3.3.5-00149-QCAHLSWMTPLZ-1 | wlan_proc |
How do I build the bootloader?
==================
@@ -27,8 +31,7 @@ How do I build the bootloader?
sudo apt install python2.7 git-core gnupg flex bison build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 libncurses5 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z1-dev libgl1-mesa-dev libxml2-utils xsltproc unzip fontconfig uuid-dev sqlite3 iasl gcc g++ nasm libtinfo5
* If you had installed them before, you may skip this command.
* After installing the normal dependencies, now you need the Qualcomm Snapdragon LLVM OEM Toolchain which is used for building the firmware.
* In order to get the toolchain you need a Qualcomm account that has a license to it and you also need the Qualcomm Package Manager (QPM)
* Which you can download from Qualcomm's developer site anyway.
* In order to get the toolchain you need a Qualcomm account that has a license to it and you also need the Qualcomm Package Manager (QPM), which you can download from Qualcomm's developer site anyway.
* Also, the reason why Python 2.7 was installed in the previous command is because the build scripts used for the firmware are coded in Python 2.7 so you must use that version to execute them.
* Make sure that if you enter "python" in the terminal, it calls Python 2.7 instead of Python 3.10.
* Now after installing the Snapdragon LLVM OEM Toolchain, you have to copy it to the following folder.