I am interested in developing and changing the code of the LK bootloader. I see a couple of threads on this forum related to this topic but none answered my question yet.
My problem is: The LK image I have compiled won’t run. I didn’t change anything in the code yet, I am just trying to compile the bootloader from sources and have it working. I followed the steps found here:
git clone git://codeaurora.org/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8.git -b LA.BR.1.1.3.c4-01000-8x16.0 git clone http://git.linaro.org/landing-teams/working/qualcomm/lk.git -b dragonboard410c-LA.BR.1.2.7-03810-8x16.0-linaro1 cd lk make -j4 msm8916 EMMC_BOOT=1 TOOLCHAIN_PREFIX=../arm-eabi-4.8/bin/arm-eabi- sudo fastboot flash aboot ./build-msm8916/emmc_appsboot.mbn
The compilation is successful, the image is created and flashed successfully too, but after reboot the board is bricked and won’t start again. fastboot mode pushing Vol [ - ] button is not working as well. Fortunately I can fix this booting from the SD card rescue image.
What am I doing wrong in the process? Can someone think of any step that I might be missing?
Cheers and thanks in advance