MTK modem 编译

MTK modem 编译

1.Build modem image (mcu build command) 

[Modem source]> cd  mcu

[Modem source]> ./m [Project makefile name]  new

Ex:

 ./m "TK_MD_BASIC(LWCTG_67xx)..mak" new

2. Build MD APPS library & binary (md apps build command)

[MD APPS source]> cd apps

[MD APPS source]> ./build.sh clean,build,pack all [modem chip generation config file]

Ex:

> ./build.sh clean,build,pack all GEN93_USER

3.  Copy modem files (total ~12) from MOLY to ALPS

In ALPS codebase, run command "perl device/mediatek/build/build/tools/modemRenameCopy.pl [Modem Codebase Path] [Modem Project Makefile Name]"

Ex:

./device/mediatek/build/build/tools/modemRenameCopy.pl ~currUser/MOLY_codebase/mcu TK_XXX_MODEM

4. Copy MD APPS library & binary to ALPS

Extract the *.tar.bz2 file built, and copy the folders to ALPS alps/vendor/mediatek/proprietary/modem/${modem}/

Folder in APPS *.tar.bz2

5. Configure modem in ALPS

Set  “CUSTOM_MODEM = [modem]” in “ alps/device/${company}/${project}/ProjectConfig.mk”

你可能感兴趣的:(MTK,驱动)