6/01/2012

How to build the Android LK bootloader without compiling the entire software

If you are always working in LK bootloader, a dedicated command to build the LK bootloader may save a lot of time, here are the step that you need to do (example below is for 8660):
1.. cd M8660AAABQNLYM1070/LINUX/android


2.. source build/envsetup.sh


3.. choosecombo 1 1 msm8660_surf 3


4.. cd android/bootable/bootloader/lk


5.. make PROJECT=msm8660_surf BOOTLOADER_OUT=../../../out/target/product/msm8660_surf/obj/BOOTLOADER_EMMC_OBJ EMMC_BOOT=1
Once the completed, the image emmc_appsboot.mbn will be generated in M8660AAABQNLYM1070/LINUX/android/out/target/product/msm8660_surf folder which you specified in BOOTLOADER_OUT.

No comments:

Post a Comment