[Instruction] | |
0. Make sure the patch version is fit to your codebase (e.g: If the patch named: MOLY.LR12A.R3.MP.Vx_xxxx_Py.tar, please make sure your SW version is Vx and already applied accumulated patches from P1 to Py-1) | |
1. Extract the patch compressed file. (*.tar.gz) | |
2. If the patch file contain [mcu] or [common] foloder. | |
2.1 Delete the following files in your original mcu codebase (important!) | |
(i) Under mtk_rel\xxx\xxx\dhl\database folder, file name contains MDDB*************.EDB (ex: MDDB_MT6763_S00_MOLY_LR12A_R2_MP_V1.EDB & _MDDB_MT6763_S00_MOLY_LR12A_R2_MP_V1.EDB.check) | |
(ii)Under dsp_rel\xxx\xxx\final_bin, file name starts with DbgInfo_DSP (ex: DbgInfo_DSP_MT6771_MOLY_LR12A_R2_MP_V1_2019_05_16_14_54 ) | |
2.2 Merge the [mcu]/[common] folder to your original codebase. | |
2.3 cd to mcu folder and rebuild the modem image. (./m [Project makefile name] new) | |
2.4 Follow the instruction on ReleaseNote tab:[Build_Configure_Modem] to copy modem image to ALPS. | |
3. If the patch file contain [apps] folder. | |
3.1 Merge the [apps] folder to your original codebase. | |
3.2 cd the apps folder and rebuild the MD APPS library & binary. (./build.sh clean,build,pack all [modem chip generation config file]) | |
3.3 Follow the instruction on ReleaseNote tab:[Build_Configure_Modem] to copy MD APPS library & binary to ALPS. | |
4. Update modem image & MD APPS library & binary in alps build system (alps build command: make update-modem) | |
Please check SW Release Note (ReleaseNote_for_MTxxxx_alps-mp-xx.Vyy.xlsx) tab:[Build_Configure_Modem] for detail modem build Instruction. |